On Tue, Jun 9, 2009 at 10:19 AM, Kenneth Gonsalves
<[email protected]>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>

-V-
http://twitter.com/venkasub
_______________________________________________
To unsubscribe, email [email protected] 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