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: Problem with Apache and LDAP authnetication
Author
sunshineinuk



Joined: 05 Nov 2012
Posts: 2

PostPosted: Mon 05 Nov '12 12:01    Post subject: Problem with Apache and LDAP authnetication Reply with quote

Hello,

We have a website running on Apache ver 2.2.3.

A couple of directories on the website need authentication against LDAP. The setup has been working for many years and all of a sudden is giving some issues.

The page asks for authentication and once login details are entered, either it throws an error "Page has moved" or "Please refresh your browser or reload the page".

As far as I am aware no configuration has been changed for LDAP or for Apache. The website runs on Windows Server 2003.

Any help will be appreciated. I am very much new to Apache and cannot seem to find any errors logged.
Back to top
cbj4074



Joined: 02 Nov 2012
Posts: 24
Location: United States

PostPosted: Wed 07 Nov '12 17:06    Post subject: Reply with quote

So, you're saying that you've tailed Apache's error log and access logs while attempting to authenticate and neither log shows activity?

Even if no entries are made to the error log, you should definitely see something in the access log that is correlated with the request, whether that's a 200, 301, 302, or any other response code.
Back to top
sunshineinuk



Joined: 05 Nov 2012
Posts: 2

PostPosted: Fri 23 Nov '12 11:18    Post subject: Reply with quote

The status in the access log is shown as follows :
LDAP authentication is on "folder1".

"GET /folder1/secure_file.html HTTP/1.1" 200 276

The page source is as follows:

<HTML>
<HEAD>
<META HTTP-EQUIV="refresh" content="0;javascript:history.go(1)">
<TITLE>Page has moved</TITLE>
</HEAD>
<BODY>
<p><A HREF="javascript:history.go(1)">If you see this message, click on refresh or reload to see the page</A>
</BODY>
</HTML>
Back to top


Reply to topic   Topic: Problem with Apache and LDAP authnetication View previous topic :: View next topic
Post new topic   Forum Index -> Apache