osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-17-2003, 05:09 PM
New Member
 
Join Date: Feb 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Dr_Evil
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 04-18-2003, 01:43 AM
Lurker
 
Join Date: Feb 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mhalbrook
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-18-2003, 06:59 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-02-2003, 01:57 PM
Lurker
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
hostmedic
Default

another option is use a metatag refresh - less involved.

<meta http-equiv="refresh" content="0;url=http://www.yourdomainname.com/catalog/">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Default Language question telcotech osCMax v1.7 Discussion 2 12-20-2004 04:49 AM
Download by Redirect issue red_fraggle osCMax v1.7 Discussion 0 03-14-2004 12:36 AM
After checkout I need to change the redirect mcdanie1 osCommerce 2.2 Modification Help 5 11-24-2003 10:06 AM
downloads by redirect jloyzaga osCMax v1.7 Discussion 0 09-25-2003 03:09 PM
Redirect to the right directory after install. zman osCommerce 2.2 Installation Help 1 11-27-2002 01:40 PM


All times are GMT -8. The time now is 08:26 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax