How to access koha in LAN

View: New views
5 Messages — Rating Filter:   Alert me  

How to access koha in LAN

by Ata ur Rehman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear All
I am using koha 2.27 on my server at Local Area Network.  OPAC is running fine at LAN but I want to access its main GUI from another computer (other than server).  How can i? http://intranet/cgi-bin/koha/mainpage.pl gives error (404)

Ata

Re: How to access koha in LAN

by Cyberarian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Open apache configuration file and replace the following text
NameVirtualHost *

<VirtualHost _default_:*>
    ServerAdmin webmaster@dummy-opac
    DocumentRoot /usr/koha227/opac/htdocs
    ScriptAlias  /cgi-bin/ /usr/koha227/opac/cgi-bin/
    ServerName opac
    ErrorLog logs/opac-error_log
    CustomLog logs/opac-access_log common
    SetEnv PERL5LIB "c:/usr/koha227/intranet/modules"
</VirtualHost>

<VirtualHost *>
    ServerAdmin webmaster@dummy-opac
    DocumentRoot /usr/koha227/opac/htdocs
    ScriptAlias  /cgi-bin/ /usr/koha227/opac/cgi-bin/
    ServerName opac
    ErrorLog logs/opac-error_log
    CustomLog logs/opac-access_log common
    SetEnv PERL5LIB "c:/usr/koha227/intranet/modules"
</VirtualHost>

<VirtualHost *>
    ServerAdmin webmaster@dummy-opac
    DocumentRoot /usr/koha227/intranet/htdocs
    ScriptAlias  /cgi-bin/ /usr/koha227/intranet/cgi-bin/
    ServerName intranet
    ErrorLog logs/intranet-error_log
    CustomLog logs/intranet-access_log common
    SetEnv PERL5LIB "c:/usr/koha227/intranet/modules"
</VirtualHost>

with this code:

NameVirtualHost *:80

<VirtualHost _default_:80>
ServerAdmin webmaster@dummy-opac
DocumentRoot /usr/koha227/opac/htdocs
ScriptAlias /cgi-bin/ /usr/koha227/opac/cgi-bin/
ServerName opac
ErrorLog logs/opac-error_log
CustomLog logs/opac-access_log common
SetEnv PERL5LIB "c:/usr/koha227/intranet/modules"
</VirtualHost>

<VirtualHost *:80>
ServerAdmin webmaster@dummy-opac
DocumentRoot /usr/koha227/opac/htdocs
ScriptAlias /cgi-bin/ /usr/koha227/opac/cgi-bin/
ServerName opac
ErrorLog logs/opac-error_log
CustomLog logs/opac-access_log common
SetEnv PERL5LIB "c:/usr/koha227/intranet/modules"
</VirtualHost>

<VirtualHost *:80>
ServerAdmin webmaster@dummy-opac
DocumentRoot /usr/koha227/intranet/htdocs
ScriptAlias /cgi-bin/ /usr/koha227/intranet/cgi-bin/
ServerName intranet
ErrorLog logs/intranet-error_log
CustomLog logs/intranet-access_log common
SetEnv PERL5LIB "c:/usr/koha227/intranet/modules"
</VirtualHost>

<VirtualHost *:8000>
ServerAdmin webmaster@dummy-opac
DocumentRoot /usr/koha227/intranet/htdocs
ScriptAlias /cgi-bin/ /usr/koha227/intranet/cgi-bin/
ServerName intranet
ErrorLog logs/intranet-error_log
CustomLog logs/intranet-access_log common
SetEnv PERL5LIB "c:/usr/koha227/intranet/modules"
</VirtualHost>

Then restart apache service.  Now you can use koha cataloging in lan by typing with the following address:

http://<ipadress or computer name>:8000


Re: How to access koha in LAN

by MRafiq :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How can we send the message on this forum. I'm unable to post unless reply to a message.

Rafiq

Re: How to access koha in LAN

by 8thdwarf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

for your tips to work, in "httpd.conf" you need to add a line also "Listen 8000" just below the Listen 80... (no quotation.

Re: How to access koha in LAN

by Cyberarian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

sorry i forgot to mention it.....

Thx
LightInTheBox - Buy quality products at wholesale price!