haoranyu/SVNManager/master/.htaccess - Htaccess File

haoranyu/SVNManager/master/.htaccess

RewriteEngine On
RewriteBase /app/CS242/Portfolio/

RewriteRule ^api/comment/add/$ index.php?method=post&module=comment_add [L]
RewriteRule ^api/comment/get/$ index.php?method=post&module=comment_get [L]
RewriteRule ^api/comment/reply/([0-9]+)$ index.php?method=post&module=comment_reply&id=$1 [L]
RewriteRule ^api/comment/remove/$ index.php?method=post&module=comment_remove [L]

RewriteRule ^/$ index.php?module=svn
RewriteRule ^revision/(.*)/$ index.php?module=revision&path=$1 [L]
RewriteRule ^preview/(.*)$ index.php?module=preview&path=$1 [L]
RewriteRule ^(.*)/$ index.php?module=svn&path=$1

RewriteRule ^test/(.*)$ index.php?test=1&module=$1

On Github License

Files

Download PDF of Htaccess file

Comments

Apache