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

Redirect to default.php question

This is a discussion on Redirect to default.php question within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi, My host has the requirement that i install my site to the specified folder named "httpdocs". It is in ...

      
  1. #1
    New Member
    Join Date
    Feb 2003
    Posts
    16
    Rep Power
    0


    Default Redirect to default.php question

    Hi,
    My host has the requirement that i install my site to the specified folder named "httpdocs". It is in this folder that index.html (or what ever) must exist.

    After i have installed osc I have this folder structure httpdocs\catalog\etc. So the defult.php file is now located in a directory, below that of what the server is looking for when the URL is entered into a browser.

    My question is how can I make it so when I type in WWW.MYSERVER.COM i get automatically redirected to default.php in the catalog folder and thus display that home page?

    Many thanks.

  2. #2
    Lurker
    Join Date
    Feb 2003
    Posts
    2
    Rep Power
    0


    Default

    Best way would be to move, or re-upload the contents of \catalog\ to \httpdocs then do a search for info on .htaccess and setting the default page.

  3. #3
    osCMax Developer

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


    Default

    Or you could just read the oscdox guide. It has instuctions on how to install to the document root, step by step:

    http://oscdox.com/modules.php?op=mod...ocument%20Root

    Wherever it says public_html, it is the same as httpsdocs.

    There are also detailed instructions on how to set the index pages using .htaccess. Its all there, just read!
    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

  4. #4
    Lurker
    Join Date
    Jun 2003
    Posts
    3
    Rep Power
    0


    Default

    another option is use a metatag refresh - less involved.

    <meta http-equiv="refresh" content="0;url=http://www.yourdomainname.com/catalog/">

Similar Threads

  1. Default Language question
    By telcotech in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 12-20-2004, 03:49 AM
  2. Download by Redirect issue
    By red_fraggle in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-13-2004, 11:36 PM
  3. After checkout I need to change the redirect
    By mcdanie1 in forum osCommerce 2.2 Modification Help
    Replies: 5
    Last Post: 11-24-2003, 09:06 AM
  4. downloads by redirect
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 09-25-2003, 03:09 PM
  5. Redirect to the right directory after install.
    By zman in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-27-2002, 12:40 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
  •