Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2011
    Posts
    35
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Oct 2011
    Posts
    35
    Plugin Contributions
    0

    Default 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?

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default Re: Installing for an add-on domain

    Answered elsewhere. Please don't double post.

 

 

Similar Threads

  1. installing ZC on another domain
    By tpeck in forum General Questions
    Replies: 10
    Last Post: 30 Jun 2012, 07:41 AM
  2. Installing for an addon domain on justhosts
    By jghogue in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 25 Oct 2011, 05:40 PM
  3. Installing Zen-Cart on Add-On Domain
    By Berserker in forum General Questions
    Replies: 9
    Last Post: 30 Mar 2010, 05:20 AM
  4. Installing on a sub domain
    By shiningfaery in forum Installing on a Windows Server
    Replies: 0
    Last Post: 20 Jul 2009, 04:47 PM
  5. Installing ZC on Subdirectory with Add On Domain
    By nguyenkhv in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 15 Jul 2008, 05:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR