Re: Address rewriting with mod_rewrite

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

 



Il martedì 7 ottobre 2008 08:21:04 solprovider@xxxxxxxxxx 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@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