I was recently upgraded to osCommerce v2.2 RC1. How do I get the index.php to point to the store front that I created? I have been looking in the Knowledge Base, but have not found anything. Any Help is greatly appreciated.
This is a discussion on Adding a new Store Front within the osCommerce 2.2 Discussion forums, part of the osCommerce 2.2 Forums category; I was recently upgraded to osCommerce v2.2 RC1. How do I get the index.php to point to the store front ...
I was recently upgraded to osCommerce v2.2 RC1. How do I get the index.php to point to the store front that I created? I have been looking in the Knowledge Base, but have not found anything. Any Help is greatly appreciated.
So you created an index.html page that you want to show instead of index.php?
Add this to .htaccess file:
This will tell the server to load index.html as the main page instead of index.php.Code:DirectoryIndex index.html
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
Where do I put it in the file?
Last edited by tac_cio; 08-04-2007 at 10:05 AM.
In your .htaccess file in your main public_html directory
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
Under which part do I place it?
# $Id: $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
# AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)
# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers
#<IfModule mod_setenvif.c>
# <IfDefine SSL>
# SetEnvIf User-Agent ".*MSIE.*" \
# nokeepalive ssl-unclean-shutdown \
# downgrade-1.0 force-response-1.0
# </IfDefine>
#</IfModule>
# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter
# AcceptPathInfo On
# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
# php_value session.use_trans_sid 0
# php_value register_globals 1
Now you are just being difficult
Put it anywhere on its own line.
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
Bookmarks