<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Takahisa's Weblog</title>
	<link>http://takahisa.info</link>
	<description>weblog of lifetips?</description>
	<lastBuildDate>Thu, 11 Mar 2010 06:11:53 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Setup dkim on postfix with amavisd-new</title>
		<description><![CDATA[step by step instruction coming soon&#8230;
Setting up DKIM mail signing and verification from http://www.ijs.si/software/amavisd/
Setting up DKIM mail signing and verification
A DKIM standard (RFC 4871) states the following, which applies
to its predecessor DomainKeys (historical: RFC 4870) as well:


DomainKeys Identified Mail (DKIM) defines a mechanism by which email
messages can be cryptographically signed, permitting a signing domain
to claim [...]]]></description>
		<link>http://takahisa.info/2010/03/11/setup-dkim-on-postfix-with-amavisd-new/</link>
			</item>
	<item>
		<title>mod_php and suphp at same time</title>
		<description><![CDATA[/etc/suphp.conf
[global]
  logfile=/var/log/httpd/suphp_log
  loglevel=warn
  webserver_user=apache
  docroot=/home
  env_path=/bin:/usr/bin
  umask=0077
  min_uid=500
  min_gid=500
; Security options
  allow_file_group_writeable=false
  allow_file_others_writeable=false
  allow_directory_group_writeable=false
  allow_directory_others_writeable=false
;Check wheter script is within DOCUMENT_ROOT
  check_vhost_docroot=false
;Send minor error messages to browser
  errors_to_browser=true
[handlers]
  ;Handler for php-scripts
  ;x-httpd-php=php:/usr/bin/php
  x-httpd-php=&#34;php:/usr/bin/php-cgi&#34;
;Handler for CGI-scripts
  x-suphp-cgi=execute:!self

/etc/httpd/conf.d/su.php
# This is [...]]]></description>
		<link>http://takahisa.info/2010/03/11/mod_php-and-suphp-at-same-time/</link>
			</item>
	<item>
		<title>suPHP parents directory is not own by defined user or root</title>
		<description><![CDATA[root at server1:/root/suPHP/suphp-0.6.3/src# diff -u ./Application.cpp
./Application.cpp-dist
&#8212; ./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();
-#ifndef OPT_USERGROUP_OWNER
        [...]]]></description>
		<link>http://takahisa.info/2010/03/11/suphp-parents-directory-is-not-own-by-defined-user-or-root/</link>
			</item>
	<item>
		<title>Install SSL certificate on postfix and dovecot</title>
		<description><![CDATA[Make key file
#openssl genrsa -des3 -out example.com.key 1024
Generating RSA private key, 1024 bit long modulus
&#8230;&#8230;&#8230;&#8230;..++++++
..++++++
e is 65537 (0&#215;10001)
Enter pass phrase for example.com.key:
Verifying &#8211; Enter pass phrase for example.com.key:
# openssl req -new -key example.com.key -out example.com.csr
Enter pass phrase for example.com.key:
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name [...]]]></description>
		<link>http://takahisa.info/2010/03/11/install-ssl-certificate-on-postfix-and-dovecot/</link>
			</item>
	<item>
		<title>Reinstall yum package</title>
		<description><![CDATA[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 &#8211;force downloadedpackages
]]></description>
		<link>http://takahisa.info/2009/06/10/reinstall-yum-package/</link>
			</item>
	<item>
		<title>Google Mobile htaccess for japan region</title>
		<description><![CDATA[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 ^$ http://www.google.com/gwt/n?u=http://www.example.com [R,L]
]]></description>
		<link>http://takahisa.info/2009/06/10/google-mobile-htaccess-for-japan-region/</link>
			</item>
	<item>
		<title>automated network folder mount script for mac</title>
		<description><![CDATA[set myip to do shell script &#8220;ifconfig &#124; grep &#8216;broadcast&#8217; &#124; awk &#8216;{print $6}&#8217;&#8221;
if myip = &#8220;10.168.1.255&#8243; then
mount volume &#8220;smb://workgroup;username:password@10.168.1.254/path/&#8221;
else
display dialog &#8220;Not able to connect server&#8221; buttons {&#8220;ok&#8221;} default button &#8220;ok&#8221;
end if

]]></description>
		<link>http://takahisa.info/2009/03/14/automated-network-folder-mount-script-for-mac/</link>
			</item>
	<item>
		<title>adding a startup script ubuntu</title>
		<description><![CDATA[update-rc.d foo defaults
you also need script be executable
chmod +x foo
]]></description>
		<link>http://takahisa.info/2009/03/14/adding-a-startup-script-ubuntu/</link>
			</item>
	<item>
		<title>install webmin on ubuntu</title>
		<description><![CDATA[$ sudo dpkg -i webmin_1.420_all.deb
$ sudo apt-get -f install
]]></description>
		<link>http://takahisa.info/2009/03/14/install-webmin-on-ubuntu/</link>
			</item>
	<item>
		<title>gdm error after while&#8230;..</title>
		<description><![CDATA[ns2 ~ # /usr/bin/gdm
/usr/bin/gdm: error while loading shared libraries: libdirectfb-0.9.so.25: 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 &#8220;revdep-rebuild -i&#8221; [...]]]></description>
		<link>http://takahisa.info/2009/03/14/gdm-error-after-while/</link>
			</item>
</channel>
</rss>
