I just got a shiny new mac mini to use as an HTPC. I like being able to start things playing from elsewhere in the house, so I have apache running as a user instead of www. I used some php so that I can go to it's address, see a list of all the movies/etc and start one playing with a click. Apache is running as the user I have logged in all the time, so the php can actually launch VLC and a copy starts running in the GUI.
The problem is that I'd also like to be able to use the mini as a webserver to the internet. It seems like running apache as a local, privileged user is a bad idea, so I would like to run 2 instances of apache:
1 running as www, listening on port 80, and
1 running as myuser, listening on some other port, so that I can start VLC remotely.
Is that a valid solution to my problem? How would I go about implementing it?
The problem is that I'd also like to be able to use the mini as a webserver to the internet. It seems like running apache as a local, privileged user is a bad idea, so I would like to run 2 instances of apache:
1 running as www, listening on port 80, and
1 running as myuser, listening on some other port, so that I can start VLC remotely.
Is that a valid solution to my problem? How would I go about implementing it?
