Tu peux aussi définir ServerName comme indiqué ailleur.
Ou utiliser "UseCanonicalName Off" : # UseCanonicalName: Determines how Apache constructs self-referencing
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set "Off", Apache will use the Hostname and Port supplied
# by the client. When set "On", Apache will use the value of the
# ServerName directive.
#
UseCanonicalName Off
[^] # Re: redirection.
Posté par Ayrton . En réponse au journal Mailman, c'est quand même relativement foireux.... Évalué à 2.
Le fonctionnement de rewriterule est assez suptile et pas toujous facile à débugger.
Là j'ai pas d'idée.
> avec le R, ça marche mais mon listes.agora.eu.org est renommé en ns30318.ovh.net
Tu peux aussi :
RewriteRule ^/$ http://listes.agora.eu.org/listinfo(...) [L,R]
Tu peux aussi définir ServerName comme indiqué ailleur.
Ou utiliser "UseCanonicalName Off" :
# UseCanonicalName: Determines how Apache constructs self-referencing
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set "Off", Apache will use the Hostname and Port supplied
# by the client. When set "On", Apache will use the value of the
# ServerName directive.
#
UseCanonicalName Off
C'est ma solution préférée.