Re: 'domain.com/foo' = 404 but 'domain.com/foo/' works fine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 12, 2007 3:41 PM, thomas Armstrong <tarmstrong@xxxxxxxxx> 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]
> --------------------

Ad a RewriteLog with high enough log level. That way you will see how
your URLs are rewritten. If you don't understand something in the log
just post it here.

Krist

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux