akrherz/iem/master/htdocs/agclimate/.htaccess - Htaccess File

akrherz/iem/master/htdocs/agclimate/.htaccess

RewriteEngine On
# Lots of old links out there to bad URIs
RewriteRule ^index.(html|pl|php)$ /agclimate/ [R]

Redirect /agclimate/daily-pics http://mesonet.agron.iastate.edu/agclimate/daily_pics
Redirect /agclimate/daily_pics http://mesonet.agron.iastate.edu/data/agclimate
Redirect /agclimate/info.txt http://mesonet.agron.iastate.edu/agclimate/info.phtml

AddHandler cgi-script .py
Options +ExecCGI

# 
RewriteRule ^smplot/([0-9]{1,12})/(.*).png$ isusm.py?t=$1&v=$2
RewriteRule isusm.csv nmp_csv.py

On Github License

Files

Download PDF of Htaccess file

Comments

Apache