DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43918>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43918 Summary: Configuration file displayed on user's browser Product: Apache httpd-2 Version: 2.2.6 Platform: Sun OS/Version: Solaris Status: NEW Severity: major Priority: P2 Component: All AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I had this problem occurred to me in a couple of installs. I have Apache 2.2.6 compiled on a Solaris 9 sparc server. After the 13th day of operation, the httpd decided to display the config file (httpd.conf) to my browser! It's very odd. My compilation options were: ./configure --prefix=/usr/local/apache2 \ --disable-imap \ --disable-userdir \ --enable-so \ --enable-expires \ --with-mpm=worker \ --enable-ssl --with-ssl=/usr/local/ssl \ --enable-usertrack \ --enable-rewrite=shared \ --enable-headers=shared The same compile options I used on Apache 2.0.52 without any problems for years. I also ran a log rotation shell script that renames the log files that appends a timestamp and do an 'apachectl graceful', every midnight. I can provide the httpd.conf by email. It is essentially a vanilla setup, no third party modules. This error message was found in the error_log this morning after the graceful restart. [Mon Nov 19 23:59:02 2007] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 # prob ably should define those extensions to indicate media types:\n #\n AddType application/x-compress .Z\n AddType application/x-gzip .gz .tgz\n\n #\n # AddHandler allows you to map certain file extensions to "handlers":\n # a ctions unrelated to filetype. These can be either built into the server\n # o r added with the Action directive (see below)\n #\n # To use CGI scripts o utside of ScriptAliased directories:\n # (You will also need to add "ExecCGI" to the "Options" directive.)\n #\n #AddHandler cgi-script .cgi\n\n # F or type maps (negotiated resources):\n #AddHandler type-map var\n\n #\n # Filters allow you to process content before it is sent to the client.\n #\ n # To parse .shtml files for server-side includes (SSI):\n # (You will al so need to add "Includes" to the "Options" directive.)\n #\n #AddType text /html .shtml\n #AddOutputFilter INCLUDES .shtml\n</IfModule>\n\n#\n# The mod_ mime_magic module allows the server to use various hints from the\n# contents of the file itself to determine its type. The MIMEMagicFile\n# directive tells th e module where the hint definitions are located.\n#\n#MIMEMagicFile conf/magic\n \n#\n# Customizable error responses come in three flavors:\n# 1) plain text 2) l ocal redirects 3) external redirects\n#\n# Some examples:\n#ErrorDocument 500 "T he server made a boo boo."\n#ErrorDocument 404 /missing.html\n#ErrorDocument 404 "/cgi-bin/missing_handler.pl"\n#ErrorDocument 402 http://www.example.com/subscr iption_info.html\n#\n\n#\n# EnableMMAP and EnableSendfile: On systems that suppo rt it, \n# memory-mapping or the sendfile syscall is used to deliver\n# files. This usually improves server performance, but must\n# be turned off when serving from networked-mounted \n# filesystems or if support for these functions is oth erwise\n# broken on your system.\n#\n#EnableMMAP off\n#EnableSendfile off\n\n# S upplemental configuration\n#\n# The configuration files in the conf/extra/ direc tory can be \n# included to add extra features or to modify the default configur ation of \n# the se configured -- resuming normal operations [Tue Nov 20 10:17:10 2007] [error] [client 159.119.128.224] File does not exist: /apps/dev/tsd-doc-root/favicon.ico [Tue Nov 20 10:18:48 2007] [notice] caught SIGTERM, shutting down [Tue Nov 20 10:18:52 2007] [warn] Init: Session Cache is not configured [hint: S SLSessionCache] [Tue Nov 20 10:18:52 2007] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0. 9.8a configured -- resuming normal operations -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
