Re: [EMAIL PROTECTED] 'domain.com/foo' = 404 but 'domain.com/foo/' works fine

2007-12-13 Thread Jennifer Lynn
hi I thought if you wanted the "foo" and everything underneath it or by itself RewriteRule ^/foo/?.*$ /landing_page Jenny On Dec 12, 2007 9:41 AM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > --- > RewriteRule ^([^/]+)/?$ /page.php?id=$1 [L] > >

Re: [EMAIL PROTECTED] 'domain.com/foo' = 404 but 'domain.com/foo/' works fine

2007-12-12 Thread Krist van Besien
On Dec 12, 2007 3:41 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > Hi Eric. Thank you very much for you answer. > > I typed: > - > RewriteRule ^([^/]+)/*$ /page.php?id=$1 [L] > - > and got 500 error message on every page on my website. The same with: > > ---

Re: [EMAIL PROTECTED] 'domain.com/foo' = 404 but 'domain.com/foo/' works fine

2007-12-12 Thread Neil A. Hillard
Hi, thomas Armstrong wrote: > Hi Eric. Thank you very much for you answer. > > I typed: > - > RewriteRule ^([^/]+)/*$ /page.php?id=$1 [L] > - > and got 500 error message on every page on my website. The same with: > > --- > RewriteRule ^([^/]+)/?$ /page.php?id

Re: [EMAIL PROTECTED] 'domain.com/foo' = 404 but 'domain.com/foo/' works fine

2007-12-12 Thread thomas Armstrong
Hi Eric. Thank you very much for you answer. I typed: - RewriteRule ^([^/]+)/*$ /page.php?id=$1 [L] - and got 500 error message on every page on my website. The same with: --- RewriteRule ^([^/]+)/?$ /page.php?id=$1 [L] Regards, --Thomas

Re: [EMAIL PROTECTED] 'domain.com/foo' = 404 but 'domain.com/foo/' works fine

2007-12-12 Thread Eric Covener
On Dec 12, 2007 7:18 AM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > Hi. > > I created this .htaccess: > - > RewriteRule ^([^/]+)/$ /page.php?id=$1 [L] > --- > > And it works fine with: > http://domain.com/foo/ (it shows a webpage) > > But it shows a 404 error page with: > http://domain.c

[EMAIL PROTECTED] 'domain.com/foo' = 404 but 'domain.com/foo/' works fine

2007-12-12 Thread thomas Armstrong
Hi. I created this .htaccess: - RewriteRule ^([^/]+)/$ /page.php?id=$1 [L] --- And it works fine with: http://domain.com/foo/ (it shows a webpage) But it shows a 404 error page with: http://domain.com/foo I tried adding this line to .htaccess: RewriteRule ^([^/]+)$ /page.php?id=$1