Hi Linux Gurus,
kindly help me with my problem.
I was able to compile and install apache-2.0.47 with php-4.2.3. I am now in the testing stage, which came out with undesirable result.
On my apache running on a internal server which I intend to be a mail server. Having a single ethernet card (192.168.0.4) running on a RedHat 9.0 with a 2.4.22 kernel.
here's my problem--whenever i created a php page (ex. debug.php) to test if php module was indeed successfully installed on my apache. Instead of displaying the page content it opens the "download manager" and was trying to download the file, under windows client just a blank page.
This thing kept on appearing whenever I open a .php page.
however, this is not the case on an .html page which correctly displayed the content of the requested file.
Here's the content of my apache access log:
192.168.0.11 - - [29/Oct/2003:11:36:32 +0800] "GET http://mail.alsterph.com/index.html.ru.cp-1251 HTTP/1.0" 200 1522 "http://mail.alsterph.com/" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)"
192.168.0.11 - - [29/Oct/2003:11:36:32 +0800] "GET http://mail.alsterph.com/apache_pb.gif HTTP/1.0" 200 2326 "http://mail.alsterph.com/index.html.ru.cp-1251" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)"
192.168.0.11 - - [29/Oct/2003:11:36:38 +0800] "GET http://mail.alsterph.com/debug.php HTTP/1.0" 200 26 "-" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)"
192.168.0.11 - - [29/Oct/2003:11:36:42 +0800] "GET http://mail.alsterph.com/debug.php HTTP/1.0" 200 26 "-" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)"
192.168.0.11 - - [29/Oct/2003:11:36:44 +0800] "GET http://mail.alsterph.com/debug.php HTTP/1.0" 200 26 "-" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)"
192.168.0.11 - - [29/Oct/2003:11:36:46 +0800] "GET http://mail.alsterph.com/debug.php HTTP/1.0" 200 26 "-" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)"
192.168.0.4 - - [29/Oct/2003:11:36:54 +0800] "GET http://mail.alsterph.com/squirrelmail-1.4.2/index.php HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225"
192.168.0.4 - - [29/Oct/2003:11:40:05 +0800] "GET http://mail.alsterph.com/squirrelmail-1.4.2/index.html HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225"
192.168.0.4 - - [29/Oct/2003:11:44:29 +0800] "GET http://mail.alsterph.com/squirrelmail-1.4.2/index.php HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225"
and error log:
[Wed Oct 29 11:05:15 2003] [notice] caught SIGTERM, shutting down
[Wed Oct 29 11:05:15 2003] [info] Init: Initializing OpenSSL library
[Wed Oct 29 11:05:15 2003] [info] Init: Seeding PRNG with 2048 bytes of entropy
[Wed Oct 29 11:05:15 2003] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Wed Oct 29 11:05:15 2003] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Wed Oct 29 11:05:15 2003] [info] Init: Initializing (virtual) servers for SSL
[Wed Oct 29 11:05:15 2003] [info] Server: Apache/2.0.47, Interface: mod_ssl/2.0.47, Library: OpenSSL/0.9.7c
[Wed Oct 29 11:05:15 2003] [info] Init: Initializing OpenSSL library
[Wed Oct 29 11:05:15 2003] [info] Init: Seeding PRNG with 2048 bytes of entropy
[Wed Oct 29 11:05:15 2003] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Wed Oct 29 11:05:16 2003] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Wed Oct 29 11:05:16 2003] [info] Init: Initializing (virtual) servers for SSL
[Wed Oct 29 11:05:16 2003] [info] Server: Apache/2.0.47, Interface: mod_ssl/2.0.47, Library: OpenSSL/0.9.7c
[Wed Oct 29 11:05:16 2003] [notice] Apache/2.0.47 (Unix) configured -- resuming normal operations
[Wed Oct 29 11:05:16 2003] [info] Server built: Oct 27 2003 16:24:44
One more thing, each time i open my newly configured apache...mail.alsterph.com [my apache is a webmail server] it displays my directory contents. these could be a security problem? How can I hide my server contents?
Thank you very much.
Rhonneil
