Jump to content
The Uniform Server Community

403 Forbidden when launching Apache server from VBA code


Ians
 Share

Recommended Posts

I can launch Apache successfully using the command line option "UniController.exe start_apache", but I want to do this from VBA code in Excel or Access.

The server starts fine, but when I try to access a URL (from a browser on localhost or elsewhere) I get 403 Forbidden. This only happens when I run the batch file from code: it works perfectly if I run the very same batch file manually. I don't understand why access should differ since it's surely using the same config files in each case.

What am I missing?

Thanks

Ian

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...