diff options
Diffstat (limited to '_site/.htaccess')
-rw-r--r-- | _site/.htaccess | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/_site/.htaccess b/_site/.htaccess index 9fd4c96..034d457 100644 --- a/_site/.htaccess +++ b/_site/.htaccess @@ -1,4 +1,7 @@ RewriteEngine on RewriteBase / -RewriteRule ^/?article/([a-zA-Z0-9_]+)$ /rewrites/article.php?i=$1 [L] -RewriteRule ^/?assets/([a-zA-Z0-9_./]+)$ /rewrites/assets.php?i=$1 [L]
\ No newline at end of file +RewriteRule ^/?article/([a-zA-Z0-9_\-]+)$ /rewrites/article.php?i=$1 [L] +RewriteRule ^/?assets/([a-zA-Z0-9_\-./]+)$ /rewrites/assets.php?i=$1 [L] + +ErrorDocument 404 /errs/404.php +ErrorDocument 403 /errs/403.php
\ No newline at end of file |