<HTML dir=ltr><HEAD><TITLE>Re: [Koha] a2ensite koha error</TITLE>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18828"></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText79687>
<DIV dir=ltr><TT><FONT size=2>2009/12/2 Demas, Christopher D <cddemas@northeaststate.edu>:<BR>>> -----Original Message-----<BR>>> From: Chris Cormack [<A href="mailto:chris@bigballofwax.co.nz">mailto:chris@bigballofwax.co.nz</A>]<BR>>> Sent: Tuesday, December 01, 2009 3:20 PM<BR>>> To: Demas, Christopher D<BR>>> Cc: Eric Bégin; koha@lists.katipo.co.nz<BR>>> Subject: Re: [Koha] a2ensite koha error<BR>>><BR>>> 2009/12/2 Demas, Christopher D <cddemas@northeaststate.edu>:<BR>>> > Hi Eric<BR>>> ><BR>>> ><BR>>> ><BR>>> > The sudo ln -s .. command was successful and the 'koha' file is in<BR>>> the<BR>>> > /sites-available/. I was looking at the apache2 documentation and it<BR>>> says<BR>>> > the a2ensite command creates symlinks in sites-enabled, but doesn't<BR>>> mention<BR>>> > sites-available.<BR>>> ><BR>>> ><BR>>> ><BR>>> > I'm confused.<BR>>> ><BR>>> It creates a symlink from sites-available to sites-enabled.<BR>>><BR>>> If you do cat /etc/apache/sites-available/koha ... does it print out<BR>>> the config file for you?<BR>>> If not, then the symlink you created in there is pointing to the wrong<BR>>> place. Hence the error when you run a2ensite<BR>>><BR>>> Chris<BR>><BR>> Hi Chris -<BR>><BR>> Thanks for responding. I ran cat /etc/apache2/sites-available/koha and got "No such file or directory. However when I go to /etc/apache2/sites-available/ I do see the koha symlink.<BR>><BR>> How do I point this to the right place?<BR>><BR>>Where does the symlink point too? ls -l will tell you?<BR>><BR>>Chris</FONT></TT></DIV><TT><FONT size=2></FONT></TT></DIV>
<P><TT><FONT size=2>It's pointing to /etc/koha-httpd.conf</FONT></TT></P>
<P><TT><FONT size=2>Wow! Thank you. It's wrong. I changed it to point to /etc/koha/koha-httpd.conf and ran the sudo a2ensite koha and it works now.</FONT></TT></P>
<P><TT>Thank you very much for the help. I must have symlinked it to the wrong place at first. probably a mistype on my part. I really appreciate it. :-)</TT></P>
<P><TT>Chris</TT></P>
<P><TT><FONT size=2><FONT size=3 face="Times New Roman"></FONT> </P>
<DIV dir=ltr><BR></DIV></FONT></TT></BODY></HTML>