Category Archives: apache2

Install and Configure mod_jk for Apache2

sudo apt-get install libapache2-mod-jk sudo vim /etc/libapache2-mod-jk/ worker.list=worker1,jk-status worker.jk-status.type=status sudo vim /etc/apache2/mods-available/jk.conf   #Everything under root goes to tomcat JkMount  /share/* worker1 JkMount  /share worker1

Posted in apache2, mod_jk, ubuntu | Leave a comment

How to build mod_wsgi, with httpd and python from source code

It is best to compile everything from source code.Version used Python: 2.7 (with shared library)httpd 2.2.17 (with shared DSO support)WSGI (integrating with httpd): mod_wsgi 3.3 Web framework: 0.34 Compile Python for shared lib./configure –prefix= –enable-shared   Set up LD_LIBRARY_PATH … Continue reading

Posted in apache2, python | Leave a comment

Apache configured as reverse proxy

There has been frequent needs for a reverse proxy server. a nice doc here: Apache 1.3 here: Apache 2.0 The #1 difference btw forward and reverse proxy is forward proxy doesn’t change the destionation server while the reverse … Continue reading

Posted in apache2, TCP | Leave a comment