Error while adding Apache directive to Vhost

Discussion in 'ISPConfig 3 Priority Support' started by pawan, Oct 22, 2017.

  1. pawan

    pawan Member

    I have created a Apache directive in ISPCONFIG. When I tried to add the same to website, it returns the error like this:
    Code:
    apache_directive_blocked_error
    Include /etc/apache2/custom.d/globalblacklist.conf
    the directive I am trying to add is like this:
    Code:
    <Location "/">
    Include /etc/apache2/custom.d/globalblacklist.conf
    </Location>
    but If I add the same directive to /etc/apache2/sites-available/thedomain.tld.vhost - manually without ISPCOFNIG interface it works fine without any issue.
     
    Last edited: Oct 22, 2017
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig does not allow you to add includes in the apache directives field for security reasons.
     
  3. pawan

    pawan Member

    Thanks. I didn't knew that.
     

Share This Page