osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

.htaccess question

This is a discussion on .htaccess question within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Ok here is a "dumb bunny question". I created a .htaccess file and added this statement: DirectoryIndex index.php index.htm 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 06-24-2004, 11:22 AM
New Member
 
Join Date: Jun 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cupido
Default .htaccess question

Ok here is a "dumb bunny question". I created a .htaccess file and added this statement:

DirectoryIndex index.php index.htm index.html

And it works! I no longer have to type: www.decorsavings.com/catalog/index.php

I can just type in the browser: www.decorsavings.com/catalog

BUT! What do I need to do, so that when someone types:

www.decorsavings.com into the browser it will go to

www.decorsavings.com/catalog

I looked in the Installation Guide, but didn't see where that was covered.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 06-25-2004, 06:56 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

Make a index.html file in you main site like:

Code:
<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>
Good Luck!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-25-2004, 06:09 PM
New Member
 
Join Date: Jun 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cupido
Default


Thank you so much for the index.html

You really saved my bacon!!!!
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
Trouble with .htaccess /.htpasswd DancesWithData osCommerce 2.2 Installation Help 1 04-11-2004 01:21 PM
htaccess nisse osCommerce 2.2 Installation Help 1 11-12-2003 04:35 PM
Creating the .htaccess file DJ-Loki osCommerce 2.2 Installation Help 2 07-02-2003 07:42 AM
Help with .htaccess and htpasswd please ozstar osCommerce 2.2 Installation Help 5 03-12-2003 01:45 AM
error with htaccess on xp/apache AtroxAngel osCommerce 2.2 Modification Help 1 01-16-2003 10:44 AM


All times are GMT -8. The time now is 06:27 PM.


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