Date: Sun, 9 Jan 2005 12:52:41 -0800 From: Joe Rhett <jrhett@meer.net> To: mbr@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: mod_frontpage-1.6.2 Message-ID: <6795649E-6280-11D9-812A-000D936EFA20@meer.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6795649E-6280-11D9-812A-000D936EFA20>