Gmane
Favicon
From: Mauro Sacchetto <mauro.sacchetto <at> tele2.it>
Subject: Re: Address rewriting with mod_rewrite
Newsgroups: gmane.comp.apache.user
Date: 2008-10-07 13:10:04 GMT (13 weeks, 15 hours and 31 minutes ago)
Il martedì 7 ottobre 2008 08:21:04 solprovider <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org