-
Notifications
You must be signed in to change notification settings - Fork 6
/
.htaccess
70 lines (57 loc) · 2.69 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Options -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^logout/$ /logout.php [L,QSA]
RewriteRule ^login/$ /login.php [L,QSA]
RewriteRule ^login/signup/$ /login.php?signup=yes [L]
#Admin
RewriteRule ^admin/$ /admin.php [L,QSA]
#Dwolla
RewriteRule ^dwauth/(.*)/$ /dwauth.php?myid=$1 [L,QSA]
RewriteRule ^dwauth/$ /dwauth.php [L,QSA]
#Billing Page - Clients
RewriteRule ^billing/$ /billing.php [L]
RewriteRule ^billing/cancel/$ /billing.php?cancelsub=yes [L]
RewriteRule ^billing/checking/$ /billing.php?checking=yes [L]
RewriteRule ^billing/invoices/$ /billing.php?invoices=yes [L]
RewriteRule ^billing/invoice/(.*)/$ billing.php?downloadInvoice=$1 [L]
#Admin - Client Area
RewriteRule ^clients/$ /clients.php [L]
RewriteRule ^clients/create/$ /clients.php?createClient=yes [L]
RewriteRule ^client/(.*)/$ /clients.php?showClient=$1 [L]
#Admin - Access Levels
RewriteRule ^admin/levels/$ /admin.php?levels=yes [L]
RewriteRule ^admin/level/delete/(.*)/$ /admin.php?deleteLevel=$1 [L]
RewriteRule ^admin/level/(.*)/$ /admin.php?editLevel=$1 [L]
#Admin - User Editor
RewriteRule ^admin/users/$ /admin.php?users=yes [L]
RewriteRule ^admin/user/delete/(.*)/$ /admin.php?deleteUser=$1 [L]
RewriteRule ^admin/user/(.*)/$ /admin.php?editUser=$1 [L]
#Admin - Queue Editor
RewriteRule ^admin/queues/$ /admin.php?queues=yes [L]
RewriteRule ^admin/queue/delete/(.*)/$ /admin.php?deleteQueue=$1 [L]
RewriteRule ^admin/queue/(.*)/$ /admin.php?editQueue=$1 [L]
#Admin - Settings
RewriteRule ^admin/settings/$ /admin.php?settings=yes [L]
#Admin - Stripe Console
RewriteRule ^admin/stripe/$ /admin.php?stripe=yes [L]
RewriteRule ^admin/billing/$ /admin.php?billing=yes [L]
RewriteRule ^admin/billing/stripe/removeplan/(.*)/ /admin.php?removeplan=$1 [L]
RewriteRule ^admin/billing/stripe/removecoupon/(.*)/ /admin.php?removecoupon=$1 [L]
#Ticket Assignments and Operations
RewriteRule ^ticket/$ /ticket.php [L]
RewriteRule ^selfassign/(.*)/$ /index.php?selfAssign=$1 [L]
RewriteRule ^assign/sub/(.*)/$ /ticket.php?assignSub=$1 [L]
RewriteRule ^ticket/(.*)/(.*)/$ /ticket.php?tid=$1&viewTask=$2 [L]
RewriteRule ^ticket/(.*)/$ /ticket.php?view=$1 [L]
RewriteRule ^close/(.*)/$ /ticket.php?close=$1 [L]
RewriteRule ^closetask/(.*)/$ /ticket.php?closeTask=$1 [L]
RewriteRule ^email/file/(.*)/$ /ticket.php?emailFile=$1 [L]
#Statement Operations
RewriteRule ^send/(.*)/$ /ticket.php?sendSOW=$1 [L]
RewriteRule ^sow/remove/(.*)/(.*)/$ /ticket.php?removeSOWItem=$1&si=$2 [L]
RewriteRule ^accept/(.*)/$ /accept.php?hash=$1 [L]
RewriteRule ^download/sow/(.*)/$ /ticket.php?downloadSOW=$1 [L]
RewriteRule ^notify/$ /notify.php [L,QSA]
RewriteRule ^notify/count/$ /notify.php?getCount=yes [L,QSA]
RewriteRule ^notify/clear/$ /notify.php?clear=yes [L,QSA]