DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26857>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26857

erreur while execute htpasswd.exe

           Summary: erreur while execute htpasswd.exe
           Product: Apache httpd-2.0
           Version: 2.0.47
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: mod_cgi
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


I use a cgi program written in C#, this program call htpasswd.exe for creating 
new user in a .htpasswd file ...

When i call htpasswd.exe with system function the htpasswd.exe return code 1 ..
apache doc said : "htpasswd returns 1 if it encounters some problem accessing 
files".

I tried to start apache service with "local system" and "administrator" 
account but i have the same result ....

What is the problèm ?

P.S :
exemple of C# code
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char ** argv)
{
cc = system("c:\apache\apache\bin\htpasswd.exe -b 
\"c:\apache\arcoleportail\.htpasswd\" user1 password1");

printf( "cc =%d\n", cc ); /*cc is egal to 1*/

return 1;
}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to