Before we had I belive it was called PHP Manager - this was just a simple way for me to go in and change my php from 5 to 7 that it..
As Joomla now require higher version I asked my Hosting Company to allow me to go higher..
So they installed on my VPS (WHM)
With the update to EasyApache, the hosting system was able to update to the latest cPanel version. This included two new tools within the cPanel interface for adjusting PHP values for the account: MultiPHP INI Editor and MultiPHP Manager .
Then right after this upgrade some of my Joomla sites I coudn't access the ADMIN folder with your String for extra security
http://vbyc.ca/administrator/index.php?4P5siyka
So I disable the admin tools but that didn't work - thought it was somehting to do with my Directory Security, that didn't work..
Then After numerious calles with there support team and looking at some stuff I noticed that this new MultiPHP Manager put on the bottom of the public_html .htaccess file
# BEGIN cPanel-generated php ini directives, do not edit # Manual editing of this file may result in unexpected behavior. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) <IfModule php5_module> php_flag asp_tags Off php_flag display_errors Off php_value max_execution_time 300 php_value max_input_time 600 php_value max_input_vars 1000 php_value memory_limit 512M php_value post_max_size 256M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php54" php_value upload_max_filesize 256M php_flag zlib.output_compression Off </IfModule> # END cPanel-generated php ini directives, do not edit # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php70” package as the default “PHP” programming language. <IfModule mime_module> AddType application/x-httpd-ea-php70 .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit
As this code wasn't in my .htacess file before the MULITPHP MANAGER WAS INSTALLED. And inmotionhosting told me and told me that I PUT THIS IN MY .htaccess file over and over.. but it was this new Multiphp manager that did this.. And before this code my http://vbyc.ca/administrator/index.php?4P5siyka worked I could go in and do what i wanted..
So after another Support EMAIL they are tell me this. - that the OLD WORKING .HTACCESS FILE is causing the issues that was generated from akeeba ADMIN. that was working just fine.. (I have 34 sites and only 4 of them are having this issue)
As there seems to be some confusion regarding the .htaccess coding these tools use, I will clear this up first. The MultiPHP INI Editor editor allow for adjusting PHP values on a per domain basis and results in the following coding being added to the .htaccess file for the site to set these values locally:
<IfModule php5_module>
php_flag asp_tags Off
php_flag display_errors Off
php_value max_execution_time 300
php_value max_input_time 600
php_value max_input_vars 1000
php_value memory_limit 512M
php_value post_max_size 256M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php54"
php_value upload_max_filesize 256M
php_flag zlib.output_compression Off
</IfModule>
The above lines are simply limit values for PHP. The MultiPHP Manager tool allows modification of the PHP version used to load the site and appends the following type of lines to specify the version to use:
<IfModule mime_module>
AddType application/x-httpd-ea-php70 .php .php7 .phtml
</IfModule>
Both these blocks of code specifically apply to PHP and would not directly affect any redirect coding also in the .htaccess. Knowing this, we have reviewed the .htaccess file to see if any specific coding could be linked to the reported 404 error at "https://bordercityaviation.com/administrator". We found that when specifically removing the following coding in the .htaccess the administrator page loads on our end, but when this coding is replaced the 404 error does recur:
##### Joomla! core SEF Section -- BEGIN
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.[^.]+)$ [NC]
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteRule .* index.php [L]
##### Joomla! core SEF Section -- END
For the time being, we have commented out this redirect coding within the .htaccess to prevent it from being run. We would advise to reach out to a Joomla! developer for diagnosis of this redirection itself. If they feel its necessary, we're more than happy to make any system level changes they recommend.
Sorry for this long email - As i'm just lost on this issue..