osCmax v2.5 User Manual
Results 1 to 7 of 7

Install in ROOT or CATALOG Folder???

This is a discussion on Install in ROOT or CATALOG Folder??? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hey Gang, new user here.... I am wondering if it really makes much difference whether you install into the ROOT ...

      
  1. #1
    Lurker
    Join Date
    Nov 2003
    Posts
    3
    Rep Power
    0


    Default Install in ROOT or CATALOG Folder???

    Hey Gang, new user here.... I am wondering if it really makes much difference whether you install into the ROOT folder, or PUBLIC_HTML folder on your server or if you should use the CATALOG structure as it is in the .rar file???

    What are the pro's and con's if any???

    Also, if you do install it into the CATALOG folder, do your visitors have to type in www.yourlocalsite.com/catalog/index.php in order to view the site or is there a way to set it up where even if it is in the CATALOG folder they can just type in www.yourlocalsite.com and still get the index.php page???

    Thanks in advance for your answer...

    p.s. this is an awesome release!!! after battling all the contribs that I wanted and getting them all to work okay it is good to see them all put together already. Great job!!!

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default

    You can use .htaccess to redirect to the required URL. This is much like if you type say www.onesite.com - your directed to www.mainsite.net .....

    The OTHER option would to make an INDEX.HTML on the main root directory (like an intorductory page or such...) that would have a link to your "store". Or to make it say "One moment while we load yourlocalsite.com -this may take a few seconds on a slow connection. This site is optimzed for IE 5+ or Netscape...etc." then add a 2-3 sec pause.

    Watch for MAX 1.8 coming soon!!!!
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Lurker
    Join Date
    Nov 2003
    Posts
    3
    Rep Power
    0


    Default Thansk for reply...

    So from what I gathered it really doesn't matter where you put the install then, if you can edit the .htaccess file to point into the CATALOG directory then it is essentially the same as if you installed straight to the PUBLIC_HTML folder...

    Thanks for the reply...

    1.8 I'm sure is gonna rock, can't wait !!!

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Yes, you can put it wherever you want! Just get your paths right...
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    New Member msharif's Avatar
    Join Date
    Nov 2003
    Location
    Ipswich Suffolk
    Posts
    6
    Rep Power
    0


    Default

    Quote Originally Posted by msasek
    Yes, you can put it wherever you want! Just get your paths right...
    I have installed it in the www.myserver.net/catalog directory and just put a small index.html file with the following:-

    =========================================


    <SCRIPT>

    location="http://www.fonerepublic.net/catalog"

    </SCRIPT>


    =====================================

    Whenever somebody types in www.myserver.com they get automatically diverted to www.myserver.com/catalog

  6. #6
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default

    The orginal question was if some on type www.your_site.com that it would still load www.your_site.com/catalog/index.php......

    Which this does. However IF you want to HIDE the URL - you could try using a PHP "require" to bound your WHOLE OSC site it into a separate table.

    ie: type and would stay at: www.your_site.com it would then load a sing box table that would load www.your_site.com/catalog/index.php......

    I don't know if that would work very well...

    In this suituatuion it would be better to load OSC instead of in the /catalog/ direcotry but load it into root ie: / where you have to remember that when people say "catalog" for contributuions or examples that you change it to be in your ROOT web site directory.

  7. #7
    Lurker
    Join Date
    Dec 2003
    Posts
    1
    Rep Power
    0


    Default

    Can anybody direct me to direction for modifying the htaccess files for the redirect?

Similar Threads

  1. Moved catalog from /catalog/ to root and now no images_big
    By Redeye_Joe in forum osCMax v2 Features Discussion
    Replies: 3
    Last Post: 05-01-2006, 05:01 PM
  2. Can't install Oscommerce - only one script in root directory
    By dalglish in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 01-16-2005, 12:09 PM
  3. catalog/install/install.php?step=2 repeats
    By devarajan.g in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 12-19-2004, 07:54 PM
  4. /catalog/install/install.php?step=2 just hanging
    By geller in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 12-03-2003, 01:34 PM
  5. Change root directory for /catalog after installation???
    By xavier_8_29_98 in forum osCommerce 2.2 Installation Help
    Replies: 6
    Last Post: 09-27-2003, 04:36 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
  •