http://www.michaelalexandersalon.com
I want to use my index.php file as my index.
if I have an index.HTML file present, it works just fine. That is the case right now. If you go to the site, you will see it with the word "test".
If I delete the index.html, I get the 404.
if I go to http://www.michaelalexandersalon.com/index.php, I get a 404.
if I edit my .htaccess to make index.PHP have priority over index.html, and go to http://www.michaelalexandersalon.com, I get the 404.
I know that PHP is working. go to http://www.michaelalexandersalon.com/concrete/dispatcher.php and you will get an access denied message which is what you should get.
What gives?
edit: here is my .htaccess
I want to use my index.php file as my index.
if I have an index.HTML file present, it works just fine. That is the case right now. If you go to the site, you will see it with the word "test".
If I delete the index.html, I get the 404.
if I go to http://www.michaelalexandersalon.com/index.php, I get a 404.
if I edit my .htaccess to make index.PHP have priority over index.html, and go to http://www.michaelalexandersalon.com, I get the 404.
I know that PHP is working. go to http://www.michaelalexandersalon.com/concrete/dispatcher.php and you will get an access denied message which is what you should get.
What gives?
edit: here is my .htaccess
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^michaelalexandersalon\.com$ [NC]
RewriteRule ^.*$ http://www.michaelalexandersalon.com%{REQUEST_URI} [R=permanent,L]
ErrorDocument 400 /
ErrorDocument 401 /
ErrorDocument 403 /
ErrorDocument 404 /
ErrorDocument 500 /
Last edited: