Hello,
I'm developing a new MODX site at a VPS hosting location which has an already active .htaccess file. This file was generated via CPanel and sets the PHP version and I need to use it.
When I develop the MODX site I'll need to switch on FURLs and obviously then I'll have
two .htaccess files (the CPanel and MODX versions), which I imagine will cause a problem.
I need to know if I can just safely copy the contents of the CPanel generated .htaccess file
into the MODX ht.access file, prior to switching on FURL's.
Here are the contents of the CPanel generated .htaccess file, which sets the PHP version:
RewriteOptions inherit
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
AddType application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Can I safely add that to the MODX ht.access file?
For the record, I'm reaching the site being developed via my hostfile - the DNS hasn't been pointed to the dev site as-yet. (not sure if that makes any difference whatsoever but I mention it here just incase).
Thanks in advance
[ed. note: powellian last edited this post 6 years, 9 months ago.]