mod_rewrite rules applied intermittently, server load?

Discussion in 'Apache' started by fastback72, May 27, 2006.

  1. #1
    I am having an issue with apache mod_rewrite where rules sometimes work, sometimes they do not. A restart fixes it but not for long. I have logged the rewrites. Sometimes the match is made and other times it is not even though the requested URL is exactly the same.

    Does anyone else have experience with this occuring? Is it memory, load related? It seems that it must be because, as I said, a restart fixes it.

    I have many rules. These are the ones that play up more often than the others:
    1) RewriteRule ^\/vehicles\/([^\/]*)\/([^\/]*)\/([0-9]+)\/?$ /group_vehicle_view.php?make=$1&model=$2&vehicle=$3 [L,NC]
    2) RewriteRule \/news\/([0-9]+)\/?$ /group_news.php?id=$1 [L,NC]
    3) RewriteRule \/artists\/([A-Z_]*)\/?([0-9]*)?\/? \/artist.php?artist=$1&offset=$2 [L,NC]

    - Brad
     
    fastback72, May 27, 2006 IP