Castillian Posted January 28, 2012 Report Share Posted January 28, 2012 if the path to apache exe has blank spaces, the bat fails.Fix: Add double quotes to path parameters :'--- Start Apache :wscript.echo " Starting Apache Server" 'Inform user:strCmd1 = """" & US_APACHE_BIN & "\" & US_APACHE_EXE & """" 'Absolute path to exe :strCmd2 = " -f """ & US_APACHE & """\conf\httpd.conf " 'Absolute path to config :strCmd3 = " -d """ & US_APACHE & """" 'Set apache base path Quote Link to comment Share on other sites More sharing options...
BobS Posted January 28, 2012 Report Share Posted January 28, 2012 Yes, that will work for the MiniServer itself. Normally, however, we dissuade people from using paths with spaces. The problem is that we don't know whether the apps they will be hosting will tolerate any spaces. As a result, the policy is to steer clear. Regards,BobS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.