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

  • 1 year later...

We were facing issues with our previous communication provider, so I started looking into alternatives and found the SIP Trunking Service. The difference was noticeable right away – the call quality improved, and the service has been much more stable. The ability to scale easily and manage everything from one platform has simplified our operations. It’s been a great decision for our company, and we’ve seen a positive impact on our overall communication efficiency.

Link to comment
Share on other sites

When you run the batch file manually, it may be executed with your user permissions, which have access rights to the necessary files and directories. When executed from VBA, it may run under a different context (like the default user or as a service) that lacks those permissions @quordle
 

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...