error_log per Virtual Host?

后端 未结 11 1903
独厮守ぢ
独厮守ぢ 2020-12-02 07:58

On one Linux Server running Apache and PHP 5, we have multiple Virtual Hosts with separate log files. We cannot seem to separate the php error_log between virtu

11条回答
  •  再見小時候
    2020-12-02 08:25

    Create Simple VirtualHost:

    example hostname:- thecontrolist.localhost

    1. C:\Windows\System32\drivers\etc

      127.0.0.1 thecontrolist.localhost in hosts file

    2. C:\xampp\apache\conf\extra\httpd-vhosts.conf

      
        ServerName thecontrolist.localhost
        ServerAlias thecontrolist.localhost
        DocumentRoot "/xampp/htdocs/thecontrolist"
        
          Options +Indexes +Includes +FollowSymLinks +MultiViews
          AllowOverride All
          Require local
        
      
      
    3. Don't Forget to restart Your apache. for more check this link

提交回复
热议问题