httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane" <sh...@ozhost4u.com>
Subject Re: [users@httpd] Is there anyway to password protect a directory with an *automated* batch file?
Date Wed, 18 Jun 2003 03:27:16 GMT
How do I stop these emails?

----- Original Message ----- 
From: "Victor B. Gonzalez" <apacheusergroup@vbgunz.com>
To: "Apache Users" <users@httpd.apache.org>
Sent: Wednesday, June 18, 2003 12:59 AM
Subject: [users@httpd] Is there anyway to password protect a directory with
an *automated* batch file?


> Hello Apache,
>
>   I have just finished re-designing a project in which requires
>   Apache. During the install phase of my project I would like to offer
>   the user the power to password protect certain directories.
>
>   I can pass the password to a batch file and execute it but how do I
>   get pass the "enter password" "enter password again" prompts?
>
>   In other words during the install phase the user is given two
>   password boxes for Apache. Once they continue I would like to
>   somehow automate the Apache batch process.
>
>   Can someone help me with this?
>
>   I currently have the following in a batch file... The root user name
>   is dynamically changed to what the user wishes... But how do I
>   automate the password prompts as that should have already been taken
>   care of at install?
>
>   "Apache\bin\htpasswd.exe" -c "Apache\passwd\passwords" root
>
>   Thank you to anyone who can help me with this :)
>
> -- 
> Best regards,
>  Victor B. Gonzalez
>
> apache_2.0.46-win32-x86-no_src
> Windows XP 5.1 Build 2600 Service Pack 1
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message