On 17. 03. 14 09:47, Emmanuel Rens wrote:
On 17/03/14 09:14, Alexandre Galletet wrote:

Le 03/14/2014 11:26 AM, Emmanuel Rens a écrit :
Tu veux servir du contenu statique dans une arborescence CGI? Pourquoi
pas un alias tout simplement?
Pas du tout! Le contenu est dynamique les paramètres sont dans
l'extra_path_info.
ok, mais quelque chose comme:

AliasMatch ^/upages/([a-zA-Z0-9]+)(/(.*))?$   /home/$1/public_html/$3

devrait suffire, non?.
Possible, j'ai pas testé. Mais la solution de rewrite me plaît car l'url est très courte, et comme c'est pour du qr code avec tracking le moindre caractère gagné est intéressant !

"http://httpd.apache.org/docs/current/en/urlmapping.html";
_______________________________________________
gull mailing list
[email protected]
http://forum.linux-gull.ch/mailman/listinfo/gull

_______________________________________________
gull mailing list
[email protected]
http://forum.linux-gull.ch/mailman/listinfo/gull

Répondre à