AllowOverride None
Order Deny,Allow
Deny from all
DocumentRoot /var/www/capstan.cz/web
ServerName capstan.cz
ServerAlias www.capstan.cz
ServerAdmin webmaster@capstan.cz
ErrorLog /var/log/ispconfig/httpd/capstan.cz/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 502 /error/502.html
ErrorDocument 503 /error/503.html
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Order allow,deny
Deny from all
Allow from none
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Order allow,deny
Deny from all
Allow from none
# Clear PHP settings of this website
SetHandler None
RewriteEngine on
RewriteCond %{HTTP_HOST} ^capstan.cz$ [NC]
RewriteRule ^(.*)$ http://www.capstan.cz$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^capstan.cz$ [NC]
RewriteRule ^/(.*)$ http://www.matl-bula.cz/p/paletaky-capstan/$1 [permanent]
RewriteCond %{HTTP_HOST} ^www.capstan.cz$ [NC]
RewriteRule ^/(.*)$ http://www.matl-bula.cz/p/paletaky-capstan/$1 [permanent]
# add support for apache mpm_itk
AssignUserId web236 client6
# Do not execute PHP files in webdav directory
SetHandler None
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END