nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

old server.error-handler-404 doesn't work anymore

This is a discussion on old server.error-handler-404 doesn't work anymore within the Web servers forums, part of the Mastering Servers category; I'm using this on a wordpress blog Code: server.error-handler-404 = "/index.php?error=404" so that I can use the custom permalink structure. ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-07-2007, 04:50 PM
Junior Member
User
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
muks
Default old server.error-handler-404 doesn't work anymore

I'm using this on a wordpress blog

Code:
server.error-handler-404 = "/index.php?error=404"
so that I can use the custom permalink structure.

The problem is it doesn't work anymore in lighttpd 1.4.16

it returns a 404 if you use a http header checker

if I revert back to 1.4.15 it works again using http header checker and returns a 200

any ideas?
Reply With Quote
  #2 (permalink)  
Old 29-07-2007, 10:35 PM
Junior Member
User
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
muks
Default

seems related to this

lighttpd forum - BUG: Incorrect handling of HEAD requests for error handlers
Reply With Quote
  #3 (permalink)  
Old 30-07-2007, 12:43 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
Default

It seems that you are pretty quick applying latest version. Indeed it is a bug. There was a post few days back by rocky about hard coded wordpress rules. I’m not able to locate the same. Anyway wait for update.

Is this is a security upgrade?
__________________
May the force with you!
Reply With Quote
  #4 (permalink)  
Old 17-08-2007, 08:59 AM
Junior Member
User
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
muks
Smile

Quote:
Originally Posted by monk View Post
Is this is a security upgrade?
yup 1.4.16 is a security update.

there's a temporary fix for this problem

#1270: connections.c.diff - lighttpd - - Trac
Reply With Quote
  #5 (permalink)  
Old 22-08-2007, 12:27 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
Default

Thanks for patch url over at IRC chat one of dev told me there will be 1.4.17 which will include this patch!
__________________
May the force with you!
Reply With Quote
  #6 (permalink)  
Old 29-08-2007, 01:29 PM
Junior Member
User
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
muks
Default

lighttpd 1.4.17 is out which includes the fix for this
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Do you use Linux to do your everyday work? charvi The Hangout 19 06-12-2009 09:08 AM
ERROR: Connection dropped by IMAP server satimis Mail Servers 2 05-02-2009 05:51 AM
will this work? mudfish Shell scripting 0 28-03-2007 12:02 PM
Invalid ICMP type 3 code 3 error to a broadcast -samba error raj Linux software 0 09-07-2006 04:38 AM
Linux usb keyboard does not work jerry Linux software 3 05-04-2006 09:21 PM


All times are GMT +5.5. The time now is 04:46 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38