ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@finemaltcoding.com>
Subject Re: webservices.apache.org should point to minotaur
Date Thu, 28 Aug 2003 21:42:25 GMT
[Having some mail problems, not sure if this went through the first time 
around.]

Davanum Srinivas wrote:
> Am ok with that. CC'ing WS-PMC as well.
> 
> -- dims
> 
> --- Brian Behlendorf <brian@collab.net> wrote:
> 
>>On Wed, 27 Aug 2003, Davanum Srinivas wrote:
>>
>>>Need to redirect webservices.apache.org to the same machine as ws.apache.org
>>
>>Done.  We really should set up an HTTP redirect to ws.apache.org, though.

I applied the following patch to the httpd configuration on minotaur, 
and made it live.  A big thanks to Ed Korthof -- master of all things 
httpd.conf -- for help with activating the rewrite engine for our vhost.


--- /home/dlr/others.conf.orig  Thu Aug 28 12:55:00 2003
+++ /usr/local/apache2-install/www.apache.org/conf/vhosts/others.conf 
Thu Aug
28 13:03:38 2003
@@ -133,6 +133,12 @@
     DocumentRoot /x1/www/ws.apache.org
     ServerName ws.apache.org
     ServerAlias webservices.apache.org ws-new.apache.org
+
+   # webservices is a valid alias, but content is accessed via ws.
+   RewriteEngine on
+   RewriteOptions inherit
+   RewriteCond %{HTTP_HOST} webservices.apache.org [NC]
+   RewriteRule ^(.*)$ http://ws.apache.org$1 [R=permanent,L]
  </VirtualHost>

  <VirtualHost *>


If there's a way to do this without rewrite rules, I'm all ears.  I 
couldn't come up with one because of the need to get at the HTTP Host 
header.

Note: This does not avoid the access of the "European Patentability 
rules" splash screen which is currently up as the index.html page on all 
.apache.org sites.


- Dan


Mime
View raw message