Nathan Bray
07-14-2009, 01:40 AM
Hi does anyone know if this is possible and how to do it?
1. I've create a remote membership using Delavo. All of my membership content is in a directory that Delavo is protecting called MyRemoteDomain/members. Any other information such as sales pages, free content etc. is above that directory
2. When I navigate to my "members" directory I am prompted with the standard Apache popup login box which allows me to login to the MyRemoteDomain/members directory. This works fine for protecting the content, however I would like to take it to the next level and rather than having users login with the Apache login box they will actually have a HTML login page that can also show information such as a "Welcome, please login" message or other links to retrieve their password, or even sign up as a new user.
The reasons I would like to do this are
a. It is kind of confusing for people that don't understand the popup box, if the wrong password is entered or if user hits "cancel" they are given an ugly page that says the following....
"Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
b. The second thing I would like to see is once this is set up, to also be able to have a "logout" link that will post and log user out of the directory when they choose. Right now it keeps logged in until browser is closed and history/cache cleared.
Now, I know that this is either not going to be possible to fix, or it is going to be VERY easy for someone that has done this before, I am sure it just has something to with creating the HTML page and posting the form details, checking .htaccess file....
...but I don't know how to do this yet.
If anyone has done this yet or has a solution please let me know if you would be able to provide some guidance. I would REALLY appreciate it.
Thanks
1. I've create a remote membership using Delavo. All of my membership content is in a directory that Delavo is protecting called MyRemoteDomain/members. Any other information such as sales pages, free content etc. is above that directory
2. When I navigate to my "members" directory I am prompted with the standard Apache popup login box which allows me to login to the MyRemoteDomain/members directory. This works fine for protecting the content, however I would like to take it to the next level and rather than having users login with the Apache login box they will actually have a HTML login page that can also show information such as a "Welcome, please login" message or other links to retrieve their password, or even sign up as a new user.
The reasons I would like to do this are
a. It is kind of confusing for people that don't understand the popup box, if the wrong password is entered or if user hits "cancel" they are given an ugly page that says the following....
"Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
b. The second thing I would like to see is once this is set up, to also be able to have a "logout" link that will post and log user out of the directory when they choose. Right now it keeps logged in until browser is closed and history/cache cleared.
Now, I know that this is either not going to be possible to fix, or it is going to be VERY easy for someone that has done this before, I am sure it just has something to with creating the HTML page and posting the form details, checking .htaccess file....
...but I don't know how to do this yet.
If anyone has done this yet or has a solution please let me know if you would be able to provide some guidance. I would REALLY appreciate it.
Thanks