- Workflow builds on every push to dev and tags the image :dev (not :latest) - git.nhgooi.nl -> git.gooienmeer.nl - https://api.nhgooi.nl/ -> https://api.gooienmeer.nl/ - https://nhgooi.nl/ -> https://gooienmeer.nl/ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
911 B
ApacheConf
33 lines
911 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
<IfModule mod_negotiation.c>
|
|
Options -MultiViews
|
|
</IfModule>
|
|
|
|
RewriteEngine On
|
|
|
|
# 6fm -> nhgooi
|
|
RewriteCond %{HTTP_HOST} ^(www\.)6fm.nl(.*)$ [NC]
|
|
RewriteRule ^(.*)$ https://gooienmeer.nl/$2 [R=301,L]
|
|
|
|
RewriteCond %{HTTP_HOST} nhgooigemist.nl [NC]
|
|
RewriteRule ^(.*)$ https://gooienmeer.nl/gemist [R=301,L]
|
|
|
|
# Remove www.
|
|
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
|
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
|
|
|
|
# Redirect Trailing Slashes If Not A Folder...
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^(.*)/$ /$1 [L,R=301]
|
|
|
|
# Handle Front Controller...
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^ index.php [L]
|
|
|
|
# Handle Authorization Header
|
|
RewriteCond %{HTTP:Authorization} .
|
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
|
</IfModule>
|
|
|