<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>FAQforge &#187; ISPConfig 2</title> <atom:link href="http://www.faqforge.com/tag/ispconfig2/feed/" rel="self" type="application/rss+xml" /><link>http://www.faqforge.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Tue, 07 Sep 2010 19:06:55 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>Secure /tmp and /dev/shm directories in a OpenVZ enviroment</title><link>http://www.faqforge.com/linux/controlpanels/ispconfig2/secure-tmp-and-devshm-directories-in-a-openvz-enviroment/</link> <comments>http://www.faqforge.com/linux/controlpanels/ispconfig2/secure-tmp-and-devshm-directories-in-a-openvz-enviroment/#comments</comments> <pubDate>Tue, 31 Aug 2010 09:06:27 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[OpenVZ]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=504</guid> <description><![CDATA[The /tmp and /dev/shm directories of a OpenVZ virtual machine shall be mounted without suid and exec permissions. To achieve this, create a a shell script on the host server for every virtual machine which contains the commands to remount the directories. This script will be started automatically by openvz when the VM is started. [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>The /tmp and /dev/shm directories of a OpenVZ virtual machine shall be mounted without suid and exec permissions. To achieve this, create a a shell script on the host server for every virtual machine which contains the commands to remount the directories. This script will be started automatically by openvz when the VM is started.</p><p>I will use VPSID as placeholder for the ID of the virtual machine in the commands and the script. Replace VPSID with the id of the virtual machine that you want to create the script for, e.g. replace VPSID with 101.</p><p>Create the script:<br
/><p
class="command">vi /etc/vz/conf/VPSID.mount</p><br
/> and insert the following lines:<br
/><pre><p class="system">#!/bin/bash
mount -n --bind -onosuid,noexec /vz/vps/VPSID/tmp /vz/root/VPSID/tmp
mount -n --bind -onosuid,noexec /vz/vps/VPSID/shm /vz/root/VPSID/dev/shm
exit ${?}</p></pre><br
/> now make the sscript executable:<br
/><p
class="command">chmod 700 /etc/vz/conf/VPSID.mount</p></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/ispconfig2/secure-tmp-and-devshm-directories-in-a-openvz-enviroment/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Migrate physical server system to OpenVZ virtual machine</title><link>http://www.faqforge.com/linux/controlpanels/migrate-physical-server-system-to-openvz-virtual-machine/</link> <comments>http://www.faqforge.com/linux/controlpanels/migrate-physical-server-system-to-openvz-virtual-machine/#comments</comments> <pubDate>Tue, 31 Aug 2010 08:51:13 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[OpenVZ]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=501</guid> <description><![CDATA[In case you plan to virtualize your server infrastructure and migrate physical servers to OpenVZ virtual machines, you may find this tutorial helpful: http://wiki.openvz.org/Physical_to_container I used this to migrate a ISPConfig Debian system to OpenVZ successfully.]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>In case you plan to virtualize your server infrastructure and migrate physical servers to OpenVZ virtual machines, you may find this tutorial helpful:</p><p><a
href="http://wiki.openvz.org/Physical_to_container" target="_blank">http://wiki.openvz.org/Physical_to_container</a></p><p>I used this to migrate a ISPConfig Debian system to OpenVZ successfully.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/migrate-physical-server-system-to-openvz-virtual-machine/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to redirect requests for domain names without www to www.domain.tld</title><link>http://www.faqforge.com/linux/controlpanels/how-to-redirect-requests-to-domain-names-without-www-to-www-domain-tld/</link> <comments>http://www.faqforge.com/linux/controlpanels/how-to-redirect-requests-to-domain-names-without-www-to-www-domain-tld/#comments</comments> <pubDate>Mon, 22 Mar 2010 13:24:53 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[apache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=429</guid> <description><![CDATA[Many webmasters want to redirect users that access their websites with &#8220;domain.tld&#8221; automatically to &#8220;www.domain.tld&#8221;. If you use the Apache web server, you can do this by using Apache rewrite rules. Add a .htaccess file with the following content in the root directory of the website: Options +FollowSymlinks RewriteEngine On RewriteCond %{HTTP_HOST}//s%{HTTPS} ^[^w][^w][^w][^.].*//((s)on¦s.*) [NC] RewriteRule [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-redirect-requests-to-domain-names-without-www-to-www-domain-tld%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-redirect-requests-to-domain-names-without-www-to-www-domain-tld%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>Many webmasters want to redirect users that access their websites with &#8220;domain.tld&#8221; automatically to &#8220;www.domain.tld&#8221;. If you use the Apache web server, you can do this by using Apache rewrite rules.</p><p>Add a .htaccess file with the following content in the root directory of the website:<br
/><pre><p class="command">Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST}//s%{HTTPS} ^[^w][^w][^w][^.].*//((s)on¦s.*) [NC]
RewriteRule ^ http%2://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]</p></pre><br
/> If you use ISPConfig as hosting control panel, you can add these rules also in the Apache directives field of the website.</p><p>Thanks to &#8220;<a
href="http://www.webmasterworld.com/forum92/5253.htm" target="_blank">extras</a>&#8221; from webmasterworld for this useful rewrite rule.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/how-to-redirect-requests-to-domain-names-without-www-to-www-domain-tld/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How to fix the spamassassin bug with the FH_DATE_PAST_20XX rule</title><link>http://www.faqforge.com/linux/how-to-fix-the-spamassassin-bug-with-the-fh_date_past_20xx-rule/</link> <comments>http://www.faqforge.com/linux/how-to-fix-the-spamassassin-bug-with-the-fh_date_past_20xx-rule/#comments</comments> <pubDate>Mon, 04 Jan 2010 14:49:08 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[Email]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Spamassassin]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=362</guid> <description><![CDATA[Since january 1 2010, spamassassin is falsely marking non spam emails as spam due to an error in the regular expression of the FH_DATE_PAST_20XX rule. Description of the bug: https://secure.grepular.com/blog/index.php/2010/01/01/spamassassin-2010-bug/ To fix this, run the following command on the shell as root user: sa-update If you use the software ISPConfig 2 on your server, run [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-fix-the-spamassassin-bug-with-the-fh_date_past_20xx-rule%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-fix-the-spamassassin-bug-with-the-fh_date_past_20xx-rule%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>Since january 1 2010, spamassassin is falsely marking non spam emails as spam due to an error in the regular expression of the FH_DATE_PAST_20XX rule.</p><p>Description of the bug:</p><p>https://secure.grepular.com/blog/index.php/2010/01/01/spamassassin-2010-bug/</p><p>To fix this, run the following command on the shell as root user:<br
/><p
class="command">sa-update</p><br
/> If you use the software ISPConfig 2 on your server, run this command:<br
/><p
class="command">/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update</p></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-fix-the-spamassassin-bug-with-the-fh_date_past_20xx-rule/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>How to reset the MySQL root password</title><link>http://www.faqforge.com/linux/controlpanels/ispconfig2/how-to-reset-the-mysql-root-password/</link> <comments>http://www.faqforge.com/linux/controlpanels/ispconfig2/how-to-reset-the-mysql-root-password/#comments</comments> <pubDate>Wed, 21 Oct 2009 09:32:31 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[MySQL]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=248</guid> <description><![CDATA[The following steps describe the procedure to reset the mysql root password on Linux. 1) Stop the mysql server /etc/init.d/mysql stop 2) Start the mysql server manually without permission tables which allows us to login as root user without password: mysqld_safe --skip-grant-tables &#38;amp; 3) Login into mysql as root user without a password and switch [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fhow-to-reset-the-mysql-root-password%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fhow-to-reset-the-mysql-root-password%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>The following steps describe the procedure to reset the mysql root password on Linux.</p><p>1) Stop the mysql server<br
/><p
class="command">/etc/init.d/mysql stop</p></p><p>2) Start the mysql server manually without permission tables which allows us to login as root user without password:<br
/><p
class="command">mysqld_safe --skip-grant-tables &amp;amp;</p></p><p>3) Login into mysql as root user without a password and switch to the &#8220;mysql&#8221; database:<br
/><p
class="command">mysql -u root mysql</p></p><p>Then execute this SQL query to set a new password for the mysql root user:<br
/><p
class="command">update user set Password=PASSWORD(&#039;mynewpassword&#039;) WHERE User=&#039;root&#039;;</p></p><p>(Replace &#8220;mynewpassword&#8221; with the new root password in the above command).</p><p>Then logout from the mysql prompt by typing:<br
/><p
class="command">exit</p></p><p>4) Now bring back the running mysql instance into the foreground by typing:<br
/><p
class="command">fg</p></p><p>and then press [ctrl] + c to kill the mysql process.</p><p>5) Start the mysql server again:<br
/><p
class="command">/etc/init.d/mysql start</p></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/ispconfig2/how-to-reset-the-mysql-root-password/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How to use a custom php.ini with suphp</title><link>http://www.faqforge.com/linux/controlpanels/ispconfig2/how-to-use-a-custom-php-ini-with-suphp/</link> <comments>http://www.faqforge.com/linux/controlpanels/ispconfig2/how-to-use-a-custom-php-ini-with-suphp/#comments</comments> <pubDate>Mon, 19 Oct 2009 14:45:37 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[apache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=243</guid> <description><![CDATA[To use a custom php.ini file with SuPHP for a website, you can define the path to the php.ini file in a .htaccess file or in the apache vhost like this: suPHP_ConfigPath /home/websites/domain.tld/ Then add a php.ini file in the directory /home/websites/domain.tld/ which may be a copy of the global php.ini were you just changed [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fhow-to-use-a-custom-php-ini-with-suphp%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fhow-to-use-a-custom-php-ini-with-suphp%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>To use a custom php.ini file with SuPHP for a website, you can define the path to the php.ini file in a .htaccess file or in the apache vhost like this:<br
/><p
class="command">suPHP_ConfigPath /home/websites/domain.tld/</p></p><p>Then add a php.ini file in the directory /home/websites/domain.tld/ which may be a copy of the global php.ini were you just changed a few settings or an empty file were you add only the settings that shall be overridden in the global PHP configuration.</p><p>If you use ISPConfig 2 or 3, you can add the <span
class="system">suPHP_ConfigPath</span> setting also in the apache directives field of the website  in ISPConfig.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/ispconfig2/how-to-use-a-custom-php-ini-with-suphp/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Redirect a subdomain with apache mod_rewrite and keep the URL in the address bar</title><link>http://www.faqforge.com/linux/redirect-a-subdomain-with-apache-mod_rewrite-and-keep-the-url-in-the-address-bar/</link> <comments>http://www.faqforge.com/linux/redirect-a-subdomain-with-apache-mod_rewrite-and-keep-the-url-in-the-address-bar/#comments</comments> <pubDate>Fri, 16 Oct 2009 09:11:09 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[apache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=234</guid> <description><![CDATA[If you want to redirect a subdomain like sub.domain.tld into a subdirectory of the website and keep the original URL in the browser location bar, you may use the following apache directives. RewriteEngine on RewriteCond %{HTTP_HOST} ^sub.domain.tld [NC] RewriteRule ^/(.*)$ /sub/$1 [L] This rewrite rule can be added into a .htaccess file in the website [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fredirect-a-subdomain-with-apache-mod_rewrite-and-keep-the-url-in-the-address-bar%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fredirect-a-subdomain-with-apache-mod_rewrite-and-keep-the-url-in-the-address-bar%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If you want to redirect a subdomain like sub.domain.tld into a subdirectory of the website and keep the original URL in the browser location bar, you may use the following apache directives.</p><p
class="command">RewriteEngine on<br
/> RewriteCond %{HTTP_HOST}   ^sub.domain.tld [NC]<br
/> RewriteRule   ^/(.*)$ /sub/$1  [L]</p><p>This rewrite rule can be added into a .htaccess file in the website root or inside the vhost file. If you use ISPConfig 2 or 3, you can add this also into the apache directives field in the website settings.</p><p>Replace sub.domain.tld with the subdomain that shall be redirected and /sub/ with the path to the directory were the pages for this subdomain are located.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/redirect-a-subdomain-with-apache-mod_rewrite-and-keep-the-url-in-the-address-bar/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Redirect domains without www (e.g. domain.com) to www.domain.com with apache rewrite rules</title><link>http://www.faqforge.com/linux/redirect-domains-without-www-e-g-domain-com-to-www-domain-com-with-apache-rewrite-rules/</link> <comments>http://www.faqforge.com/linux/redirect-domains-without-www-e-g-domain-com-to-www-domain-com-with-apache-rewrite-rules/#comments</comments> <pubDate>Wed, 14 Oct 2009 14:56:21 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[apache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=236</guid> <description><![CDATA[If all your visitors shall access your website with a URL like www.domain.com and not without www, use the following apache rewrite rule for redirecting them. RewriteEngine On RewriteCond %{HTTP_HOST} !^www RewriteRule (.*) http://www.%{HTTP_HOST}$1 [L,R] The apache rewrite rule can be added in a .htaccess file in the website root directory or if you use [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fredirect-domains-without-www-e-g-domain-com-to-www-domain-com-with-apache-rewrite-rules%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fredirect-domains-without-www-e-g-domain-com-to-www-domain-com-with-apache-rewrite-rules%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If all your visitors shall access your website with a URL like www.domain.com and not without www, use the following apache rewrite rule for redirecting them.</p><p
class="command">RewriteEngine On<br
/> RewriteCond %{HTTP_HOST} !^www<br
/> RewriteRule (.*) http://www.%{HTTP_HOST}$1 [L,R]</p><p>The apache rewrite rule can be added in a .htaccess file in the website root directory or if you use ISPConfig 2 or 3, you can also add the rwrite rule into the apache directives field of the website.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/redirect-domains-without-www-e-g-domain-com-to-www-domain-com-with-apache-rewrite-rules/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to redirect an HTTP connection to HTTPS in apache webserver</title><link>http://www.faqforge.com/linux/controlpanels/how-to-redirect-an-http-connection-to-https-in-apache-webserver/</link> <comments>http://www.faqforge.com/linux/controlpanels/how-to-redirect-an-http-connection-to-https-in-apache-webserver/#comments</comments> <pubDate>Tue, 06 Oct 2009 10:05:23 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Webserver]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=227</guid> <description><![CDATA[Http connections can be redirected to https with the apache mod_rewrite module, which should be available in every apache installation. Create a file with the name .htaccess in the website root directory which contains the following lines: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} If you use ISPConfig 2 or 3, you can add [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-redirect-an-http-connection-to-https-in-apache-webserver%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-redirect-an-http-connection-to-https-in-apache-webserver%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>Http connections can be redirected to https with the apache mod_rewrite module, which should be available in every apache installation. Create a file with the name <span
class="system">.htaccess</span> in the website root directory which contains the following lines:</p><p
class="command">RewriteEngine On<br
/> RewriteCond %{HTTPS} off<br
/> RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}</p><p>If you use ISPConfig 2 or 3, you can add these lines also in the apache directives field of  the website settings form instead of adding them to a .htaccess file. But the approach with the .htaccess file will work on ISPConfig as well.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/how-to-redirect-an-http-connection-to-https-in-apache-webserver/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Change the language of webalizer statistics on Debian and Ubuntu Linux</title><link>http://www.faqforge.com/linux/controlpanels/ispconfig2/change-the-language-of-webalizer-statistics-on-debian-and-ubuntu-linux/</link> <comments>http://www.faqforge.com/linux/controlpanels/ispconfig2/change-the-language-of-webalizer-statistics-on-debian-and-ubuntu-linux/#comments</comments> <pubDate>Fri, 18 Sep 2009 10:35:11 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Webserver]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=209</guid> <description><![CDATA[The language of the generated webslizer statistics is statically compiled into the webalizer binary. To change the language, webalizer has to be recompiled. In the following example, I will recompile webalizer to change the language to german. Uninstall webalizer and install the GD library: apt-get remove webalizer apt-get install libgd2-xpm-dev Download the latest webalizer sources [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fchange-the-language-of-webalizer-statistics-on-debian-and-ubuntu-linux%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fchange-the-language-of-webalizer-statistics-on-debian-and-ubuntu-linux%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>The language of the generated webslizer statistics is statically compiled into the webalizer binary. To change the language, webalizer has to be recompiled. In the following example, I will recompile webalizer to change the language to german.</p><p>Uninstall webalizer and install the GD library:<br
/><pre><p class="command">apt-get remove webalizer
apt-get install libgd2-xpm-dev

Download the latest webalizer sources and uncompress the tar archive:
&lt;p class=&quot;command&quot;&gt;cd /tmp
wget &lt;a href=&quot;http://archive.mgm51.com/mirrors/webalizer-files/webalizer-2.01-10-src.tgz&quot;&gt;http://archive.mgm51.com/mirrors/webalizer-files/webalizer-2.01-10-src.tgz&lt;/a&gt;
tar xzf webalizer-2.01-10-src.tgz
cd webalizer-2.01-10

Reconfigure and compile webalizer
&lt;p class=&quot;command&quot;&gt;./configure --with-language=german
make
make install

Create a symlink so that other applications find the webalizer binary in the common place
&lt;p class=&quot;command&quot;&gt;ln -s /usr/local/bin/webalizer /usr/bin/webalizer</p></pre></p><p>Cleanup</p><p
class="command">rm -f /tmp/webalizer-2.01-10-src.tgz<br
/> rm -rf /tmp/webalizer-2.01-10</p><p>Thanks to <a
href="http://www.howtoforge.de/forum/member.php?u=21" target="_blank">planet_fox</a> for this FAQ.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/ispconfig2/change-the-language-of-webalizer-statistics-on-debian-and-ubuntu-linux/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 10/27 queries in 0.012 seconds using disk

Served from: www.faqforge.com @ 2010-09-09 17:31:30 -->