As mentioned in another thread, I Planning to do a progressive upgrade here to the newer templates with test sites at
http://weather.inverellit.com/new/index.htm & http://weather.inverellit.com/legacy/
Was thinking I may be able to use the .htaccess file to have each test site point to the parent data, but it doesn't seem to work.
Am I doing it wrong or am I on the wrong track.
The last two commented RewriteRules art the ones I tried, but they don't seem to work.
The htaccess file resides in the //weather.inverellit.com directory.
Any suggestions?
Thanks
Phil.
Code: Select all
# This prevents web browsers or spiders from seeing your .htaccess directives:
<Files .htaccess>
deny from all
</Files>
RewriteEngine On
RewriteRule ^console.htm$ davconvp2CU.php [NC,L]
RewriteRule ^press.png$ graphPress.php [NC,L]
RewriteRule ^temp.png$ graphTempOut.php [NC,L]
RewriteRule ^intemp.png$ graphTempInOut.php [NC,L]
RewriteRule ^hum.png$ graphHum.php [NC,L]
RewriteRule ^inhum.png$ graphHumIn.php [NC,L]
RewriteRule ^outhum.png$ graphHumOut.php [NC,L]
RewriteRule ^rain.png$ graphRrate.php [NC,L]
RewriteRule ^raint.png$ graphRain.php [NC,L]
RewriteRule ^solar.png$ graphSolar.php [NC,L]
RewriteRule ^uv.png$ graphUV.php [NC,L]
RewriteRule ^wind.png$ graphWind.php [NC,L]
RewriteRule ^windd.png$ graphWdir.php [NC,L]
RewriteRule ^windrose.png$ graphWindRose.php [NC,L]
# RewriteRule ^realtimegauges.txt$ http://weather.inverellit.com/realtimegauges.txt [NC,L]
# RewriteRule ^tempdata.json$ http://weather.inverellit.com/tempdata.json [NC,L]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “alt-php71” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-alt-php71___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit