suPHP parents directory is not own by defined user or root

root at server1:/root/suPHP/suphp-0.6.3/src# diff -u ./Application.cpp
— ./Application.cpp 2008-04-24 15:21:20.000000000 -0700
+++ ./Application.cpp-dist 2008-03-30 04:43:38.000000000 -0700
@@ -492,14 +492,12 @@
directory = directory.getParentDirectory();

UserInfo directoryOwner = directory.getUser();
if (directoryOwner != owner && !directoryOwner.isSuperUser()) {
std::string error = “Directory ” + directory.getPath()
+ ” is not owned by ” + owner.getUsername();
throw SoftException(error, __FILE__, __LINE__);

if (!directory.isSymlink()
&& !config.getAllowDirectoryGroupWriteable()

Originally found at

Install SSL certificate on postfix and dovecot

Make key file

#openssl genrsa -des3 -out 2048
Generating RSA private key, 1024 bit long modulus
e is 65537 (0x10001)
Enter pass phrase for
Verifying – Enter pass phrase for
# openssl req -new -key -out
Enter pass phrase for
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []:
A challenge password []:
An optional company name []:

Get CRT (GeoTrust, verisign etc)

Remove pass phrase

#openssl rsa -in -out

edit /etc/postfix/

smtpd_use_tls = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_key_file = /etc/pki/tls/certs/
smtpd_tls_cert_file = /etc/pki/tls/certs/

edit /etc/dovecot.conf

ssl_disable = no
ssl_cert_file = /etc/pki/tls/certs/
ssl_key_file = /etc/pki/tls/certs/

restart postfix and dovecot

Reinstall yum package

as you might know, yum does not provide re-install functionality,

for re-installing yum installed application following methods may useful

yum install yum-utils
yumdownloader package
rpm -Uvh –force downloadedpackages

Google Mobile htaccess for japan region

RewriteEngine on

RewriteCond %{HTTP_USER_AGENT} ^DoCoMo.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^KDDI.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Vodafone.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^SoftBank.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^J-PHONE.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Mozilla.+DDIPOCKET.* [OR]

RewriteCond %{HTTP_USER_AGENT} ^Mozilla.+WILLCOM.*

RewriteRule ^$ [R,L]

automated network folder mount script for mac

set myip to do shell script “ifconfig | grep ‘broadcast’ | awk ‘{print $6}'”
if myip = “” then
mount volume “smb://workgroup;username:password@”
display dialog “Not able to connect server” buttons {“ok”} default button “ok”
end if

gdm error after while…..

ns2 ~ # /usr/bin/gdm

/usr/bin/gdm: error while loading shared libraries: cannot open shared object file: No such file or directory

Revdep-rebuild should find out the problem for you, the most obvious reason whyit might not is if a previous run of revdep-rebuild did not complete and thetemporary files were still present.  Please try running “revdep-rebuild -i” toensure that the temporary files are cleaned out.  If you do this before trying to re-emerge totem-pl-parser, you can test whether it spots, it and then againwhether totem-pl-parser fixes the problem.

If after you’ve got the results the problem hasn’t been fixed, orrevdep-rebuild wasn’t correctly finding the issue, then please feel free to reopen this bug…  5:)

safari 4 extra tips

$ strings /Applications/ | grep DebugSafari4

How to use example
defaults write DebugSafari4TabBarIsOnTop -bool NO
defaults delete DebugSafari4TabBarIsOnTop
defaults write DebugSafari4LoadProgressStyle -bool NO

— become — on wordpress

— or — become — on wordpress 2.7
to avoid it. change formatting.php in wp-include folder.

line 47 before:
$static_characters = array_merge(array(‘—‘, ‘ — ‘, ‘–‘, ‘xn–’, ‘…’, ‘“’, ‘\’s’, ‘\’\”, ‘ ™’), $cockney);
$static_replacements = array_merge(array(‘—’, ‘ — ‘, ‘—’, ‘xn--‘, ‘…’, ‘“’, ‘’s’, ‘”’, ‘ ™’), $cockneyreplace);

line 47 after:
$static_characters = array_merge(array(‘—‘, ‘ — ‘, ‘–‘, ‘xn–’, ‘…’, ‘“’, ‘\’s’, ‘\’\”, ‘ ™’), $cockney);
$static_replacements = array_merge(array(‘—‘, ‘ — ‘, ‘–‘, ‘xn--‘, ‘…’, ‘“’, ‘’s’, ‘”’, ‘ ™’), $cockneyreplace);