Closed respencer closed 4 months ago
I was thinking of using the signature file and deleting anything not in that file as that does a full audit of the system
I was thinking of using the signature file and deleting anything not in that file as that does a full audit of the system
That would immediately cripple ChurchCRM for me. The current audit system doesn't play nice with the settings I need in .htaccess on shared hosting.
I was thinking of using the signature file and deleting anything not in that file as that does a full audit of the system
That would immediately cripple ChurchCRM for me. The current audit system doesn't play nice with the settings I need in .htaccess on shared hosting.
I am using share hosting too. Can you share your recommendation for settings in .htaccess ?
I was thinking of using the signature file and deleting anything not in that file as that does a full audit of the system
That would immediately cripple ChurchCRM for me. The current audit system doesn't play nice with the settings I need in .htaccess on shared hosting.
I am using share hosting too. Can you share your recommendation for settings in .htaccess ?
Sorry, I don't think it will help you. All I have extra in there is my PHP settings (the reason it would cripple my setup if this disappeared is the system default is PHP 7.4):
RewriteEngine On
# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
<files rector.php>
order allow,deny
deny from all
</files>
# 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 php8_module>
php_flag display_errors Off
php_value max_execution_time 120
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 128M
php_value post_max_size 64M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/opt/alt/php82/var/lib/php/session"
php_value upload_max_filesize 64M
php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
php_flag display_errors Off
php_value max_execution_time 120
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 128M
php_value post_max_size 64M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/opt/alt/php82/var/lib/php/session"
php_value upload_max_filesize 64M
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 “alt-php82” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-alt-php82 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
I was thinking of using the signature file and deleting anything not in that file as that does a full audit of the system
That would immediately cripple ChurchCRM for me. The current audit system doesn't play nice with the settings I need in .htaccess on shared hosting.
I am using share hosting too. Can you share your recommendation for settings in .htaccess ?
Sorry, I don't think it will help you. All I have extra in there is my PHP settings (the reason it would cripple my setup if this disappeared is the system default is PHP 7.4):
RewriteEngine On # Some hosts may require you to use the `RewriteBase` directive. # If you need to use the `RewriteBase` directive, it should be the # absolute physical path to the directory that contains this htaccess file. # # RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [QSA,L] <files rector.php> order allow,deny deny from all </files> # 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 php8_module> php_flag display_errors Off php_value max_execution_time 120 php_value max_input_time 60 php_value max_input_vars 1000 php_value memory_limit 128M php_value post_max_size 64M php_value session.gc_maxlifetime 1440 php_value session.save_path "/opt/alt/php82/var/lib/php/session" php_value upload_max_filesize 64M php_flag zlib.output_compression Off </IfModule> <IfModule lsapi_module> php_flag display_errors Off php_value max_execution_time 120 php_value max_input_time 60 php_value max_input_vars 1000 php_value memory_limit 128M php_value post_max_size 64M php_value session.gc_maxlifetime 1440 php_value session.save_path "/opt/alt/php82/var/lib/php/session" php_value upload_max_filesize 64M 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 “alt-php82” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-alt-php82 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit
Thanks for sharing. It's good to know these settings can be added in the .htaccess file.
Description & Issue number it closes
Resolves #7035
Screenshots (if appropriate)
None ## How to test the changes? Manual testing. ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update # How Has This Been Tested?Manual testing.
Checklist: