LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG-Webdev] apache's misbehaving again

[ILUG-Webdev] apache's misbehaving again

Gary Pigott gary at garypigott.net
Thu Jul 22 14:21:47 IST 2004


Hi Kae,

apache was a .deb install, and PHP was and is set up as a module, and 
"AddType application/x-httpd-php .php" is in the httpd.conf.

The error log only has the following entries:
[Thu Jul 22 14:21:09 2004] [notice] Apache/1.3.31 (Debian GNU/Linux) 
PHP/4.3.8 configured -- resuming normal operations
[Thu Jul 22 14:21:09 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)

...and the access.log only lists what I'd expect to find:
83.70.87.252 - - [22/Jul/2004:14:18:34 +0100] "GET / HTTP/1.0" 200 8791 "-" 
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" 
0

Gary



----- Original Message ----- 
From: "Kae Verens" <kae at verens.com>
To: "Gary Pigott" <gary at garypigott.net>
Cc: <webdev at linux.ie>
Sent: Thursday, July 22, 2004 2:09 PM
Subject: Re: [ILUG-Webdev] apache's misbehaving again


> Gary Pigott wrote:
>
>> I've got a little problem.... I'm running apache 1.3 on Debian with PHP4 
>> on a production web server. I did an apt-get install PHP4 to update to 
>> 4.3.8, over this mornings little security issue. Then the fun starts. The 
>> DirectoryIndex directive in httpd.conf has stopped working! Even though 
>> there's a perfectly valid index.html and/or index.php in the root 
>> directory, apache still displays a full directory listing. Entering 
>> www.foo.com/index.php runs as normal. Does anyone have any ideas?
>>
>> Gary
>
> I assume the apache was an RPM install as well?
>
> It could be that you updated from a CGI-based PHP to a module-based PHP? 
> If so, you'll need to load it with LoadModule.
>
> Also, check that you have the appropriate handler installed for .php - it 
> should be there, if it worked before the update, but you never know!
>
> Are there any errors in the logs? They're usually found in either 
> /var/logs/httpd/ or /usr/local/apache/logs/
>
> Kae
> -- 
> ILUG Web Development
> http://mail.linux.ie/mailman/listinfo/webdev/
> 




More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell