Index: [Article Count Order] [Thread]

Date:  Fri, 20 Oct 2006 06:49:56 +0200
From:  Dennis <dennis (at mark) mixfans.org>
Subject:  [coba-e:07647] Re: Domain pointing doesn't work
To:  coba-e (at mark) bluequartz.org
Message-Id:  <45385574.4070306 (at mark) mixfans.org>
In-Reply-To:  <00de01c6f3ce$1b55d3e0$3701a8c0@lapxp>
References:  <00de01c6f3ce$1b55d3e0$3701a8c0@lapxp>
X-Mail-Count: 07647

Arthur,

What Gerald Told you is working really fine and should be working, the 
error though has nothing to to with the siteforwarding
but again with the very very very naughty
(example)
<Directory "/home/.sites/143/site2/vsites/feeds/web">
Options All
AllowOverride All
</Directory>

you need to include that AllowOverride in the site2.include and if you 
want to point multiple domains to the same DocumentRoot
you need to add the Directory and AllowOverride ALL in your setup

In this situation if the new domain was site10, than include above 
statement in the site10.include and restart apache

Apache is very very very strict in where it's accepting the 
AllowOverride option.

So in your situation:

[Fri Oct 20 00:15:27 2006] [alert] [client 212.143.91.125]
/home/.sites/148/site6/web/.htaccess: RewriteEngine not allowed here

Add the AllowOverride in the site6.include
but point to the DocumentRoot you are working with.

Than it should be working okay

Tjsak
Dennis
.... last week played with this sucker when I wanted to point a 
subdomain to another domain with same content.





>
> 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
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
>
> Please contact the server administrator, admin and inform them of the time
> the error occurred, and anything you might have done that may have caused
> the error.
>
> More information about this error may be available in the server error log.
>
> Additionally, a 500 Internal Server Error error was encountered while trying
> to use an ErrorDocument to handle the request.
> ---
>
> /var/log/httpd/error_log has this:
> ---
> [Fri Oct 20 00:15:27 2006] [alert] [client 212.143.91.125]
> /home/.sites/148/site6/web/.htaccess: RewriteEngine not allowed here
> ---
>
> /home/.sites/148/site6/web/.htaccess reads:
> ---
> RewriteEngine On
> RewriteBase /
>
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule ^.*$ /index.php [QSA,L]
>
> #ErrorDocument 404 /index.php
>
> #DirectoryIndex index.htm index.html index.php
>
> Options All -Indexes
>
> #php_value session.name CPTSSID
> php_flag register_globals On
> #php_value error_reporting "E_ALL & ~E_NOTICE"
> #php_value session.use_cookies 1
> #php_value session.use_only_cookies 1
> #php_value session.use_trans_sid 0
> ---
>
> I googled for this error in the log, but it didn't help. Probably, I don't
> understand something...
>
> What should I do?
>
>
> Best,
>
> --
> Arthur Sherman
>
> +972-52-4878851
> CPTeam  
>
>
>