Hi All When i try to browse my pages in apache it is giving forbidden error. I am using lampp version : xampp-linux-1.5.5a.tar.gz when i browse the url : http://192.10.10.96/anoop Apache error log says like : [Fri Nov 30 16:01:55 2007] [error] [client 192.10.10.21] Directory index forbidden by Options directive: /opt/lampp/htdocs/anoop/ In Mozilla web browser it says like : Forbidden You don't have permission to access /anoop/ on this server. Apache/2.2.2 (Unix) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b SVN/1.4.4 PHP/5.1.4 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7 Server at 192.10.10.96 Port 80 But when i bowse the url : http://192.10.10.96/anoop/lunch it is working fine. That means only the folder directly inside the Document root is not accessible. sub folders are accessible. I have given full permission to thte folder too. But still no use. even if i create a new folder under htdocs same error is comming. What might be the problem. I would be greatful if anyone can help. My document root is /opt/lampp/htdocs Looking forward Thanks and Regards Nidhin
The folder itself is accessible, but the directory listing is denied. If you want the contents of the directory to be listed, when you access the directory, Change the Option directive in your apache configuration for the directory to: +Indexes
Hi Till Thanks for the reply. But i have already included the Indexs option for the Directories in httpd.conf. The line in my conf file is pasted below. <Directory "/opt/lampp/htdocs"> Options Indexes FollowSymLinks MultiViews </directory> Is it not be like this ? or some thing lese too need to be done ? Looking forward to hear from you. Thanks and Regards Nidhin
Please remove the quotation marks: Code: <Directory /opt/lampp/htdocs> Options Indexes FollowSymLinks MultiViews </Directory>
Hi Falko Thanks for the reply . Itried the option you sid. But it didnt work. Even after i remove the quotes i am getting the same forbidden error. What else may the reason. Looking forward to hear from you Thanks in advance Nidhin Tomson
Please try this: Code: <Directory /opt/lampp/htdocs> Options +Indexes +FollowSymLinks +MultiViews </Directory>
Hi Falko This also didnt work. I tried the Options directive with + symbol also. That too didnt work. I am getting the same forbidden error for the directories in the apache's root folder. The subfolders are working fine. Looking forward to hear from you Thanks and regards Nidhin Tomson
Hi Dual Thanks for your reply.I have tried that option already. But in vane... Something else is the issue. Looking forward to hear from you Thanks and regards Nidhin Tomson