httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nino Saturnino Martinez Vazquez Wael <nino.marti...@jayway.dk>
Subject [users@httpd] Re: vhost sanity check..
Date Thu, 26 Jun 2008 07:16:19 GMT
Going over the config again, I noticed the $ ... I removed that and the 
shuffled the order of exerciselog.eu and traininglog.dk (and remove the 
part that set the header for traininglog.dk) and now it works:)

Nino Saturnino Martinez Vazquez Wael wrote:
> 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@traningslog.dk
>    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@xn--trningslog-e6a.dk
>    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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message