The barber ad (hidden 2026-10-06) is back on the listing page and its redirect is removed, now that the salon is hiring a barber again. On the guest manage-booking page, "Bekreft endring" and "Avbestill" could be clicked repeatedly while the slow POST (Google Calendar + e-mails) was in flight, sending the request again each time. Both forms now lock after the first submit, mirroring the booking form, and the page reloads when restored from the back-forward cache so the buttons are usable again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
878 B
ApacheConf
Executable File
25 lines
878 B
ApacheConf
Executable File
<IfModule mod_rewrite.c>
|
|
|
|
RewriteEngine on
|
|
|
|
# Never serve build/VCS/ops artefacts that live in the webroot (2026-11-18).
|
|
# Dotfiles + .git are also blocked server-wide on test (conf block-sensitive).
|
|
RewriteRule (^|/)\.(?!well-known(/|$)) - [R=404,L]
|
|
RewriteRule \.(md|rst|log|7z|zip|tar|gz|sql|csv|lock|bak|old|orig|swp|env|ini|sh)$ - [R=404,NC,L]
|
|
RewriteRule ^(composer\.json|vendor/|documents/|archive/|cgi-bin/) - [R=404,NC,L]
|
|
|
|
# Job ad renamed: ledigestilling.html -> negletekniker.html (2026-07-17)
|
|
RewriteRule ^ledigestilling/ledigestilling\.html$ /ledigestilling/negletekniker.html [R=301,L]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
<IfModule mod_php5.c>
|
|
RewriteRule ^(.*)$ index.php/$1 [L]
|
|
</IfModule>
|
|
|
|
<IfModule !mod_php5.c>
|
|
RewriteRule ^(.*)$ index.php?/$1 [L]
|
|
</IfModule>
|
|
|
|
</IfModule> |