[Koha] apache2 permission pain over...

Adam Steer adam.steer at alia.org.au
Fri Jan 28 18:12:00 NZDT 2005


Allright!

This has bugged me for ages, and it is finally solved - I should have
realise loooong ago.

If you use apache2, don't forget to allow access to your directories
when you're done installing koha [just like everywhere else in apache2 -
duh!]

For example, where koha-http.conf says:
.....
DocumentRoot /usr/local/koha/opac/htdocs/
ServerName server.ip.address
.....

I needed to add something like:
.....
DocumentRoot /usr/local/koha/opac/htdocs/
<Directory "/usr/local/koha/opac/htdocs">
Order allow,deny
Allow from ...
Deny from ...
</Directory>

ServerName server.ip.address

ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/
<Directory "/usr/local/koha/opac/cgi-bin">
Order allow,deny
Allow from ...
Deny from ...
</Directory>
.....

This may be due to running Koha on a server that's pretty well tied up
from the outside world, or a messy apache2 config - but I just thought
I'd have a victory dance and share.

So, Koha 2.2 can run on SuSE9.1/Apache2. There ya go. Off to wrestle
MacOS now :-)

Cheers!

Adam.







--
Adam Steer
Web publishing officer
Australian Library and Information Association
adam.steer at alia.org.au http://alia.org.au
ph 02 6215 8234 fx 02 6282 2249




More information about the Koha mailing list