httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauro Sacchetto <>
Subject Re: [users@httpd] Address rewriting with mod_rewrite
Date Tue, 07 Oct 2008 13:10:04 GMT
Il martedì 7 ottobre 2008 08:21:04 ha scritto:
> The second rewrite redirects requests with the querystring
> "?pagina=home" to the homepage.  To check querystrings with multiple
> parameters:
>    RewriteCond %{QUERY_STRING} ^(.*&)*pagina=home(&)?
>    RewriteRule (*.) / [P]
If I put this tring, in my .htconfig, I obtain only:

Code 500 > Policy violation or wrong htaccess!

> You also want the any links to the homepage in your application to use
> href="/" rather than href="/index.php?pagina=home".  The application
> creates those links.  The code generating the menus includes the link
> to:
> This cannot be fixed with basic Apache httpd; you should correct your
> menus in the application. (mod_proxy_html might help if you get it to
> work.)

I never considered such a thing, so I'll try to study
some documentation about it...


linux user no.: 353546

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message