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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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. |
|
#4
| |||
| |||
| 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? |
|
#5
| ||||
| ||||
| 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
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |