Francesco149/hnng-moe/master/.htaccess - Htaccess File

Francesco149/hnng-moe/master/.htaccess

RewriteEngine On
ErrorDocument 404 http://localhost/notfound

RewriteRule ^about/?$ index.php?act=about [L]
RewriteRule ^api/?$ index.php?act=api [L]
RewriteRule ^donate/?$ index.php?act=donate [L]
RewriteRule ^privacy/?$ index.php?act=privacy [L]
RewriteRule ^manteinance/?$ index.php?act=manteinance [L]
RewriteRule ^notfound/?$ index.php?act=notfound [L]
RewriteRule ^wip/?$ index.php?act=wip [L]
RewriteRule ^do/?$ index.php?act=createlink [L]
RewriteRule ^sharefiles/?$ index.php?act=sharefiles [L]
RewriteRule ^doupload/?$ index.php?act=doupload [L]
RewriteRule ^reveal/?$ index.php?act=reveal [L]
RewriteRule ^reveallink/?$ index.php?act=reveallink [L]

RewriteRule ^f/([a-z0-9-]+)/?(.*)?$ getfile.php?fileid=$1&$2 [NC,L]
RewriteRule ^r/([a-z0-9-]+)/?$ revealurl.php?urlid=$1 [NC,L]
RewriteRule ^([a-z0-9-]+)/?$ geturl.php?urlid=$1 [NC,L]

On Github License

Files

Download PDF of Htaccess file

Comments

Apache