Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No Image Uploaded with domain canonicalization in htaccess


mltgroup

Recommended Posts

Hello,

 

I installed OSC to a sub-directory. Added products/images and all works well.

 

Later I added an htaccess file to the root directory with the following.

 

Options +FollowSymLinks 
RewriteEngine On 
RewriteCond %{HTTP_Host} ^thedomain.com [NC] 
RewriteRule ^(.*)$ http://www.thedomain.com/$1 [L,R=301]

 

Now, when I add products in OSC, I try adding images, but after clicking preview I get: "Warning: No file uploaded."

 

The images directory is chmod777, so I'm not sure what to do.

 

Any advice?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...