LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache2 and forbidden error on subdirectories (https://www.linuxquestions.org/questions/linux-newbie-8/apache2-and-forbidden-error-on-subdirectories-226278/)

tsimm 09-03-2004 03:41 PM

apache2 and forbidden error on subdirectories
 
hello,
i have installed apache 2-0.50 from source with php and mysql. i made 3 virtualhosts and these main directories are working fine. but i can't list subdirectories. however, i can access files, if i know excact location. i even chmoded subdirectory 777 but it gives my forbidden error. my mind is totally empty now.
btw, i am using debian and default httpd.conf with few changes(admin mail and virtualhosts)

david_ross 09-04-2004 09:40 AM

If you are looking for directory listings then make sure that you have "Indexes" defined in an "Options" directive for that directory or your DocumentRoot in httpd.conf then restart apache.

tsimm 09-05-2004 08:23 AM

thanks, i had that line, but in wrong place;)


All times are GMT -5. The time now is 01:24 PM.