Forums / Installing on a Linux/Unix Server / Installing for an add-on domain

Installing for an add-on domain

Views: 853

Results 1 to 3 of 3
1 Nov 2011, 12:41 PM
#1
jghogue avatar

jghogue

New Zenner

Join Date:
Oct 2011
Posts:
35
Plugin Contributions:
0

Installing for an add-on domain

I have been struggling for 2 weeks to install zen cart for my add-on domain.

I have been trying to install it in a subfolder of my doc root for the add-on. I have no gifs displayed, only red x's.

I then installed zen cart for my main domain and all is well. All gifs display correctly.

This morning I installed it in the doc root, thinking the subfolder was my problem. I still have red x's. The zen cart fles are the only items in my add-on doc root.

Any suggestions?

1 Nov 2011, 3:11 PM
#2
jghogue avatar

jghogue

New Zenner

Join Date:
Oct 2011
Posts:
35
Plugin Contributions:
0

Re: Installing for an add-on domain

After reading previous posts, I found htaccess mentioned many times. I went to public_html and renamed .htaccess to .htaccesssav and now my add-on domain gifs are displaying.
(Actually, a new and empty .htaccess file was generated)
This is what was in my .htaccess file:

RewriteEngine on
ErrorDocument 404 /404.shtml

RewriteCond %{HTTP_REFERER} !^http://domain.com/.$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.
$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com$ [NC]
RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

Is the last line my problem?

2 Nov 2011, 4:08 AM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,858
Plugin Contributions:
18

Re: Installing for an add-on domain

Answered elsewhere. Please don't double post.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com