Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding default.php to directory index


rmyles

Recommended Posts

Posted

Hello,

 

The only part of the installation I'm having trouble with is adding default.php to the directory index in the httpd.conf file.

 

I don't have access to the .conf file so I guess I'll have to use .htaccess but I've searched and searched for instructions on how do do this without luck. Can someone tell me how to do this or at least point me in the direction of a resource that will?

 

Thanks

Posted

You can always rename it to index.php, that's what I did. You'll also need to change a setting in the config file to reflect this, and don't forget to rename the languages/english/default.php to languages/english/index.php.

...Alex

Posted

To add default.php to the list of default documents in Apache under Linux, open up the httpd.conf file (the path is usually /etc/httpd/conf/httpd.conf if you installed from RPM under Redhat) and locate the DirectoryIndex parameter. You'll see a bunch of default documents (index.htm, index.html, etc) already listed....in most casees index.php should already be there too. Add default.php there, restart Apache and you should be good to go.

 

-Jim

Archived

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

×
×
  • Create New...