Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Installing Zen cart in the root folder!

Installing Zen cart in the root folder!

Locked

Views: 6,957

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
27 Aug 2007, 4:56 PM
#1
tradition avatar

tradition

New Zenner

Join Date:
Aug 2007
Posts:
18
Plugin Contributions:
0

Installing Zen cart in the root folder!

The install text says to create a folder named such as catalog, store etc. and that is the usual way I have always installed Zen. A redirect is then needed for Zen to open when your domain url is used or you need a landing page with a link to your store.

Is Zen a security risk if I install it into the root folder. Doing this would also place the htaccess files in the root and I have also heard this is a no-no. I want to open my store with this:

http://www.mystorsite.com/

Instead of this:

http://www.mystorsite.com/catalog/

27 Aug 2007, 5:10 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: Installing Zen cart in the root folder!

You do not have to use a subdirectory. You can install directly in the root.

28 Aug 2007, 4:22 PM
#3
tradition avatar

tradition

New Zenner

Join Date:
Aug 2007
Posts:
18
Plugin Contributions:
0

Re: Installing Zen cart in the root folder!

Thanks, thats what I wanted to hear.

31 Aug 2007, 10:16 AM
#4
peppyone avatar

peppyone

New Zenner

Join Date:
Dec 2004
Posts:
37
Plugin Contributions:
0

Re: Installing Zen cart in the root folder!

Kim:

You do not have to use a subdirectory. You can install directly in the root.
While it is true you can install ZC in the root, this becomes a problem if you decide later to use Easy Populate (EP). With EP you need to have an uploads directory in the root directory above the store. This is the situation I find myself in. I don't know how to work around it.

It seems if I need this root directory (higher than my store) I need to start over with a new install.

This is what I am working on but I wish to get around the need to use:
http://www.mystorsite.com/catalog/ and use
http://www.mystorsite.com instead. Any advice for me?

31 Aug 2007, 2:59 PM
#5
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Installing Zen cart in the root folder!

peppyone,

If you're on an Apache server, you can use mod_alias, mod_rewrite, or symlinks to make your urls and file structure appear to be whatever you want them to be.

BrandTim

31 Aug 2007, 3:33 PM
#6
peppyone avatar

peppyone

New Zenner

Join Date:
Dec 2004
Posts:
37
Plugin Contributions:
0

Re: Installing Zen cart in the root folder!

brandtim:

peppyone,

If you're on an Apache server, you can use mod_alias, mod_rewrite, or symlinks to make your urls and file structure appear to be whatever you want them to be.

BrandTim
Thank you BrandTim that would be fine if I was on an Apache Server but I am not. I am on a Linux server.

I am really stuck. I have gotten another webserver and will move my files over there under "shop", I will have a zillion references to edit. I really don't know what I am doing. I am afraid to experiment with my live site because it is working but in serious need of product rearrangement which is why I need EP.

So my plan is to move everything over to the new server and see if I can get that to work then if it does, I will move my domain name over.

If anybody has an easier way to do this, please help me. explain. I am open to any and all suggestions.

31 Aug 2007, 3:46 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Installing Zen cart in the root folder!

I've only used EP on a couple sites, and not recently, but never had any problems using it from the root.

31 Aug 2007, 3:57 PM
#8
peppyone avatar

peppyone

New Zenner

Join Date:
Dec 2004
Posts:
37
Plugin Contributions:
0

Re: Installing Zen cart in the root folder!

DrByte:

I've only used EP on a couple sites, and not recently, but never had any problems using it from the root.
Maybe I did not say that correctly. The uploads directory must be in the Root and Zen Cart must be a lower directory. ie. http://www.mystorsite.com/catalog/

When ZC is installed in the directory catalog or shop or whatever then you can place the required uploads directory for EP higher. In the root directory.

am I making sense? I hope so.

31 Aug 2007, 6:39 PM
#9
peppyone avatar

peppyone

New Zenner

Join Date:
Dec 2004
Posts:
37
Plugin Contributions:
0

Re: Installing Zen cart in the root folder!

peppyone:

Thank you BrandTim that would be fine if I was on an Apache Server but I am not. I am on a Linux server.

I am really stuck. I have gotten another webserver and will move my files over there under "shop", I will have a zillion references to edit. I really don't know what I am doing. I am afraid to experiment with my live site because it is working but in serious need of product rearrangement which is why I need EP.

So my plan is to move everything over to the new server and see if I can get that to work then if it does, I will move my domain name over.

If anybody has an easier way to do this, please help me. explain. I am open to any and all suggestions.
come back brandtim - I just discovered that I am on an Apache Server. Whew! I am not really bright with this stuff but as I keep poking around, I am amazed at what I discover.

Ok so this is great. I have an advantage because i am on an Apache Server but I don't have a clue as to what you are refering to or what to do next. Sigh!!!

One minute I am elated because I discovered something and the next I feel like a dunce. I think I need some professional help. Yep! both kinds. LOL

1 Sep 2007, 2:17 PM
#10
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Installing Zen cart in the root folder!

peppyone,

See your PM.

BrandTim

6 Sep 2007, 12:34 AM
#11
peppyone avatar

peppyone

New Zenner

Join Date:
Dec 2004
Posts:
37
Plugin Contributions:
0

Re: Installing Zen cart in the root folder!

Well it is not EP that is at the root but Zen Cart was installed at the root. EP requires that EP have a folder called uploads higher than EP. How can I do that when ZC is the highest it can be?

6 Sep 2007, 4:16 PM
#12
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Installing Zen cart in the root folder!

peppyone,

I don't think you're reading the EP documentation correctly. Many people are using it with ZenCart installed in the root of their public web directory. I haven't used it myself, but expect that EP's uploads folder need to be within the EP folder, not above the ZenCart root folder. There wouldn't be any need for that nor would it make any sense.

Tim