Skip to content

Instantly share code, notes, and snippets.

View imme-emosol's full-sized avatar
😱
sto der skjælvende av angst – og følte et stort uendelig skrik gjennom naturen

immeëmosol imme-emosol

😱
sto der skjælvende av angst – og følte et stort uendelig skrik gjennom naturen
View GitHub Profile
@imme-emosol
imme-emosol / .htaccess
Last active February 15, 2023 14:31
apache's mod_rewrite to index.php if 404 unfound/not-found
<IfModule rewrite_module>
#OR<IfModule mod_rewrite.c>
#OR<IfModule mod_rewrite.so>
# according to apache-documentation, followsymlinks is needed for mod_rewrite
Options +FollowSymLinks
# Enable the RewriteEngine
RewriteEngine On
# if needed add(/uncomment) the following:
#RewriteBase /path/to/file/to/be/found/
# check if the request is not an existing file