Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-20-2005, 11:47 AM   #1
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, 12:13 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
In the Directory section make sure you have an Options directive containing "Indexes"
Old 02-20-2005, 01:58 PM   #3
Registered: Dec 2004
Location: Latvia
Distribution: slackware
Posts: 77

Original Poster
Rep: Reputation: 15
okei i added Options Indexes in my Directory section checked the syntax httpd -S and then httpd restart but it still doesnt work.
Old 02-20-2005, 02:16 PM   #4
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Did you Alias the document root in the virtual host?


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 - Software 1 02-20-2005 04:08 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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:59 PM.

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