Thanks for pointing that out.
<IfFile "Z:/files/development/ApacheSmokeSignal.txt">
works correctly. "Correctly" meaning that Apache starts
whether or not the external drive that's mapped to Z: is attached to the PC, localhost:8080/miscellaneous/ resolves when Z: is attached, localhost:8080/miscellaneous/ gives a
404 Not Found response when Z: is not attached.
I also tried
<IfFile "Z:/">
and that works correctly as well.
The tag name "IfFile" implies that the condition given within the tag must be for a specific file but it seems that supplying only the drive letter is sufficient. Will <IfFile> tags work reliably with only the drive letter as the condition as opposed to a
specific file?
From: Eric Covener <covener@xxxxxxxxx>
Sent: Wednesday, January 13, 2021 6:36 PM To: users@xxxxxxxxxxxxxxxx <users@xxxxxxxxxxxxxxxx> Cc: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> Subject: Re: Re: conditionally create a Virtual Host? > <IfFile "Z/files/development/ApacheSmokeSignal.txt">
No colon after drive letter? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx |