<div dir="ltr">I'm in the unfortunate position of having to maintain an RT instance on a shared host, where Apache and .htaccess are the only choice.  Moreover, due to the way the shared host operates, processes are frequently killed causing RT to restart frequently.<div><br></div><div>Consequently, the log is getting spammed with this:</div><div><br></div><div><div>[30928] [Sat Sep 27 07:10:35 2014] [warning]: The requested path (/dispatch.fcgi) does NOT match the configured WebPath ().  Perhaps you should Set($WebPath, '/dispatch.fcgi'); in RT_SiteConfig.pm, otherwise your internal links may be broken. (.../RT/Interface/Web.pm:1324)</div></div><div><br></div><div>Apache + .htaccess + mod_rewrite is not advertised in web_deployment.pod as a recommended way of deployment, but surely others on this list have had to go down this path and hopefully some have found a way to avoid this log message from being generated.  I probably don't have an ideal .htaccess file in place.</div><div><br></div><div>Here are my .htaccess bits.  Any pointers would be gratefully received.</div><div><br></div><div>Options +ExecCGI</div><div>AddHandler fcgid-script .fcgi<br></div><div>RewriteEngine On<br></div><div><div>RewriteCond %{REQUEST_FILENAME} -f</div><div>RewriteRule .* - [L]</div></div><div><div>RewriteRule ^(.*)$ dispatch.fcgi/$1 [QSA,L]</div></div><div><br></div><div>For what it's worth, this is the dispatch.fcgi content:</div><div><br></div><div>#!/home/rt/opt/perl-5.20.1/bin/perl</div><div><div>use Plack::Handler::FCGI ();</div><div>use Plack::Builder 'builder';</div></div><div>Plack::Handler::FCGI->new->run(builder {<br></div><div>    do '.../rt-4.2.7/sbin/rt-server.fcgi';</div><div>});</div><div><br></div><div>WebPath is set to an empty string because RT is served from the domain's root level.</div></div>