URL: https://linuxfr.org/forums/general-general/posts/question-apache-13 Title: Question apache 1.3 Authors: Narmer Date: 2007年12月26日T19:13:45+01:00 Tags: Score: -1 Bonsoir forum, j'ai un apache fraichement installé (sous win32 mais je ne pense pas que ça change grand chose vu mon problème). Je veux la chose suivante 1. un site [http://ez1.mondomaine.fr](http://ez1.mondomaine.fr) qui pointe vers c:\temp\ez1 2. un site [http://ez2.mondomaine.fr:8080](http://ez2.mondomaine.fr:8080) qui pointe vers c:\temp\ez2 je rajoute donc ceci à la fin du httpd.conf
include conf/ez1.conf include conf/ez2.conf
Dans ez1.conf j'ai
Listen 80 NameVirtualHost *:80 ServerName ez1.mondomaine.fr:80 ServerAlias ez1.mondomaine.fr:80 DocumentRoot "C:\temp\ez1" DirectoryIndex index.html
Dans ez2.conf j'ai
Listen 8080 NameVirtualHost *:8080 ServerName ez2.mondomaine.fr:8080 ServerAlias ez2.mondomaine.fr:8080 DocumentRoot "C:\temp\ez1" DirectoryIndex index.html
Le résultat c'est que les 2 urls [http://ez1.mondomaine.fr](http://ez1.mondomaine.fr) et [http://ez2.mondomaine.fr:8080](http://ez2.mondomaine.fr:8080) me renvoie vers c:/temp/ez1 Il y a quelque chose que je ne saisi pas. Peux tu m'aider ? Merci !

AltStyle によって変換されたページ (->オリジナル) /