Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I get to the Admin tool?


edoctoor

Recommended Posts

Posted

You have a 500 server error which can be either htaccess related and / or file permissions error.

Set files to 644 and folder to 755

Nic

 

Thanks for the prompt reply;

I did the file permissions using my WS_FTP and I have no idea about htaccess or

how to configure them. I have been messing around for several days before I decided to

read. So I am going to do a new install using the instructions found on this forum

and I will continue this thread if I have more questions; wish me luck.

Posted

Thanks for the prompt reply;

I did the file permissions using my WS_FTP and I have no idea about htaccess or

how to configure them. I have been messing around for several days before I decided to

read. So I am going to do a new install using the instructions found on this forum

and I will continue this thread if I have more questions; wish me luck.

 

The forum wouldn't let me edit so I had to post:

The automatic install feature of my host didn't work for me;

however, when I followed the instructions:

http://www.oscommerce.info/confluence/display/OSCDOC22/Pre-Installation+Steps

Everything was very simple and successful.

Thank you for all your help... I really do appreciate it.

 

Special thanks

 

Ed

Posted

Oh, I have two more questions:

ONE:

The Administration Tool is secured by its own login routine but is still publicly accessible. It is recommended to further protect the Administration Tool by setting a htaccess password on the catalog/admin directory.

 

How do a set the htaccess password?

 

TWO:

If no extra protection is set for the Administration Tool, it is recommended to move the catalog/admin/backups directory outside the public html directory otherwise public access to the backup files would be possible. The location of the backup directory must be correctly defined in catalog/includes/configure.php.

 

Where is a non-public directory?

 

I am guessing that no one here uses byethost.com so

I assume that I have to write them.. but if you have any ideas

I would like your input; thanks

 

Ed

 

http://planeandsimple.byethost7.com/catalog/

Posted

Oh, I have two more questions:

ONE:

The Administration Tool is secured by its own login routine but is still publicly accessible. It is recommended to further protect the Administration Tool by setting a htaccess password on the catalog/admin directory.

 

How do a set the htaccess password?

 

TWO:

If no extra protection is set for the Administration Tool, it is recommended to move the catalog/admin/backups directory outside the public html directory otherwise public access to the backup files would be possible. The location of the backup directory must be correctly defined in catalog/includes/configure.php.

 

Where is a non-public directory?

 

I am guessing that no one here uses byethost.com so

I assume that I have to write them.. but if you have any ideas

I would like your input; thanks

 

Ed

 

http://planeandsimpl...t7.com/catalog/

 

 

you can do this via your web based control panel, or if you want an osc solution then this addon will be for you http://addons.oscommerce.com/info/7170

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Thanks; now I have 7 pages to figure out...

My head hurts... really really bad...

 

I have figured out the .htaccess

for the root;however, when I try to make it

apply for the admin directory; I loose my whole domain.

 

Thanks for your help.. at least I know where to go next. LOL

 

When my head gets back to normal... ;-)

 

By the way, I am very happy with the results so far and I am

over 50 years old. So I would guess that anyone can do this.

 

later

 

Ed

Posted

Extra Protection for the Administration Tool

 

a. FIND THE PATH TO YOUR ROOT DIRECTORY

 

Create a text file named "path.php"

and put this one line in the contents of the "path.php" text file

 

<?php echo getcwd(); ?>

 

and upload the file to your htdocs folder

then use your browser to open the file; example

http://planeandsimple.byethost7.com/path.php

 

Now you have your Path needed for the next step:

 

/home/vol66/byethost6.com/b6_*******/htdocs

 

Delete the "path.php" text file from your htdocs folder

 

b. ADD THE .HTACCESS FILE TO THE DIRECTORY THAT YOU WANT TO PROTECT

We will be creating a .htpasswd file and adding it to our HTDOCS

/home/vol66/byethost6.com/b6_*******/htdocs

hence; our coding for the .htaccess file:

 

.htaccess

----------- contents of .htaccess text file ----------

AuthType Basic

AuthName "Restricted Area"

AuthUserFile /home/vol66/byethost6.com/b6_*******/htdocs/.htpasswd

Require valid-user

------------------------------------------------------

 

Add this .htaccess file to the directory that you want to protect:

/home/vol66/byethost6.com/b6_*******/htdocs/catalog/admin/

 

c. USE THE .HTPASSWD GENERATOR TO ENCRIPT YOUR USER AND PASS FOR STEP d.

.htpasswd Content Generator:

http://home.flash.net/cgi-bin/pw.pl

 

user password

 

created the following:

user:AW2xzjKNbAMk

 

d. ADD A .HTPASSWD TO YOUR ROOT DIRECTORY WITH ONE LINE PER USER

Then you would have to paste the output of (c.)

to the .htpasswd file in the same directory as "AuthUserFile"

/home/vol66/byethost6.com/b6_*******/htdocs

with CHMOD 444, other servers may require 644

 

.htpasswd

----------- contents of .htpasswd text file ----------

user:AW2xzjKNbAMk

------------------------------------------------------

 

e.

 

Remember to clear your CACHE in your browser before each test;

otherwise, your results may seem a bit confusing.

When it works because your browser received a permissions

and you made changes to block and yet your browser doesn't block.

 

Thanks again... my protection is completed

note: I have changed my admin directory name

and put my files in different locations;

but thought that I would share what I have learned

for anyone that is following this thread.

Archived

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

×
×
  • Create New...