Just thought I would share with those who didn't know, another great way to pass your kegbot to apache web server using fastcgi. Thanks to Django's built in fastcgi server this is easy to setup if you are having problems using other methods.
Here are the commands
kegbot-admin.py runfcgi method=threaded host=127.0.0.1 port=3033
Then you will need to have mod_fastcgi installed in apache. Relatively easy to compile from source. You can find a copy
here. After django is running you just need to edit httpd.conf to point apache at the fastcgi server like this:
<Directory /home/USER/Public>
RewriteEngineRewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ beer/$1 [QSA,L]
</Directory>
FastCGIExternalServer /home/USER/Public/beer -host 127.0.0.1:3033
Now be sure to touch and chmod the file "beer" like so:
touch /home/USER/Public/beer
chmod 755 /home/USER/Public/beer
The file isn't really used, but needs to be there for the server.
Thats it! You should have a working kegbot apache server. Don't forget to link your media and static directories and
see this thread for further kegbot/apache settings.
Edited by Jallen81 (Dec. 5, 2011 21:39:32)