2009/12/2 Demas, Christopher D <cddemas@northeaststate.edu>:
-----Original Message----- From: Chris Cormack [mailto:chris@bigballofwax.co.nz] Sent: Tuesday, December 01, 2009 3:20 PM To: Demas, Christopher D Cc: Eric Bégin; koha@lists.katipo.co.nz Subject: Re: [Koha] a2ensite koha error
Hi Eric
The sudo ln -s .. command was successful and the 'koha' file is in
2009/12/2 Demas, Christopher D <cddemas@northeaststate.edu>: the
/sites-available/. I was looking at the apache2 documentation and it says the a2ensite command creates symlinks in sites-enabled, but doesn't mention sites-available.
I'm confused.
It creates a symlink from sites-available to sites-enabled.
If you do cat /etc/apache/sites-available/koha ... does it print out the config file for you? If not, then the symlink you created in there is pointing to the wrong place. Hence the error when you run a2ensite
Chris
Hi Chris -
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.
How do I point this to the right place?
Where does the symlink point too? ls -l will tell you?
Chris
It's pointing to /etc/koha-httpd.conf 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. 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. :-) Chris