Allow Users to Request Access to...

User 2148979 Photo


Registered User
19 posts

OK, trying the software (already use the form builder software). When a user reaches a secured page and is asked for login information, how do I redirect him to a form I designed in form builder which allows him to request that he be added to the access list if he does not already have access? I have the form on a unique page, and tried specifying it in WAM as the default error page thinking that when an attempt to login failed, the form would appear and allow the user to request access. The login in screen just keeps reappearing until I hit "Cancel" at which time the generic 401 error page appears.

Thanks for any help.

Dan
User 364143 Photo


Guest
5,410 posts

You can make a custom 401.html that includes the form to request access to the restricted area.
CoffeeCup... Yeah, they are the best!
User 2148979 Photo


Registered User
19 posts

Sorry if I'm a little dense, but I thought that's what I had done. I created an htm page which houses a form to be used to submit a request for access. In WAM i specified that page as the location for default
errors. Do I need to list that page as the "401" error page as well?

Is there any way to edit the "Authentication box" that appears to add a button to direct to a page to request access?

Thanks.
User 364143 Photo


Guest
5,410 posts

You can't edit the "Authentication box" that pops up for protected directories. It is a browser function.

If you have created an html page with the form and have instructed htaccess to use that page for 401 errors, it should work. I don't use access manager, i hand code htacess, so I don't know what to tell you concerning the program settings.

I can tell you that Apache favors local (relative) paths for 401 pages. If you use an absolute path, apache may serve the default 401 error.
CoffeeCup... Yeah, they are the best!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.