htpasswd in apache

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

htpasswd in apache

Postby IloveTacos » 23. October 2008 00:57

Hey,

I'm new at using these programs and I'm trying to follow the guide in the PHP bible to learn them. So far I have apache and MySQL running, but I have come across two errors.

The first is the access violation of LibMYSQL.dll so far I have heard that i need to change the my.ini, however, it won't stay open long enough for me to fix.

Second, I tried opening the htpasswd file in the apache bin folder and some of the other files, but the command line utility opens and then closes within a split second and I can't figure out how to keep it open.

I'm using the newest version of XAMMP. It was a clean install I have no previous versions on my computer of any of these programs.

I have windows vista home premium x64 edition (I know, vista blows)


Thanks
IloveTacos
 
Posts: 1
Joined: 23. October 2008 00:42

Re: htpasswd in apache

Postby Sharley » 23. October 2008 03:06

IloveTacos wrote:The first is the access violation of LibMYSQL.dll so far I have heard that i need to change the my.ini, however, it won't stay open long enough for me to fix.
Simply drag the file into your text editor, do the deed, then Save the file.

BTW the my.ini file (or just my it sometimes is named and looks like a shortcut) is usually found in the .\xampp\mysql\bin folder, others have sometimes located one in the Windows folder.

Another fix is to remove the winmysqladmin shortcut from the startup folder.

IloveTacos wrote:Second, I tried opening the htpasswd file in the apache bin folder and some of the other files, but the command line utility opens and then closes within a split second and I can't figure out how to keep it open.
Again for dot files like .htaccess and .htpasswd simply drag them into your text editor.
When finished reading simply close the dot file or after editing just click on Save from either the context menu in your text editor or from the File menu in the main menu bar.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Postby Wiedmann » 23. October 2008 07:26

Second, I tried opening the htpasswd file in the apache bin folder and some of the other files, but the command line utility opens and then closes within a split second and I can't figure out how to keep it open.

htpasswd is a shell program and not a "Window" program.

So you have to open first a command line shell, go to the correct folder with "cd foldername" and then you can execute the program.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 43 guests