The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

.htaccess does not work

Discussion in 'General Discussion' started by shuk007, May 28, 2009.

  1. shuk007

    shuk007 Member

    Joined:
    Mar 27, 2009
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    In my server installed WHM / CPanel. In server does not work .htaccess file.
    .htaccess file:
    Code:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/index.php
    RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
    RewriteRule (.*) index.php
    RewriteRule ^(.*)$ index.php [F,L]
    
     
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    I don't know about his server but I just noticed tonight that
    my servers are not parsing any .HTACCESS files whatsoever!

    I'm not sure how long this problem has been since we generally
    don't use .HTACCESS files much although the recent change
    to the handling of the "httpd.conf" files overwriting custom
    changes (dumb idea) and moving things off to include files
    may possibly have something to do with the issue.

    I will investigate the matter further but at this point just
    seeing the issue appear on multiple servers here and seeing
    someone else reporting similar and already confirming permissions
    and system configurations makes me think Cpanel issue.

    shuk007, I don't know your technical skill level but the simplest
    way to find out if your .htaccess files are being parsed is to drop
    in a a simple "Deny from All" and see if you can still access the
    files in the folder that contains the .htaccess file (oh and don't
    forget to clear your browser cache files when checking that :) )
     
    #3 Spiral, May 31, 2009
    Last edited: May 31, 2009
Loading...

Share This Page