Apache Server configuration support - Apache 2.2.6 displaying the config file on the browser

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > November 2007 > Apache 2.2.6 displaying the config file on the browser





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache 2.2.6 displaying the config file on the browser
Rudy

2007-11-14, 1:31 pm

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

D. Stussy

2007-11-14, 7:22 pm

"Rudy" <radix33@gmail.com> 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.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com