LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2004, 04:41 PM   #1
tsimm
LQ Newbie
 
Registered: Oct 2003
Location: Europe, Estonia, Tartu
Distribution: 2xRedhat9.0 & 1xDebian Woody & Windows XP PRO
Posts: 8

Rep: Reputation: 0
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)
 
Old 09-04-2004, 10:40 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.
 
Old 09-05-2004, 09:23 AM   #3
tsimm
LQ Newbie
 
Registered: Oct 2003
Location: Europe, Estonia, Tartu
Distribution: 2xRedhat9.0 & 1xDebian Woody & Windows XP PRO
Posts: 8

Original Poster
Rep: Reputation: 0
thanks, i had that line, but in wrong place
 
  


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
openSUSE 10 RC1 - Apache2 userdir forbidden Smartcat99S SUSE / openSUSE 9 02-11-2006 11:12 PM
Apache2 virtual host cgi 403 Forbidden / mossy Linux - Software 15 07-27-2005 05:56 PM
forbidden error? cz1179 Linux - General 1 01-05-2005 06:59 PM
Apache2, pages "forbidden" from internet, not localnet. jules_fraser Linux - Networking 4 10-07-2004 01:45 PM
Apache - 403 Forbidden - Access to Subdirectories dieter Linux - Networking 2 03-25-2004 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration