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

Re: [cobalt-users] Failure to conform to CGI standards ???



Date: Sun, 03 Dec 2000 23:49:33 -0600
From: "Michael D. Schleif" <mds-resource@xxxxxxxxxxxx>

<BIG SNIP>

NameVirtualHost 216.234.189.108
<VirtualHost 216.234.189.108>
ServerName www.helices.org
ServerAdmin site99
DocumentRoot /home/sites/site99/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.234.189.108(:80)?$
RewriteCond %{HTTP_HOST}                !^www.helices.org(:80)?$
RewriteRule ^/(.*)                      http://www.helices.org/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site99/users/$1/web/$3
# AddHandler chiliasp .asp
# AddHandler chiliasp .asa
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType    text/html     .shtml
</VirtualHost>


We wonder, what is the purpose of this section:

RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.234.189.108(:80)?$
RewriteCond %{HTTP_HOST}                !^www.helices.org(:80)?$
RewriteRule ^/(.*)                      http://www.helices.org/$1 [L,R]
RewriteOptions inherit

What would happen, if this section was *not* present ???

Or, another thing to try would be to combine these:
        RewriteCond %{HTTP_HOST}                !^216.234.189.108(:80)?$
        RewriteCond %{HTTP_HOST}                !^www.helices.org(:80)?$
to:
        RewriteCond %{HTTP_HOST}
!^(216.234.189.108(:80)?|www.helices.org(:80)?)$

Tera-Byte responds:

``we use standard cobalt raq servers and their configuration if your not
satisfied with this current configuration  you can either contact cobalt
networks about getting it changed (we cant change it)or you may exersice
your 30 day money back guarantee''

What do you think?


I do my hosting of entire Raqs at Tera-Byte -- first with a Raq2 and now with a Raq4. What you've shown us is a standard Cobalt configuration for a virtual site probably on a Raq4. Since I run a Raq4 myself, I can tell you that, overall, I've not had that many problems with CGIs using CGI.pm, so I suspect your fears are mostly groundless. Tinkering with Apache probably voids the warranty and, unless you're renting the *entire* machine from Tera-Byte (in which case you can do what you want), they're not going to muck around with the Raq for you (although they can).

If you believe that there is a problem with the standard configuration for the Raq, then you'll have to chat with the people at Cobalt about it.

Michelle



--

----|      TRANSCENA DESIGN  |----------------------------
Michelle A. Hoyle, VP Web Technologies, Canada
#801 T.D. Tower, Edmonton, Alberta, Canada  T5J 2Z1
N. America:  1-888-429-2363  |  UK:  020 7529 1465
International:  +1 780 429 2363
------------------|  internet design architects     |--------