欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

SetEnv apache httpd.conf 中 SetEnv 应该放在虚拟机的外面 有大用

<VirtualHost *:80>
    ServerName my.cistudy.com
    #ServerAlias  dedecmsv57gbk.shi   
    DocumentRoot D:/xampputf8/htdocs/cistudy
    #ErrorLog logs/error_log
    #CustomLog logs/access_log combined
    <Directory "D:/xampputf8/htdocs/cistudy">
        Options All
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
SetEnv APP_ENV "local"
<VirtualHost *:80>
    ServerName my.tuiguang.com
    #ServerAlias  dedecmsv57gbk.shi   
    DocumentRoot D:/xampputf8/htdocs/tuiguang/public
    #ErrorLog logs/error_log
    #CustomLog logs/access_log combined
    <Directory "D:/xampputf8/htdocs/tuiguang/public">
        Options All
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
普通分类: