osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Default.php or index.php?

This is a discussion on Default.php or index.php? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi, The server that I am with requires that the home page is defined as index.php or html etc not ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-11-2003, 08:18 PM
New Member
 
Join Date: Feb 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Dr_Evil
Default Default.php or index.php?

Hi,
The server that I am with requires that the home page is defined as index.php or html etc not default. (I have tried default.php) but it does not work. How can I change defult.php to index.php without getting file not found errors?

Thanks in advance,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 04-12-2003, 03:18 AM
Lurker
 
Join Date: Apr 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wisemage
Default

Hi there,

Here are 3 different ways to do this, but more than likely, #3 is the one you want.

Choose ONLY ONE of these three, DO NOT do all three.

#1) If you have control of the server, add default.php to the DocumentIndex directive in your web server's config file (most common, but may not be the same for all).

#2) If you don't have control, but do have shell access (with telnet or ssh, etc.), then create a symbolic link with this:
Code:
ln -s default.php index.php
#3) If you don't have control, AND you don't have shell access, then rename default.php to index.php and change includes/application_top.php (around line 64) from this:
Code:
define('FILENAME_DEFAULT', 'default.php');
to this:
Code:
define('FILENAME_DEFAULT', 'index.php');
Hope it helps,
- James
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-17-2003, 04:56 PM
New Member
 
Join Date: Feb 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Dr_Evil
Default

Thanks alot for that James. I have posted another semi related question to this. I was going to put it in here but it is a different issue so I started a new thread.

Thanks again.
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
index.html the default page help ZARZOR osCommerce 2.2 Installation Help 10 01-23-2005 07:19 PM
make catalog/index.php the default homepage of my website... ReginaStelling osCommerce 2.2 Modification Help 10 09-20-2004 01:00 PM
Changing Index wudsqrl osCommerce 2.2 Modification Help 1 01-26-2004 06:47 AM
Default.php/index.php ativan osCommerce 2.2 Installation Help 6 11-19-2002 03:27 PM


All times are GMT -8. The time now is 02:41 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design