26 lines
511 B
ApacheConf
26 lines
511 B
ApacheConf
RewriteEngine On
|
|
|
|
|
|
# Redirect to www
|
|
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
|
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
|
|
|
|
RewriteCond %{HTTP:X-Forwarded-Proto} =https
|
|
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
|
|
|
RedirectMatch permanent ^/ikarus/* http://feuerwehr-eppingen.de
|
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
# Turn Off mod_dir Redirect For Existing Directories
|
|
DirectorySlash Off
|
|
|
|
# Rewrite For Public Folder
|
|
RewriteEngine on
|
|
|
|
|
|
RewriteRule ^(.*)$ public/$1 [L]
|
|
|
|
</IfModule>
|
|
|