Setting separate URLS for OPAC and Admin Portals
We would like to use separate URLs for the OPAC and Admin portals instead of using different port numbers. I am not an Apache guy so I am not sure of the best way to accomplish this. Any pointers or directions would great. Thanks Ed Edward J. Roche Network Administrator Solanco School District 717.786.2151 x2437 "At the End of the Day, Did You Play to Win or Not to Lose?"
Roche III, Edward wrote:
We would like to use separate URLs for the OPAC and Admin portals instead of using different port numbers. I am not an Apache guy so I am not sure of the best way to accomplish this. Any pointers or directions would great.
You will need two different host names, one for OPAC, one for Admin. Example, using your email domain: library OPAC domain: library.solanco.k12.pa.us library admin domain: admin.solanco.k12.pa.us Ensure these two domains are added to your domain server. Once you can see the domains on your LAN or on the open Internet, edit the Apache config for the virtual hosts, which is either in /etc/apache2/sites-available/default or (rarely) /etc/apache2/httpd.conf. Remove '8080' stuff, keeping both virtual hosts, and ensure the virtual hosts look something like the following: # KOHA's OPAC Configuration <VirtualHost *> DocumentRoot /usr/local/koha/opac/htdocs ServerName library.solanco.k12.pa.us : etc : </VirtualHost> # KOHA's INTRANET Configuration <VirtualHost *> DocumentRoot /usr/local/koha/intranet/htdocs ServerName admin.solanco.k12.pa.us : etc : </VirtualHost> Also edit /etc/apache2/ports.conf and remove the listen on port 8080 as well. Restart apache and test. cheers rickw -- _________________________________ Rick Welykochy || Praxis Services One cannot think well, love well, sleep well if one has not dined well. -- Virgina Woolf
participants (2)
-
Rick Welykochy -
Roche III, Edward