Tips
/etc/init.d/postfix restart
/etc/init.d/apache2 restart
/etc/init.d/ispconfig_server restart
/etc/init.d/cron stop
pkill cron
crontab -e
/etc/init.d/cron start
wget http://www.ispconfig.org/downloads/compile_php_5_0_4.tar.gz
tar xvfz compile_php_5_0_4.tar.gz
cd compile_php_5_0_4
./compile</mt>
/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
a2enmod proxy
a2enmod headers
a2enmod proxy_http
a2enmod proxy_connect
a2enmod_proxy_ftp
/etc/init.d/apache2 force-reload
Others belonging to Apache Proxy
a2enmod proxy_ajp
a2enmod proxy_balancer
a2enmod proxy_cache, mod_disk_cache, mod_mem_cache
a2enmod proxy_cache
a2enmod deflate
Suppose IPSConfig Lan Ip Server is 192.168.100.5 port 80 (default for installation)
And Other Server LAN IP is 192.168.100.10 port 8080 (make sure is listening on this port)
ProxyRequests Off
ProxyVia On
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://192.168.100.10:8080/
ProxyPassReverse / http://192.168.100.10:8080/
mod_proxy: The core module deals with proxy infrastructure and configuration and managing a proxy request.
mod_proxy_http: This handles fetching documents with HTTP and HTTPS.
mod_proxy_ftp: This handles fetching documents with FTP.
mod_proxy_connect: This handles the CONNECT method for secure (SSL) tunneling.
mod_proxy_ajp: This handles the AJP protocol for Tomcat and similar backend servers.
mod_proxy_balancer: Implements clustering and load-balancing over multiple backends.
mod_cache, mod_disk_cache, mod_mem_cache: These deal with managing a document cache. To enable caching requires mod_cache and one or both of disk_cache and mem_cache.
mod_proxy_html: This rewrites HTML links into a proxy's address space.
mod_headers: This modifies HTTP request and response headers.
mod_deflate: Negotiates compression with clients and backends.
SuExec
To run CGI scripts under suExec, you must specify /srv/www as the web root for websites created by ISPConfig as SUSE's suExec is compiled with /srv/www as Doc_Root.
To check run /usr/sbin/suexec2 -V
Output should be:
-D AP_DOC_ROOT="/srv/www"
-D AP_GID_MIN=96
-D AP_HTTPD_USER="wwwrun"
-D AP_LOG_EXEC="/var/log/apache2/suexec.log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=96
-D AP_USERDIR_SUFFIX="public_html"
So if you want to use suExec with ISPconfig, run the installer in expert mode. Expert mode will give you the option to change the default web root folder (which is /srv/www).
Edit php.ini on OpenSUSE for better security
vi /etc/php5/apache2/php.ini
Then turn off
allow_url_fopen = Off






Recent Comments