<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    #Checks to see if the user is attempting to access a valid file,
    #such as an image or css document, if this isn't true it sends the
    #request to index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    #This last condition enables access to the images and css folders, and the robots.txt file
    #Submitted by Michael Radlmaier (mradlmaier)
    RewriteCond $1 !^(lmrss/index\.php|css|user_guide|.+\.gif$|.+\.jpg$|.+\.png$|.+\.js$|images|robots\.txt|css)
    RewriteRule ^(.*)$ lmrss/index.php/$1 [L]
</IfModule>