Solved

Editing  .htaccess file

Posted on 2012-03-15
1
183 Views
Last Modified: 2012-03-19
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
0
Comment
Question by:seaweed27
1 Comment
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 255 total points
ID: 37727341
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question