Sitting alongside other Webapps
From GregariusWiki
If you have other webapps on your web server, like http://domain.com/someapp and http://domain.com/otherapp, and want Gregarius to sit on your server as http://domain.com/gregarius, you may need to modify your .htaccess file in the root of your Gregarius installation. On all of the Rewrite rules, except for the "admin" and "opml" rules, I needed to place a "/gregarius/" in front of the PHP script name, e.g.:
#item view
RewriteCond %{env:static} ^$
RewriteRule ^(.+)/(20[0-1][0-9])/([0-9][0-9]?)/?([0-9]?[0-9])?/?(.*)?$ /gregarius/feed.php?channel=$1&y=$2&m=$3&d=$4&iid=$5 [L,QSA]
#feed view
RewriteCond %{env:static} ^$
RewriteRule ^(.+)/(.*)?$ /gregarius/feed.php?channel=$1&iid=$2 [L,QSA]

