Project

General

Profile

Actions

Bug #1905

closed

mod_simple_vhost default host not working

Added by jbittel almost 16 years ago. Updated almost 16 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_simple_vhost
Target version:
ASK QUESTIONS IN Forums:

Description

I recently installed 1.4.21 on one of my servers that uses mod_simple_vhost and immediately the default host stopped working. All requests that should have used that field returned a 404. I reverted r2322 and immediately it began working correctly again. The problem seems to be caused by the fact that the return added in r2322 is causing the physical.doc_root to not get updated. I replicated the the buffer copy call to update the physical.doc_root into the default host fallback else branch, and it appears to have resolved the problem.

I've attached a patch that shows the one line that I changed. There may be a cleaner way to fix it, but I've been running this on my server and so far it's behaving as expected.


Files

simple-vhost-patch (455 Bytes) simple-vhost-patch jbittel, 2009-02-17 22:36
Actions #1

Updated by stbuehler almost 16 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2399.

Actions

Also available in: Atom