Setup multi version PHP on same server

LoadModule fastcgi_module /usr/local/Cellar/mod_fastcgi/2.4.6/libexec/

SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1

FastCgiExternalServer /Work/domains/cgi-bin/php54-fcgi -idle-timeout 60 -host -pass-header Authorization
AddHandler php54-fcgi .php
Action php54-fcgi /php54-fcgi
Alias /php54-fcgi /Work/domains/cgi-bin/php54-fcgi

FastCgiExternalServer /Work/domains/cgi-bin/php55-fcgi -idle-timeout 60 -host -pass-header Authorization
# AddHandler php55-fcgi .php
Action php55-fcgi /php55-fcgi
Alias /php55-fcgi /Work/domains/cgi-bin/php55-fcgi

FastCgiExternalServer /Work/domains/cgi-bin/php53-fcgi -idle-timeout 60 -host -pass-header Authorization
# AddHandler php53-fcgi .php
Action php53-fcgi /php53-fcgi
Alias /php53-fcgi /Work/domains/cgi-bin/php53-fcgi


RHEL 6/ CentOS 6: Slow SSH logins with DNS timeouts

If you’re experiencing slow logins via SSH on a Red Hat Enterprise 6 or CentOS 6 system, it’s probably caused by DNS that is taking too long to respond. Even with correct nameservers in /etc/resolv.conf, you may still find yourself stuck with slow logins.

The solution is to add the following line to your /etc/resolv.conf. Just add it all the way at the bottom, as the last line.

options single-request-reopen

That should fix your slow SSH logins, given you have valid and fast-responding nameservers in your /etc/resolv.conf.


SSH tunneling for proxy

ssh -f [email protected] -L -N

The -f tells ssh to go into the background just before it executes the command. This is followed by the username and server you are logging into. The -L is in the form of -L local-port:host:remote-port. Finally the -N instructs OpenSSH to not execute a command on the remote system.

This essentially forwards the local port 2000 to port 25 on over, with nice benefit of being encrypted. I then simply point my E-mail client to use localhost:2000 as the SMTP server and we’re off to the races.


iFolder 3.8.3 error in windows 7

Here’s what is now working for me.
OpenSuse 11.3 x64 and iFolder server / client, openLDAP, Windows 7 x64.

To re-summarize my problem, I was able to use the web interface (both /admin and /ifolder) without trouble. I could also use the 32 bit client with 32 bit Win XP. I could not use the client with Windows 7 (x64 or 32).

The solution was to:
1) Issue an SSL cert that referenced the server’s FQDN.
I.E. gensslcert –n
2) Configure simias for this FQDN.
I.E. simias-server-setup -> -> both the public and private interface
3) Edit /etc/apache2/vhosts.d/vhosts-ssl.conf
uncomment and edit the ServerName line to read as below

iFolder night update version repo for openSUSE 11.3
name=iFolder Client Daily Builds (openSUSE_11.3)

name=iFolder Server Daily Builds (openSUSE_11.3)