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 20:50:59 GMT
Il martedì 7 ottobre 2008 19:43:09 hai scritto:
> That is because the link you click on contains the long addres.
> Rewrites do not affect the content of the response. You will need to
> change the code that generates the menu to use the short address for
> the "home" button.

Y're right!
Infact I obtained the wished result put in PHP code:

if($pagina!=$voce) {
    echo $voce=="home" ? '<a href=".">' : '<a

instead of the original string:

*if($pagina!=$voce) echo '<a href="index.php?pagina='.$voce.'">';*


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