![]() |
Password protecting a static page
On a 4.2.2 cart I need to password protect a static page outside the xcart normal user system. It has to work with either an htaccess or php ran membership system.
Any ideas? |
Re: Password protecting a static page
If its for 4.2.2 this is the wrong section.
As for an .htaccess option: For server owners (Windows+SSH/Remote desktop/etc): 1) Go to http://aspirine.org/htpasswd_en.html 2) Enter username and password 3) Choose encryption type (SHA1 is strongest, plain is weakest.) 4) Press "Encrypt pass" 5) Go into notpad, paste that in. Save file as .htpasswd and be sure to select "All files" and not .txt 6) Move to C:\ 7) Make .htaccess with the following: Quote:
8) Place in the folder with the file you wish to have password protected. That all assumes you have the .htpasswd in C:\ To change the location of the .htpasswd, change the line: Quote:
For C:\php\pub\ it would be: /php/pub/.htpasswd |
Re: Password protecting a static page
Now what if I only want certian memberships to see the page?
|
All times are GMT -8. The time now is 03:21 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.