Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newby... Final step of Installation... Need Help...


hanool

Recommended Posts

Posted

Hi,

I am complete novice on this and after 2 nightmare days, finally arrive at the final stage of installation...

 

 

The installation said.. "The configuration was successful!"

However, according to the *edit*, I need to;

Password protect your /admin dir using .htaccess

Your admin section should be password protected. The easiest way to do this is to use .htpasswd and .htaccess to secure the directory. If you are not sure how to do this, please follow the procedure outlined below:

Add this code to your .htaccess file

AuthType Basic

AuthName "Locked Area"

AuthUserFile /home/youraccount/.htpasswds/admin/passwd

require valid-user

 

When I checked /catalog/admin, I've already have .htaccess file and it looks like this...

# $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>

 

Do I need to add following after #</IfModule>?

AuthType Basic

AuthName "Locked Area"

AuthUserFile /home/youraccount/.htpasswds/admin/passwd

require valid-user

Or What I need to do?

 

 

Also, according to *edit*, I need to;

Add to your DirectoryIndex statement and include the following : default.php index.php . This can be done in the Apache httpd.conf file if you have root access, or can be done in a .htaccess file in your /catalog dir.

 

This is the .htaccess method for adding the DirectoryIndex statement.

Create a plain text file using a text editor.

Add this statement : DirectoryIndex default.php index.php index.htm index.html

Save the file as .htaccess (note the period before the h)

Upload it to your /catalog directory

 

But I already have .htaccess file... I'm comfuse... Help...

 

 

Last dumb question is...

From the last page of New Install page under "The configuration was successful!" message, I have Catalog and Administration Tool Button.

When I click catalog it it opens the sample page fine!!! Yahooo~~~~~

However, when I click the Administration Tool Button, the page open with asking E-Mail Address and password... I assume the email address is user name and entered the user name that I created for the database and correct password... And guess what? ERROR: Wrong username or password! What do I need to do here?

 

Your input is greatly appreciated!!

 

*edit* - Johnson

Archived

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

×
×
  • Create New...