Check also port 8080 when looking for Apache

Hey guys,

I'm using a reverse proxy which listens on Port 80 and passes requests to Apache port 8080 (which is the default port for webcache and thus a valid www port).

Since Virtualmin (webmin too?) only checks port 80 when it's looks for Apache related configs I'm unable to use certain modules like Server Config -> Website Options (ends in: Website options cannot be edited, as no Apache virtual host for example.com port 80 was found!).

Not sure if this is a bug or feature request, anyway - I'd appreciate a fix!

Thank you and regards.

Status: 
Closed (fixed)

Comments

Actually Virtualmin supports websites on non-default ports just fine. You have to make the port change at Server Configuration -> Website Options though, which will update the port in the apache config, and let Virtualmin know how to find the correct <Virtualhost> block.

I presume you have already made this port change manually? If so, you should undo it, and then use Virtualmin to change back to port 8080 again.

It's Server Config -> Change IP Address. Thank you for your help! :)

Yes, that's what I meant, sorry ..