LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 02-20-2005, 12:47 PM   #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, 01:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
In the Directory section make sure you have an Options directive containing "Indexes"
 
Old 02-20-2005, 02:58 PM   #3
jelgavchik
Member
 
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, 03:16 PM   #4
aznluvsmc
Member
 
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?
 
  


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


All times are GMT -5. The time now is 11:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration