-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.htaccess
19 lines (14 loc) · 1.09 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Required by 00webhost to avoid statistics script
<FilesMatch "\.(php)$">
php_value auto_append_file none
</FilesMatch>
# URL Rewritting Engine
RewriteEngine On # Turn on the rewriting engine
# Required by 00webhost
RewriteBase /mds
RewriteRule ^client_software_info/?$ controller.php?mode=client_software_info [NC,L] # Handle Client Software Info (Not Much Supported)
RewriteRule ^region_list?$ controller.php?mode=region_list [NC,L] # Handle Region Listing
RewriteRule ^country_area_list/([0-9]+)/?$ controller.php?mode=country_area_list®ion=$1 [NC,L] # Handle Country Area Listing
RewriteRule ^station_list/([0-9]+)/?$ controller.php?mode=station_list&area=$1 [NC,L] # Handle Station Listing
RewriteRule ^station_list/normal?$ controller.php?mode=station_list&area=23424923 [NC,L] # Handle Strange /normal point
RewriteRule ^wxfcsts/([0-9,]+)/?$ controller.php?mode=wxfcsts&stations=$1 [NC,L] # Handle City Weather Requests