Jump to content


Need help with mod_rewrite

  • Please log in to reply
1 reply to this topic

#1 VnVision

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 03 June 2006 - 05:05 AM

Normally when mod_rewrite is in effect, if you write a rule to redirect user to another link when they enter a link on your site, user will be redirected even if that link (a directory or a file) exists. But I want a RewriteCond that checks if the link exists - if it does, user will be able to enter that link instead of being redirected, and if it doesn't, user will be redirected of course.
Is this possible? And if it is, how should I write it?

Thanks in advance.

#2 AndyB

  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 03 June 2006 - 11:55 AM

I have no idea about that, but until someone who knows shows up it might be worth a look at [a href=\"http://www.modrewrite.com/\" target=\"_blank\"]http://www.modrewrite.com/[/a]
Legend has it that reading the manual never killed anyone.
My site

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users