Quantcast
Channel: Linux T&T » Apache
Browsing all 16 articles
Browse latest View live

Ubuntu VirtualHost overlap on port 443, the first has precedence

log: [warn] _default_ VirtualHost overlap on port 443,the first has precedence solution: add NameVirtualHost *:443 to /etc/apache2/ports.conf source

View Article



TT-RSS Update daemon keeps killing other processes

http://tt-rss.org/redmine/issues/417 Workaround: don’t run the update daemon as root!

View Article

StartSSL certificate generation

validate email validate domain generate certificate

View Article

Access denied in logfiles for AWSTATS

chmod 644 -R /var/log/apache2/* chmod 755 /var/log/apache2 edit your /etc/logrotate.d/apache2 conf file and change: create 640 root adm with create 644 root adm Remember to restart apache unix:~#...

View Article

Firefox Python Sync Server 2

new install: cd /var/www/fsync hg clone https://hg.mozilla.org/services/server-full . make build apt-get install libmysqlclient-dev bin/easy_install Mysql-Python upgrade: cd /var/www/fsync hg pull hg...

View Article


git update phpmyadmin

# cd phpmyadmin/ # git clone --depth=1 git://github.com/phpmyadmin/phpmyadmin.git . # git checkout --track -b PMASTABLE origin/STABLE for updating: # cd phpmyadmin/ #git pull for conflicts: Discard...

View Article

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 Article

Debian / Ubuntu: Apache2 Change Default Port / IP Binding

# vi /etc/apache2/ports.conf Listen 202.54.1.2:80 source

View Article


Configuring Apache and Nginx

http://www.packtpub.com/article/configuring-apache-and-nginx

View Article


PHP security tips

http://blog.up-link.ro/php-security-tips-securing-php-by-hardening-php-configuration/

View Article

Error Start Apache “php value”

bash# vi /etc/httpd/conf/httpd.conf LoadModule php5_module ../modules/libphp5.so bash# apachectl restart source

View Article

Seperate 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 Article

nginx 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 Article


Apache 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 Article

apache 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 Article


debian 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
Browsing all 16 articles
Browse latest View live




Latest Images