LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Web server permissions (https://www.linuxquestions.org/questions/red-hat-31/web-server-permissions-110503/)

zmarty 10-30-2003 02:46 PM

Web server permissions
 
I'm running the standard apache server under Red Hat 9. The HTTP server works fine in the main directory (eg. localhost/). But once I try to get into a directory in the main directory (eg. localhost/docs/), it wont let me have access. I've tried to set the directory chmod to everything between standard and 777. What's wrong? Please help!

Mara 10-30-2003 02:51 PM

Where do you have DocumentRoot set to? Look into httpd.conf.

zmarty 10-30-2003 03:04 PM

It's set to var/www/html. Why?

zmarty 10-31-2003 11:19 AM

I would be really grateful if someone could come up with something... Thanks!

Mara 10-31-2003 04:05 PM

Quote:

Originally posted by zmarty
It's set to var/www/html. Why?
So when you access localhost/docs, you access /var/www/html/docs. Is it the right directory?

zmarty 10-31-2003 11:26 PM

Quote:

Originally posted by Mara
So when you access localhost/docs, you access /var/www/html/docs. Is it the right directory?
Well.. yeah. I noticed the index.html is the only page I can view in the root too. Other files I dont have permission to view.. Thanks!


All times are GMT -5. The time now is 07:38 PM.