LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-20-2005, 11:48 AM   #1
jelgavchik
Member
 
Registered: Dec 2004
Location: Latvia
Distribution: slackware
Posts: 77

Rep: Reputation: 15
apache doesnt show what it should


Hello. I have Apache/1.3.31 (Unix) running. I made a VirtualHost directive in httpd.conf i wrote inside it my document root directive and when i want to test everything is browseable in the directoryroot but i when i want to browse a directory in my directoryroot directory i cant, how is it fixed?
By the way here is log with ownerships and permissions, it is from my documentroot directory:

drwxr-xr-x 4 root root 4096 2005-02-20 19:45 ./
drwxr-xr-x 9 root root 4096 2005-02-15 00:12 ../
-rw-r--r-- 1 root users 4194 2005-02-19 23:04 about.htm
drwxr-xr-x 2 root root 4096 2005-02-08 14:34 eng/
-rw-r--r-- 1 root users 775490 2005-02-07 15:47 hos.jpg
-rw-r--r-- 1 root users 1550 2005-02-19 22:47 index.html
drwxr-xr-x 6 root users 4096 2005-02-20 21:43 pictures/

and i want to browse pictures and i get :"You are not authorized to view this page".
 
Old 02-20-2005, 04:08 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
You have to allow indexes (Options +Indexes) for that to work, otherwise you get the 403 Forbidden.

In other words, apache is doing exactly what it should, you haven't configured it correctly
 
  


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
ifconfig eth0 doesnt show up dongmin Linux - Networking 16 05-02-2005 09:04 AM
apache doesnt show what it should jelgavchik Linux - Networking 3 02-20-2005 02:16 PM
Lilo doesnt show up on boot ? Vectrox Slackware 1 04-19-2004 09:56 AM
kstars doesnt show any buttons!!! da_zombie Linux - Software 6 08-25-2003 07:50 PM
I screwed it up!!! LILO doesnt show up xous Linux - Software 5 08-02-2003 03:05 PM


All times are GMT -5. The time now is 03:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration