Hi,
In options tab for a Web domain, after adding something like:
Code:
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .web
I got an error 403 when I tried to access to subdomain.domain.tld (redirect to domain.tld/folder)
domain.tld/folder is working well.
Log says :
client denied by server configuration:
Here the .vhost :
Code:
<Directory /home/domain.com>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
<VirtualHost 87.xxxx:80>
DocumentRoot /home/domain.com/web
ServerName domain.com
ServerAlias www.domain.com
ServerAlias media.domain.com
ServerAlias domaintoto2.com
ServerAlias mrtg.domain.com
ServerAdmin webmaster@domain.com
ErrorLog /var/log/ispconfig/httpd/domain.com/error.log
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
<Directory /home/domain.com/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /home/clients/client0/web12/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# cgi enabled
<Directory /home/clients/client0/web12/cgi-bin>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /home/clients/client0/web12/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup web12 client0
# php as fast-cgi enabled
<IfModule mod_fcgid.c>
# SocketPath /tmp/fcgid_sock/
IdleTimeout 3600
ProcessLifeTime 7200
# MaxProcessCount 1000
DefaultMinClassProcessCount 3
DefaultMaxClassProcessCount 100
IPCConnectTimeout 8
IPCCommTimeout 360
BusyTimeout 300
</IfModule>
<Directory /home/domain.com/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web12/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /home/clients/client0/web12/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web12/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web12 client0
</IfModule>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^media.domain.com [NC]
RewriteRule ^/(.*)$ /media/$1 [L]
RewriteCond %{HTTP_HOST} ^domaintoto2.com [NC]
RewriteRule ^/(.*)$ http://www.domain.com$1 [R]
RewriteCond %{HTTP_HOST} ^mrtg.domain.com [NC]
RewriteRule ^/(.*)$ /munin/$1 [L]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm
</VirtualHost>
Recent comments
1 day 8 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 18 hours ago
2 days 10 hours ago
2 days 10 hours ago
2 days 14 hours ago