automatic htaccess creation

woostar

Member
Mar 13, 2011
7
0
51
.htaccess files keep getting created.

All my websites stop working and start downloading php files to users browsers.

I need it to stop.

Please please please can someone tell me how to stop this code getting added to .htaccess?
I don't use htaccess's I use virtualhost conf.d/includes.
Apache config:
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
 
Last edited:

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
6,762
535
263
Houston
cPanel Access Level
DataCenter Provider
As far as I understand it there is no supported method to keep this from being created. It's done automatically by cPanel. What are you adding in the VirtualHost include?