Re: AccessFileName not allowed here

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

 



On Tue, Jul 20, 2010 at 4:46 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
> On Tue, Jul 20, 2010 at 1:33 PM, Geoffrey Reed <geoffr@xxxxxxxxxx> wrote:
>> From apache docs...
>>
>> AccessFileName Directive
>>
>> Description:    Name of the distributed configuration file
>> Syntax:    AccessFileName filename [filename] ...
>> Default:    AccessFileName .htaccess
>> Context:    server config, virtual host
>> Status:    Core
>> Module:    core
>>
>
>> virtual host This context means that the directive may appear inside <VirtualHost>
>> containers in the server configuration files.
>> Therefore, you CANNOT use it in a <Directory> definition.  It's that simple.
>> You are putting it in the wrong bloody place.
> Can you give me a link to what you are saying that I need to define
> virtual host in apache2.conf to be able to use that ?

Every directive lists the context it is valid in.

http://httpd.apache.org/docs/2.2/mod/core.html#accessfilename
http://httpd.apache.org/docs/2.2/sections.html

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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