httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Nosek <grzegorz.no...@gmail.com>
Subject [users@httpd] Large config file problem
Date Wed, 28 Dec 2005 14:57:27 GMT
Hello all,

I have encountered a problem with apache2 (debian sarge 2.0.54-5
release). If my ssl.conf config file exceeds a certain size, apache
fails to start (error code 1) with no messages in error.log.

Moving some domains from this config into another file seems to fix
the problem but our admin tools expect to find all the data in one
file and I'd rather leave them alone (at least for now).

A file of 247290 bytes (289 SSL domains) or less works (apache starts
without problems),
248149 bytes (290 domains) or more makes apache2 die. The config files
on request consist of:

<VirtualHost X.X.X.X:443>
ServerName DOMAIN.TLD
ServerAlias www.DOMAIN.TLD
ServerAdmin webmaster@DOMAIN.TLD
<IfModule mod_setenv.c>
SuidUserGroup USER GROUP
</IfModule>
ScriptAlias /cgi-bin/ /home/users/USER/public_html/cgi-bin/
ScriptAlias /cgi-perl/ /home/users/USER/public_html/cgi-bin/
ScriptAlias /mod-perl/ /home/users/USER/public_html/cgi-bin/
DocumentRoot /home/users/USER/public_html/SUBDIR
CustomLog /var/log/httpd/DOMAIN.TLD-access_log combined
<IfDefine phpBasedir>
php_admin_value open_basedir
"/home/users/USER:/usr/share/php:/tmp:/home/lib:/home/conf/lib"
</IfDefine>
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/certs/vserver.crt
SSLCertificateKeyFile /etc/apache2/ssl/private/vserver.key
SSLOptions +StdEnvVars
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>

(the IP is the same for every vhost, mod_setenv is a renamed mod_suid2
- for reasons as yet unknown for me :) )

Is this a known problem? Is there a solution? If you need any extra
info, feel free to ask.

Best regards,
 Grzegorz Nosek

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message