OSCommerce

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andeelym
    Member
    • Aug 2004
    • 34

    OSCommerce

    How do I get OSCommerce installed in the root directory? It seems that I can only install it in a specified folder. Then of so, how do I get OSCommerce to open up as the first page of my website?
  • Jonathan
    Senior Member
    • Mar 2004
    • 1229

    #2
    Were you trying to use cPanel's auto install?

    Try to manually download & install it in the root.
    cPanel cannot install to anything except a top-level directory.
    "How can someone be so distracted yet so focused?"
    - C

    Comment

    • Frank Hagan
      Senior Member
      • Mar 2004
      • 724

      #3
      Originally posted by andeelym
      How do I get OSCommerce installed in the root directory? It seems that I can only install it in a specified folder. Then of so, how do I get OSCommerce to open up as the first page of my website?
      Create a plain text file called "index.php" with this in it (edited for your info):

      <?
      Header("Location:http://www.yoursite.tld/oscommerce/");
      ?>
      Upload that into your public_html folder, and whenever someone visits your site they will be automatically forwarded to the folder specified.

      Comment

      Working...