This page describes how to run your own apache HTTP daemon, for example if you have special needs regarding apache modules etc. ## Every page should have a table of contents [[TableOfContents]] I have an apache instance with mod_python running for http://www.siebengang.net/ . == Apache setup and startup == Get a working apache/mod_python installation (in your home dir), and set up a startup procedure, so that cron starts your daemon when mire reboots. Take a cron job like {{{ @reboot run-in-pagsh --fg ~/apache2/bin/apachectl start }}} as a starting point. === Port issues === Your httpd must be configured so that it listens on a dedicated port, the standard port 80 won't work. There used to be a hcoop procedure to get access to a free port. Right. On Fyodor, we used to have a firewall setup where it was necessary to request a port for yourself so you can bind to it. We *currently* do not have this restriction on Mire, but plans for re-using the same firewall setup we had are underway. So please use the Members Portal to submit a Port request on page https://members.hcoop.net/portal/ip , so that when we enable the firewall and binding restrictions, we automatically leave the ports open for you. I got 8880 (and 8881 for another httpd) and have this in my httpd.conf: {{{ Listen 8880 }}} === mod_python specials === I just discovered the following lines in my httpd.conf, too. I think they are necessary for mod_python to function properly (my mod_python and some more modules are installed in ~/python/mod_python): {{{ PythonPath "sys.path + ['/afs/hcoop.net/user/b/be/beni/python']"