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

index.php instead of index.htm

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
Conrad
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

index.php instead of index.htm

Post by Conrad »

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
Image
User avatar
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

Post by ConligWX »

There are various ways of doing this.

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>
this will default the main page to index.php and not index.htm.

you could also use .htaccess file.

Code: Select all

DirectoryIndex index.php index.htm index.html 
index.php will be loaded first.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0

Image
Conrad
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

Post by Conrad »

cheers simon used the htaccess route works fine
Image
Locked