|
Search
|
Deployment of Yanel behind a reverse proxy
- Download Apache httpd 2.2.x (e.g. httpd-2.2.3)
- Install as proxy: ./configure --prefix=/usr/local/httpd-2.2.3 --enable-proxy --enable-proxy-http
- make
- make install
- Configure virtual hosts within /usr/local/httpd-2.2.3/conf/extra/httpd-vhosts.conf
- Add proxy settings to realm configuration (realms.xml), e.g.:
- <realm id="...
<reverse-proxy> <host-name>www.yulup.org</host-name> <port>80</port> <ssl-port>443</ssl-port> <prefix>/yanel/yulup-website</prefix> </reverse-proxy> </realm>
- Activate vhosts config within /usr/local/httpd-2.2.3/conf/httpd.conf:
- Include conf/extra/httpd-vhosts.conf
- UNIX: Add apachectl to various runlevels:
- Copy bin/apachtctl to /etc/init.d/apachectl
- Create symbolic link at /etc/rc0.d/K91apachectl
- Create symbolic link at /etc/rc1.d/K91apachectl
- Create symbolic link at /etc/rc2.d/S91apachectl
- Create symbolic link at /etc/rc3.d/S91apachectl
- Create symbolic link at /etc/rc4.d/S91apachectl
- Create symbolic link at /etc/rc5.d/S91apachectl
- Create symbolic link at /etc/rc6.d/K91apachectl
|
Your comments are much appreciated
Is the content of this page unclear or you think it could be improved? Please add a comment and we will try to improve it accordingly.