Hello,
In /etc/httpd/conf/vhosts/preview , I have :
NameVirtualHost 216.194.67.218:80
<VirtualHost 216.194.67.218:80>
ServerName bq2.lusodigital.net
DocumentRoot /var/www/html
RewriteEngine On
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteCond %{DOCUMENT_ROOT} !-d
RewriteRule .* http://%1:444/error/forbidden.html [L,R]
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/admin/?$ http://%1:444/login.php [L,R]
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/siteadmin/?$ http://%1:444/login.php [L,R]
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/personal/?$ http://%1:444/login.php [L,R]
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/login/?$ http://%1:444/login.php [L,R]
<Directory /var/www/html>
Options +MultiViews
</Directory>
Alias /no-vhost-error/ /usr/sausalito/ui/web/error/
ErrorDocument 401 /no-vhost-error/authorizationRequired.html
ErrorDocument 403 /no-vhost-error/forbidden.html
ErrorDocument 404 /no-vhost-error/fileNotFound.html
ErrorDocument 500 /no-vhost-error/internalServerError.html
Alias /bq2.lusodigital.net/ /home/.sites/28/site1/web/
<Directory /home/.sites/28/site1/web>
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
</Directory>
Alias /www.gicsal.com/ /home/.sites/70/site4/web/
<Directory /home/.sites/70/site4/web>
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
</Directory>
Alias /www.bq2bq2.com/ /home/.sites/143/site2/web/
<Directory /home/.sites/143/site2/web>
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
</Directory>
Alias /www.testecom.com/ /home/.sites/106/site3/web/
<Directory /home/.sites/106/site3/web>
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
</Directory>
</VirtualHost>
--
Very best Regards
Emmanuel
MdL> On Sat, May 20, 2006 at 01:26:11AM +0100, e.a (at mark) post.com wrote:
>> >> When I try to preview www.DOMAIN.COM I get in error_log :
>> >> > File does not exist: /home/.sites/28/site1/web/www.DOMAIN.COM
>>
>> MdL> For preview to function, the URL you browse to needs a trailing /
>>
>> Ending with / does't help ... I get the same "File Not Found"
>>
>> Any idea ?
MdL> What is in your /etc/httpd/conf/vhosts/preview?