httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Powe <mich...@trollope.org>
Subject Re: [users@httpd] enabling directory indexing on apache2
Date Wed, 14 Jul 2010 10:11:17 GMT
Hello,

The information on setting directory listing is here:

http://httpd.apache.org/docs/1.3/misc/FAQ.html#indexes

Also, if you are using some prepackaged linux distro like debian or
ubuntu, you should ask in the appropriate forums for those packages.
The reason is, that these preconfigured installations often make
(unexpected) assumptions about configuration and put configuration
options in nonstandard places.  So, it sometimes happens that what you
set in one place, they reset somewhere else.

when you do `sudo apt-get install apache2', you get what the linux
packagers think you should have, not what Apache developers packaged
up on their site.

Thanks.

mp

On Wed, Jul 14, 2010 at 12:49:03PM +0530, Tapas Mishra wrote:
> I am having different websites in a folder
> /var/www/
> as
> /var/www/atutor
> /var/www/dokeos
> /var/www/docebolms
> .
> .
> .
> /var/www/efront
> 
> For each of these websites I have vhost file in /etc/apache2/sites-available/
> 
> the configurations of these are
> dokes
> http://pastebin.com/ycwrVNgC
> 
> docebolms
> http://pastebin.com/eDj8yfmp
> 
> efront
> http://pastebin.com/Xmp3506A
> 
> and atutor
> http://pastebin.com/kigzFrKa
> 
> When  I am on lan trying to access these sites as
> 
> http://192.168.1.5/dokeos
>  http://192.168.1.5/docebolms
> 
>  I am getting a 404 not found page.
> The requested URL /dokeos was not found on this server.
> 
> here are the response headers to the
> http://192.168.1.5/dokeos
> http://pastebin.com/g1XDtu1R
> 
> 
> 
> another application is dokeos
> and response headers which I captured in FireFox when trying to access it
> 
> as http://192.168.1.5/docebolms
> are
> http://pastebin.com/tiFTRh0A
> 
> 
> When I type http://192.168.1.5/
> I expect to get a directory listing of different websites which are
> present in my /var/www
> 
> as per this page http://httpd.apache.org/docs/2.0/mod/core.html#options
> where it said if there is no index.html page in that directory
> mod_autoindex  will generate a directory index.
> 
> instead of getting a directory listing I am getting a response from a vhost
> atutor
> 
> which I should get when I type http://192.168.1.5/atutor
> (because apache serves vhosts in alpha numeric order)
> 
> in /etc/apache2/sites-available/atutor
> I do have a
> <Directory /var/www>
>                 Options Indexes FollowSymLinks MultiViews
>                 AllowOverride None
>                 Order allow,deny
>                 allow from all
>   </Directory>
> 
> 
> the complete configuration is here
> 
> http://pastebin.com/VpvHdkSP
> 
> 
> So what is the problem in this case at which place my setting is wrong.
> 
> 
> 
> -- 
> Tapas
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

-- 
Michael Powe		michael@trollope.org		Naugatuck CT USA
"History, I believe, furnishes no example of a priest-ridden people
maintaining a free civil government. This marks the lowest grade of
ignorance of which their civil as well as religious leaders will
always avail themselves for their own purposes." -- Thomas Jefferson
to Alexander von Humboldt, 1813. ME 14:21

Mime
View raw message