osCommerce default htaccess file

osCommerce default htaccess file
 

In most cases in osCommerce users will get url not found error or 404-error which will be an issue of osCommerce default htaccess file in osCommerce folder. Some times because of this issue you might experience 500 error and via re uploading this osCommerce default htaccess file this 404 and 500 errors will be fixed. Furthermore you will have to double check the file permission of this osCommerce default htaccess. Because file should be readable by the web user.



Download osCommerce default htaccess file by below link

# osCommerce Online Merchant
#
# @copyright Copyright (c) 2011 osCommerce; http://www.oscommerce.com
# @license BSD License; http://www.oscommerce.com/bsdlicense.txt

# This is used with Apache web servers. 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 5
# browsers.
##########

#<IfModule mod_setenvif.c>
#  <IfDefine SSL>
#    SetEnvIf User-Agent ".*MSIE.*" \
#             nokeepalive ssl-unclean-shutdown \
#             downgrade-1.0 force-response-1.0
#  </IfDefine>
#</IfModule>

##########
# Fix certain PHP values.
##########

#php_value session.use_trans_sid 0
#php_value magic_quotes_gpc 0

##########
# Redirect all none index.php requests to index.php for a cleaner URL scheme.
##########

#<IfModule mod_rewrite.c>
#  RewriteEngine On
#
#  RewriteCond %{REQUEST_FILENAME} !-f
#  RewriteCond %{REQUEST_FILENAME} !-d
#
#  RewriteRule ^(.*)$ index.php/$1 [PT,L]
#</IfModule>

 

More Helpful Information

Leave a Reply

Your email address will not be published. Required fields are marked *

eighteen − 5 =

8 + 2 =