[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Apache / XAMPP  authorisation

Posted on 2016-10-26
10
Medium Priority
?
97 Views
Last Modified: 2016-11-18
Hi all, I haven't logged in to the admin area of my Apache/XAMPP development site on my PC for a while and as I've forgotten the userid and password it won't let me in!   There is a working authorisation on the production site but I don't need any auth for the version on my PC.

Is there a file in Apache I should be editing to sort this out?  

Cheers,

  Col
0
Comment
Question by:colinspurs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 41860743
I have never had to login to either of my XAMPP installations.  But you do have to be on that computer so you can use 'localhost' as the URL.  You can't do it remotely.
0
 
LVL 3

Author Comment

by:colinspurs
ID: 41860756
Hi Dave, it is on my PC.  I'm locked out of my own PC's localhost website admin section!  I get a 500 error...

From the log:

127.0.0.1 - - [26/Oct/2016:17:49:10 +0100] "GET /admin/menu2.php HTTP/1.1" 500 1076 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36"
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 41860842
"/admin/menu2.php" is not part of XAMPP itself, it must be an application you have installed.  It's not Wordpress either.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 3

Author Comment

by:colinspurs
ID: 41860860
I don't think I was clear with the question then.

It is a website application I have built myself.

For the production version I have put the admin folder under authorisation using the host company's web functionality.

For this development version I don't want any authorisation at all.  I am wondering where Apache is picking up the requirement for an ID and password - I have not programmed that in at all.  I am wondering if there is a setting in Apache on my PC where it is controlled.
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 41860991
No, you weren't clear.  A 500 error is not a login error but a 'server error' meaning that it was asked to do something that it didn't understand.  https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#5xx_Server_Error
1
 
LVL 3

Author Comment

by:colinspurs
ID: 41861037
OK thanks.
0
 
LVL 3

Author Comment

by:colinspurs
ID: 41861434
Why am I being asked for id and password?  I have tried a Hello world html page as the index to the admin folder and I'm being asked for ID and password; when I cancel, I get a 401, Authorisation required, when I put in wrong info I get the 500 error.
0
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 41861527
Do you have an '.htaccess' file in that directory that asks for authentication?  Does the form say Authentication Required?  Info on Authentication here:  https://httpd.apache.org/docs/2.2/howto/auth.html   You may be able to just remove that section from your .htaccess file.
1
 
LVL 3

Author Comment

by:colinspurs
ID: 41861906
That's it!  No idea why I put all that in for my own PC, but thanks.
0
 
LVL 3

Author Closing Comment

by:colinspurs
ID: 41893007
Sorry, I was sure I had closed this question weeks ago.

Good answer.  Thanks.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question