diff --git a/.htaccess b/.htaccess index 425d01d..bea3e6e 100644 --- a/.htaccess +++ b/.htaccess @@ -23,13 +23,8 @@ Options +FollowSymlinks Options -Indexes ## Mod_rewrite in use. - RewriteEngine On - - - - ## Begin - Rewrite rules to block out some common exploits. # If you experience problems on your site block out the operations listed below # This attempts to block the most common type of exploit `attempts` to Joomla! @@ -55,9 +50,6 @@ RewriteRule .* index.php [F] # RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ https://%1/$1 [R=301,L] -RewriteCond %{SERVER_PORT} 80 -RewriteRule ^(.*)$ https://developer.joomla.org/$1 [R,L] - ## End - Custom redirects ########################################### @@ -177,24 +169,6 @@ RewriteRule .* index.php [L] # ## End - Joomla! core SEF Section. -# 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) - - php_flag display_errors Off - php_value max_execution_time 30 - php_value max_input_time 60 - php_value max_input_vars 1000 - php_value memory_limit 1024M - php_value post_max_size 16M - php_value session.gc_maxlifetime 1440 - php_value session.save_path "/var/cpanel/php/sessions/ea-php70" - php_value upload_max_filesize 16M - php_flag zlib.output_compression Off - -# END cPanel-generated php ini directives, do not edit - ##################### Security Header ##################### # X-XSS-Protection @@ -211,10 +185,3 @@ RewriteRule .* index.php [L] Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://hcaptcha.com https://*.hcaptcha.com https://*.google-analytics.com https://*.googletagmanager.com https://*.googleapis.com https://*.gstatic.com https://*.google.com https://*.joomla.org https://*.pingdom.net https://*.doubleclick.net https://*.googleapis.com; style-src 'self' 'unsafe-inline' https://*.joomla.org https://hcaptcha.com https://*.hcaptcha.com https://fonts.googleapis.com https://stackpath.bootstrapcdn.com; connect-src 'self' https://*.joomla.org https://*.pingdom.net https://*.google-analytics.com https://*.doubleclick.net; frame-src 'self' https://hcaptcha.com https://*.hcaptcha.com https://*.google.com https://www.googletagmanager.com https://www.youtube.com; font-src 'self' https://fonts.gstatic.com https://*.joomla.org; img-src 'self' data: https://*.google-analytics.com https://*.googletagmanager.com https://*.joomla.org https://*.pingdom.net https://*.doubleclick.net https://*.gstatic.com https://*.google.com https://*.googleapis.com; frame-ancestors 'self'; report-uri https://joomla.report-uri.com/r/t/csp/enforce" ##################### Security Header - -# php -- BEGIN cPanel-generated handler, do not edit -# Set the “ea-php72” package as the default “PHP” programming language. - - AddHandler application/x-httpd-ea-php72 .php .php7 .phtml - -# php -- END cPanel-generated handler, do not edit