Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

apache test page and dir listings

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  integrating Apache 2.0 with Tomcat 5.0  
Author Message
fooooooool

External


Since: Nov 02, 2003
Posts: 4



(Msg. 1) Posted: Mon Nov 03, 2003 2:36 am
Post subject: apache test page and dir listings
Archived from groups: alt>apache>configuration (more info?)

i'm using red hat 9
i'v setup apache to do vhosts, now all this works fine
but the problem is i want a vhost to do a directory listing for it's root

for example
www.dfgdfgf.com
gives the apache test page

if i make a sub dir like
www.sdfsdfds.com/downloads/
i get a direcory listing as expected


<Directory "/home">
Options Indexes multiviews Includes Followsymlinks
Allowoverride none
</Directory>

my vhosts are under /home/username/ of course

index.html pages work fine for website root, but it won't do directory
listings
my apache is:

Server Version: Apache/2.0.40 (Red Hat Linux)

 >> Stay informed about: apache test page and dir listings 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Mon Nov 03, 2003 10:00 am
Post subject: Re: apache test page and dir listings [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Geoff <fooooooool.DeleteThis@hotmail.com> wrote:
 > my vhosts are under /home/username/ of course
 > index.html pages work fine for website root, but it won't do directory
 > listings

In the specific <VirtualHost > block add a <Directory /home/username>
and add the Options +Indexes in there. Be sure that the directory doesn't
contain an index.html or similar file or it will be served by default.

Davide<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: apache test page and dir listings 
Back to top
Login to vote
fooooooool

External


Since: Nov 02, 2003
Posts: 4



(Msg. 3) Posted: Sat Nov 08, 2003 6:44 pm
Post subject: Re: apache test page and dir listings [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi wrote:
 > Geoff <fooooooool DeleteThis @hotmail.com> wrote:
  >> my vhosts are under /home/username/ of course
  >> index.html pages work fine for website root, but it won't do
  >> directory listings
 >
 > In the specific <VirtualHost > block add a <Directory /home/username>
 > and add the Options +Indexes in there. Be sure that the directory
 > doesn't contain an index.html or similar file or it will be served by
 > default.
 >
 > Davide

i sorted this by changing the autoindex directory settings from -indexes to
+indexes<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache test page and dir listings 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache Test Page? - Hi, I'm running Apache Webserver(2.0.40) and am having some problems with my config. I am running this server to serve a cgi script. I want this cgi script to be the default page that comes up when you access www.mydomain.com or..

Code Page Apache - How can i set iso-8859-2 for default code page in apache / linux (httpd.conf) tnx sorry 4 my english :) Arek

Can't download DLL files from Apache-served Web page - Our ISP upgraded our FreeBSD Web server to Apache 1.3.2.7. We have a Web page where users can download some DLL files. When they try to do that now, they receive a "Cannot find server or DNS Error" error. We replaced the DLL files with ZIP fil...

Apache 4.0.46 and Win2k - no page served through localhost - OK, Apache gurus. I've been using Apache 1.3 for a while (with PHP) to develop some web sites on my laptop running Windows 2000 (I put them onto my Linux box for final proofing). No problems to date. Recently I had cause to rebuild the laptop so I..

W32 Apache & MS front page; need server extension installe.. - Hi, I'm using XP and have been working on several web pages using Front page. I created a feedback form which was from one of the built in templates of Front Page. Once completed I then tried utilizing it from the web and got the 404 error when I wen...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]