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 V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
index.php instead of index.htm
Moderator: mcrossley
- ConligWX
- Posts: 1835
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 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