[Koha] How to setup httpd.conf to use domain/opac instead of
opac.domain or domain:port
Michael Lake
Mike.Lake at uts.edu.au
Fri Jun 16 20:01:45 NZST 2006
Chris Cormack wrote:
> The trick here is that all the scripts, and html templates, point to
> /cgi-bin/koha/. So if you set it up under /opac/ all the links will break.
> So unfortunately there is no easy way to do it.
>
> There are ways to do it though, the way id do it is with mod_proxy
> http://httpd.apache.org/docs/1.3/mod/mod_proxy.html or
> http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
.....
> # for apache 1.3
> ProxyRequests Off
> ProxyPass /opac http://nsw.royalsoc.org.au:8000/cgi-bin/koha/
> ProxyPassReverse /opac http://nsw.royalsoc.org.au:8000/cgi-bin/koha/
Ah :-) It's a little more complex than I thought. Thanks for that I'll try that on
Monday. I don't have mod_proxy in my modules.conf file so I might have fidgit a bit
to try it.
Mike
--
Michael Lake
Science Faculty, UTS
Ph: 9514 8232 Fx: 9514 1460
More information about the Koha
mailing list