Hello,
I've the same error with your modifications.
My infos :
/var/www/web12/web/ => My website
/var/www/web12/web/blogs/s9y/ => The serendipity files
/var/www/web12/web/blogs/tribal-dolphin/ => The deployement/* files
My httpd.conf for my website :
Code: Select all
<VirtualHost xx.xxx.xxx.x:80>
RewriteCond %{HTTP_HOST} ^([^.]+).td-blogs.be$ [NC]
RewriteCond %{HTTP_HOST} !^www.td-blogs.be$ [NC]
RewriteCond %{HTTP_HOST} !^s9y.td-blogs.be$ [NC]
RewriteRule ^(.*)$ /var/www/web12/web/blogs/%1$1 [L]
php_value include_path '.:/usr/share/pear:/var/www/web12/web/blogs/'
SuexecUserGroup web12_admin web12
ServerName www.td-blogs.be:80
ServerAdmin webmaster@td-blogs.be
DocumentRoot /var/www/web12/web
ServerAlias *.td-blogs.be www.td-blog.be td-blog.be td-blogs.be
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web12/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web12/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
Alias /error/ "/var/www/web12/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web12/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web12/user/$1/web/$3
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.td-blog\.be [NC]
RewriteRule ^/(.*) http://www.td-blogs.be/$1 [L,R]
RewriteCond %{HTTP_HOST} ^td-blog\.be [NC]
RewriteRule ^/(.*) http://www.td-blogs.be/$1 [L,R]
RewriteCond %{HTTP_HOST} ^td-blogs\.be [NC]
RewriteRule ^/(.*) http://www.td-blogs.be/$1 [L,R]
</VirtualHost>
You can see the result here :
http://tribal-dolphin.td-blogs.be/ (this URL is for view the content of /var/www/web12/web/blogs/tribal-dolphin/ directory)
Thanks for your help.