httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <jos...@slive.ca>
Subject Re: Apache 2 directory/files
Date Tue, 11 Dec 2001 02:56:23 GMT

On Tue, 11 Dec 2001, Mark Constable wrote:

> On Tue, 11 Dec 2001 12:34, Joshua Slive wrote:
> > ...
> > If you want, however, I can suggest some work-arounds using AliasMatch or
> > or mod_rewrite to turn the PATH_INFO into QUERY_STRING.  Something like:
> >
> > RewriteRule ^/en(.*) /path/to/real/script?$1
> >
> > Of course, you'll need to change your scripts to look in QUERY_STRING
> > instead of PATH_INFO, which could be a real pain.
>
> And that blows away one of the main reasons for doing
> this... search_engine_friendly URLs.

No it doesn't.  The RewriteRule performs an internal redirect that is
invisible to the client.  They still see http://yourhost/en/whatever

Joshua.


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


Mime
View raw message