Rewrite all URLs

Topics: Developer Forum, User Forum
Oct 1, 2009 at 12:55 PM

I want to rewrite all URLs that are passed, I have my site within www.domanin.com/web/ and I want to rewrite for example www.domain.com/index.asp?id=1 to /web/index.asp?id=1, any ideas? thank you very much

Coordinator
Oct 1, 2009 at 3:39 PM

RewriteRule ^/(.*)$  /web/$1   [L]

 

Oct 1, 2009 at 5:50 PM

thank you very much Cheeso