📜  apache 使用公共文件夹作为根 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:58.230000             🧑  作者: Mango

代码示例1
//ON YOUR APACHE SITE CONFIG FILE:
// In my case my Apache root is: 
//d:\laragon\etc\apache2\sites-enabled\auto.sitetest.test.conf

 
    DocumentRoot "${ROOT}/public"   //public or whatever is your root
    ServerName ${SITE}
    ServerAlias *.${SITE}
    
        AllowOverride All
        Require all granted