View Single Post
  #4   (View Single Post)  
Old 21st June 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Your lighttpd.conf looks fine as far as I can tell, I've never run lighttpd on OpenBSD, only on FreeBSD, so there may be some specific OpenBSD thing I'm missing.

However, from http://jenseng.com/archives/000035.html
Quote:
The reason this happens is that any requests ending in .php are simply handed off to the PHP executable without verifying that such a file exists.
What file are you trying to open?
Try creating a simple PHP file in your wwwroot, for example:
Code:
<?php phpinfo(); ?>
Name it something simple almost-impossible-to-mistype like info.php
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote