svn update postfixadmin
# cd postfixadmin # svn co https://postfixadmin.svn.sourceforge.net/svnroot/postfixadmin/tags/postfixadmin-2.3.5/ . # vimdiff config.inc.php old/config.inc.php for updating: # cd postfixadmin # svn sw...
View ArticleDebian / Ubuntu: Apache2 Change Default Port / IP Binding
# vi /etc/apache2/ports.conf Listen 202.54.1.2:80 source
View ArticleConfiguring Apache and Nginx
http://www.packtpub.com/article/configuring-apache-and-nginx
View ArticlePHP security tips
http://blog.up-link.ro/php-security-tips-securing-php-by-hardening-php-configuration/
View ArticleError Start Apache “php value”
bash# vi /etc/httpd/conf/httpd.conf LoadModule php5_module ../modules/libphp5.so bash# apachectl restart source
View ArticleSeperate php pool restart
root@wild# ps a | grep fpm 26028 pts/3 S+ 0:00 php-fpm: master process (/usr/local/php-trunk/etc/php-fpm.conf) 26030 pts/3 S+ 0:00 php-fpm: pool www_direct 26031 pts/3 S+ 0:00 php-fpm: pool www_direct...
View Articlenginx self signed certs
sudo mkdir /etc/nginx/ssl cd /etc/nginx/ssl sudo openssl genrsa -des3 -out server.key 1024 sudo openssl req -new -key server.key -out server.csr sudo cp server.key server.key.org sudo openssl rsa -in...
View ArticleApache password authentication except ip addresses
You need to look at the order and satisfy keywords. Working example from my website is below. First we tell that we accept either the IP or USER. Then we define htpasswd file path and that we accept...
View Articleapache htaccess redirect
redirect http://www.domain.com/test123/ham?qwert_id=13 to http://www.domain.com/test123/ham?qwert_id=16 RewriteCond %{QUERY_STRING} ^qwert_id=13$ RewriteRule ^test123/ham$...
View Articledebian apache ssl self signed certificate
mkdir -p /etc/ssl/localcerts openssl req -new -x509 -days 365 -nodes -out /etc/ssl/localcerts/apache.pem -keyout /etc/ssl/localcerts/apache.key chmod 600 /etc/ssl/localcerts/apache* a2enmod ssl...
View Article
More Pages to Explore .....