[Koha] Koha virtualhost on apache2 (openSUSE 11.2) Issue

Andi Sugandi andisugandi at gmail.com
Mon May 17 18:08:04 NZST 2010


Hi Listmates.

Let me introduce my self, my name is Andi Sugandi. I work at a
university and also help some friends in Asian-African Conference
Museum[0] in Bandung (Indonesia). As this e-mail's signature, I'm also
helping (local) openSUSE community in my country.

I successfully installed Koha[1] (last Saturday) on openSUSE 11.2,
feels wonderful of the how-to[2], may be i could help on this wiki so
it keeps up-to-date.

My issue ATM is I can not access my phpMyAdmin page anymore[3]. I
usually access it by typing 'localhost/phpMyAdmin' on the address-bar
of the web-browser.

It probably not a Koha issue, but my apache2 configuration which I'm
(relatively) new in this area.

This is my .../.../vhosts.d/koha-httpd.conf file (I temporary disabled
OPAC session in this file):

-----------------BOL

Listen 8080

## Intranet
<VirtualHost *:8080>
   ServerAdmin webmaster at oS-kmkaa
   DocumentRoot /usr/share/koha/intranet/htdocs
   ServerName oS-kmkaa:8080
#  ServerAlias intranet.mydomain.com
   ScriptAlias /cgi-bin/koha/ "/usr/share/koha/intranet/cgi-bin/"
   ScriptAlias /index.html "/usr/share/koha/intranet/cgi-bin/mainpage.pl"
   ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/search.pl"
   ErrorLog /var/log/koha/koha-error_log
#  TransferLog /var/log/koha/koha-access_log
   SetEnv KOHA_CONF "/etc/koha/koha-conf.xml"
   SetEnv PERL5LIB "/usr/share/koha/lib"
   Options +FollowSymLinks

   ErrorDocument 400 /cgi-bin/koha/errors/400.pl
   ErrorDocument 401 /cgi-bin/koha/errors/401.pl
   ErrorDocument 403 /cgi-bin/koha/errors/403.pl
   ErrorDocument 404 /cgi-bin/koha/errors/404.pl
   ErrorDocument 500 /cgi-bin/koha/errors/500.pl

   RewriteEngine On
#  Uncomment to turn on rewrite logging
#  RewriteLog /var/log/koha/koha-intranet-rewrite.log
#  RewriteLogLevel 1

   RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
   RewriteRule (.+) $1?%1%2 [N,R,NE]
   RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT]
   RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]
</VirtualHost>

-----------------EOL

Is anyone can help this issue?

Thanks in advance.

[0] http://asianafrican-museum.org/
[1] > grep INSTALLED /usr/share/koha/misc/koha-install-log
KOHA_INSTALLED_VERSION=3.00.05.003
[2] http://wiki.koha.org/doku.php?id=opensuse_11.0
[3] http://picasaweb.google.com/andisugandi/FOSSAtAACMuseumBandung#5472113265234711122

Best regards,
-- 
Andi Sugandi, openSUSE-Id Team, openSUSE Ambassador
Bandung, Indonesia


More information about the Koha mailing list