interesting problem in apache-2/mod_rivet.c when .rvt file doesn't exist

View: New views
1 Messages — Rating Filter:   Alert me  

interesting problem in apache-2/mod_rivet.c when .rvt file doesn't exist

by Karl Lehenbauer-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In Apache 1.3, if a .rvt file doesn't exist, it's a 404 plain and  
simple.

But in Apache 2, if a .rvt file doesn't exist, module keeps going.  
The problem in in src/apache-2/mod_rivet.c, in Rivet_SendContent.  It  
checks for r->finfo.st_mode in 1, r->finfo.protection in 2.  It  
assumes protection will be 0 if the file doesn't exist, and it appears  
to be documented that way in Apache, but if I log the protection value  
right before the check, it's not 0, and this causes the file-not-found  
path to not get followed.

Still looking...



---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@...
For additional commands, e-mail: rivet-dev-help@...