Hi All,
I am using the template from homeweatherstation and to see it properly i have to use www.dreamhills-2.com/weather/index.php but obviously if people go to www.dreamhills-2.com/weather then they see the basic webpage how can i get it to look at the index.php page
conrad
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
index.php instead of index.htm
Moderator: mcrossley
- ConligWX
- Posts: 1619
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: index.php instead of index.htm
There are various ways of doing this.
if you have access to httpd.conf if your using apache like mine, then edit the line:
this will default the main page to index.php and not index.htm.
you could also use .htaccess file.
index.php will be loaded first.
if you have access to httpd.conf if your using apache like mine, then edit the line:
Code: Select all
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.php
</IfModule>
you could also use .htaccess file.
Code: Select all
DirectoryIndex index.php index.htm index.html
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 63
- Joined: Sun 05 Dec 2010 3:44 pm
- Weather Station: Davis Vue
- Operating System: Windows 10
- Location: Costa Blanca and Bradwell Milton keynes
Re: index.php instead of index.htm
cheers simon used the htaccess route works fine