Re: enabling directory indexing on apache2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 14, 2010 at 4:01 PM, Jonas Eckerman <jonas_lists@xxxxxxxxx> 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 Option Indexes do I have included that in atutor definition.


> When Apache get a request for wich no virtual host matches, it is
> handled by the default virtual host (normally the first defined one).
The first defined one you mean to say by time of creation of virtual host.

If that is the case then atutor is the host I created at last not first.

What can be a solution in this case
I have many server names for the said webserver and each of the
different ServerName has to serve for a different Document Root.

-- 
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux