need .htaccess HELP.

Discussion in 'Site & Server Administration' started by Nystul, Apr 4, 2009.

  1. #1
    I was using this old .htaccess for a LONG time - read somewhere, and made the changes myself. I just reinstall my server, as my sites had been compromised. And not too sure if my OLD .htaccess has been compromised.

    Can someone kindly check for me.
    # -FrontPage-

    AddType application/x-httpd-php .html .php .htm
    php_flag output_buffering On
    php_value output_handler ob_gzhandler
    php_flag zlib.output_compression Off

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>


    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
     
    Nystul, Apr 4, 2009 IP
  2. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #2
    Nothing wrong with your .htaccess file.

    Kailash
     
    kailash, Apr 4, 2009 IP
  3. grseo

    grseo Banned

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No error found.
     
    grseo, Apr 4, 2009 IP
  4. Kaoz

    Kaoz Peon

    Messages:
    767
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yeah, it looks fine.
     
    Kaoz, Apr 5, 2009 IP