<div>Thank you. This helped. Issued the following commands to fix it:</div><div>issued the following commands to install and enable the module in Apache:<br> apt-get install libapache2-mod-perl2<br> a2enmod perl</div><div>
 </div><div>Restarted apache2. The web interface works fine. However, apache restart gave the following error:</div><div>[Thu Nov 08 13:56:57 2012] [warn] NameVirtualHost *:80 has no VirtualHosts<br>   ...done.</div><div>
 </div><div>What could be wrong in this file? this is rt file and enabled in sites-enabled directory.</div><div> </div><div><VirtualHost <a href="http://rt4.cs.sbu.edu">rt4.cs.sbu.edu</a>></div><div>   # Optional apache logs for RT<br>
   # ErrorLog /opt/rt4/var/log/apache2.error<br>   # TransferLog /opt/rt4/var/log/apache2.access<br>   # LogLevel debug</div><div>     AddDefaultCharset UTF-8<br>     DocumentRoot "/rt/share/html"</div><div>     <Location /><br>
         Order allow,deny<br>         Allow from all</div><div>        SetHandler modperl<br>        PerlResponseHandler Plack::Handler::Apache2<br>        PerlSetVar psgi_app /rt/sbin/rt-server<br>     </Location><br>
     <Perl><br>        use Plack::Handler::Apache2;<br>        Plack::Handler::Apache2->preload("/rt/sbin/rt-server");<br>     </Perl></div><div></VirtualHost><br></div><div><br><br> </div><div class="gmail_quote">
On Thu, Nov 8, 2012 at 1:27 PM, Paul Tomblin <span dir="ltr"><<a href="mailto:ptomblin@xcski.com" target="_blank">ptomblin@xcski.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div class="gmail_extra"><div class="im"><br><br><div class="gmail_quote">On Thu, Nov 8, 2012 at 12:37 PM, testwreq wreq <span dir="ltr"><<a href="mailto:testwreq@gmail.com" target="_blank">testwreq@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div>Actually now this is my host file. When I restart apache, I get the following error:</div><div>PerlResponseHandler', perhaps misspelled or defined by a module not included in the server configuration...</div><div>


 </div></blockquote></div><div class="gmail_extra"><br></div></div>Do you have your mod_perl handler included in Apache?  If you look in /etc/apache2/mods-enabled, you should see a "perl.load" which should be a symlink to a file of the same name in ../mods-available.</div>
<span class="HOEnZb"><font color="#888888">
<div class="gmail_extra"><br><br clear="all"><div><br></div>-- <br><a href="http://www.linkedin.com/in/paultomblin" target="_blank">http://www.linkedin.com/in/paultomblin</a><br><a href="http://careers.stackoverflow.com/ptomblin" target="_blank">http://careers.stackoverflow.com/ptomblin</a><br>

<br>
</div>
</font></span><br>--------<br>
We're hiring! <a href="http://bestpractical.com/jobs" target="_blank">http://bestpractical.com/jobs</a><br>
<br></blockquote></div><br>