logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: HTTP Response 200
Author
mwtoty



Joined: 03 Apr 2018
Posts: 9
Location: US, IN

PostPosted: Fri 01 Feb '19 23:10    Post subject: HTTP Response 200 Reply with quote

Hi,

Is the response "Http 200 xxx" can be considered as successful login when it shows in the access.log?

The log example is: Get abc\mysite.com http 1.1" 200 1748"

Thank you in advance.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sun 03 Feb '19 21:05    Post subject: Reply with quote

Not necessarily, it depends on the type of authentication.

If Apache is doing it (Basic, Digest, dbd... the authn(z) modules) then a failure would be a 401 error.

If however abc\mysite.com is doing the authentication, then no. A 200 just means it successfully served the request, which in this case Apache would just 200 when successfully serving abc\mysite.com's error page.

A good example is right here. The forum software does the authentication and if you get your username, password or both wrong, Apache will still log a 200 when it successfully serves the forum software's page saying "Doh, you really mucked up on that try Homer!"
Back to top


Reply to topic   Topic: HTTP Response 200 View previous topic :: View next topic
Post new topic   Forum Index -> Apache