zoukankan      html  css  js  c++  java
  • apache虚拟主机防止php网页木马vhost.conf文件配置

    <VirtualHost *>
        DocumentRoot "/www/www.abc.com"
        ServerName www.abc.com
        ServerAlias  abc.com  www.abc.cn abc.cn
        CustomLog "| /usr/sbin/rotatelogs /weblogs/www.abc.com/%Y_%m_%d_access_log 86400 480" common
    
        php_admin_value open_basedir "/www/www.abc.com/:/tmp123/"
        <Directory "/www/www.abc.com/">
            
            #AllowOverride All
            
            Options FollowSymLinks
            
            AllowOverride All
            
            
            Order allow,deny
            allow from all
            #Options +Indexes
            #Options FollowSymLinks
            #AllowOverride All
        </Directory>
        #RewriteEngine on
        #RewriteRule ^/tt_(.*).html$ /t.php?id=$1
    </VirtualHost>
  • 相关阅读:
    Java遍历Map、List、Array
    自签名SSL生成
    oracle_round
    Timestamp_时间戳
    oracle_substr
    eval
    orcale_聚合函数
    oracle_decode
    js_JSON
    sql拼接
  • 原文地址:https://www.cnblogs.com/qkabcd/p/7581125.html
Copyright © 2011-2022 走看看