-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.htaccess
More file actions
14 lines (11 loc) · 730 Bytes
/
.htaccess
File metadata and controls
14 lines (11 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
RewriteEngine On
RewriteRule ^json/([a-z]+)/([\s,\w*]+).json$ json.php?request=$1&query=$2&noinclude [NC,L]
RewriteRule ^faction/(5000[0-9]{2})/?$ faction.php?factionID=$1 [NC,L]
RewriteRule ^(corporation|corp)/(1000[0-9]{3})/?$ corporation.php?corporation=$2 [NC,L]
RewriteRule ^item/([0-9]+)/?$ item.php?typeID=$1 [NC,L]
RewriteRule ^offer/([0-9]+)/?$ offer.php?offerID=$1 [NC,L]
RewriteRule ^prefs/?$ preferences.php [NC,L]
RewriteRule ^about/?$ about.php [NC,L]
RewriteRule ^json/?$ json.php [NC,L]
#AddHandler application/x-httpd-php .json
#todo: is it possible to take corp/{corpid}/lpstore and convert that to show the lpsotre or other tabbed data?