FreeBSD Port: mod_frontpage-1.6.2

Joe Rhett jrhett at meer.net
Sun Jan 9 12:52:48 PST 2005


Just FYI, mod_frontpage works better with the rtr versions of frontpage 
than the microsoft versions.  The microsoft requires compat3x, which is 
FORBIDDEN whereas the rtr versions work with 4.x and compat4x on 5.x.   
Anyway, the long story short is that to make mod_frontpage work with 
the rtr versions, you need the following patch:  (whitespace is 
probably scrogged, but you'll get the idea)

*** fpstatic.c_orig     Wed Jan  5 22:42:39 2005
--- fpstatic.c  Wed Jan  5 22:38:09 2005
***************
*** 433,439 ****
                 } else if ((pos = strstr(uri, ".gif")) != NULL) {
                         pos = strrchr((char *)uri, '/');
                         snprintf((char *)fnbuf, sizeof(fnbuf), 
"%s%s%s%s%s",
!                           FPBASE, _EXES, _VTI_ADM, _IMAGES, pos);
                 /*
                  * Check to see if the user is changing the password,
                  * which has a URL like _vti_bin/_vti_aut/ passwd.htm.
--- 433,439 ----
                 } else if ((pos = strstr(uri, ".gif")) != NULL) {
                         pos = strrchr((char *)uri, '/');
                         snprintf((char *)fnbuf, sizeof(fnbuf), 
"%s%s%s%s%s",
!                           FPBASE, _EXES, _VTI_BIN, _IMAGES, pos);
                 /*
                  * Check to see if the user is changing the password,
                  * which has a URL like _vti_bin/_vti_aut/ passwd.htm.

-- 
Joe Rhett
Senior Geek
meer.net



More information about the freebsd-ports mailing list