On Tuesday 09 June 2009 10:41:29 Venkatraman S wrote:
> On Tue, Jun 9, 2009 at 10:19 AM, Kenneth Gonsalves
>
> <law...@thenilgiris.com>wrote:
> > I want all calls to this site to be rewritten as
> > http://example.com/2009/. For example:
> > http://example.com/home/ should become http://example.com/2009/home/. So
> > here
> > the logic is that is the url does not start with '2009/', that should be
> > inserted, otherwise it should be left alone.
>
> Tried ReWriteCond + ReWriteRule?
>
> <havent tried>
> RewriteCond $1 !^(2009)
> RewriteRule ^(.*)$ /2009/$1
> </havent tried>

works

-- 
regards
kg
http://lawgon.livejournal.com
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to