Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

.htaccess edit links to folders


Guest

Recommended Posts

Posted

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

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...