httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55838] PHP files are being executed instead of downloaded
Date Fri, 20 Mar 2015 20:58:30 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=55838

--- Comment #1 from Anthony <anthony.green@avastechnology.com> ---
You do have the php engine turned off, correct? When I first installed mod_ftp
I had this problem overlapping vHosts on a particular directory. Setting the
php engine to off in the config fixed it.

For Example with a VHost setup:

<IfModule mod_ftp.c>
  <VirtualHost *:990>
    <Directory /XXX/XXX>

      <IfModule mod_php5.c>
        php_admin_flag engine off
      </IfModule>

    </Directory>
  </VirtualHost>
</IfModule>

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message