On Tue, Jul 20, 2010 at 4:46 AM, Tapas Mishra <mightydre...@gmail.com> wrote:
> On Tue, Jul 20, 2010 at 1:33 PM, Geoffrey Reed <geo...@zipcon.net> 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
cove...@gmail.com

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to