CONTENTS
#contents
----
Lastmodified &lastmod;
----
*Dot htaccess de リダイレクト [#h63145f5]
www.kuji-clinic.net/wordpress と www.kuji-clinic.info/wordpress の内容が同一なので、net に来たアクセスを info にリダイレクトする。
www.kuji-clinic.net/usr/local/etc/apache24/Includes/wordpress.conf
Alias /wordpress /usr/local/www/wordpress/
<Directory "/usr/local/www/wordpress/">
# Options none
Options Indexes FollowSymLinks
# AllowOverride Limit
AllowOverride All
Require all denied
Require all granted
#Require host smb.net
#Require host 172.16.1.139
</Directory>
/usr/local/www/wordpress/.htaccess
RewriteEngine On
RewriteCond %{http_host} ^www.kuji-clinic.net
#RewriteRule ^(.*) http://www.kuji-clinic.info/wordpress/$1 [R=301,L]
RewriteRule ^(.*) http://www.kuji-clinic.info/$1 [R=301,L]
http://www.ikuwow.com/blog/htaccess_redirect/
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);