osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

DirectoryIndex file not working!!

This is a discussion on DirectoryIndex file not working!! within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi, Can someone please help. I created a file using a plain text editor with the following line: DirectoryIndex default.php ...


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 03-05-2003, 10:24 AM
New Member
 
Join Date: Mar 2003
Location: United Kingdom
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Picman
Default DirectoryIndex file not working!!

Hi,
Can someone please help.
I created a file using a plain text editor with the following line:

DirectoryIndex default.php index.php

This was saved as htaccess.txt uploaded to /catalog and renamed.htaccess. The way I read it this should have pointed the browser to the default.php file but it still shows the server in all its glory. Emptying the cache made no difference.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-05-2003, 05:09 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,071
Thanks: 81
Thanked 348 Times in 327 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

You may not have permission to use .htaccess. Check with your host to see if you are allowed to use it.

Also, just checking, but you are running apache as your webserver correct?
__________________
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!
  #3  
Old 03-06-2003, 12:46 AM
New Member
 
Join Date: Mar 2003
Location: United Kingdom
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Picman
Default

Thanks for the reply.

I have used .htaccess with no problems to create password protection for folders, so permissions must be ok.

The webserver is by Zeus Technology, however the hosting company claims that all apache scripts should work without trouble.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-07-2003, 07:13 AM
New Member
 
Join Date: Mar 2003
Location: United Kingdom
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Picman
Default

Update:
I have solved the problem by changing the default.php to index.php as described in an older post.
I would still be interested in finding out why the .htaccess method would not work.
Anyone, any thoughts?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-07-2003, 11:06 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,071
Thanks: 81
Thanked 348 Times in 327 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

This would be something to take up with your host for clarification. Server configs can range widely, and only the server admins can give you a definitive answer as to what is allowed and not.
__________________
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!
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
Working site is not working now! swatkins osCMax v2 Installation issues 20 12-25-2006 05:51 PM
File Download Not Working Keilup osCMax v1.7 General Mods Discussion 10 08-15-2005 11:09 AM
Can't get welcome message working. jptechnical osCMax v1.7 Installation 6 11-28-2004 08:32 PM
Cannot get TAX (VAT) working Spike_UK osCMax v1.7 Discussion 1 12-23-2003 06:47 AM
tax not working menakamk osCommerce 2.2 Modification Help 0 01-01-2003 12:59 PM


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


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