This is virtualhost setting for php.
Apr 17, 2009Recently I set these setting for apache server.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<virtualhost *:80> ServerName hoge.com ServerAlias www.hoge.com DocumentRoot "/home/hoge/hoge.com/www/" php_admin_value open_basedir "/home/hoge/hoge.com/www//:/tmp/" < Directory ~ "/..+/"> Order Deny,Allow Deny from All </Directory> < Directory "/home/hoge/public/www/"> Options All AllowOverride All </Directory> |
php_admin_value
It can set access by user directory.
Directory ~ “/..+/”
It can’t access .filename by Http.It is like .svn.
Twitter:
Warning: Undefined array key "Twitter" in /home/sazaeau/mizoshiri.com/public_html/blog.mizoshiri.com/wp-content/plugins/sns-count-cache/sns-count-cache.php on line 2897
0 | Facebook: 0 | Google Plus:
Warning: Undefined array key "Google+" in /home/sazaeau/mizoshiri.com/public_html/blog.mizoshiri.com/wp-content/plugins/sns-count-cache/sns-count-cache.php on line 2897
0 | Hatena: 0 | Pocket: 0 | Total: 0 | Feedly: 0