C
Cepe
Guest
Hi,
how can I disable that .txt files get parsed by php?
On my old server (with Plesk 7.5) I had a .txt file which contained php code (including the opening <?php and closing tags ?>) with some example code for download.
Now, after upgrading to a new server with Plesk 8.3, this .txt file with example code gets parsed by php just like a regular .php file.
I have checked the /etc/httpd/conf.d/php.conf file (which I have not changed) and it only has
AddHandler php5-script .php
AddType text/html .php
written in it (among some other lines, but nothing with .txt).
Gladly awaiting any ideas,
Cepe.
how can I disable that .txt files get parsed by php?
On my old server (with Plesk 7.5) I had a .txt file which contained php code (including the opening <?php and closing tags ?>) with some example code for download.
Now, after upgrading to a new server with Plesk 8.3, this .txt file with example code gets parsed by php just like a regular .php file.
I have checked the /etc/httpd/conf.d/php.conf file (which I have not changed) and it only has
AddHandler php5-script .php
AddType text/html .php
written in it (among some other lines, but nothing with .txt).
Gladly awaiting any ideas,
Cepe.