Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Jonas Eckerman
On 2010-07-14 13:47, Tapas Mishra wrote: > Right and how can I change the order in which Apache sees my virtual > host Apache reads it's configuration file from top to bottom. If it finds an Include statement, it insert the content of the included file(s) at that point. If an Include statement in

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Tapas Mishra
> No, I mean the order in wich Apache sees the virtual hosts when reading > it's configuration file. This solves some of my confusion. >> What can be a solution in this case > > To define a default vhost with the document root you wish the default > host to have. > > IFAICT you want a default virt

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Jonas Eckerman
On 2010-07-14 13:19, Tapas Mishra wrote: >>> 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 >> Why do you expect that? None of the virtual hosts you told us about has >> document root "/var/www". > Then what does

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 4:01 PM, Jonas Eckerman wrote: >> 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 > > Why do you expect that? None of the virtual hosts you told us about has > document root "/var/www". Then w

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Jonas Eckerman
On 2010-07-14 09:19, Tapas Mishra wrote: > When I am on lan trying to access these sites as > http://192.168.1.5/dokeos > I am getting a 404 not found page. > The requested URL /dokeos was not found on this server. That's because "dokeos" doesn't exists in "/var/www/atutor", the document root f

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Michael Powe
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 ins

[us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Tapas Mishra
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://paste