Closed FX8350 closed 2 years ago
I am not familiar with Powershell. There are two things necessary for the MDChallengeDns01
command to work:
Case 1 seems to fail for the Powershell script, maybe case 2 happend to the .bat
?
For other people using Apache on Windows, https://www.apachelounge.com is a good place to ask questions. Hope it helps.
Thanks for your kind response. I will ask my question there.
Sorry for my poor English.
Hello,
I 'm running Apache on Windows.
I have written a simple script using powershell for a DNS challenge. When I run this script manually with arguments from the powershell terminal, the TXT records are added/removed correctly via the DNS API.
However, when I specify this script for
MDChallengeDns01
, I get errors. Is it possible to specify a Powershell script inMDChallengeDns01
?Apache config
my script as dns.ps1
error message
指定されたファイルが見つかりません。
meansThe specified file could not be found.
I also tried the following batch file as run.bat
MDChallengeDns01 D:\bin\Apache24\md\run.bat
pwsh -File .\dns.ps1 %1 %2 %3
This will give different errors.