I’m sorry, but that would not help you.
When the Local Connections Only option is enabled, the server software will only accept TCP/IP connections from the same computer, i.e. from localhost. It will not accept connections from any other computer, even one that is 6 inches away. This has nothing to do with Bonjour.
If you added the server as a remote server in all the client computers, these computers would send tcp/ip packets to the server computer. But the server software would reject these packets. There is no way that I know of for the server software to allow packets from the local network but not routed from the internet through your router to the server. From the server’s point of view all packets are local – it has no way of knowing that packets that came from the router may have come from outside the network.
Of course you can set up your router so that it doesn’t send outside packets from the internet to your server. In fact, that’s the default configuration, it takes special work to set up port forwarding so that outside computers can access your server. If you don’t want to give outside computers access, simply don’t set up port forwarding!
I think this must not be correctly done. If this is set up correctly, then you’ll be able to connect thru apache to the server.
I would really like to have “Local connections only” enabled to increase the security in the server.
Bottom line, this is something you need to do in the router configuration, not the server configuration.