httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauro Sacchetto <mauro.sacche...@tele2.it>
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 solprovider@apache.org 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:
>    http://www.example.net/index.php?pagina=home
> 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...

Thanx!
MS



-- 
linux user no.: 353546

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