| Current Path : /home3/iesccomm/public_html/ |
| Current File : /home3/iesccomm/public_html/.htaccess_back |
# Use PHP7.3 as default
# AddHandler application/x-httpd-ea-php73 .php
##
# @package Joomla
# @copyright Copyright (C) 2005 - 2018 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##
##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line 'Options +FollowSymLinks' may cause problems with some server configurations.
# It is required for the use of mod_rewrite, but it may have already been set by your
# server administrator in a way that disallows changing it in this .htaccess file.
# If using it causes your site to produce an error, comment it out (add # to the
# beginning of the line), reload your site in your browser and test your sef urls. If
# they work, then it has been set by your server administrator and you do not need to
# set it here.
##
## No directory listings
<IfModule autoindex>
IndexIgnore *
</IfModule>
## Can be commented out if causes errors, see notes above.
# For security reasons, Option followsymlinks cannot be overridden.
#Options +FollowSymlinks
Options +SymLinksIfOwnerMatch
Options -Indexes
## Mod_rewrite in use.
RewriteEngine On
## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site then comment out the operations listed
# below by adding a # to the beginning of the line.
# This attempts to block the most common type of exploit `attempts` on Joomla!
#
# Block any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root home page
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.
## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects
##
# Uncomment the following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
# RewriteBase /
## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
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)
<IfModule php7_module>
# php_flag engine On
# php_flag short_open_tag On
# php_value precision 14
# php_value output_buffering Off
# php_flag zlib.output_compression Off
# php_flag implicit_flush Off
# php_value serialize_precision 100
# php_flag zend.enable_gc On
# php_value max_execution_time 3600
# php_value max_input_time 3600
# php_value max_input_vars 1000
# php_value memory_limit 512M
# php_value error_reporting E_ALL & ~E_NOTICE
# php_flag display_errors On
# php_flag display_startup_errors Off
# php_flag log_errors Off
# php_flag log_errors Off
# php_flag ignore_repeated_errors Off
# php_flag ignore_repeated_source Off
# php_flag report_memleaks On
# php_flag html_errors On
# php_value error_log "error_log"
# php_value variables_order "GPCS"
# php_value request_order "GP"
# php_flag register_argc_argv On
# php_flag auto_globals_jit On
# php_value post_max_size 64M
# php_value default_mimetype "text/html"
# php_value default_charset "UTF-8"
# php_value upload_max_filesize 64M
# php_value default_socket_timeout 60
# php_flag cli_server.color On
# php_value date.timezone "UTC"
# php_flag mail.add_x_header On
# php_value odbc.defaultlrl 4096
# php_value odbc.defaultbinmode 1
# php_value ibase.timestampformat "%Y-%m-%d %H:%M:%S"
# php_value ibase.dateformat "%Y-%m-%d"
# php_value ibase.timeformat "%H:%M:%S"
# php_value mysqli.default_port 3306
# php_value pgsql.ignore_notice 0
# php_value pgsql.log_notice 0
# php_value bcmath.scale 0
# php_value session.save_handler "files"
# php_value session.save_path "/tmp"
# php_flag session.use_strict_mode Off
# php_flag session.use_cookies On
# php_flag session.use_only_cookies On
# php_value session.name "PHPSESSID"
# php_flag session.auto_start Off
# php_value session.cookie_lifetime 0
# php_value session.cookie_path "/"
# php_value session.serialize_handler "php"
# php_value session.gc_probability 0
# php_value session.gc_divisor 0
# php_value session.gc_maxlifetime 1440
# php_value session.cache_limiter "nocache"
# php_value session.cache_expire 180
# php_flag session.use_trans_sid Off
# php_value session.hash_function "0"
# php_value session.hash_bits_per_character 5
# php_value url_rewriter.tags "a=href,area=href,frame=src,input=src,form=fakeentry"
# php_flag tidy.clean_output Off
# php_flag soap.wsdl_cache_enabled On
# php_value soap.wsdl_cache_dir "/tmp"
# php_value soap.wsdl_cache_ttl 86400
# php_value soap.wsdl_cache_limit 5
</IfModule>
<IfModule lsapi_module>
# php_flag engine On
# php_flag short_open_tag On
# php_value precision 14
# php_value output_buffering Off
# php_flag zlib.output_compression Off
# php_flag implicit_flush Off
# php_value serialize_precision 100
# php_flag zend.enable_gc On
# php_value max_execution_time 3600
# php_value max_input_time 3600
# php_value max_input_vars 1000
# php_value memory_limit 512M
# php_value error_reporting E_ALL & ~E_NOTICE
# php_flag display_errors On
# php_flag display_startup_errors Off
# php_flag log_errors Off
# php_flag log_errors Off
# php_flag ignore_repeated_errors Off
# php_flag ignore_repeated_source Off
# php_flag report_memleaks On
# php_flag html_errors On
# php_value error_log "error_log"
# php_value variables_order "GPCS"
# php_value request_order "GP"
# php_flag register_argc_argv On
# php_flag auto_globals_jit On
# php_value post_max_size 64M
# php_value default_mimetype "text/html"
# php_value default_charset "UTF-8"
# php_value upload_max_filesize 64M
# php_value default_socket_timeout 60
# php_flag cli_server.color On
# php_value date.timezone "UTC"
# php_flag mail.add_x_header On
# php_value odbc.defaultlrl 4096
# php_value odbc.defaultbinmode 1
# php_value ibase.timestampformat "%Y-%m-%d %H:%M:%S"
# php_value ibase.dateformat "%Y-%m-%d"
# php_value ibase.timeformat "%H:%M:%S"
# php_value mysqli.default_port 3306
# php_value pgsql.ignore_notice 0
# php_value pgsql.log_notice 0
# php_value bcmath.scale 0
# php_value session.save_handler "files"
# php_value session.save_path "/tmp"
# php_flag session.use_strict_mode Off
# php_flag session.use_cookies On
# php_flag session.use_only_cookies On
# php_value session.name "PHPSESSID"
# php_flag session.auto_start Off
# php_value session.cookie_lifetime 0
# php_value session.cookie_path "/"
# php_value session.serialize_handler "php"
# php_value session.gc_probability 0
# php_value session.gc_divisor 0
# php_value session.gc_maxlifetime 1440
# php_value session.cache_limiter "nocache"
# php_value session.cache_expire 180
# php_flag session.use_trans_sid Off
# php_value session.hash_function "0"
# php_value session.hash_bits_per_character 5
# php_value url_rewriter.tags "a=href,area=href,frame=src,input=src,form=fakeentry"
# php_flag tidy.clean_output Off
# php_flag soap.wsdl_cache_enabled On
# php_value soap.wsdl_cache_dir "/tmp"
# php_value soap.wsdl_cache_ttl 86400
# php_value soap.wsdl_cache_limit 5
</IfModule>
# END cPanel-generated php ini directives, do not edit
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit