Problem after .htaccess edit
Posted: Mon Nov 23, 2009 9:28 pm
This is a bit complicated:
I wanted to execute some PHP from within an HTML file.
I found a reference that said to add the following lines to the public_html/.htaccess file
The .htaccess file was previously empty.
When I tried to enter the site after that I got a Firefox message saying
Same problem
Deleted cache rebooted same problem
Tried IE same problem
Tried IE on a different computer same problem.
Contacted webhost - they can access it no problems - so can some of the website members that I contacted.
But neither of the computers that I have access to can get access.
I THINK that there is something funny where people who access the website http://www.nzmotorhome.co.nz get redirected to http://www.nzmotorhome.co.nz/NZMotorhomeForum/ but I can't remember how this happens and don't know whether it has any bearing on the problem.
I really don't know how to sort this problem out by myself.
I wanted to execute some PHP from within an HTML file.
I found a reference that said to add the following lines to the public_html/.htaccess file
Code: Select all
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
When I tried to enter the site after that I got a Firefox message saying
I replaced the .htaccess file with an empty file again.You have chosen to open (blank) which is a: PHP file from http://www.nzmotorhome.co.nz
o Open with
o Save file
Same problem
Deleted cache rebooted same problem
Tried IE same problem
Tried IE on a different computer same problem.
Contacted webhost - they can access it no problems - so can some of the website members that I contacted.
But neither of the computers that I have access to can get access.
I THINK that there is something funny where people who access the website http://www.nzmotorhome.co.nz get redirected to http://www.nzmotorhome.co.nz/NZMotorhomeForum/ but I can't remember how this happens and don't know whether it has any bearing on the problem.
I really don't know how to sort this problem out by myself.