Results 1 to 4 of 4

Thread: URL causing error in .htaccess?

  1. #1
    Join Date
    May 2009

    Default URL causing error in .htaccess?

    Would a .htaccess expert take a look at this line for me? I think the brackets in the OR URL are causing a .htaccess error, but I'm not sure:

    RewriteRule ^vermont-mountain-views /index.php?ListPrice-min=&ListPrice-max=&LandDescription_or[]=Mountain View&Town_or[]=Andover&Town_or[]=Arlington&Town_or[]=Bennington&Town_or[]=Bondville&Town_or[]=Chester&Town_or[]=Danby&Town_or[]=Dorset&Town_or[]=East+Arlington&Town_or[]=East+Dorset&Town_or[]=Jamaica&Town_or[]=Landgrove&Town_or[]=Londonderry&Town_or[]=Manchester&Town_or[]=North+Bennington&Town_or[]=Pawlet&Town_or[]=Peru&Town_or[]=Rawsonville&Town_or[]=Rupert&Town_or[]=Sandgate&Town_or[]=Shaftsbury&Town_or[]=Stratton&Town_or[]=Sunderland&Town_or[]=Wallingford&Town_or[]=Wells&Town_or[]=Weston&Town_or[]=Winhall&ListingID[]=&Bedrooms=&BathsTotal=&AcresTotal-min=&AcresTotal-max=&searchtext=&action=searchresults&pclass[]=&sortby=ListPrice&sorttype=DESC [NC,L]

    Any ideas why it's causing a 500 server error? Do I need to escape the [] somehow in the URL?


    MOVED to Sandbox forum

  2. #2
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann
    Join Date
    Apr 2003

    Default Re: URL causing error in .htaccess?

    Check your server error logs for all 500 SERVER errors.
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519

    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

  3. #3
    Join Date
    May 2009

    Default Re: URL causing error in .htaccess?

    I've got lots of these which made me think it might be the brackets in the URL:

    [Wed Aug 12 14:18:13 2009] [alert] [client] /home/maureeno/public_html/.htaccess: RewriteCond: bad flag delimiters

  4. #4
    Join Date
    May 2009

    Default Re: URL causing error in .htaccess?

    Got it!!

    It was actually the space in the LandDescription field. Replaced with a + and we're good to go.


Similar Threads

  1. Error 500 with clean installation 2.5 (.htaccess)
    By durruti in forum Installation/Configuration Help (CLOSED)
    Replies: 17
    Last Post: 08-21-2008, 07:25 AM
  2. php errors causing problems
    By landlady in forum General Help (CLOSED)
    Replies: 1
    Last Post: 05-23-2006, 11:37 AM
  3. php session ids - htaccess - 500 server error !
    By original89 in forum HELP (CLOSED)
    Replies: 8
    Last Post: 11-30-2004, 10:39 AM
  4. Search causing error
    By Nikko21 in forum HELP (CLOSED)
    Replies: 1
    Last Post: 11-02-2004, 12:22 PM
  5. Caching causing new listings not to appear
    By Anonymous in forum HELP (CLOSED)
    Replies: 1
    Last Post: 02-12-2004, 06:40 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts