Jump to content

Passing Form Data to Apache to BASIC Auth


achild

Recommended Posts

Can anyone tell me how to pass Form Data (HTML login Screen) to apache using BASIC Auth?

 

So I have a page that has u/p with a submit button, once this is pressed how can I have the data passed and verified across to apache's AuthDBMUserFile?

 

Any help would be wonderful.

 

Thanks

Amer

Link to comment
Share on other sites

I'm not sure if this is the same question, but I think it is, and I too need an answer.

 

I am under the impression that BASIC auth is sent a 401 error from the server when accessed, and the browser is hardwired to prompt for user name and password and resend the request in a header.

 

If I understand this right, can I make a request via php/html to a site that includes that header info, so the prompt is not seen by the client?

 

I think that's the same question posed differently...

 

Thanks.

Link to comment
Share on other sites

  • 1 month later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.