hi i have a simple problem now i can access my opac and staff client from real IP from internet , i have 2 sub domain to my library , i would like to acces opac when type library.mydomain.com , that's no problem and staff when type library-admin.mydomain.com that's my problem i don't want to type 8080 in the end of URL when access staff. any help :)
I can use a simple rewrite rule on your http conf. You can insert in your koha http conf : etc/apache2/sites-available/koha RewriteEngine on RewriteRule ^/* http://www.domain.com:8080 [L] More examples on: http://www.noupe.com/php/10-mod_rewrite-rules-you-should-know.html Or use CPANEL if you have in your server. Tiago Murakami http://httpd.apache.org/docs/1.3/misc/rewriteguide.html 2011/6/1 Jonson philip <superjojo1000@gmail.com>
hi i have a simple problem
now i can access my opac and staff client from real IP from internet , i have 2 sub domain to my library , i would like to acces opac when type library.mydomain.com , that's no problem and staff when type library-admin.mydomain.com that's my problem i don't want to type 8080 in the end of URL when access staff. any help :)
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Tiago Murakami
Jonson philip schreef op wo 01-06-2011 om 13:37 [+0200]:
now i can access my opac and staff client from real IP from internet , i have 2 sub domain to my library , i would like to acces opac when type library.mydomain.com , that's no problem and staff when type library-admin.mydomain.com that's my problem i don't want to type 8080 in the end of URL when access staff. any help :)
The base way is to set it up as a virtual host. I wouldn't recommend using rewrites to do this. There is a template in the koha directory, under debian/templates/apache-site.conf.in that will hopefully get you started. The important parts of that are where it says <VirtualHost... and ServerName if you put those in and set them up as you'd like it to be, it ought to work fine (this template is used by the packages to set it up exactly as you want.) -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
participants (3)
-
Jonson philip -
Robin Sheat -
Tiago Murakami