Forum Moderators: phranque

Message Too Old, No Replies

Directory Index Forbidden by rule

         

danshea

5:16 pm on May 21, 2005 (gmt 0)

10+ Year Member



I am currently hosting 2 websites on my redhat 9 linux box running apache 2. I have virtual servers setup with separate cgi-bin folders for each site and everthing is running fine for those 2 websites. The problem I have is that I am try to host 2 more websites for a total of 4 sites on my box, and have everything configured in the virtual hosts, but when I try to access either one of the other sites from a external machine, I get a "not found" error and when I check the error log on the server, the error says "Directory Index Forbidden by rule:(dir.path).
But I can access the sites from a browser on the server. Is there a setting on redhat or Apache to allow hosting more tahn 2 sites? and where do i change this?

Thanks,

Dan

jdMorgan

1:59 am on May 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can host hundreds of sites on one box, and many 'cheap hosting' services do just that. So this sounds like a DNS setup problem, or a config problem.

Also, make sure the file permissions on the new site directories are correct.

The Options directive controls whether directories, i.e. "example.com/" are accessible. You'll need to have Options Indexes set to access directories.

Jim