[OPEN-ILS-DEV] apache configuration problem
vijay kumar
vijcrjbhu at gmail.com
Thu Jul 24 05:03:58 EDT 2008
Dear Member,
After apache configuration i got apache failed...............
so please suggest me what is the problem............
I attached my one /etc/apache/site-available/eg.conf file with this problem....
Is configuration is correct..................??????????
# :vim set syntax apache
LogLevel debug
# - log locally
CustomLog /var/log/apache2/access.log combined
ErrorLog /var/log/apache2/error.log
# - log to syslog
# CustomLog "|/usr/bin/logger -p local7.info" common
# ErrorLog syslog:local7
# ----------------------------------------------------------------------------------
# Set up Perl
# ----------------------------------------------------------------------------------
# - needed by CGIs
SetEnv PERL5LIB /openils/lib/perl5
PerlRequire /etc/apache2/startup.pl
PerlChildInitHandler OpenILS::WWW::Reporter::child_init
PerlChildInitHandler OpenILS::WWW::SuperCat::child_init
PerlChildInitHandler OpenILS::WWW::AddedContent::child_init;
# ----------------------------------------------------------------------------------
# Set some defaults for our working directories
# ----------------------------------------------------------------------------------
<Directory /openils/var/web>
Order allow,deny
Allow from all
</Directory>
# ----------------------------------------------------------------------------------
# XUL directory
# ----------------------------------------------------------------------------------
<Directory /openils/var/web/xul>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# ----------------------------------------------------------------------------------
# Remove the language portion from the URL
# ----------------------------------------------------------------------------------
AliasMatch ^/opac/.*/skin/(.*)/(.*)/(.*) /openils/var/web/opac/skin/$1/$2/$3
# ----------------------------------------------------------------------------------
# System config CGI scripts go here
# ----------------------------------------------------------------------------------
Alias /cgi-bin/ "/openils/var/cgi-bin/"
<Directory "/openils/var/cgi-bin">
AddHandler cgi-script .cgi .pl
AllowOverride None
Options None
Order deny,allow
Deny from all
Allow from 127.0.0.0/16
Options FollowSymLinks ExecCGI Indexes
</Directory>
# ----------------------------------------------------------------------------------
# OPTIONAL: Set how long the client will cache our content. Change to suit
# ----------------------------------------------------------------------------------
ExpiresActive On
ExpiresDefault A2592000
ExpiresByType text/html A64800
ExpiresByType application/xhtml+xml A64800
ExpiresByType application/x-javascript A64800
ExpiresByType text/css A3000
# ----------------------------------------------------------------------------------
# Set up our main virtual host
# ----------------------------------------------------------------------------------
NameVirtualHost *:80
<VirtualHost *:80>
ServerName 10.180.16.29:80
ServerAlias 127.0.0.1:80
DocumentRoot /openils/var/web/
DirectoryIndex index.xml index.html index.xhtml
# - absorb the shared virtual host settings
Include sites-available/eg_vhost.conf
</VirtualHost>
# ----------------------------------------------------------------------------------
# Set up our SSL virtual host
# ----------------------------------------------------------------------------------
NameVirtualHost *:443
<VirtualHost *:443>
DocumentRoot "/openils/var/web"
ServerName 10.180.16.29:443
ServerAlias 127.0.0.1:443
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
# If you don't have an SSL cert, you can create self-signed
# certificate and key with:
# openssl req -new -x509 -nodes -out server.crt -keyout server.key
SSLCertificateFile ssl/server.crt
SSLCertificateKeyFile ssl/server.key
# - absorb the shared virtual host settings
Include sites-available/eg_vhost.conf
# help IE along with SSL pages
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</VirtualHost>
Thank you,
Vijay Kumar
NCSI,IISc
Bangalore
More information about the Open-ils-dev
mailing list