Re: Apache with additional access file (.htaccess)
On Mon, Dec 11, 2006 at 05:35:36PM +0100, Norbert Schuetz wrote:
> Hi folks
>
> Is there any way to have Apache process an *additional* access file,
> possibly with it's won allow override settings?
>
> Say, we have /var/wwwdata/domain/htdocs/.htaccess as usual
> and have /var/wwwdata/domain/.htanother processed as well?
AFAIK, no.
but you can put anything you would put in a .htaccess file inside the
apache configuration - either in the <VirtualHost>...</VirtualHost>
stanza, or inside, e.g., a <Directory>...</Directory> stanza.
note: because it's in the apache config, override settings are irrelevant.
if you want to have some settings defined by the sysadmin, and also
allow the customer/domain owner to upload their own htaccess settings,
then put the sysadmin stuff in apache config and the customer can use
the usual .htaccess file.
craig
--
craig sanders <cas@taz.net.au> (part time cyborg)
Reply to: