Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

.htaccess file


Kenan

Recommended Posts

Posted

I have noticed that after loading files to my webserver that .htaccess files that where in the package (oc 2.2) do not show under the catalog directory.

I have tried to upload them again and although the upload completed ok I still can not fin this files on my webpage.

Then I loaded them as 1.htacces and then they apeared in my webpage then I renamed them .htaccess they desapeared again.

 

Do I need those htaccess files? If yes why can't I load them?

Can I add "DirectoryIndex default.php index.php index.html index.htm" to the existing .htaccess file in OC2.2 package?

Posted

Technically they are there ... some FTP software cannot see them.

 

View the directories with Telnet or via your Cpanel or whatever you have for managing your site and you will see that they are there.

Posted

LIST -ALL

 

or

 

LIST -A

 

Search in Google, or visit the homepage of your FTP program and it should be in the help files.

Posted

Great.

 

If I want to use the htaccess file to add deafult.PHP to my directory Index listing will it be enough to add this line "DirectoryIndex default.php index.php index.html index.htm" in the existing .htaccess file under Catalog?

Archived

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

×
×
  • Create New...