Guest Posted January 14, 2005 Posted January 14, 2005 I tried to change the .htaccess file to: DirectoryIndex catalog/index.php Redirect /index.html http://mydomain.com/ecommerce/os/catalog/index.php to get index.php to be the main page. It works fine if you type in "www.mydomain.com/index.htm". But if you type in just the domain "www.mydomain.com" it just shows only the underlying files and folders. What did I do wrong? :blink: -m
Guest Posted January 14, 2005 Posted January 14, 2005 means your host does not have index.php added into the httpd.conf file for access to start. and you shouldnt have to do any redirecting. have them add php to your httod.conf file for starting or get a new host
Recommended Posts
Archived
This topic is now archived and is closed to further replies.