Index: [Article Count Order] [Thread]

Date:  Thu, 19 Oct 2006 17:51:58 -0500
From:  "Gerald Waugh" <gwaugh (at mark) frontstreetnetworks.com>
Subject:  [coba-e:07640] Re: Domain pointing doesn't work
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <002c01c6f3d1$2f373720$0301a8c0@Jerrycp>
In-Reply-To:  <00de01c6f3ce$1b55d3e0$3701a8c0@lapxp>
X-Mail-Count: 07640

> 
> I did what you told me.
> And restarted cced.init/httpd/admserv, for a good measure.
> 
> Now, when I go to www.compros.co.il I get:
> ---
> Internal Server Error

Are you sure you have the correct site defined in "document root"

I do this all the time as a matter of fact raqware.com brings up
frontstreetnetworks.com
My file looks like so; note the commented out Document Root line

<VirtualHost 216.130.255.56:80>
ServerName www.raqware.com
ServerAlias raqware.com
ServerAdmin admin
DocumentRoot /home/.sites/90/site11/web
#DocumentRoot /home/.sites/132/site21/web
ErrorDocument 401 /error/401-authorization.html
ErrorDocument 403 /error/403-forbidden.html
ErrorDocument 404 /error/404-file-not-found.html
ErrorDocument 500 /error/500-internal-server-error.html
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.130.255.56(:80)?$
RewriteCond %{HTTP_HOST}                !^www.raqware.com(:80)?$ [NC]
RewriteRule ^/(.*)                      http://www.raqware.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))?
/home/.sites/132/site21/users/$1/web/$3
Include /etc/httpd/conf/vhosts/site21.include
# BEGIN WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType text/html .shtml
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
# END WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.
</VirtualHost>
# end of VirtualHost owned section

Gerald