httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Ionescu" <bobsie...@googlemail.com>
Subject Re: [users@httpd] ReWrite woes
Date Wed, 14 Jan 2009 19:27:53 GMT
2009/1/14 Sheldon Ross <sross@simmgene.com>:
>                RewriteRule ^/bob$ /temp1/temp1/temp2

That rule (with 'RewriteEngine on' as already mentioned) wouldn't
match in a <directory> section (per-directory context) but it would
match outside of the <directory> section (per-server context). Strip
the leading slash of the pattern for using the rule in per-directory
context.

RewriteRule ^bob$ /temp1/temp1/temp2
            ^^

Bob

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


Mime
View raw message