µ±Ç°Î»ÖãºLinux½Ì³Ì - Linux - ÔÚ UNIX ÉÏ°²×° FrontPage ·þÎñÆ÷À©Õ¹

ÔÚ UNIX ÉÏ°²×° FrontPage ·þÎñÆ÷À©Õ¹

ÔÚ UNIX ÉÏ°²×° FrontPage ·þÎñÆ÷À©Õ¹


-------------------------------------------------------------------------------

»ñµÃ FrontPage ·þÎñÆ÷À©Õ¹µÄ;¾¶ÓÃÓÚ UNIX ²Ù×÷ƽ̨µÄ Microsoft FrontPage 2000 ·þÎñÆ÷À©Õ¹¿É´ÓÏÂÁÐÕ¾µãÏÂÔØ£ºhttp://www.microsoft.com/frontpage¡£

ÓÃÓÚ UNIX ²Ù×÷ƽ̨µÄ°²×°Èí¼þ°ü°üº¬ÁË°²×°½Å±¾¡¢ fp_install.sh ÒÔ¼°Ò»¸ö°üº¬ËùÓзþÎñÆ÷À©Õ¹ÎļþµÄѹËõ tar Îļþ¡£Õâ¸ö tar ÎļþÃûΪ fp40.platform.tar.Z £¬´Ë´¦µÄ platform ¾ÍÊÇ·þÎñÆ÷À©Õ¹°²×°ËùÔÚµÄ UNIX ²Ù×÷ƽ̨¡£ÀýÈ磬fp40.solaris.tar.Z ¾ÍÊÇÓÃÓÚ Solaris ·þÎñÆ÷µÄ tar ѹËõÎļþ¡£

FrontPage ·þÎñÆ÷À©Õ¹Ö§³ÖµÄ²Ù×÷ƽ̨ÏÂÃæµÄ±í¸ñÁгöÁË»ùÓÚ UNIX ²Ù×÷ϵͳ²¢ÇÒÖ§³Ö FrontPage ·þÎñÆ÷À©Õ¹µÄÕ¾µã·þÎñÆ÷¡£

²Ù×÷ϵͳ Web ·þÎñÆ÷
Digital UNIX 3.2c ¡¢ 4.0 (Alpha)
BSD/OS 2.1 (Intel x86)
BSD/OS 3.0 (Intel x86)
Linux 3.03 (Red Hat Software) (Intel x86)
HP/UX 9.03 ¡¢ 10.01 (PA-RISC)
IRIX 5.3 ¡¢ 6.2 (Silicon Graphics)
Solaris 2.4 ¡¢ 2.5 ¡¢ 2.6 (SPARC)
SunOS 4. 1 3 ¡¢ 4. 1 4 (SPARC)
AIX 3. 2 5 ¡¢ 4.1 ¡¢ 4.2 (RS6000 ¡¢ PowerPC)
SCO OpenServer5.0 (Intel x86)
Apache 1.2 ¡¢ 1.3
NCSA 1. 5 2 ( µ«²»ÊÇ 1. 5 a »ò 1. 5 1)
Netscape Enterprise Server 2.0 ¡¢ 3. 0
Netscape FastTrack 2. 0
Netscape SuiteSpot 3. 51
Stronghold 2.0 »òÆäºóµÄ°æ±¾

°²×°µÄÄÚÈÝ
FrontPage ·þÎñÆ÷À©Õ¹Ä¬ÈϵݲװλÖÃÊÇ /usr/local/frontpage ¡£ Èç¹ûÄú½«ËüÃÇ°²×°µ½ÆäËûλÖã¬ÄÇôһ¶¨»áÉú³ÉÒ»¸ö´Ó /usr/local/frontpage Ö¸Ïò¸Ã°²×°ÇøÓòµÄÁ´½Ó¡££¨°²×°½Å±¾½«ÎªÄú´´½¨´ËÁ´½Ó¡££©¼´Ê¹Äú²¢Ã»Óн«·þÎñÆ÷À©Õ¹°²×°ÔÚĿ¼ /usr/local ÖУ¬¿ÉÊÇËü»¹ÊDZØÐë´æÔÚ¡£Èç¹ûÄúµÄ·þÎñÆ÷ÉÏûÓÐÕâ¸öĿ¼£¬°²×°½Å±¾½«´´½¨Ëü¡£

³ýÁË·þÎñÆ÷À©Õ¹£¬ÁíÍ⻹Ҫ°²×°ÒÔÏÂÄÚÈÝ£º
fpsrvadm.exe ³ÌÐò£¬ÕâÊÇÒ»¸ö¹ÜÀí FrontPage ·þÎñÆ÷À©Õ¹ºÍÓà FrontPage À©Õ¹µÄÕ¾µãµÄ¹¤¾ß£¬Ëü±»°²×°ÔÚ /usr/local/frontpage/version4.0/bin/fpsrvadm.exe ÖС£¶ø FrontPage ·þÎñÆ÷À©Õ¹×ÊÔ´¹¤¾ßÏäÌṩÁËÍêÕûµÄ·þÎñÆ÷À©Õ¹Îĵµ¡£´Ë HTML Îĵµ°²×°ÔÚ/usr/local/frontpage/version4.0/serk/nnnn/default.htm ¡£´Ë´¦µÄÎļþ¼ÐÃû /nnnn ÊÇ´ú±íÄú°²×°µÄ FrontPage ·þÎñÆ÷À©Õ¹µÄÓïÑÔµÄÊý×Ö´úÂë¡£ÀýÈ磬Èç¹ûÄú°²×°µÄÊÇÃÀʽӢÓïµÄ FrontPage ·þÎñÆ÷À©Õ¹£¬ÄÇôÍêÕûµÄ·¾¶½«ÊÇ/usr/local/frontpage/version4.0/serk/1033/default.htm ¡£HTML ¹ÜÀí±íµ¥°²×°ÔÚ /usr/local/frontpage/version4.0/admcgi ÖС£ÕâЩ HTML ÍøÒ³ÓÃÀ´´ÓÈκÎÁ¬½Óµ½ Internet ²¢¿É·ÃÎʱ¾·þÎñÆ÷µÄ¼ÆËã»úÉϹÜÀí·þÎñÆ÷À©Õ¹¡£Apache server ²¹¶¡¿ÉÒÔÎÞÐèÔÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µãÉÏ°²×°·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ´æ¸ù°æ±¾£¬Ò²Äܹ»°²×°Ò»¸öµ¥Ò»µÄ FrontPage ·þÎñÆ÷À©Õ¹µÄ¸±±¾
¡£Apache patch ¶þ½øÖÆÊý¾ÝºÍÔ´Îļþ°²×°ÔÚ /usr/local/frontpage/version4.0/apache-fp ÖС£ÆäËûµÄ·þÎñÆ÷À©Õ¹Îļþ£¬ÀýÈçÏûÏ¢ÎļþºÍÅäÖÃÎļþ¡£
ʹÓð²×°½Å±¾
FrontPage ·þÎñÆ÷À©Õ¹µÄ°²×°·ÖΪËĸö²½Öè¡££¨Äúδ±ØÒªÖ´ÐÐËùÓв½Öè¡££©Ê×ÏÈ£¬Ç뽫·þÎñÆ÷À©Õ¹ºÍÆäËûµÄÎļþ½âѹËõ£¬ÔÙ½«ËüÃDZ£´æµ½·þÎñÆ÷¼ÆËã»úÉϵÄÏàӦλÖá£Æä´Î£¬Èç¹ûÄúµÄÕ¾µã·þÎñÆ÷ÒÑ°²×°Á˽ÏÔç°æ±¾µÄ·þÎñÆ÷À©Õ¹£¬ÔòËü½«±»Éý¼¶µ½ FrontPage 2000 ¡£ÔٴΣ¬Èç¹ûÄúµÄÕ¾µã·þÎñÆ÷´Óδ°²×°¹ý·þÎñÆ÷À©Õ¹£¬ÄÇôËüÃǽ«±»°²×°¡£×îºó£¬Èç¹ûÄúÓÐÒ»¸ö»ò¶à¸öÐéÄâ·þÎñÆ÷£¬Ôò FrontPage ·þÎñÆ÷À©Õ¹½«¸ù¾ÝÄúµÄÑ¡ÔñÔÚÆäÉÏ°²×°¡£

FrontPage ·þÎñÆ÷À©Õ¹µÄ°²×°½Å±¾ÊÇ fp_install.sh ¡£Äú±ØÐëÒÔ¡°root¡±µÇ¼²ÅÄÜÔËÐд˽ű¾¡£

½« FrontPage ·þÎñÆ÷À©Õ¹½âѹËõ

ÇëÔËÐÐ fp_install.sh ¡£
ÔÚ°²×° FrontPage 2000 ·þÎñÆ÷À©Õ¹Ö®Ç°£¬Äú½«±»ÌáʾÏȽ« FrontPage °²×°Ä¿Â¼¡¢·þÎñÆ÷ÅäÖÃÎļþĿ¼ºÍÆäËûÓйØÄÚÈÝ×öÒ»±¸·Ý£¬²¢ÇÒ»¹½«±»ÌáʾÐèÒªÒ»¸ö·þÎñÆ÷À©Õ¹Ä¿Â¼¡£
ÔÚĬÈÏÇé¿öÏ£¬·þÎñÆ÷À©Õ¹°²×°ÔÚ /usr/local/frontpage/ ÖС£Äú¿ÉÒÔ½ÓÊÜĬÈϵÄλÖã¬Ò²¿ÉÒÔÖ¸¶¨±ðµÄλÖá£Èç¹ûÄúÑ¡ÔñÁ˱ðµÄλÖã¬ÄÇô¾Í½«Éú³ÉÒ»¸ö´Ó /usr/local/frontpage/ Ö¸ÏòÄúËùѡĿ¼µÄ·ûºÅÁ´½Ó¡£°²×°Ä¿Â¼±ØÐëÉèÔÚ±¾µØ·ÖÇø£¬¶ø´Ë·ÖÇø²»µÃ½¨Á¢ÔÚ NOSUID ÉÏÃæ¡£

Äú½«±»Ìáʾ½âѹËõ FrontPage ·þÎñÆ÷À©Õ¹Ñ¹ËõÎļþ fp40.platform.tar.Z ¡£Èç¹û¸ÃѹËõÎļþ²»ÔÚµ±Ç°Ä¿Â¼ÖУ¬Äú½«±»ÌáʾÌṩÆäËùÔÚλÖá£

Éý¼¶½ÏÔçµÄ°æ±¾

½ÓÏÂÀ´£¬Äú½«±»ÌáʾÉý¼¶ÒÑ°²×°Á˽ÏÔç°æ±¾·þÎñÆ÷À©Õ¹µÄÕ¾µã·þÎñÆ÷¡£ÔÚ½«ËùÓзþÎñÆ÷¶¼Éý¼¶µ½·þÎñÆ÷À©Õ¹Ö®ºó£¬Äú¿ÉÒÔÑ¡ÔñÊÇÒÔ½»»¥Ê½µÄ·½Ê½À´ÉèÖÃÄúµÄÓà FrontPage À©Õ¹µÄÕ¾µãµÄ°²È«ÐÔ£¬»¹ÊÇÓà fp_install.sh Éú³ÉÒ»¸ö½Å±¾À´Íê³É´ËÏ×÷¡£

Èç¹ûÄúÑ¡ÔñÁ˽»»¥Ê½Ñ¡ÏÔò fp_install.sh ½«»áÒªÇóÄúÌṩÉý¼¶ºóµÄÿһ¸ö¸ùÕ¾µãºÍ×ÓÕ¾µãµÄ UNIX Óû§±êʶ·ûºÍ×é±êʶ·û¡£¶ÔÓÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µã£¬ fp_install.sh ½ÓׯὫÿһ¸öÕ¾µãÄÚÈݵÄËùÓÐÕ߸ü¸ÄΪָ¶¨µÄÓû§ºÍ×é¡£°²×°½Å±¾Ò²½«¸ü¸ÄËùÓÐÕß²¢½«Ã¿Ò»Õ¾µãÖзþÎñÆ÷À©Õ¹´æ¸ù¿ÉÖ´ÐÐÎļþµÄÓû§ ID ÉèÖÃΪ±»Ö¸¶¨µÄÓû§ºÍ×é¡££¨Èç¹ûÓà FrontPage À©Õ¹µÄÕ¾µãÔÚ FrontPage Apache patch Õ¾µã·þÎñÆ÷ÉÏ£¬Ôò×îºóÕâ¸ö²½Ö轫²»»á±»Ö´ÐС££©Èç¹ûÄúÑ¡ÔñÁ˽ű¾Ñ¡ÏÄÇô½«»áÉú³ÉÒ»¸ö Bourne shell ½Å±¾À´Íê³ÉËùÓÐÓÃfpsrvadm.exe Íê³ÉµÄ±ØÒªµÄ¸ü¸ÄËùÓÐÕß¹¤×÷¡£µ«ÊÇÔÚÔËÐнű¾Ö®Ç°£¬Äú±ØÐëͨ¹ýÌîÈëÓëÿһ¸öÕ¾µãÏà¹ØµÄ UNIX Óû§±êʶ·ûºÍ×é±êʶ·ûÀ´±à¼­½Å±¾¡£

µÚÒ»´Î°²×°¸ùÕ¾µãºÍ×ÓÕ¾µã

½ÓÏÂÀ´£¬Äú½«±»ÌáʾҪÔÚûÓзþÎñÆ÷À©Õ¹µÄÕ¾µã·þÎñÆ÷µÄ¸ùÕ¾µãÉÏ°²×°·þÎñÆ÷À©Õ¹¡£
ÔÚ°²×°Ö®Ç°£¬Äú½«±»ÌáʾÌṩվµã¹ÜÀíÔ±µÄÃû³ÆºÍÃÜÂë¡£µ±Äú´Ó FrontPage ¿Í»§¶Ë¹ÜÀí»ò´´×÷Õ¾µãʱ£¬½«ÐèÒªÕâ¸öÃû³ÆºÍÃÜÂë¡£ÔÚ°²×°¸ùÕ¾µãÖ®ºó£¬Äú½«±»ÌáʾÌṩÄúϵͳµÄ±¾µØ×Ö·û±àÂ뷽ʽºÍĬÈÏÓïÑÔ¡£

Äú½«±»ÌáʾÔÚ¸ùÕ¾µã֮ϴ´½¨×ÓÕ¾µã¡£
ÔÚ×ÓÕ¾µãÉÏ°²×°´æ¸ù·þÎñÆ÷À©Õ¹Æڼ䣬Äú½«±»ÌáʾÊäÈë×ÓÕ¾µãµÄÃû³Æ¡£Èç¹ûÃû³ÆµÄÐÎʽÊÇ ~webname ( Ò»¸ö¡°per-user¡±Õ¾µã ) £¬ÄÇô¡°webname¡±¾Í½«±»ÓÃÀ´µ±×÷ UNIX ÎļþϵͳÖÐ×ÓÕ¾µãµÄËùÓÐÕßµÄÃû³Æ¡£Èç¹û²»ÊÇ£¬Äú»á±»ÌáʾÌṩËùÓÐÕßµÄÃû³Æ¡£ÄúÒ²»á±»ÌáʾÌṩ×éËùÓÐÕßµÄÃû³Æ¡£

¶ÔÓÚÄúËùÑ¡ÔñµÄÿһ¸ö×ÓÕ¾µã£¬ÄúÒ²½«±»ÌáʾÌṩ¹ÜÀíÔ±µÄÃû³ÆºÍÃÜÂë¡£

¶ÔÓÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µã£¬ fp_install.sh ½ÓׯὫվµãÄÚÈݵÄËùÓÐÕ߸ü¸ÄΪָ¶¨µÄ UNIX Óû§ºÍ×é¡£Èç¹ûÓà FrontPage À©Õ¹µÄÕ¾µã²¢²»ÊÇÔÚ FrontPage Apache patch Õ¾µã·þÎñÆ÷ÉÏ£¬Ôò fp_install.sh Ò²½«¸ü¸Ä·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ´æ¸ù°æ±¾µÄËùÓÐÕß¡£Ïêϸ×ÊÁÏÇë²ÎÔÄÉèÖà SUID/SGID µÄ ·þÎñÆ÷À©Õ¹¡£

·þÎñÆ÷À©Õ¹½Ó×Å»áÔÚÿһ¸ö¸ùÕ¾µã»ò×ÓÕ¾µãÍê³ÉÏÂÃæÕâЩ¹¤×÷£º

¶ÔÓÚ³ýÁË FrontPage Apache patch ÒÔÍâµÄËùÓÐÕ¾µã·þÎñÆ÷£¬Ëü½«»áÔÚÕ¾µãµÄ _vti_bin Îļþ¼ÐÖа²×°·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ´æ¸ù°æ±¾¡£À©³ä»ùÓÚ FrontPage µÄ×é¼þ£¬ÀýÈç°üº¬ºÍÈ¡´úµÈ×é¼þ¡£
´´½¨Ò»¸öÓà FrontPage À©Õ¹µÄÕ¾µãµÄ³¬Á´½ÓÓ³Éä¡£ÌáÈ¡ÍøÒ³±êÌâ¡£ÌáÈ¡»ù±¾ URL ¡£

ÔÚÐéÄâ·þÎñÆ÷ÉÏ°²×°

½ÓÏÂÀ´£¬Äú»á±»Ìáʾ½« FrontPage 2000 ·þÎñÆ÷À©Õ¹°²×°ÔÚÈκεÄÐéÄâ·þÎñÆ÷ÉÏ¡£Èç¹ûÄúÑ¡ÔñÔÚÐéÄâ·þÎñÆ÷ÉÏ°²×°£¬Ôò»á±»ÌáʾÌṩÄúµÄ·þÎñÆ÷ÅäÖÃÎļþ¡£¸ù¾ÝÕâ¸öÎļþ£¬½Å±¾½«ÏÔʾһ¸öÐéÄâ·þÎñÆ÷ÁÐ±í¡£
ÔÚ°²×°Ö®Ç°£¬Äú½«±»ÌáʾÌṩվµã¹ÜÀíÔ±µÄÃû³ÆºÍÃÜÂë¡£µ±Äú´Ó FrontPage ¿Í»§¶Ë¹ÜÀí»ò´´×÷Õ¾µãʱ£¬½«»áÐèÒªÕâ¸öÃû³ÆºÍÃÜÂë¡£ÔÚ°²×°¸ùÕ¾µãÖ®ºó£¬Äú»á±»ÌáʾÌṩÄúϵͳµÄ±¾µØ×Ö·û±àÂ뷽ʽºÍĬÈÏÓïÑÔ¡£

Äú»á±»ÌáʾÓÚ¸ùÕ¾µã֮ϴ´½¨×ÓÕ¾µã¡£
ÔÚ×ÓÕ¾µãÉÏ°²×°´æ¸ù·þÎñÆ÷À©Õ¹Æڼ䣬Äú½«±»ÌáʾÊäÈë×ÓÕ¾µãµÄÃû³Æ¡£Èç¹ûÃû³ÆµÄÐÎʽÊÇ ~webname £¨Ò»¸ö¡°per-user¡±Õ¾µã£©£¬ÄÇô¡°webname¡±¾Í»á±»ÓÃÀ´µ±×÷ UNIX ÎļþϵͳÖÐ×ÓÕ¾µãËùÓÐÕßµÄÃû³Æ¡£Èç¹û²»ÊÇ£¬Äú½«±»ÌáʾÌṩËùÓÐÕßµÄÃû³Æ¡£Äú»¹½«±»ÌáʾÌṩ×éËùÓÐÕßµÄÃû³Æ¡£

¶ÔÓÚÄúËùÑ¡ÔñµÄÿһ¸ö×ÓÕ¾µã£¬ÄúÒ²½«±»ÌáʾÌṩ¹ÜÀíÔ±µÄÃû³ÆºÍÃÜÂë¡£

¶ÔÓÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µã£¬ fp_install.sh ½ÓׯὫÿһվµãÄÚÈݵÄËùÓÐÕ߸ü¸ÄΪָ¶¨µÄ UNIX Óû§ºÍ×é¡£Èç¹ûÓà FrontPage À©Õ¹µÄÕ¾µã²¢²»ÊÇÔÚ FrontPage Apache patch ·þÎñÆ÷ÉÏ£¬Ôò fp_install.sh Ò²½«¸ü¸Ä·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ´æ¸ù°æ±¾µÄËùÓÐÕß¡£Ïêϸ×ÊÁÏÇë²ÎÔÄÉèÖà SUID/SGID µÄ ·þÎñÆ÷À©Õ¹¡£

·þÎñÆ÷À©Õ¹½Ó׎«ÔÚÿһ¸ö¸ùÕ¾µã»ò×ÓÕ¾µãÍê³ÉÏÂÃæÕâЩ¹¤×÷£º

¶ÔÓÚ³ýÁË FrontPage Apache patch ÒÔÍâµÄËùÓÐÕ¾µã·þÎñÆ÷£¬Ëü½«ÔÚÕ¾µãµÄ _vti_bin Îļþ¼ÐÖа²×°·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ´æ¸ù°æ±¾¡£À©³ä»ùÓÚ FrontPage µÄ×é¼þ£¬ÀýÈç°üº¬×é¼þºÍÌæ´ú×é¼þµÈ¡£´´½¨Ò»¸öÓà FrontPage À©Õ¹µÄÕ¾µãµÄ³¬Á´½ÓÓ³Éä¡£ÌáÈ¡ÍøÒ³±êÌâ¡£ÌáÈ¡»ù±¾ URL ¡£

¹ØÓÚ FrontPage °²×°ÄÚÈݵÄÍêÕûÁÐ±í£¬Çë²ÎÔÄUNIX Õ¾µã·þÎñÆ÷µÄÎļþºÍȨÏÞ¡£¹ØÓÚÔÚ UNIX ²Ù×÷ϵͳÏ°²×°·þÎñÆ÷À©Õ¹Ê±ËùÓ¦ÖªµÀµÄ°²È«ÐÔ¿¼ÂǵÄÌÖÂÛ£¬Çë²ÎÔÄUNIX µÄ°²È«ÐÔ¡£¹ØÓÚÔÚ°²×° FrontPage ·þÎñÆ÷À©Õ¹Ö®ºóÈçºÎ¶ÔÖ®½øÐйÜÀíµÄÐÅÏ¢£¬Çë²ÎÔĹÜÀí¹¤¾ßºÍ¼¼Êõ¡£

°²×° Apache Patch
ÔÚijЩվµã·þÎñÆ÷Èç NCSA ºÍ Apache ÉÏ£¬FrontPage ·þÎñÆ÷À©Õ¹ÐèÒªÐÞ¸ÄÕ¾µã·þÎñÆ÷µÄÅäÖÃÎļþ´Ó¶ø½«°üº¬·þÎñÆ÷À©Õ¹µÄĿ¼±ê¼ÇΪ¿ÉÖ´ÐС£ÒòΪʹÓà FrontPage ¿Í»§¶Ë´´½¨×ÓÕ¾µãÐèÒª¿Í»§¶ËдÈëÕâЩ·þÎñÆ÷ÉϵÄÕ¾µã·þÎñÆ÷µÄÅäÖÃÎļþ£¬¶øÕ¾µã·þÎñÆ÷µÄ½ø³ÌËùÓÐÕßͨ³£¶¼²»¾ßÓдËȨÏÞ£¬ÔÚÕâÖÖÇé¿öϹÜÀíÔ±¾ÍÎÞ·¨´´½¨Óà FrontPage À©Õ¹µÄ×ÓÕ¾µã¡£ÔÚÕâЩ·þÎñÆ÷ÉÏ£¬ fpsrvadm.exe ¹¤¾ß»ò fpinstall.sh ±ØÐëÒÔÈ˹¤·½Ê½ÔÚÖ÷»ú¼ÆËã»úÉÏÒÔ¡°root¡±È¨ÏÞÀ´ÔËÐУ¬ÒÔÐÞ¸ÄÕ¾µã·þÎñÆ÷µÄÅäÖÃÎļþ²¢ÇÒ´´½¨×ÓÕ¾µã¡£

¶ÔÓÚ Apache Õ¾µã·þÎñÆ÷£¬ FrontPage ÌṩÁËÒ»Ïî¿ÉÑ¡µÄ²¹¶¡À´¿Ë·þ´ËÏÞÖÆ¡£½èÖú´ËÏî²¹¶¡£¬FrontPage ·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ¸±±¾¾Í²»»á±£´æÔÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µãÖУ¬¶ø½«±£´æÔÚÒ»¸ö¼¯ÖеÄλÖá£ÕâÑù¾Í²»ÐèÒª½«Ã¿Ò»¸öÕ¾µãÖеÄĿ¼¶¼±ê¼ÇΪ¿ÉÖ´ÐУ¬¶ø FrontPage ¿Í»§¶ËÎÞÐèÐ޸ķþÎñÆ÷ÅäÖÃÎļþ¾Í¿ÉÒÔ´´½¨ÐµÄÓà FrontPage À©Õ¹µÄÕ¾µã¡£

ÓÐÁ½¸ö·½·¨¿ÉÒÔ½«µ±Ç°µÄ Apache Õ¾µã·þÎñÆ÷ת»»³ÉÓà FrontPage ÐÞ²¹¹ýµÄ Apache Õ¾µã·þÎñÆ÷£º

Äú¿ÉÒÔ°²×°°üº¬ÔÚ FrontPage ·þÎñÆ÷À©Õ¹tar ÎļþÖеÄÒ»¸öÔ¤ÏȱàÒëµÄÐÞ²¹¹ýµÄ¿ÉÖ´ÐÐÎļþ¡£¸Ã·½·¨½«ÔÚ±¾¶ÎÖÐ˵Ã÷¡£Äú¿ÉÒÔÓÃÈ˹¤·½Ê½½«ËùÌṩµÄ²¹¶¡Ô´ÎļþÔÚµ±Ç°µÄ Apache ·þÎñÆ÷ÉϱàÒë¡£¸Ã·½
·¨»áÔÚ±àÒëºÍ°²×°Äú×Ô¼ºµÄ Apache Patch °æ±¾ÖÐ˵Ã÷¡£ÈôÒª°²×°Ô¤ÏȱàÒëµÄ FrontPage Apache patch£¬¿ÉʹÓà change_server.sh ½Å±¾¡£Õâ¸ö½Å±¾»áÖ¸µ¼ÄúÖð²½½« Apache ·þÎñÆ÷Éý¼¶ÎªÓà FrontPage ÐÞ²¹¹ýµÄ Apache ·þÎñÆ÷£¬ÒÔ¼°½«ÈκÎÓà FrontPage À©Õ¹µÄ Apache Õ¾µãÉý¼¶ÎªÊ¹Óà FrontPage ²¹¶¡¡£ÈôҪʹÓô˽ű¾£¬Äú±ØÐëÒÔ¡°root¡±È¨ÏÞÀ´ÔËÐС£

ÔÚ°²×° FrontPage Apache Patch ֮ǰ£¬Ç뽫µ±Ç°µÄ Apache ·þÎñÆ÷¡¢ FrontPa ge °²×°Ä¿Â¼¡¢·þÎñÆ÷ÅäÖÃÎļþĿ¼ºÍÈ«²¿µÄÕ¾µãÄÚÈÝ×÷Ò»±¸·Ý¡£

ÈôÒª°²×° FrontPage Apache patch £º

ÇëÔËÐÐ /usr/local/frontpage/version4.0/change_server.sh Õâ¸ö½Å±¾¡£Äú½«±»ÌáʾÌṩ Apache ·þÎñÆ÷µÄËùÔÚλÖᣴ˽ű¾½«£º

¾ö¶¨µÄÒª°²×°µÄ Apache Patch °æ±¾£º httpd.Compat £¬Èç¹ûÄúÓÐÔçÓÚ 1. 3 0 °æ±¾Ö®Ç°µÄ Apache ·þÎñÆ÷µÄ»°¡£·ñÔò¾ÍÊÇ httpd ¡£¼ì²éÒÔÈ·¶¨µ±Ç°·þÎñÆ÷ÉÐδ±»Éý¼¶¡£½«¾ÉµÄ Apache daemon Òƶ¯ÖÁ httpd.orig Õâ¸öÎļþ¡£½«Ð嵀 FrontPage patched Apache ·þÎñÆ÷¸´ÖƵ½ÕýÈ·µÄĿ¼¡£´´½¨Ò»¸öĬÈϵÄ×Ô¶¨ÒåÃܳ×Îļþ /usr/local/frontpage/currentversion/apache-fp/suidkey ¡£Õâ¸öÎļþ½«±»¸ü¸ÄËùÓÐÕߺÍģʽ´Ó¶ø½öÄܱ»¡°root¡±¶ÁÈ¡ºÍдÈ롣ĬÈϵÄ×Ô¶¨ÒåÃܳ×ÖµÊǶ¯Ì¬Éú³ÉµÄ£¬µ«ÊÇΪÁË×î¼ÑµÄ°²È«·À»¤ÐÔ£¬´ËÃܳ×ÖµÓ¦¸Ã¶¨ÆڵغÍÔÚ·þÎñÆ÷ÖØÐÂÆô¶¯Ê±¸ü¸Ä¡£Äú»á±»Ìáʾ½«ÈκÎÓà FrontPage À©Õ¹µÄ Apache ·þÎñÆ÷Éý¼¶ÎªÊ¹ÓÃеÄÐÞ²¹¹ýµÄ·þÎñÆ÷¡£Èç¹ûÄúÑ¡ÔñÉý¼¶£¬Ôò½Å±¾½«ÐÞ¸Ä /usr/local/frontpage ÖÐ FrontPage µÄÅäÖÃÎļþ£¬´Ó¶øÒýÓÃеķþÎñÆ÷¡£

µ÷Óà fpsrvadm.exe ¹¤¾ßÀ´Éý¼¶Ã¿Ò»¸öÕ¾µãµÄÄÚÈÝÇøÓò¡£
´´½¨°²È«ÐÔ¡£Äú¿ÉÒÔÑ¡ÔñÒÔ½»»¥Ê½µÄ·½Ê½À´ÉèÖà FrontPage Õ¾µãµÄ°²È«ÐÔ£¬»òÕßÓà change_server.sh À´Éú³ÉÉèÖð²È«ÐԵĽű¾(fp_chown.sh) ¡£Èç¹ûÄúÑ¡ÔñÁ˽»»¥Ê½Ñ¡ÏÔò½Å±¾½«ÌáʾÄúÌṩÒÑÉý¼¶µÄÿһ¸ö¸ùÕ¾µãºÍ×ÓÕ¾µãµÄ UNIX Óû§ ID ºÍ×é ID ¡£¶ÔÓÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µã£¬ change_server.sh »á½«Ã¿Ò»¸öÕ¾µãÖÐËùÓÐ FrontPage ´´½¨µÄĿ¼ºÍÄÚÈݵÄËùÓÐÕ߸ü¸ÄΪָ¶¨µÄÓû§ºÍ×é¡£

Èç¹ûÄúÑ¡ÔñÁ˽ű¾Ñ¡ÏîÀ´ÉèÖð²È«ÐÔ£¬ÄÇô change_server.sh ¾Í»áÉú³É´Ë½Å±¾¡£ÔÚÔËÐнű¾Ö®Ç°£¬Äú±ØÐëÌîÈëÓëÿһ¸öÕ¾µãÏà¹ØµÄ UNIX Óû§ ID ºÍ×é ID ¡£


Äú½«±»ÌáʾÉèÖÃĬÈÏȨÏÞ¡£
Èç¹ûÄúÑ¡Ôñ¡°ÊÇ¡±£¬Ôò½«ÔËÐÐ set_default_perms.sh Õâ¸ö½Å±¾¡£Õâ¸ö½Å±¾»á½« /usr/local/frontpage/version4.0 ºÍÆäÏÂËùÓÐĿ¼µÄȨÏÞ°´Ä¬ÈÏ·½Ê½ÉèÖ᣹ØÓÚ FrontPage ·þÎñÆ÷À©Õ¹Ä¬ÈÏȨÏÞµÄÍêÕûÁÐ±í£¬Çë²ÎÔÄ¡°UNIX Õ¾µã·þÎñÆ÷µÄÎļþºÍȨÏÞ¡£¡±

ΪÁËÈà FrontPage ÔÚеķþÎñÆ÷°²×°Ö®ºó¾ÍÄܹ»¿ªÊ¼¹¤×÷£¬ /usr/local/frontpage/version4. 0/apache-fp/_vti_bin/fpexe ÖÐµÄ FrontPage Apache ´æ¸ùµÄËùÓÐÕß±ØÐëΪ¡°root¡±£¬²¢ÇÒÓû§ ID Ò²±ØÐëÉèΪ¡°root¡±£º change_server.sh »áΪÄúÍê³É´ËÏ×÷¡£

ÔÚ°²×° FrontPage Apache Patch Ö®ºó£¬Äú±ØÐëÖØÐÂÆô¶¯·þÎñÆ÷¡£

±àÒëºÍ°²×°Äú×Ô¼ºµÄ Apache Patch °æ±¾Microsoft ÌṩÁË FrontPage Apache Patch ÎļþµÄÔ´´úÂë¡£ÈôҪʹÓÃÈκÎ×Ô¶¨Òå»òËæͬ FrontPage Apache Patch µÄ·Ç±ê׼ģ¿éÀ´±àÒë Apache Õ¾µã·þÎñÆ÷£¬ÔòÇë×ñÕÕ±¾¶ÎÖеÄָʾ¡£Èç¹ûÄú²»Ïë±àÒëÄú×Ô¼ºµÄ Apache Õ¾µã·þÎñÆ÷£¬ÔòÇë×ñÕÕ°²×° Apache patch ÖеÄָʾÀ´°²×°Ô¤ÏȱàÒëµÄ FrontPage Apache Patch¡£


ÔÚ±àÒëºÍ°²×° Apache Patch ֮ǰ£¬Äú±ØÐë°²×° FrontPage ·þÎñÆ÷À©Õ¹¡£µ±°²×°½Å±¾½« FrontPage ·þÎñÆ÷À©Õ¹½âѹËõʱ£¬ËüҲͬʱ½« FrontPage Apache Patch µÄÔ´Îļþ fp-patch-apache_1. 3 1 ½âѹËõ¡£ÔÚ UNIX ÉÏ°²×° FrontPage ·þÎñÆ÷À©Õ¹


-------------------------------------------------------------------------------

»ñµÃ FrontPage ·þÎñÆ÷À©Õ¹µÄ;¾¶ÓÃÓÚ UNIX ²Ù×÷ƽ̨µÄ Microsoft FrontPage 2000 ·þÎñÆ÷À©Õ¹¿É´ÓÏÂÁÐÕ¾µãÏÂÔØ£ºhttp://www.microsoft.com/frontpage¡£

ÓÃÓÚ UNIX ²Ù×÷ƽ̨µÄ°²×°Èí¼þ°ü°üº¬ÁË°²×°½Å±¾¡¢ fp_install.sh ÒÔ¼°Ò»¸ö°üº¬ËùÓзþÎñÆ÷À©Õ¹ÎļþµÄѹËõ tar Îļþ¡£Õâ¸ö tar ÎļþÃûΪ fp40.platform.tar.Z £¬´Ë´¦µÄ platform ¾ÍÊÇ·þÎñÆ÷À©Õ¹°²×°ËùÔÚµÄ UNIX ²Ù×÷ƽ̨¡£ÀýÈ磬fp40.solaris.tar.Z ¾ÍÊÇÓÃÓÚ Solaris ·þÎñÆ÷µÄ tar ѹËõÎļþ¡£

FrontPage ·þÎñÆ÷À©Õ¹Ö§³ÖµÄ²Ù×÷ƽ̨ÏÂÃæµÄ±í¸ñÁгöÁË»ùÓÚ UNIX ²Ù×÷ϵͳ²¢ÇÒÖ§³Ö FrontPage ·þÎñÆ÷À©Õ¹µÄÕ¾µã·þÎñÆ÷¡£

²Ù×÷ϵͳ Web ·þÎñÆ÷
Digital UNIX 3.2c ¡¢ 4.0 (Alpha)
BSD/OS 2.1 (Intel x86)
BSD/OS 3.0 (Intel x86)
Linux 3.03 (Red Hat Software) (Intel x86)
HP/UX 9.03 ¡¢ 10.01 (PA-RISC)
IRIX 5.3 ¡¢ 6.2 (Silicon Graphics)
Solaris 2.4 ¡¢ 2.5 ¡¢ 2.6 (SPARC)
SunOS 4. 1 3 ¡¢ 4. 1 4 (SPARC)
AIX 3. 2 5 ¡¢ 4.1 ¡¢ 4.2 (RS6000 ¡¢ PowerPC)
SCO OpenServer5.0 (Intel x86)
Apache 1.2 ¡¢ 1.3
NCSA 1. 5 2 ( µ«²»ÊÇ 1. 5 a »ò 1. 5 1)
Netscape Enterprise Server 2.0 ¡¢ 3. 0
Netscape FastTrack 2. 0
Netscape SuiteSpot 3. 51
Stronghold 2.0 »òÆäºóµÄ°æ±¾

°²×°µÄÄÚÈÝ
FrontPage ·þÎñÆ÷À©Õ¹Ä¬ÈϵݲװλÖÃÊÇ /usr/local/frontpage ¡£ Èç¹ûÄú½«ËüÃÇ°²×°µ½ÆäËûλÖã¬ÄÇôһ¶¨»áÉú³ÉÒ»¸ö´Ó /usr/local/frontpage Ö¸Ïò¸Ã°²×°ÇøÓòµÄÁ´½Ó¡££¨°²×°½Å±¾½«ÎªÄú´´½¨´ËÁ´½Ó¡££©¼´Ê¹Äú²¢Ã»Óн«·þÎñÆ÷À©Õ¹°²×°ÔÚĿ¼ /usr/local ÖУ¬¿ÉÊÇËü»¹ÊDZØÐë´æÔÚ¡£Èç¹ûÄúµÄ·þÎñÆ÷ÉÏûÓÐÕâ¸öĿ¼£¬°²×°½Å±¾½«´´½¨Ëü¡£

³ýÁË·þÎñÆ÷À©Õ¹£¬ÁíÍ⻹Ҫ°²×°ÒÔÏÂÄÚÈÝ£º
fpsrvadm.exe ³ÌÐò£¬ÕâÊÇÒ»¸ö¹ÜÀí FrontPage ·þÎñÆ÷À©Õ¹ºÍÓà FrontPage À©Õ¹µÄÕ¾µãµÄ¹¤¾ß£¬Ëü±»°²×°ÔÚ /usr/local/frontpage/version4.0/bin/fpsrvadm.exe ÖС£¶ø FrontPage ·þÎñÆ÷À©Õ¹×ÊÔ´¹¤¾ßÏäÌṩÁËÍêÕûµÄ·þÎñÆ÷À©Õ¹Îĵµ¡£´Ë HTML Îĵµ°²×°ÔÚ/usr/local/frontpage/version4.0/serk/nnnn/default.htm ¡£´Ë´¦µÄÎļþ¼ÐÃû /nnnn ÊÇ´ú±íÄú°²×°µÄ FrontPage ·þÎñÆ÷À©Õ¹µÄÓïÑÔµÄÊý×Ö´úÂë¡£ÀýÈ磬Èç¹ûÄú°²×°µÄÊÇÃÀʽӢÓïµÄ FrontPage ·þÎñÆ÷À©Õ¹£¬ÄÇôÍêÕûµÄ·¾¶½«ÊÇ/usr/local/frontpage/version4.0/serk/1033/default.htm ¡£HTML ¹ÜÀí±íµ¥°²×°ÔÚ /usr/local/frontpage/version4.0/admcgi ÖС£ÕâЩ HTML ÍøÒ³ÓÃÀ´´ÓÈκÎÁ¬½Óµ½ Internet ²¢¿É·ÃÎʱ¾·þÎñÆ÷µÄ¼ÆËã»úÉϹÜÀí·þÎñÆ÷À©Õ¹¡£Apache server ²¹¶¡¿ÉÒÔÎÞÐèÔÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µãÉÏ°²×°·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ´æ¸ù°æ±¾£¬Ò²Äܹ»°²×°Ò»¸öµ¥Ò»µÄ FrontPage ·þÎñÆ÷À©Õ¹µÄ¸±±¾
¡£Apache patch ¶þ½øÖÆÊý¾ÝºÍÔ´Îļþ°²×°ÔÚ /usr/local/frontpage/version4.0/apache-fp ÖС£ÆäËûµÄ·þÎñÆ÷À©Õ¹Îļþ£¬ÀýÈçÏûÏ¢ÎļþºÍÅäÖÃÎļþ¡£
ʹÓð²×°½Å±¾
FrontPage ·þÎñÆ÷À©Õ¹µÄ°²×°·ÖΪËĸö²½Öè¡££¨Äúδ±ØÒªÖ´ÐÐËùÓв½Öè¡££©Ê×ÏÈ£¬Ç뽫·þÎñÆ÷À©Õ¹ºÍÆäËûµÄÎļþ½âѹËõ£¬ÔÙ½«ËüÃDZ£´æµ½·þÎñÆ÷¼ÆËã»úÉϵÄÏàӦλÖá£Æä´Î£¬Èç¹ûÄúµÄÕ¾µã·þÎñÆ÷ÒÑ°²×°Á˽ÏÔç°æ±¾µÄ·þÎñÆ÷À©Õ¹£¬ÔòËü½«±»Éý¼¶µ½ FrontPage 2000 ¡£ÔٴΣ¬Èç¹ûÄúµÄÕ¾µã·þÎñÆ÷´Óδ°²×°¹ý·þÎñÆ÷À©Õ¹£¬ÄÇôËüÃǽ«±»°²×°¡£×îºó£¬Èç¹ûÄúÓÐÒ»¸ö»ò¶à¸öÐéÄâ·þÎñÆ÷£¬Ôò FrontPage ·þÎñÆ÷À©Õ¹½«¸ù¾ÝÄúµÄÑ¡ÔñÔÚÆäÉÏ°²×°¡£

FrontPage ·þÎñÆ÷À©Õ¹µÄ°²×°½Å±¾ÊÇ fp_install.sh ¡£Äú±ØÐëÒÔ¡°root¡±µÇ¼²ÅÄÜÔËÐд˽ű¾¡£

½« FrontPage ·þÎñÆ÷À©Õ¹½âѹËõ

ÇëÔËÐÐ fp_install.sh ¡£
ÔÚ°²×° FrontPage 2000 ·þÎñÆ÷À©Õ¹Ö®Ç°£¬Äú½«±»ÌáʾÏȽ« FrontPage °²×°Ä¿Â¼¡¢·þÎñÆ÷ÅäÖÃÎļþĿ¼ºÍÆäËûÓйØÄÚÈÝ×öÒ»±¸·Ý£¬²¢ÇÒ»¹½«±»ÌáʾÐèÒªÒ»¸ö·þÎñÆ÷À©Õ¹Ä¿Â¼¡£
ÔÚĬÈÏÇé¿öÏ£¬·þÎñÆ÷À©Õ¹°²×°ÔÚ /usr/local/frontpage/ ÖС£Äú¿ÉÒÔ½ÓÊÜĬÈϵÄλÖã¬Ò²¿ÉÒÔÖ¸¶¨±ðµÄλÖá£Èç¹ûÄúÑ¡ÔñÁ˱ðµÄλÖã¬ÄÇô¾Í½«Éú³ÉÒ»¸ö´Ó /usr/local/frontpage/ Ö¸ÏòÄúËùѡĿ¼µÄ·ûºÅÁ´½Ó¡£°²×°Ä¿Â¼±ØÐëÉèÔÚ±¾µØ·ÖÇø£¬¶ø´Ë·ÖÇø²»µÃ½¨Á¢ÔÚ NOSUID ÉÏÃæ¡£

Äú½«±»Ìáʾ½âѹËõ FrontPage ·þÎñÆ÷À©Õ¹Ñ¹ËõÎļþ fp40.platform.tar.Z ¡£Èç¹û¸ÃѹËõÎļþ²»ÔÚµ±Ç°Ä¿Â¼ÖУ¬Äú½«±»ÌáʾÌṩÆäËùÔÚλÖá£

Éý¼¶½ÏÔçµÄ°æ±¾

½ÓÏÂÀ´£¬Äú½«±»ÌáʾÉý¼¶ÒÑ°²×°Á˽ÏÔç°æ±¾·þÎñÆ÷À©Õ¹µÄÕ¾µã·þÎñÆ÷¡£ÔÚ½«ËùÓзþÎñÆ÷¶¼Éý¼¶µ½·þÎñÆ÷À©Õ¹Ö®ºó£¬Äú¿ÉÒÔÑ¡ÔñÊÇÒÔ½»»¥Ê½µÄ·½Ê½À´ÉèÖÃÄúµÄÓà FrontPage À©Õ¹µÄÕ¾µãµÄ°²È«ÐÔ£¬»¹ÊÇÓà fp_install.sh Éú³ÉÒ»¸ö½Å±¾À´Íê³É´ËÏ×÷¡£

Èç¹ûÄúÑ¡ÔñÁ˽»»¥Ê½Ñ¡ÏÔò fp_install.sh ½«»áÒªÇóÄúÌṩÉý¼¶ºóµÄÿһ¸ö¸ùÕ¾µãºÍ×ÓÕ¾µãµÄ UNIX Óû§±êʶ·ûºÍ×é±êʶ·û¡£¶ÔÓÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µã£¬ fp_install.sh ½ÓׯὫÿһ¸öÕ¾µãÄÚÈݵÄËùÓÐÕ߸ü¸ÄΪָ¶¨µÄÓû§ºÍ×é¡£°²×°½Å±¾Ò²½«¸ü¸ÄËùÓÐÕß²¢½«Ã¿Ò»Õ¾µãÖзþÎñÆ÷À©Õ¹´æ¸ù¿ÉÖ´ÐÐÎļþµÄÓû§ ID ÉèÖÃΪ±»Ö¸¶¨µÄÓû§ºÍ×é¡££¨Èç¹ûÓà FrontPage À©Õ¹µÄÕ¾µãÔÚ FrontPage Apache patch Õ¾µã·þÎñÆ÷ÉÏ£¬Ôò×îºóÕâ¸ö²½Ö轫²»»á±»Ö´ÐС££©Èç¹ûÄúÑ¡ÔñÁ˽ű¾Ñ¡ÏÄÇô½«»áÉú³ÉÒ»¸ö Bourne shell ½Å±¾À´Íê³ÉËùÓÐÓÃfpsrvadm.exe Íê³ÉµÄ±ØÒªµÄ¸ü¸ÄËùÓÐÕß¹¤×÷¡£µ«ÊÇÔÚÔËÐнű¾Ö®Ç°£¬Äú±ØÐëͨ¹ýÌîÈëÓëÿһ¸öÕ¾µãÏà¹ØµÄ UNIX Óû§±êʶ·ûºÍ×é±êʶ·ûÀ´±à¼­½Å±¾¡£

µÚÒ»´Î°²×°¸ùÕ¾µãºÍ×ÓÕ¾µã

½ÓÏÂÀ´£¬Äú½«±»ÌáʾҪÔÚûÓзþÎñÆ÷À©Õ¹µÄÕ¾µã·þÎñÆ÷µÄ¸ùÕ¾µãÉÏ°²×°·þÎñÆ÷À©Õ¹¡£
ÔÚ°²×°Ö®Ç°£¬Äú½«±»ÌáʾÌṩվµã¹ÜÀíÔ±µÄÃû³ÆºÍÃÜÂë¡£µ±Äú´Ó FrontPage ¿Í»§¶Ë¹ÜÀí»ò´´×÷Õ¾µãʱ£¬½«ÐèÒªÕâ¸öÃû³ÆºÍÃÜÂë¡£ÔÚ°²×°¸ùÕ¾µãÖ®ºó£¬Äú½«±»ÌáʾÌṩÄúϵͳµÄ±¾µØ×Ö·û±àÂ뷽ʽºÍĬÈÏÓïÑÔ¡£

Äú½«±»ÌáʾÔÚ¸ùÕ¾µã֮ϴ´½¨×ÓÕ¾µã¡£
ÔÚ×ÓÕ¾µãÉÏ°²×°´æ¸ù·þÎñÆ÷À©Õ¹Æڼ䣬Äú½«±»ÌáʾÊäÈë×ÓÕ¾µãµÄÃû³Æ¡£Èç¹ûÃû³ÆµÄÐÎʽÊÇ ~webname ( Ò»¸ö¡°per-user¡±Õ¾µã ) £¬ÄÇô¡°webname¡±¾Í½«±»ÓÃÀ´µ±×÷ UNIX ÎļþϵͳÖÐ×ÓÕ¾µãµÄËùÓÐÕßµÄÃû³Æ¡£Èç¹û²»ÊÇ£¬Äú»á±»ÌáʾÌṩËùÓÐÕßµÄÃû³Æ¡£ÄúÒ²»á±»ÌáʾÌṩ×éËùÓÐÕßµÄÃû³Æ¡£

¶ÔÓÚÄúËùÑ¡ÔñµÄÿһ¸ö×ÓÕ¾µã£¬ÄúÒ²½«±»ÌáʾÌṩ¹ÜÀíÔ±µÄÃû³ÆºÍÃÜÂë¡£

¶ÔÓÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µã£¬ fp_install.sh ½ÓׯὫվµãÄÚÈݵÄËùÓÐÕ߸ü¸ÄΪָ¶¨µÄ UNIX Óû§ºÍ×é¡£Èç¹ûÓà FrontPage À©Õ¹µÄÕ¾µã²¢²»ÊÇÔÚ FrontPage Apache patch Õ¾µã·þÎñÆ÷ÉÏ£¬Ôò fp_install.sh Ò²½«¸ü¸Ä·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ´æ¸ù°æ±¾µÄËùÓÐÕß¡£Ïêϸ×ÊÁÏÇë²ÎÔÄÉèÖà SUID/SGID µÄ ·þÎñÆ÷À©Õ¹¡£

·þÎñÆ÷À©Õ¹½Ó×Å»áÔÚÿһ¸ö¸ùÕ¾µã»ò×ÓÕ¾µãÍê³ÉÏÂÃæÕâЩ¹¤×÷£º

¶ÔÓÚ³ýÁË FrontPage Apache patch ÒÔÍâµÄËùÓÐÕ¾µã·þÎñÆ÷£¬Ëü½«»áÔÚÕ¾µãµÄ _vti_bin Îļþ¼ÐÖа²×°·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ´æ¸ù°æ±¾¡£À©³ä»ùÓÚ FrontPage µÄ×é¼þ£¬ÀýÈç°üº¬ºÍÈ¡´úµÈ×é¼þ¡£
´´½¨Ò»¸öÓà FrontPage À©Õ¹µÄÕ¾µãµÄ³¬Á´½ÓÓ³Éä¡£ÌáÈ¡ÍøÒ³±êÌâ¡£ÌáÈ¡»ù±¾ URL ¡£

ÔÚÐéÄâ·þÎñÆ÷ÉÏ°²×°

½ÓÏÂÀ´£¬Äú»á±»Ìáʾ½« FrontPage 2000 ·þÎñÆ÷À©Õ¹°²×°ÔÚÈκεÄÐéÄâ·þÎñÆ÷ÉÏ¡£Èç¹ûÄúÑ¡ÔñÔÚÐéÄâ·þÎñÆ÷ÉÏ°²×°£¬Ôò»á±»ÌáʾÌṩÄúµÄ·þÎñÆ÷ÅäÖÃÎļþ¡£¸ù¾ÝÕâ¸öÎļþ£¬½Å±¾½«ÏÔʾһ¸öÐéÄâ·þÎñÆ÷ÁÐ±í¡£
ÔÚ°²×°Ö®Ç°£¬Äú½«±»ÌáʾÌṩվµã¹ÜÀíÔ±µÄÃû³ÆºÍÃÜÂë¡£µ±Äú´Ó FrontPage ¿Í»§¶Ë¹ÜÀí»ò´´×÷Õ¾µãʱ£¬½«»áÐèÒªÕâ¸öÃû³ÆºÍÃÜÂë¡£ÔÚ°²×°¸ùÕ¾µãÖ®ºó£¬Äú»á±»ÌáʾÌṩÄúϵͳµÄ±¾µØ×Ö·û±àÂ뷽ʽºÍĬÈÏÓïÑÔ¡£

Äú»á±»ÌáʾÓÚ¸ùÕ¾µã֮ϴ´½¨×ÓÕ¾µã¡£
ÔÚ×ÓÕ¾µãÉÏ°²×°´æ¸ù·þÎñÆ÷À©Õ¹Æڼ䣬Äú½«±»ÌáʾÊäÈë×ÓÕ¾µãµÄÃû³Æ¡£Èç¹ûÃû³ÆµÄÐÎʽÊÇ ~webname £¨Ò»¸ö¡°per-user¡±Õ¾µã£©£¬ÄÇô¡°webname¡±¾Í»á±»ÓÃÀ´µ±×÷ UNIX ÎļþϵͳÖÐ×ÓÕ¾µãËùÓÐÕßµÄÃû³Æ¡£Èç¹û²»ÊÇ£¬Äú½«±»ÌáʾÌṩËùÓÐÕßµÄÃû³Æ¡£Äú»¹½«±»ÌáʾÌṩ×éËùÓÐÕßµÄÃû³Æ¡£

¶ÔÓÚÄúËùÑ¡ÔñµÄÿһ¸ö×ÓÕ¾µã£¬ÄúÒ²½«±»ÌáʾÌṩ¹ÜÀíÔ±µÄÃû³ÆºÍÃÜÂë¡£

¶ÔÓÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µã£¬ fp_install.sh ½ÓׯὫÿһվµãÄÚÈݵÄËùÓÐÕ߸ü¸ÄΪָ¶¨µÄ UNIX Óû§ºÍ×é¡£Èç¹ûÓà FrontPage À©Õ¹µÄÕ¾µã²¢²»ÊÇÔÚ FrontPage Apache patch ·þÎñÆ÷ÉÏ£¬Ôò fp_install.sh Ò²½«¸ü¸Ä·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ´æ¸ù°æ±¾µÄËùÓÐÕß¡£Ïêϸ×ÊÁÏÇë²ÎÔÄÉèÖà SUID/SGID µÄ ·þÎñÆ÷À©Õ¹¡£

·þÎñÆ÷À©Õ¹½Ó׎«ÔÚÿһ¸ö¸ùÕ¾µã»ò×ÓÕ¾µãÍê³ÉÏÂÃæÕâЩ¹¤×÷£º

¶ÔÓÚ³ýÁË FrontPage Apache patch ÒÔÍâµÄËùÓÐÕ¾µã·þÎñÆ÷£¬Ëü½«ÔÚÕ¾µãµÄ _vti_bin Îļþ¼ÐÖа²×°·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ´æ¸ù°æ±¾¡£À©³ä»ùÓÚ FrontPage µÄ×é¼þ£¬ÀýÈç°üº¬×é¼þºÍÌæ´ú×é¼þµÈ¡£´´½¨Ò»¸öÓà FrontPage À©Õ¹µÄÕ¾µãµÄ³¬Á´½ÓÓ³Éä¡£ÌáÈ¡ÍøÒ³±êÌâ¡£ÌáÈ¡»ù±¾ URL ¡£

¹ØÓÚ FrontPage °²×°ÄÚÈݵÄÍêÕûÁÐ±í£¬Çë²ÎÔÄUNIX Õ¾µã·þÎñÆ÷µÄÎļþºÍȨÏÞ¡£¹ØÓÚÔÚ UNIX ²Ù×÷ϵͳÏ°²×°·þÎñÆ÷À©Õ¹Ê±ËùÓ¦ÖªµÀµÄ°²È«ÐÔ¿¼ÂǵÄÌÖÂÛ£¬Çë²ÎÔÄUNIX µÄ°²È«ÐÔ¡£¹ØÓÚÔÚ°²×° FrontPage ·þÎñÆ÷À©Õ¹Ö®ºóÈçºÎ¶ÔÖ®½øÐйÜÀíµÄÐÅÏ¢£¬Çë²ÎÔĹÜÀí¹¤¾ßºÍ¼¼Êõ¡£

°²×° Apache Patch
ÔÚijЩվµã·þÎñÆ÷Èç NCSA ºÍ Apache ÉÏ£¬FrontPage ·þÎñÆ÷À©Õ¹ÐèÒªÐÞ¸ÄÕ¾µã·þÎñÆ÷µÄÅäÖÃÎļþ´Ó¶ø½«°üº¬·þÎñÆ÷À©Õ¹µÄĿ¼±ê¼ÇΪ¿ÉÖ´ÐС£ÒòΪʹÓà FrontPage ¿Í»§¶Ë´´½¨×ÓÕ¾µãÐèÒª¿Í»§¶ËдÈëÕâЩ·þÎñÆ÷ÉϵÄÕ¾µã·þÎñÆ÷µÄÅäÖÃÎļþ£¬¶øÕ¾µã·þÎñÆ÷µÄ½ø³ÌËùÓÐÕßͨ³£¶¼²»¾ßÓдËȨÏÞ£¬ÔÚÕâÖÖÇé¿öϹÜÀíÔ±¾ÍÎÞ·¨´´½¨Óà FrontPage À©Õ¹µÄ×ÓÕ¾µã¡£ÔÚÕâЩ·þÎñÆ÷ÉÏ£¬ fpsrvadm.exe ¹¤¾ß»ò fpinstall.sh ±ØÐëÒÔÈ˹¤·½Ê½ÔÚÖ÷»ú¼ÆËã»úÉÏÒÔ¡°root¡±È¨ÏÞÀ´ÔËÐУ¬ÒÔÐÞ¸ÄÕ¾µã·þÎñÆ÷µÄÅäÖÃÎļþ²¢ÇÒ´´½¨×ÓÕ¾µã¡£

¶ÔÓÚ Apache Õ¾µã·þÎñÆ÷£¬ FrontPage ÌṩÁËÒ»Ïî¿ÉÑ¡µÄ²¹¶¡À´¿Ë·þ´ËÏÞÖÆ¡£½èÖú´ËÏî²¹¶¡£¬FrontPage ·þÎñÆ÷À©Õ¹¿ÉÖ´ÐÐÎļþµÄ¸±±¾¾Í²»»á±£´æÔÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µãÖУ¬¶ø½«±£´æÔÚÒ»¸ö¼¯ÖеÄλÖá£ÕâÑù¾Í²»ÐèÒª½«Ã¿Ò»¸öÕ¾µãÖеÄĿ¼¶¼±ê¼ÇΪ¿ÉÖ´ÐУ¬¶ø FrontPage ¿Í»§¶ËÎÞÐèÐ޸ķþÎñÆ÷ÅäÖÃÎļþ¾Í¿ÉÒÔ´´½¨ÐµÄÓà FrontPage À©Õ¹µÄÕ¾µã¡£

ÓÐÁ½¸ö·½·¨¿ÉÒÔ½«µ±Ç°µÄ Apache Õ¾µã·þÎñÆ÷ת»»³ÉÓà FrontPage ÐÞ²¹¹ýµÄ Apache Õ¾µã·þÎñÆ÷£º

Äú¿ÉÒÔ°²×°°üº¬ÔÚ FrontPage ·þÎñÆ÷À©Õ¹tar ÎļþÖеÄÒ»¸öÔ¤ÏȱàÒëµÄÐÞ²¹¹ýµÄ¿ÉÖ´ÐÐÎļþ¡£¸Ã·½·¨½«ÔÚ±¾¶ÎÖÐ˵Ã÷¡£Äú¿ÉÒÔÓÃÈ˹¤·½Ê½½«ËùÌṩµÄ²¹¶¡Ô´ÎļþÔÚµ±Ç°µÄ Apache ·þÎñÆ÷ÉϱàÒë¡£¸Ã·½
·¨»áÔÚ±àÒëºÍ°²×°Äú×Ô¼ºµÄ Apache Patch °æ±¾ÖÐ˵Ã÷¡£ÈôÒª°²×°Ô¤ÏȱàÒëµÄ FrontPage Apache patch£¬¿ÉʹÓà change_server.sh ½Å±¾¡£Õâ¸ö½Å±¾»áÖ¸µ¼ÄúÖð²½½« Apache ·þÎñÆ÷Éý¼¶ÎªÓà FrontPage ÐÞ²¹¹ýµÄ Apache ·þÎñÆ÷£¬ÒÔ¼°½«ÈκÎÓà FrontPage À©Õ¹µÄ Apache Õ¾µãÉý¼¶ÎªÊ¹Óà FrontPage ²¹¶¡¡£ÈôҪʹÓô˽ű¾£¬Äú±ØÐëÒÔ¡°root¡±È¨ÏÞÀ´ÔËÐС£

ÔÚ°²×° FrontPage Apache Patch ֮ǰ£¬Ç뽫µ±Ç°µÄ Apache ·þÎñÆ÷¡¢ FrontPa ge °²×°Ä¿Â¼¡¢·þÎñÆ÷ÅäÖÃÎļþĿ¼ºÍÈ«²¿µÄÕ¾µãÄÚÈÝ×÷Ò»±¸·Ý¡£

ÈôÒª°²×° FrontPage Apache patch £º

ÇëÔËÐÐ /usr/local/frontpage/version4.0/change_server.sh Õâ¸ö½Å±¾¡£Äú½«±»ÌáʾÌṩ Apache ·þÎñÆ÷µÄËùÔÚλÖᣴ˽ű¾½«£º

¾ö¶¨µÄÒª°²×°µÄ Apache Patch °æ±¾£º httpd.Compat £¬Èç¹ûÄúÓÐÔçÓÚ 1. 3 0 °æ±¾Ö®Ç°µÄ Apache ·þÎñÆ÷µÄ»°¡£·ñÔò¾ÍÊÇ httpd ¡£¼ì²éÒÔÈ·¶¨µ±Ç°·þÎñÆ÷ÉÐδ±»Éý¼¶¡£½«¾ÉµÄ Apache daemon Òƶ¯ÖÁ httpd.orig Õâ¸öÎļþ¡£½«Ð嵀 FrontPage patched Apache ·þÎñÆ÷¸´ÖƵ½ÕýÈ·µÄĿ¼¡£´´½¨Ò»¸öĬÈϵÄ×Ô¶¨ÒåÃܳ×Îļþ /usr/local/frontpage/currentversion/apache-fp/suidkey ¡£Õâ¸öÎļþ½«±»¸ü¸ÄËùÓÐÕߺÍģʽ´Ó¶ø½öÄܱ»¡°root¡±¶ÁÈ¡ºÍдÈ롣ĬÈϵÄ×Ô¶¨ÒåÃܳ×ÖµÊǶ¯Ì¬Éú³ÉµÄ£¬µ«ÊÇΪÁË×î¼ÑµÄ°²È«·À»¤ÐÔ£¬´ËÃܳ×ÖµÓ¦¸Ã¶¨ÆڵغÍÔÚ·þÎñÆ÷ÖØÐÂÆô¶¯Ê±¸ü¸Ä¡£Äú»á±»Ìáʾ½«ÈκÎÓà FrontPage À©Õ¹µÄ Apache ·þÎñÆ÷Éý¼¶ÎªÊ¹ÓÃеÄÐÞ²¹¹ýµÄ·þÎñÆ÷¡£Èç¹ûÄúÑ¡ÔñÉý¼¶£¬Ôò½Å±¾½«ÐÞ¸Ä /usr/local/frontpage ÖÐ FrontPage µÄÅäÖÃÎļþ£¬´Ó¶øÒýÓÃеķþÎñÆ÷¡£

µ÷Óà fpsrvadm.exe ¹¤¾ßÀ´Éý¼¶Ã¿Ò»¸öÕ¾µãµÄÄÚÈÝÇøÓò¡£
´´½¨°²È«ÐÔ¡£Äú¿ÉÒÔÑ¡ÔñÒÔ½»»¥Ê½µÄ·½Ê½À´ÉèÖà FrontPage Õ¾µãµÄ°²È«ÐÔ£¬»òÕßÓà change_server.sh À´Éú³ÉÉèÖð²È«ÐԵĽű¾(fp_chown.sh) ¡£Èç¹ûÄúÑ¡ÔñÁ˽»»¥Ê½Ñ¡ÏÔò½Å±¾½«ÌáʾÄúÌṩÒÑÉý¼¶µÄÿһ¸ö¸ùÕ¾µãºÍ×ÓÕ¾µãµÄ UNIX Óû§ ID ºÍ×é ID ¡£¶ÔÓÚÿһ¸öÓà FrontPage À©Õ¹µÄÕ¾µã£¬ change_server.sh »á½«Ã¿Ò»¸öÕ¾µãÖÐËùÓÐ FrontPage ´´½¨µÄĿ¼ºÍÄÚÈݵÄËùÓÐÕ߸ü¸ÄΪָ¶¨µÄÓû§ºÍ×é¡£

Èç¹ûÄúÑ¡ÔñÁ˽ű¾Ñ¡ÏîÀ´ÉèÖð²È«ÐÔ£¬ÄÇô change_server.sh ¾Í»áÉú³É´Ë½Å±¾¡£ÔÚÔËÐнű¾Ö®Ç°£¬Äú±ØÐëÌîÈëÓëÿһ¸öÕ¾µãÏà¹ØµÄ UNIX Óû§ ID ºÍ×é ID ¡£


Äú½«±»ÌáʾÉèÖÃĬÈÏȨÏÞ¡£
Èç¹ûÄúÑ¡Ôñ¡°ÊÇ¡±£¬Ôò½«ÔËÐÐ set_default_perms.sh Õâ¸ö½Å±¾¡£Õâ¸ö½Å±¾»á½« /usr/local/frontpage/version4.0 ºÍÆäÏÂËùÓÐĿ¼µÄȨÏÞ°´Ä¬ÈÏ·½Ê½ÉèÖ᣹ØÓÚ FrontPage ·þÎñÆ÷À©Õ¹Ä¬ÈÏȨÏÞµÄÍêÕûÁÐ±í£¬Çë²ÎÔÄ¡°UNIX Õ¾µã·þÎñÆ÷µÄÎļþºÍȨÏÞ¡£¡±

ΪÁËÈà FrontPage ÔÚеķþÎñÆ÷°²×°Ö®ºó¾ÍÄܹ»¿ªÊ¼¹¤×÷£¬ /usr/local/frontpage/version4. 0/apache-fp/_vti_bin/fpexe ÖÐµÄ FrontPage Apache ´æ¸ùµÄËùÓÐÕß±ØÐëΪ¡°root¡±£¬²¢ÇÒÓû§ ID Ò²±ØÐëÉèΪ¡°root¡±£º change_server.sh »áΪÄúÍê³É´ËÏ×÷¡£

ÔÚ°²×° FrontPage Apache Patch Ö®ºó£¬Äú±ØÐëÖØÐÂÆô¶¯·þÎñÆ÷¡£

±àÒëºÍ°²×°Äú×Ô¼ºµÄ Apache Patch °æ±¾Microsoft ÌṩÁË FrontPage Apache Patch ÎļþµÄÔ´´úÂë¡£ÈôҪʹÓÃÈκÎ×Ô¶¨Òå»òËæͬ FrontPage Apache Patch µÄ·Ç±ê׼ģ¿éÀ´±àÒë Apache Õ¾µã·þÎñÆ÷£¬ÔòÇë×ñÕÕ±¾¶ÎÖеÄָʾ¡£Èç¹ûÄú²»Ïë±àÒëÄú×Ô¼ºµÄ Apache Õ¾µã·þÎñÆ÷£¬ÔòÇë×ñÕÕ°²×° Apache patch ÖеÄָʾÀ´°²×°Ô¤ÏȱàÒëµÄ FrontPage Apache Patch¡£


ÔÚ±àÒëºÍ°²×° Apache Patch ֮ǰ£¬Äú±ØÐë°²×° FrontPage ·þÎñÆ÷À©Õ¹¡£µ±°²×°½Å±¾½« FrontPage ·þÎñÆ÷À©Õ¹½âѹËõʱ£¬ËüҲͬʱ½« FrontPage Apache Patch µÄÔ´Îļþ fp-patch-apache_1. 3 1 ½âѹËõ¡£

½« fp-patch-apache_1. 3 1 ¸´ÖƵ½ÄúµÄ Apache ·þÎñÆ÷Ŀ¼ÖУ¨Í¨³£ÊÇ /usr/local/apache£© ¡£


Èç¹ûÄúÒÔǰʹÓÃÁËÇ°Ò»¸ö°æ±¾µÄ FrontPage Apache Patch Ô´ÎļþÀ´±àÒë Apache Õ¾µã·þÎñÆ÷£¬ÔòÇëʹÓò¹¶¡¹¤¾ßµÄ GNU °æ±¾½« FrontPage Apache Patch µÄÇ°Ò»¸ö°æ±¾´ÓÄúµÄ Apache ·þÎñÆ÷ÖÐɾ³ý£º
%patch þd0 ©ú < previous_FrontPage_patch_fileʹÓò¹¶¡¹¤¾ßµÄ GNU °æ±¾£¬ÔËÐÐ FrontPage 2000 Apache Patch Ô´ÎļþµÄ patch ÃüÁ%patch þd0
´´½¨ÐÞ²¹¹ýµÄ·þÎñÆ÷µÄ makefile ¡£¶ÔÓÚʹÓà 1. 3 0 »òÆäºó°æ±¾Ä¿Â¼½á¹¹µÄ·þÎñÆ÷ÇëʹÓãº
% Configure --add-module=mod_frontpage.c

¶ÔÓÚʹÓà 1. 3 0 »ò½ÏÔç°æ±¾Ä¿Â¼½á¹¹µÄ·þÎñÆ÷ÇëʹÓãº

% Configure --add-module=mod_frontpage.c -þWompat

±àÒë Apache ·þÎñÆ÷£º%make

Ìæ»»¾É°æµÄ Apache ·þÎñÆ÷¡£


°´¡°°²×° Apache patch¡±ÖеĽéÉÜÔËÐÐ change_server.sh Õâ¸ö½Å±¾ ¡£ÕâÑù¿ÉÒÔÉý¼¶Óà FrontPage À©Õ¹µÄÕ¾µã£¬²¢ÉèÖÃÄÚÈݵÄÊʵ±È¨ÏÞ¡£Æô¶¯Ð嵀 Apache ·þÎñÆ÷¡£