Re: mod_rewrite?

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

 



good evening
it seems that i do not have rewrite.log in /usr/local/var .
An missing configuration after compiling httpd2.2.20? perhaps
And in /var nothing too.

So I think i have some  "road"
It's to say:
It must remove ALL strings after an ? in final URL

writting:
RewriteEngine On
RewriteBase      /
RewriteCond     %{QUERY_STRING}  .
RewriteRule  ^[^\.]+(\.html)       /^[^\.]+(\.html)?$ [L]

but problem is : What to do with attractive URL spip code:
URL_PROPRE
putting blank or ^ first or ( or [ 
and $ at final or not.

I 'm going to try
regards


Hum i hope.
 
2011/9/22 Tom Evans <tevans.uk@xxxxxxxxxxxxxx>
On Thu, Sep 22, 2011 at 9:34 AM, topinambour #### <otpinambour@xxxxxxxxx> wrote:
> Someone has an idea abot what to do
> thanks in advance
>
>

Turn on the rewrite log, make some requests which you think should be
rewritten, look at the rewrite log and work out why it wasn't.

Cheers

Tom

---------------------------------------------------------------------
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