Apache 2.2.6 displaying the config file on the browser

Apache 2.2.6 displaying the config file on the browser

am 14.11.2007 19:24:45 von Radix

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 7th 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.

I also ran a log rotation shell script that renames the log files that
appends a timestamp and do an 'apachectl graceful', every midnight.

Anyone else have this same or similar problem? Anyone have any idea
what may have cause this problem?

-Rudy

Re: Apache 2.2.6 displaying the config file on the browser

am 14.11.2007 20:47:56 von spam

"Rudy" wrote in message
news:1195064685.742975.39910@k35g2000prh.googlegroups.com...
> 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 7th 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.
>
> I also ran a log rotation shell script that renames the log files that
> appends a timestamp and do an 'apachectl graceful', every midnight.
>
> Anyone else have this same or similar problem? Anyone have any idea
> what may have cause this problem?

It's not your compilation settings. Look at your httpd.conf file.