How to secure every page on xampp apache server?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to secure every page on xampp apache server?

Postby Gigi10012 » 20. March 2013 18:51

I have xampp apache server and I have *.php projects uploaded on it. How to secure that projects with password ??
Gigi10012
 
Posts: 1
Joined: 20. March 2013 18:47
Operating System: Windows 7

Re: How to secure every page on xampp apache server?

Postby Altrea » 20. March 2013 19:06

We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: How to secure every page on xampp apache server?

Postby slapbackguitar » 27. March 2013 16:36

Gigi10012 wrote:I have xampp apache server and I have *.php projects uploaded on it. How to secure that projects with password ??


I found an easier way. Just go to you server's xampp page and there's a link there to password protect your xampp page. Go to that page and set the password and this will create a .htaccess file in your xampp folder. You can copy that file into any other folder and it and its subfolders will be similarly protected or copy it to the root folder and everything will be protected.
slapbackguitar
 
Posts: 2
Joined: 27. March 2013 16:30
Operating System: Win7

Re: How to secure every page on xampp apache server?

Postby JonB » 28. March 2013 07:15

slapbackguitar is exactly correct...
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 124 guests