vhost sanity check..

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

 



I have this in my vhost, now I would expect stuff comming in from exerciselog.eu to have an header with "exerciselog.eu" as content and it does, however for the traningslog.dk it contains the same ("exerciselog.eu"), so whats wrong? :

<VirtualHost *:* >
ServerName exerciselog.eu
ProxyPreserveHost Off
ServerAlias *.exerciselog.eu $
ServerAdmin admin@xxxxxxxxxxxxxx
   ProxyPass /images http://10.0.0.2:8180/ZeuzWeb-0.1-SNAPSHOT/images
   ProxyPass / http://10.0.0.2:8180/ZeuzWeb-0.1-SNAPSHOT/
   ProxyPassReverse / http://10.0.0.2:8180/ZeuzWeb-0.1-SNAPSHOT/
   ProxyPassReverseCookiePath /ZeuzWeb-0.1-SNAPSHOT /
   <Proxy *>
   Order deny,allow
   Allow from all
   </Proxy>
RequestHeader set domain "exerciselog.eu"
</VirtualHost>
<VirtualHost *:* >
ServerName traningslog.dk
ProxyPreserveHost Off

ServerAlias *.xn--trningslog-e6a.dk
ServerAlias *..xn--trningslog-e6a.dk
ServerAlias *.traeningslog.ath.cx
ServerAlias beta.traeningslog.ath.cx
ServerAlias beta.træningslog.dk
ServerAlias *.beta.traningslog.dk
ServerAlias beta.traningslog.dk
ServerAdmin admin@xxxxxxxxxxxxxxxxxxxxx
   ProxyPass /images http://10.0.0.2:8180/ZeuzWeb-0.1-SNAPSHOT/images
   ProxyPass / http://10.0.0.2:8180/ZeuzWeb-0.1-SNAPSHOT/
   ProxyPassReverse / http://10.0.0.2:8180/ZeuzWeb-0.1-SNAPSHOT/
   ProxyPassReverseCookiePath /ZeuzWeb-0.1-SNAPSHOT /
   <Proxy *>
   Order deny,allow
   Allow from all
   </Proxy>
RequestHeader set domain "traningslog.dk"
</VirtualHost>

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
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