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=$1 [L]
> --------------------

So what does error_log have to say about things?


                                Neil.


> On Dec 12, 2007 1:31 PM, Eric Covener <[EMAIL PROTECTED]> wrote:
>> 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.com/foo
>> Looks like ending your pattern in /?$ or /*$ would allow you to throw
>> away 0 or more trailing slashes.


-- 
Neil Hillard                    [EMAIL PROTECTED]
AgustaWestland                  http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to