Beitrag ohne Titel

skip over the calendar

Setting up a virtual host with Apache for a Python Community Server with Manila-style hostnames (one host for each server) is quite easy:

  • set up your domain to have a wildcard A record for the domain of the server

  • set up your apache to have a virtual host with a "ServerAlias *.doma.in" in it

  • add a ProxyPass rule for the new server where you rewrite / to become http://pycs.server.doma.in:5445/~~vhost~~/%{HTTP_HOST}/

  • enable the rewriting rules in rewrite.conf for PyCs so it recognizes those addresses

That's it. Run it. Have fun.

tags: Sysadmin