thorrold
New Member
- Messages
- 2
- Reaction score
- 0
- Points
- 1
Hi!
I have just signed up for free hosting and have created a new site. I left the URL path empty so that the website is directly on the domain.
I have uploaded a test php file (index.php) to my public_html folder but I get the 'Default Web Site Page' page loading instead of my test file. I've added:
DirectoryIndex index.html index.htm index.php
But navigating to the domain still loads the 'Default Web Site Page'. If I browse to the actual URL for the file it works (i.e. PHP files are served).
Does anyone have any suggestions as to what I might be missing?
The contents of my .htaccess file is:
---------------------------------------------------
# -FrontPage-
DirectoryIndex index.html index.htm index.php
IndexIgnore .htaccess *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mysitehostname
---------------------------------------------------
Thanks,
James
I have just signed up for free hosting and have created a new site. I left the URL path empty so that the website is directly on the domain.
I have uploaded a test php file (index.php) to my public_html folder but I get the 'Default Web Site Page' page loading instead of my test file. I've added:
DirectoryIndex index.html index.htm index.php
But navigating to the domain still loads the 'Default Web Site Page'. If I browse to the actual URL for the file it works (i.e. PHP files are served).
Does anyone have any suggestions as to what I might be missing?
The contents of my .htaccess file is:
---------------------------------------------------
# -FrontPage-
DirectoryIndex index.html index.htm index.php
IndexIgnore .htaccess *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mysitehostname
---------------------------------------------------
Thanks,
James
All fine now.