Re: mod_rewrite behaving differently on different apache servers. What to do?

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

 



On Mon, Nov 3, 2008 at 2:09 PM, JimRaynor <dbenasic@xxxxxxxxx> wrote:

> I tried this on several apache servers. On some it works perfectly. On some
> it doesn't work at all. And on some it rewrites first part of the link, but
> not query string (part after ? ) . How to configure Apache for this to work?
> Should I change something in Apache config file? Is there another piece of
> code that does the same thing, but more consistently?

As you seem to have the option of changing the apache config file you
could start by putting the rewrite rules there. Rewrite rules in
.htaccess files are tricky. You could then also add a RewriteLogFile
and increase RewriteLogLevel, as this will tell you what is going on.

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