Avatar of seaweed27
seaweed27
 asked on

Editing .htaccess file

I need to disable magic quotes, I haven't really been able to follow what google has offered up. So Im hoping someone here can make it clearer for me to understand


this is what i have already tried
--------------------------------------------------------
# php_value max_execution_time 300000
# php_value max_input_time 120000
# php_value memory_limit 128M
# php_value post_max_size 1024M
# php_value upload_max_filesize 1024M
# php_value session.gc_maxlifetime 144000


php_value magic_quotes 0
php_flag magic_quotes off
php_value magic_quotes_gpc 0
php_flag magic_quotes_gpc off




Options -Indexes
Options +FollowSymlinks
<Files .htaccess>
    deny from all
</Files>
<Files ~ "^(.*)\.(inc|inc\.php|tpl|log)$">
    deny from all
</Files>
<IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
</IfModule>
--------------------------------------------------------------------
Thanks in advance
PHP

Avatar of undefined
Last Comment
Dave Baldwin

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dave Baldwin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck