Apache

TT-RSS Update daemon keeps killing other processes

http://tt-rss.org/redmine/issues/417

Workaround:

don’t run the update daemon as root!

By WladyX on 16 January, 2012 | Apache | A comment?

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
By WladyX on 29 December, 2011 | Apache, Ubuntu | A comment?

Snowy Tomboy server

emerge python-dateutil python-openid django pysqlite pytz lxml

cd /var/www
git clone http://git.gnome.org/browse/snowy

cd snowy_directory
cp local_settings.py.in local_settings.py

python manage.py syncdb
python manage.py runserver

You need to set the sites variable to the site name you are going to be connecting to.

https://localhost/admin/sites/site/

Update example.com to have your hostname.

source1 source2 source3

By WladyX on 18 July, 2011 | Apache | A comment?

Firefox Python Sync Server

fallback_node = http://localhost:5000/

source

[storage]
 backend = syncstorage.storage.sql.SQLStorage
 …
 [auth]
 backend = services.auth.sql.SQLAuth
 …

source

apache:
<Directory /path/to/sync>
  Order deny,allow
  Allow from all
</Directory>

<VirtualHost \*:80>
  ServerName example.com
  DocumentRoot /path/to/sync
  WSGIProcessGroup sync
  WSGIDaemonProcess sync user=sync group=sync processes=2 threads=25
  WSGIPassAuthorization On
  WSGIScriptAlias / /path/to/sync/sync.wsgi
  CustomLog /var/log/apache2/example.com-access.log combined
  ErrorLog  /var/log/apache2/example.com-error.log
</VirtualHost>

source

howto otherinfo
By WladyX on 15 July, 2011 | Apache, Firefox | A comment?

SSL not working with IE but does in Firefox

Add:

+OptRenegotiate

source

By WladyX on 26 May, 2011 | Apache | A comment?

phpsysinfo upgrade

Merge:

config.php
plugins/SMART/SMART.config.php

By WladyX on 21 April, 2011 | Apache, Upgrade | A comment?

gentoo php update to 5.3.4

problem:

# service apache2 start
* apache2 has detected an error in your setup:
apache2: Syntax error on line 169 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory

solution:

eselect php set apache2 php5.3

source

By WladyX on 15 March, 2011 | Apache | A comment?

Auto Update WordPress Without FTP

upgrade plugins without ftp credentials.

wp-config.php:
define('FS_METHOD','direct');

By WladyX on 27 August, 2010 | Apache, General, Wordpress | A comment?

Proxy internal site with Apaches’ Proxy module

reverse proxy

source

By WladyX on 14 April, 2010 | Apache, General, Security | A comment?

Awstats on Ubuntu

By WladyX on 24 March, 2010 | Apache, Mail, Ubuntu | A comment?