You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/03/20 21:58:30 UTC

[Bug 55838] PHP files are being executed instead of downloaded

https://bz.apache.org/bugzilla/show_bug.cgi?id=55838

--- Comment #1 from Anthony <an...@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