Re: [Koha] ( Internal Server Error)
Ok Steve Here is the VirtualHost entries # KOHA's OPAC Configuration <VirtualHost lib.nti.org.eg:80> ServerAdmin webmaster@nti.org.eg DocumentRoot /usr/local/koha/opac/htdocs ServerName lib.nti.org.eg ScriptAlias /cgi-bin/koha/ "/usr/local/koha/opac/cgi-bin/" <Directory /usr/local/koha/opac/cgi-bin> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> ErrorLog logs/opac-error_log TransferLog logs/opac-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" </VirtualHost> # KOHA's INTRANET Configuration <VirtualHost lib.nti.org.eg:8080> ServerAdmin webmaster@nti.org.eg DocumentRoot /usr/local/koha/intranet/htdocs ServerName lib.nti.org.eg ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/" <Directory /usr/local/koha/intranet/cgi-bin> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> ErrorLog logs/koha-error_log TransferLog logs/koha-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" </VirtualHost> and here is the result of test.pl SCRIPT_NAME: /cgi-bin/koha/test.pl SERVER_NAME: lib.nti.org.eg SERVER_ADMIN: webmaster@nti.org.eg HTTP_ACCEPT_ENCODING: gzip, deflate, compress;q=0.9 HTTP_CONNECTION: keep-alive REQUEST_METHOD: GET HTTP_ACCEPT: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 SCRIPT_FILENAME: /usr/local/koha/opac/cgi-bin/test.pl SERVER_SOFTWARE: Apache/2.0.40 (Red Hat Linux) HTTP_ACCEPT_CHARSET: ISO-8859-1, utf-8;q=0.66, *;q=0.66 QUERY_STRING: REMOTE_PORT: 33244 HTTP_USER_AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 SERVER_PORT: 80 SERVER_SIGNATURE: Apache/2.0.40 Server at lib.nti.org.eg Port 80 HTTP_ACCEPT_LANGUAGE: en-us, en;q=0.50 REMOTE_ADDR: 10.100.100.2 HTTP_KEEP_ALIVE: 300 SERVER_PROTOCOL: HTTP/1.1 PERL5LIB: /usr/local/koha/intranet/modules PATH: /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin REQUEST_URI: /cgi-bin/koha/test.pl GATEWAY_INTERFACE: CGI/1.1 SERVER_ADDR: 10.100.100.2 DOCUMENT_ROOT: /usr/local/koha/opac/htdocs HTTP_HOST: lib.nti.org.eg UNIQUE_ID: JN3BLQpkZAIAAAMODCQAAAAD thanks a lot Mohamed Amin _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
Try moving the <Directory></Directory> sections outside of the <VirtualHost></VirtualHost> sections. Were they created by the installer script that way, or did you set it up manually? Steve. On Wed, 23 Apr 2003, Mohamed Amin wrote:
Ok Steve Here is the VirtualHost entries
# KOHA's OPAC Configuration <VirtualHost lib.nti.org.eg:80> ServerAdmin webmaster@nti.org.eg DocumentRoot /usr/local/koha/opac/htdocs ServerName lib.nti.org.eg ScriptAlias /cgi-bin/koha/ "/usr/local/koha/opac/cgi-bin/" <Directory /usr/local/koha/opac/cgi-bin> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> ErrorLog logs/opac-error_log TransferLog logs/opac-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
</VirtualHost>
# KOHA's INTRANET Configuration <VirtualHost lib.nti.org.eg:8080> ServerAdmin webmaster@nti.org.eg DocumentRoot /usr/local/koha/intranet/htdocs ServerName lib.nti.org.eg ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/" <Directory /usr/local/koha/intranet/cgi-bin> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> ErrorLog logs/koha-error_log TransferLog logs/koha-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
</VirtualHost>
and here is the result of test.pl
SCRIPT_NAME: /cgi-bin/koha/test.pl SERVER_NAME: lib.nti.org.eg SERVER_ADMIN: webmaster@nti.org.eg HTTP_ACCEPT_ENCODING: gzip, deflate, compress;q=0.9 HTTP_CONNECTION: keep-alive REQUEST_METHOD: GET HTTP_ACCEPT: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 SCRIPT_FILENAME: /usr/local/koha/opac/cgi-bin/test.pl SERVER_SOFTWARE: Apache/2.0.40 (Red Hat Linux) HTTP_ACCEPT_CHARSET: ISO-8859-1, utf-8;q=0.66, *;q=0.66 QUERY_STRING: REMOTE_PORT: 33244 HTTP_USER_AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 SERVER_PORT: 80 SERVER_SIGNATURE: Apache/2.0.40 Server at lib.nti.org.eg Port 80
HTTP_ACCEPT_LANGUAGE: en-us, en;q=0.50 REMOTE_ADDR: 10.100.100.2 HTTP_KEEP_ALIVE: 300 SERVER_PROTOCOL: HTTP/1.1 PERL5LIB: /usr/local/koha/intranet/modules PATH: /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin REQUEST_URI: /cgi-bin/koha/test.pl GATEWAY_INTERFACE: CGI/1.1 SERVER_ADDR: 10.100.100.2 DOCUMENT_ROOT: /usr/local/koha/opac/htdocs HTTP_HOST: lib.nti.org.eg UNIQUE_ID: JN3BLQpkZAIAAAMODCQAAAAD
thanks a lot Mohamed Amin
_________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
Mohamed: Send the output of this test.pl script: ======================================================== #!/usr/bin/perl print "Content-type: text/html\n\n"; foreach (@INC) { print "INCLUDE: $_<br>\n"; } my $scriptsize= -s "/usr/local/koha/intranet/modules/C4/Search.pm"; print "Script Size: $scriptsize\n"; ======================================================== Steve.
participants (2)
-
Mohamed Amin -
Tonnesen Steve