grabyourhosting

Well-Known Member
Jan 18, 2007
88
4
158
cPanel Access Level
Root Administrator
Why is it if I enable mod_ruid2 under cgi handler everything is fine but if I enable dso it downloads php files under Easy Apache 4? I have never had this issue with Easy Apache 3. I had the same issue with multiple servers. Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello,

Could you let us know the contents of the .htaccess file within the document root of one of the affected websites?

Thank you.
 

grabyourhosting

Well-Known Member
Jan 18, 2007
88
4
158
cPanel Access Level
Root Administrator
Code:
# Wordfence WAF
<Files ".user.ini">
<IfModule mod_authz_core.c>
    Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
</IfModule>
</Files>

# END Wordfence WAF

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

# 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-php .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello,

Could you open a support ticket using the link in my signature so we can take a closer look?

Thank you.