PlanetJava
Custom Search

java-stripes-user
[Top] [All Lists]

Re: clean urls without /action/*

Subject: Re: clean urls without /action/*
Date: Wed, 06 Feb 2008 19:33:21 +0000
error correction.
--RewriteCond %{REQUEST_URI} ^/home/$
++RewriteCond %{REQUEST_URI} ^/home/
-M.
On Wed, 2008-02-06 at 19:29 +0000, Mark Page wrote:
> In this case maybe use your container/webserver url rewriting facilities
> in conjunction with clean urls. e.g. for mod_rewrite on apache :-
> 
> RewriteCond %{REQUEST_URI} ^/home/$
> RewriteRule (.*)/home/(.*) $1/action/home/$2 [L,R=301]
> 
> the only pain i find with this setup is you have to have apache in front
> of your dev server when testing as well or links won't work.
> 
> -M.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy