ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <>
Subject Re: should point to minotaur
Date Thu, 28 Aug 2003 20:07:43 GMT
Davanum Srinivas wrote:
> Whichever is easier and less intrusive :)
> -- dims
> --- Daniel Rall <> wrote:
>>Brian Behlendorf wrote:
>>>On Thu, 28 Aug 2003, Sanjiva Weerawarana wrote:
>>>>I'm confused - are and
>>>>different boxes?? What's the rationale for that? Why do we need
>>>>two separate places - I understand having one as a CNAME for the
>>>>other but that's it.
>>> should redirect to because it's
>>>generally bad form to have two URLs that refer to the same piece of
>>>content.  It pollutes proxies and search engines, for example, and every
>>>time you bring up a new service you need to do so for both hostnames.  If
>>>the canonical name for the project is "", and "webservices"
>>>is provided as a favor for those who can remember that, that's fine.
>>I agree.  Shall I configure this in's top level .htaccess 
>>file, or in minotaur's httpd.conf?

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/ 
Thu Aug
28 13:03:38 2003
@@ -133,6 +133,12 @@
     DocumentRoot /x1/www/
+   # webservices is a valid alias, but content is accessed via ws.
+   RewriteEngine on
+   RewriteOptions inherit
+   RewriteCond %{HTTP_HOST} [NC]
+   RewriteRule ^(.*)$$1 [R=permanent,L]

  <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 

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

- Dan

View raw message