Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

.htaccess configuration problem


xflixz

Recommended Posts

hello,after installed the script(oscommerce),i cant login to admin page.There is the blank page on appear on the web browser.I think there is misconfiguration(error) on .htaccess file on admin file.

 

below is the .htaccess file on the admin.can someone fix these problem.thankss!!!

 

 

# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 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

# (commented out by default to prevent errors occuring on certain

# servers)

 

<IfModule mod_php4.c>

php_value session.use_trans_sid 0

php_value register_globals 1

</IfModule>

Link to comment
Share on other sites

i know there is no login by default,and we must set in the cpanel,but while i enter www.my_store_site/catalog/admin ,the browser doesn't show anything(means blank page). i think the is an error on .htaccess file on admin section...

Link to comment
Share on other sites

do you have a password setup from your cpanel? If you don't it could be one of the php files that is incorrect. If you suspect the .htaccess you could place a simple html file in the admin directory and see if you can access it.

Link to comment
Share on other sites

do you have a password setup from your cpanel? If you don't it could be one of the php files that is incorrect. If you suspect the .htaccess you could place a simple html file in the admin directory and see if you can access it.

 

 

i have place a simple html file in the admin directory,and its can be access...so,how to solve this problem??

Link to comment
Share on other sites

i have place a simple html file in the admin directory,and its can be access...so,how to solve this problem??

Ok, so is likely something with your osc, next files you should verify are

catalog\admin\includes\configure.php (make sure paths, domains, servers point to the right place).

catalog\admin\includes\application_top.php (possible syntax errors) - you could back up the one you have and try the stock one from here

http://www.oscommerce.com/solutions/downloads

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...