-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm trying to setup Koha 1.9.2b on a Mandrake Linux 9.1 box (Apache 2.0), and I'm having some trouble. I took the httpd.conf adjustments that the auto-installer made and placed them in the vhosts.conf and commonhttpd.conf files that MDK has split httpd conf into, but it doesn't seem to be working quite right. In /etc/httpd/2.0/conf/vhosts/vhosts.conf: - --------------------------------------- Listen 8080 # NameVirtualHost is used by one of the optional configurations detailed below #NameVirtualHost 11.22.33.44 # KOHA's OPAC Configuration <VirtualHost localhost:80> ServerAdmin tbutler@uninetsolutions.com DocumentRoot /home/uninet/www-koha/opac/htdocs ServerName localhost ScriptAlias /cgi-bin/koha/ /home/uninet/www-koha/opac/cgi-bin/ ErrorLog logs/opac-error_log TransferLog logs/opac-access_log SetEnv PERL5LIB "/home/uninet/www-koha/intranet/modules" Options +Includes AddHandler server-parsed .html </VirtualHost> # KOHA's INTRANET Configuration <VirtualHost localhost:8080> ServerAdmin tbutler@uninetsolutions.com DocumentRoot /home/uninet/www-koha/intranet/htdocs ServerName localhost ScriptAlias /cgi-bin/koha/ "/home/uninet/www-koha/intranet/cgi-bin/" ErrorLog logs/koha-error_log TransferLog logs/koha-access_log SetEnv PERL5LIB "/home/uninet/www-koha/intranet/modules" Options +Includes AddHandler server-parsed .html </VirtualHost> - --------------------------------------- In /etc/httpd/2.0/conf/commonhttpd.conf: - --------------------------------------- <Directory /home/uninet/www-koha/intranet> AuthUserFile /etc/kohaintranet.pass AuthType Basic AuthName "Koha Intranet (for librarians only)" Require valid-user <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> - --------------------------------------- The rest is pretty much standard issue Mandrake httpd setup. If I go to localhost:8080, I get a 403 Forbidden error, ditto if I go to localhost:80. Any ideas? Thanks, Tim - -- - --------------------------------------------------------------- Timothy R. Butler Universal Networks www.uninet.info ==================== <tbutler@uninet.info> ==================== | Christian Portal: | Have you not learned great lessons | | www.faithtree.com | from those who braced themselves | | GNU/Linux News: | against you and disputed the | | www.ofb.biz | passage with you? --Walt Whitman | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+qtzQK37Cns9gJ0gRAoOxAJ9jG1NlN6d6bBKwO6xPegQ+B37LUACaA+6r 5jZJ3sIbgBaHin7MjIo7dqA= =A1uF -----END PGP SIGNATURE-----
Hey Tim, In your <Directory> section, you have the "Allow from all" statement within an if block. Is mod_access be loaded by Apache? If it isn't, that could be the source of your problems. Also you might want to double check permissions on your Koha directory. Mike -- Mike Hansen <mwhansen@hmc.edu>
Mike Hansen wrote:
Hey Tim,
In your <Directory> section, you have the "Allow from all" statement within an if block. Is mod_access be loaded by Apache? If it isn't, that could be the source of your problems. Also you might want to double check permissions on your Koha directory.
Maybe you should check that your firewall accepts local connexion. look at mcc, network, firewall, shorewall. Enter 8080 in "extended" part of the config. If you want to understand better what mcc & shorewall do => /etc/shorewall/rules (service shorewall restart to apply any modification) -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
participants (3)
-
Mike Hansen -
paul POULAIN -
Timothy R. Butler