httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "topinambour ####" <otpinamb...@gmail.com>
Subject Re: [users@httpd] mod_rewrite?
Date Thu, 22 Sep 2011 20:23:45 GMT
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@googlemail.com>

> On Thu, Sep 22, 2011 at 9:34 AM, topinambour #### <otpinambour@gmail.com>
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message