Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2006
    Posts
    47
    Plugin Contributions
    0

    Default index.php ? what directory to run?

    Hi All

    I have been configuring my zencart for the last week in a folder called zencart
    so to run would say go.. www.myhost.co.uk/zencart

    Now i would like to use it live but if say type www.myhost.co.uk it doesnt run , so where do I put it?

    The root is called public_html and my provider said all files and folders need to be in there to run, is this correct?

    I thought it was a security risk to have everything in this directory.

    If so, what files or directories do i need to either password protect or set as read only?

    I tried redirecting my domain from say www.myhost.co.uk to www.myhost.co.uk/shop but didnt work

    Many Thanks

    Rob

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: index.php ? what directory to run?

    From the FAQ-

    I want to move/rename the folder Zen Cart is installed in on my server... How?

    1. Move/Rename the folder.

    2. Your /includes/configure.php and /admin/includes/configure.php files are used to point Zen Cart to the right folders. The DIR_FS_CATALOG, DIR_FS_SQL_CACHE, (and also DIR_FS_ADMIN in admin) need to be updated if you simply swap directory names. So, edit those files and upload your changes.

    3. You should also go into Admin->Config->Sessions and change the Session Directory to match the new setting for DIR_FS_SQL_CACHE ... or you could grab the "fix_cache_key" utility from the Downloads->Troubleshooting area to set it for you.

  3. #3
    Join Date
    Aug 2006
    Posts
    47
    Plugin Contributions
    0

    Default Re: index.php ? what directory to run?

    Cheers , I can see where you are coming from but there seems a catch from this end

    Say you have

    PUBLIC_HTML

    index.html (standard html index file provided by host)

    then

    PUBLIC_HTML\SHOP <--zencart in here.

    Up till now, to play around with it i have been typing www.myhost.co.uk\shop

    and it loads. Now I would like to just type www.myhost.co.uk but how does it know to go into the SHOP directory. I know the config files need ammending, but they are in folders in the SHOP directory, so my host servers dont go in there , they just load the index.html...
    Stuck
    any ideas on that one?
    Cheers loads
    rob

  4. #4
    Join Date
    Aug 2006
    Posts
    47
    Plugin Contributions
    0

    Default Re: index.php ? what directory to run?

    After all that i put a redirect on my host and it worked

    Cheers

    Rob

 

 

Similar Threads

  1. v138a Any way to determine what file is rewriting index.php to root?
    By lynhend in forum General Questions
    Replies: 11
    Last Post: 4 Apr 2012, 02:23 AM
  2. URL to directory does not launch index.php
    By jammin320 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Dec 2007, 06:19 AM
  3. How does index.php know if install has been run or not?
    By mtoboll in forum General Questions
    Replies: 3
    Last Post: 9 May 2007, 03:02 AM

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