osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

index.html the default page help

This is a discussion on index.html the default page help within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; guys, I'm new to oscommerce I have installed it and set up all successfuly, however I have problem with index.html ...


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 01-20-2005, 05:23 PM
New Member
 
Join Date: Jan 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ZARZOR
Default index.html the default page help

guys, I'm new to oscommerce I have installed it and set up all successfuly, however I have problem with index.html page, my server direct any http enquiry to the default page index.html which has nothing on, how I can change this so it load oscommerce default page which I assume it is index.php or catalog.php right.

any comments appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-20-2005, 07:42 PM
New Member
 
Join Date: Jan 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ZARZOR
Default RE: index.html the default page help

I know you can use redirection method.
by typing this in the index.html file, however I don't like redirection I would like all viewers to see /catalog page instead, which file should I edit to make it happen?


<html>
<head>
<META Http-equiv="refresh" Content="0; Url=https://www.yoursite.com/catalog">
<title>
Transfering to site. (Enter your own title here)
</title>
</head>
<body bgcolor=ffffff>
<center>
<br>
<br>
<b>Please wait while you are transfered to our site</b><br>
Or click <a href="http://www.yoursite.com/catalog">http://www.yoursite.com/catalog</a>
</center>
</body>
<html>

any reply appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-20-2005, 08:12 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,974
Thanks: 80
Thanked 345 Times in 324 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 RE: index.html the default page help

use .htaccess:

DirectoryIndex index.php index.html

Or to redirect to the catalog dir:

DirectoryIndex catalog/index.php
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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 01-21-2005, 07:47 PM
New Member
 
Join Date: Jan 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ZARZOR
Default RE: index.html the default page help

I did use .htaccess and put this entry in it DirectoryIndex index.php index.html still didn't work
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-21-2005, 08:23 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,974
Thanks: 80
Thanked 345 Times in 324 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 RE: index.html the default page help

It needs to be in the base public_html dir.

If you have osCMax installed in the catalog dir, you need to use the second one example:

DirectoryIndex catalog/index.php
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #6  
Old 01-21-2005, 09:08 PM
New Member
 
Join Date: Jan 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ZARZOR
Default RE: index.html the default page help

NO Michael I have oscommerce 2.2 installed but I have loaded the catalog in public_html as /public_html/catalog/ which contains catalog and admin folders plus all files, so another word I didn't install it on the root / but sub folder with the data base set up and everything, if I have to move all folders and files to root will I lose url connections and database link, what would you suggest should i istall it again from the root directory or it would be all right if I just moved all the files to root, what do you suggest mate.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 01-22-2005, 04:12 AM
developer_x's Avatar
Active Member
 
Join Date: Nov 2004
Location: Digital Infoway
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
developer_x
Default RE: index.html the default page help

Hi,
If you just move all the folders n files to the root, you will obviously lose url and database links. The links can be corrected by modifying the configure.php file. However as you are a newbiew, I would suggest you to reinstall the pacakge to the root. It won't take much time and effort to do that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 01-22-2005, 08:33 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,974
Thanks: 80
Thanked 345 Times in 324 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 RE: index.html the default page help

Ok, maybe I am not understanding you, but what I suggest in htaccess:

DirectoryIndex catalog/index.php

That needs to be put in an .htaccess file the public_html root dir, not your shopping cart. What the above statement does is automatically forward all requests from http://yoursite.com to http://yoursite.com/catalog/index.php. This is the easiest fix there is. 2 minutes and it is done.

From what you are asking, that does EXACTLY what you want. Redirect all traffic to your catalog/index.php automatically without having to move ANY files at all.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #9  
Old 01-22-2005, 11:45 AM
Member
 
Join Date: Nov 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vinces
Default RE: index.html the default page help

Or even easier, from cPanel set up a redirect. Then you don't need to edit any files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 01-23-2005, 08:29 AM
Lurker
 
Join Date: Dec 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
christian_linde
Default Thanks.

Thanks for the great information on this! It sorted the same problem for me!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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
using header/index/footer.html for a own template doumawis osCommerce 2.2 Modification Help 0 02-06-2005 03:14 PM
how to add boxes to index.html atech osCommerce 2.2 Modification Help 4 11-15-2004 02:25 PM
adding HTML to the center index page? khayyamg osCommerce 2.2 Modification Help 2 08-04-2004 07:06 PM
Default.php or index.php? Dr_Evil osCommerce 2.2 Installation Help 2 04-17-2003 05:56 PM
Default.php/index.php ativan osCommerce 2.2 Installation Help 6 11-19-2002 04:27 PM


All times are GMT -8. The time now is 02:53 AM.


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