LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   apache questions (https://www.linuxquestions.org/questions/linux-networking-3/apache-questions-34030/)

taizhu 10-28-2002 03:04 PM

apache questions
 
Hi there,

I have installed apache on my mandrake linux, and I am able to view the http://myhostname, but when I tried to view http://myhostname/perl/helpdesksytstem, I got error message:

Forbidden
You don't have permission to access /perl/helpdesksystem/ on this server.

Did anything I should do?

Thanks.

int0x80 10-28-2002 04:21 PM

Check file permissions
 
Check your file permissions to make sure the directory is at least world readable.

markus1982 10-29-2002 12:45 AM

What could also be the case you have DirectoryIndex variable set to something that doesn't exist in that directory and have not allowed viewing directories ... then you will get exactly that error!

And the files don't need to be world-readable, they just need to be readable by the apache user/group and nobody else!

stickman 10-29-2002 03:21 PM

Do you have Indexes specified as one of the Options for that Directory?

taizhu 10-29-2002 03:26 PM

No, I don't. How could I set it up?

stickman 10-30-2002 01:46 PM

In your httpd.conf file find or add an Options directive inside the Directive paragraph that is not working.


All times are GMT -5. The time now is 03:04 PM.