Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image Problem...


fahmed

Recommended Posts

I'm having a problem here. Images that are deeply embeded into folders such as the buttons aren't showing up on the website. It seems to work on the other sites. I've checked and the images are there, I've also tried to locate the file diretcly from a browser. I got an internal error. Does anyone have any ideas. Here is a link to the site:

http://www.amitrace.com/new_version/catalo...log/default.php

Link to comment
Share on other sites

Fahmed,

 

Go to the include directory and remove the .htaccess file. That should solve your problem. Had the same problem myself. :)

 

I'm having a problem here. Images that are deeply embeded into folders such as the buttons aren't showing up on the website. It seems to work on the other sites. I've checked and the images are there, I've also tried to locate the file diretcly from a browser. I got an internal error. Does anyone have any ideas. Here is a link to the site:http://www.amitrace.com/new_version/catalog/default.php
Link to comment
Share on other sites

That will work but the proper way to do this (if you have access to the httpd.conf) is:

 

<Directory "/var/www">

 

#

# This may also be "None", "All", or any combination of "Indexes",

# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".

#

# Note that "MultiViews" must be named *explicitly* --- "Options All"

# doesn't give it to you.

#

Options Indexes FollowSymLinks

 

#

# This controls which options the .htaccess files in directories can

# override. Can also be "All", or any combination of "Options", "FileInfo",

# "AuthConfig", and "Limit"

#

AllowOverride AuthConfig Limit

 

#

# Controls who can get stuff from this server.

#

Order allow,deny

Allow from all

</Directory>

 

Your AllowOverride option must have 'Limit' listed as your .htaccess file in the includes directory looks like this:

 

 

 

# $Id: .htaccess,v 1.4 2001/04/22 20:30:03 dwatkins Exp $

#

# This is used with Apache WebServers

# The following blocks direct HTTP requests in this directory recursively

#

# For this to work, you must include the parameter 'Limit' to the AllowOverride configuration

#

# Example:

#

#<Directory "/usr/local/apache/htdocs">

# AllowOverride Limit

#

# 'All' with also work. (This configuration is in your apache/conf/httpd.conf file)

#

# This does not affect PHP include/require functions

#

# Example: http://server/catalog/includes/application_top.php will not work

 

<Files *.php>

Order Deny,Allow

Deny from all

</Files>

 

I was having the same problem on a new RedHat 7.3 server and had to set this parameter in my httpd.conf to make the images show.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...