1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-05 03:24:41 +00:00
Files
uwuzu-mirror/.htaccess
T
daichimarukana 8d57168ca1 aaa
2023-08-21 15:28:06 +09:00

17 lines
526 B
ApacheConf

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php [L]
RewriteBase /
RewriteRule ^(@\w+)$ /user/index.php?uwuzuid=$1 [QSA,L]
RewriteRule ^!(\w+)~(\w+)$ /ueuse/index.php?ueuseid=$1&touser=$2 [QSA,L]
ErrorDocument 400 /errorpage/400.php
ErrorDocument 401 /errorpage/401.php
ErrorDocument 403 /errorpage/403.php
ErrorDocument 404 /errorpage/404.php
ErrorDocument 500 /errorpage/500.php
ErrorDocument 503 /errorpage/503.php