Forums / Installing on a Linux/Unix Server / Please help with symbolic link

Please help with symbolic link

Locked

Views: 1,152

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
11 Sep 2008, 12:31 AM
#1
tsweet avatar

tsweet

New Zenner

Join Date:
Sep 2008
Posts:
3
Plugin Contributions:
0

Please help with symbolic link

Ok, it's up to me to set up the symbolic link for doing redirected downloads. However, the documentation is pretty spotty as to exactly what to use.

My pub folder is:

/home2/webcastl/public_html/store/pub

My download folder is:

/home2/webcastl/public_html/store/download

The permissions are set on folders and files.

The notation for setting up a symlink is:
ln -s target_filename symlink_filename

But I'm not sure if Zen Cart needs the fully qualified directory map, or just the end folder as the symlink name.

So I'm thinking:

ln -s /home2/webcastl/public_html/store/download /home2/webcastl/public_html/store/pub

Or is it

ln -s /home2/webcastl/public_html/store/download /pub

Or is it

ln -s /home2/webcastl/public_html/store/download pub

Forgive me if I missed it, since I looked in the forum but couldn't find any specifics.

11 Sep 2008, 12:49 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Please help with symbolic link

Um .... why are you setting up any symbolic links?

Zen Cart does symlinks for redirected downloads automatically.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.