Re: [EMAIL PROTECTED] mod rewrite redirect if NOT in URL

2006-04-25 Thread Krist van Besien
On 4/25/06, John Nichel <[EMAIL PROTECTED]> wrote: > Joshua Slive wrote: > > On 4/25/06, John Nichel <[EMAIL PROTECTED]> wrote: > >> Hi, I usually have no problem redirecting based on what is in the URL, > >> but now I'm trying to redirect all pages in a site to one page on the > >> same site. I ha

Re: [EMAIL PROTECTED] mod rewrite redirect if NOT in URL

2006-04-25 Thread Joshua Slive
On 4/25/06, John Nichel <[EMAIL PROTECTED]> wrote: > Hi Joshua, thanks for the response. Unfortunately it doesn't seem to > be working for me. Right now I have this : > > RewriteEngine On > RewriteBase / > RewriteCond %{Request_URI} !^/redirect\.html [NC] > RewriteRule ^/$ /redirect.html > > An

Re: [EMAIL PROTECTED] mod rewrite redirect if NOT in URL

2006-04-25 Thread John Nichel
Joshua Slive wrote: On 4/25/06, John Nichel <[EMAIL PROTECTED]> wrote: Hi, I usually have no problem redirecting based on what is in the URL, but now I'm trying to redirect all pages in a site to one page on the same site. I have to exclude that one page from the redirection process else I get a

Re: [EMAIL PROTECTED] mod rewrite redirect if NOT in URL

2006-04-25 Thread Joshua Slive
On 4/25/06, John Nichel <[EMAIL PROTECTED]> wrote: > Hi, I usually have no problem redirecting based on what is in the URL, > but now I'm trying to redirect all pages in a site to one page on the > same site. I have to exclude that one page from the redirection process > else I get an infinite loop

[EMAIL PROTECTED] mod rewrite redirect if NOT in URL

2006-04-25 Thread John Nichel
Hi, I usually have no problem redirecting based on what is in the URL, but now I'm trying to redirect all pages in a site to one page on the same site. I have to exclude that one page from the redirection process else I get an infinite loop. I've tried numerous combinations of the following, bu