[ic] no images on customer side for secure pages
Curt Hauge
curthauge at mnwebdesign.com
Fri Oct 7 18:36:27 UTC 2011
IC 5.6.3 Apache 2.2x
I have admin images working on secure pages, but not the customer side
secure pages. I am not even getting a placeholder for images, my parsed page
source image link looks like this:
<a href="http://www.domain.com/cgi-bin/cihs/index.html"></a>
I expect: <img src="/cihs/images/logo.png" width="136" height="60"
border="0">
inserted as my image link. It's like Interchange just dropped the image on
the secure page.
This is the stock, standard cat html/ITL used to create the link/image in
/include/left*:
<a href="[area index]">[image src="[scratch logo]" border="0"]</a>
I can get here directly:
https://domain.com/cihs/images/logo.png
If I change my variable.txt:
SECURE_SERVER http(...)
to
SECURE_SERVER https(...)
it breaks, no images on secure pages.
I've cleared my cookies. I'm having the same problem on a test cat as well,
seems like this is not cat settings. I've included additional info, below,
but I don't think it is now relevant to THIS issue.
Anybody have a suggestion? What am I missing?
Curt
I have this in variable.txt:
IMAGE_DIR /mycat/images Directories and Paths
DOCROOT /home/mcr/mcr/public_html Directories and Paths
#yes, two mcr folders
SECURE_ENABLE 1 General
SECURE_SERVER https://www.domain.com Directories and Paths
SERVER_NAME www.domain.com Directories and Paths
I have this in catalog.cfg:
ImageDir __IMAGE_DIR__/
ImageDirSecure __SECURE_SERVER____IMAGE_DIR__
ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/
CSS is also working for both admin and customer side, it wasn't for ANY
secure pages before I created a symlink in /home/mcr/mcr (which also caused
the admin images to appear):
lrwxrwxrwx 1 mcr mcr 13 Sep 23 12:50 private_html -> ./public_html
and also these, to be sure my cat didn't have an old setting
lrwxrwxrwx 1 mcr mcr 13 Oct 7 12:49 httpdocs -> ./public_html
lrwxrwxrwx 1 mcr mcr 13 Oct 7 12:49 httpsdocs -> ./public_html
this is my html folder in /home/mcr/mcr:
drwxr-xr-x 6 mcr mcr 4096 Oct 7 10:00 public_html
The folder public_html has 755 permissions
More information about the interchange-users
mailing list