httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Houston <...@openstrike.co.uk>
Subject Re: [users@httpd] Re: Curious inability to mod_rewrite absolute paths
Date Wed, 08 Jan 2014 11:36:15 GMT
On Mon, Jan 06, 2014 at 12:45:27AM -0500, Borden Rhodes wrote:
> I understand from the docs that Alias directives can't be used in .htaccess 
> files. Is this correct? This inability is partly why I kept struggling with 
> RewriteRules - the other was to force myself to practise regexes and advanced 
> configuration. 

It is correct. However, the Redirect directive is permitted in access
files and that too is provided by mod_alias.
http://httpd.apache.org/docs/2.4/mod/mod_alias.html#redirect

HTH,

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

Mime
View raw message