Right now I have MODx installed into the site_root and I osCommerce installed into site_root/store. However, when I try to access site_root/store/admin, I get directed to the error page by MODx. The current .htaccess file in site_root/store/admin has the following code:
# $Id: .htaccess,v 1.1 2003/06/20 00:18:30 hpdl Exp $
#
# 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>
# Fix certain PHP values
#<IfModule mod_php4.c>
# php_value session.use_trans_sid 0
# php_value register_globals 1
#</IfModule>
AuthType Basic
AuthName "osCommerce Admin"
AuthUserFile "/home/blanked_out/.htpasswds/store/admin/passwd"
require valid-user
However, if I just make an .htaccess file in that directory with the following declaration, I can access the admin, but then no password is required to access it:
I have also noticed that all forms stopped working on the site. Login form, creating an account, adding products. I haven’t made any changes to the install at all. Any help would be greatly appreciated!