2

I've never encountered this problem before. I've a Zend project set up at /home/ashesh/prog/php/commonfloor.com/listinSearch/ and the index.php file is inside ..listingSearch/html/ and so is the .htaccess file. The DocumentRoot inside apache is also set correctly to /home/ashesh/prog/php/commonfloor.com/listinSearch/html/

(Ubuntu 11.10 i386)

Whenever I try accessing 127.0.0.1 through the browser, it should open the homepage but instead it throws up a 403 Forbidden message saying I don't have permissions to access / on the server.

A quick browse through the apache2/error.log file shows something strange:

[Fri Apr 27 11:33:22 2012] [crit] [client 127.0.0.1] (13)Permission denied: /home/ashesh/prog/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Can anyone help? I'm pretty clueless about this and I'm sure it's not a huge fix.

4

1 回答 1

0

首先检查文件夹权限。好像您是从根(或其他帐户)创建此目录,而 apache 无法读取它。

于 2012-05-07T13:12:28.357 回答