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 <cove...@gmail.com> Sent: Wednesday, January 13, 2021 6:36 PM To: users@httpd.apache.org <users@httpd.apache.org> Cc: Christophe JAILLET <christophe.jail...@wanadoo.fr> Subject: Re: [users@httpd] Re: conditionally create a Virtual Host? > <IfFile "Z/files/development/ApacheSmokeSignal.txt"> No colon after drive letter? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org