LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-28-2002, 03:04 PM   #1
taizhu
LQ Newbie
 
Registered: Oct 2002
Location: Rockville, Maryland
Posts: 15

Rep: Reputation: 0
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.
 
Old 10-28-2002, 04:21 PM   #2
int0x80
Member
 
Registered: Sep 2002
Posts: 310

Rep: Reputation: Disabled
Check file permissions

Check your file permissions to make sure the directory is at least world readable.
 
Old 10-29-2002, 12:45 AM   #3
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
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!
 
Old 10-29-2002, 03:21 PM   #4
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Do you have Indexes specified as one of the Options for that Directory?
 
Old 10-29-2002, 03:26 PM   #5
taizhu
LQ Newbie
 
Registered: Oct 2002
Location: Rockville, Maryland
Posts: 15

Original Poster
Rep: Reputation: 0
No, I don't. How could I set it up?
 
Old 10-30-2002, 01:46 PM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache questions renegadeavenger Linux - General 1 07-24-2005 01:41 PM
apache and apache-ssl questions merana Debian 4 03-10-2005 10:10 AM
Questions about Apache swmok Debian 2 04-06-2004 05:49 PM
Apache questions... 1111 Linux - Newbie 2 07-21-2003 01:19 PM
Apache questions WorldBuilder Linux - Networking 19 05-30-2003 03:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration