Help with a "bad flag deliminators" error.

Discussion in 'Site & Server Administration' started by gerryt, Aug 23, 2008.

  1. #1
    I was getting a 500 server error and looking in the server error log the "bad flag deliminators" seem to be the problem.
    I uncommented each line one by one and this line seems to be the culprit.
    RewriteRule .* - [F]RewriteCond %{HTTP_HOST} ^.*$
    Code (markup):
    Can anyone see a problem with it?
    Thanks
     
    gerryt, Aug 23, 2008 IP
  2. gerryt

    gerryt Active Member

    Messages:
    374
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    I have solved the problem with the help of my host!!
    RewriteRule .* - [F]RewriteCond %{HTTP_HOST} ^.*$
    Code (markup):
    RewriteRule & RewriteCond needed to be on seperate lines.
    RewriteRule .* - [F]
    RewriteCond %{HTTP_HOST} ^.*$
    Code (markup):
    I don't know how they got merged into the same line but problem fixed.
    Thanks to all that looked.
     
    gerryt, Aug 24, 2008 IP