Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

weekendsrule32

macrumors member
Original poster
Apr 8, 2009
86
0
New Jersey
This may be an obvious question, but for the life of me I have not been able to figure this out. I run a service that operates on a specific port, lets call it port X. When I was running my linux server, I had a .conf file named 1001-(servicename).conf to configure a virtual host that would redirect a specific subdomain to this port, creating a friendly URL instead of having to type www.host.com:PortX, which contained:

<VirtualHost *:80>
ServerName subdomain.domain.com

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://10.0.1.100:PortX/
ProxyPassReverse / http://10.0.1.100:PortX/

</VirtualHost>

I don't know why, but for the life of me I have not been able to get this to work on my HTTP server on OSX. Any advice?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.