Welcome to WebmasterWorld Guest from 54.144.107.83

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

help with htaccess redirect (some characters changed)

     
9:03 pm on Oct 13, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:May 16, 2003
posts:109
votes: 0


I am trying to perform a redirect in my htaccess file. The redirect looks like this:

RedirectMatch /odyssey /cgi-bin/ib3/ikonboard.cgi?act=ST;f=19;t=277$1

When the redirect occurs the url is changed to:

[mysite.com...]

How can I prevent this? Thanks

5:06 am on Oct 14, 2003 (gmt 0)

Full Member

10+ Year Member

joined:Aug 20, 2003
posts:255
votes: 0


Not quite sure how you'd do it with mod_alias.

If you have mod_rewrite, you can use a RewriteRule with the NE flag. You can find more details here:
[httpd.apache.org ]