Service vHosts-http won't start.
-
I have removed the vHosts package, as it seems to be broken.
I have a sanitized (and completely untested) vHosts package here: https://github.com/pfsense/pfsense-packages/pull/998
Messing with the current one is indeed a complete waste of time. Once the above PR gets merged, perhaps people will be able to test and eventually get it working. ::)
-
OK, the PR has been merged. So, if you have a use for this, you can give it another try and report back.
-
It's working fine , please start service under Status services
-
For a complete newbie in pfsense, what do I have to do to make vHost work?
Is the package I download the usual way in the menu updated and should work or do I have to install something manually?BR
Pelle
-
For a complete newbie in pfsense, what do I have to do to make vHost work?
Install the package and go to Services - vHosts
-
That gives the same fault as the thread starter reported.
I will uninstall vHost and install again and see what happens else I wipe it all clean and begin from the beginning.
I'll be back….
-
Sadly, with any package using its include file referenced in the XML for install routines, you MUST reinstall it twice, or uninstall and reinstall it, otherwise the install code gets cached and the new fixes never applied. Considering the shitty state of original package, indeed wipe it all clean might be a good option if everything else fails.
-
It works now after reinstalling vHost again. Thanks for the fix of the plugin!
However, I think the text for the IP address in the vHost settings is open for misinterpretation:
"Required. Make sure the IP and Port combination does not conflict with the local system. example: 192.168.0.1"
If you see in the first post the user tried to use a new "virtual" host IP 192.168.0.2 (that is not in use in the PFSense setup) and i believe the user thought that he can create virtual IP-addresses for the web-server with the vHost plugin (the name of the plugin even can lead to an misinterpretation). I was also confused about the text and had to trial and error to understand that the IP address, in fact, should conflict with an already active IP-address as it binds to it.
If I now understand how this plugin works (pfsense-newbie as I am) it binds to an already existing interface and therefore a more proper text for the IP setting box could be:
"The IP address should correspond to any of the active IP addresses that is configured on WAN/LAN/OPT interfaces and will bind to it."
Maybe also the Port text should be altered to leave the IP address statement out of it for the same reason.
-
I don't think the original problem is related to virtual IP in any way. The package was completely broken.
-
I installed the vhosts package a couple of years ago and gave up trying to get it to work, so I uninstalled it. However, I still have a service listed under 'Status' -> 'Services' for vhosts-ssl-1. When I reinstall vhosts via the package section, a new service pops up, but I cannot get either to start. Anyone have any idea how I can remove this apparently orphaned service manually?
-
Perhaps install and uninstall the updated rewritten package and see if it helps? Other than that, editing config.xml manually.