Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÉÏApache·´Ïò´úÀíÖ®ProxyPass IISÍøÕ¾×ܽá


   ÔÚ°ÑÕâƪ×ܽáдÏÂÀ´Ö®Ç°£¬ÎÒÏë˵¼¸¾ä»°£º¡¡¹¤×÷ºÍ°®ºÃǧÍò±ð»ìÔÚÒ»Æð£¬ÐĽ¹Á¦´á°¡£¡ÎªÁËÍê³ÉÒ»¸ö¿´ËÆÒÔÇ°ºÜ¼òµ¥²¢ÇÒÒ²Óйý³É¹¦¾­ÑéµÄÈÎÎñ£¬ÎҸɵ½ÏÖÔÚ¡£±¾À´ÒÔΪͦ¼òµ¥µÄÊÂÇ飬¼ÓÉÏÄDz»ÕùÆøµÄPromise MB Fasttrak133 µÄRAIDÇý¶¯ÕæµÄÈÃÎÒÁìÂÔµ½ÁËWindows·þÎñÆ÷ƽ̨µÄ÷ÈÁ¦£ºÒ»¸ö×Ö£ºÕæTMDÀã¡·þÎñÆ÷°²×°µÄʱºò¾ÍÓÐן÷ÖÖÀ§ÄÑ£¬ºÃÈÝÒ×ŪºÃÁË£¬È´ÔÚÅäÖÃÖгöÏÖÁËÂé·³£¬µ±È»²»ÊÇÖ¸¼òµ¥µÄ¶ÔϵͳºÍÍøÕ¾µÄÅäÖ㬶øÊÇÕë¶ÔËüµÄת·¢ÅäÖá£
¡¡¡¡ËµÕýÌ⣡
¡¡¡¡½á¹¹Èç´Ë£º
¡¡
¡¡×ÊÁÏ£º
¡¡¡¡£±¡¢Linux1 ΪÖ÷·þÎñÆ÷£¬Win1Ϊ±¾´ÎÅäÖõķþÎñÆ÷£¬Linux2¡¢Linux3Ϊ±¾´Î˳ÊÖÅäÖõķþÎñÆ÷£»
¡¡¡¡£²¡¢Á½¸öDomain: www.a.com¡¢www.b.cn£»
¡¡¡¡£³¡¢·À»ðǽΪĬÈÏÅäÖ㻵ØÖ·£º192.168.100.1
¡¡¡¡£´¡¢ÍâÍø£É£ÐµØÖ·£º222.222.222.222£¬ÄÚÍø×ÊÔ´·ÖÅ䣺Linux1 : 192.168.100.2¡¢Linux2: 192.168.100.3¡¢Linux3: 192.168.100.4¡¢Win1: 192.168.100.5£»
¡¡¡¡£µ¡¢Ö®Ç°ËùÓÐDomain½âÎöÍê±Ï£¬ÖÁ222.222.222.222£»
¡¡¡¡±¾´ÎÖصãÊÇwww.b.cn Õâ¸öDomainÔڣףɣηþÎñÆ÷ÖУ¬Ê¹ÆäÄܹ»ÔÚµ¥Ò»ÍâÍø£É£ÐÏÂͨ¹ýLinux1µÄApache·´Ïò´úÀíת·¢¡£
¡¡¡¡°´ÕÕµÀÀí˵£¬ÒÔÎÒÒÔÇ°×öµÄhttpdµÄProxy»òÕßÊÇRewrite¶¼ÊÇûÓÐÎÊÌâµÄ£¬±ÈÈ磺
<VirtualHost 192.168.1.6:80>
ServerAdmin mail@fatsohome
ServerName mail.fatso.cn
ErrorLog logs/mail-error_log
CustomLog logs/mail-access_log common
rewriteengine on
proxyrequests   off
usecanonicalname off
rewriterule ^/(.*)$ http://192.168.1.2/$1 [P,L]
</VirtualHost>¡¡¡¡
¾ßÌåÄÚÈÝÇë²Î¿¼ÎÒÒÔÇ°µÄÎÄÕ£ºhttp://fatso.blog.hexun.com/2290770_d.html
¡¡¡¡µ«ÊÇÕâÒ»´ÎÈ´³öÏÖÁËÎÊÌ⣬´òµç»°ÎÊʦÐÖ£¬Ê¦ÐÖ°ïÎÒ·ÖÎöÁ˺ܶàÇé¿öÒÔºóҲûÄܽâ¾ö£¬¹Ø¼üÊÇÎÒÃÇÒÔÇ°¶¼ÊÇֻѡÔñʹÓÃLinux·þÎñÆ÷£¬»ù±¾Óò»×ÅWinƽ̨µÄ·þÎñÆ÷£¬ËùÒÔÕâÒ»´ÎÏÔȻҪ¸ã³öÎÊÌâËùÔÚ¡£
¡¡¡¡ÔÚ²âÊԺͷÖÎöÖУ¬Ê¦ÐÖËù½²µÄʹÓÃÏÂÃæµÄ·½Ê½×ö·´ÏòÊÇûÎÊÌâµÄ£º
<VirtualHost>
ServerName  www.b.cn
RewriteEngine On
ProxyPass / http://www.b.cn/
...
</virtualHost>
¡¡¡¡µ«ÊǺóÀ´ÎÒ·¢ÏÖ£¬ÎÒÃǶ¼ºöÂÔÁËÒ»µã£ºÎÒÃǶ¼´¦ÔÚ×Ô¼ºµÄÄÚÍø£¬ÎÞÂÛÊÇ·þÎñÆ÷»¹ÊÇClient¶¼ÊÇ»áÏȱ»·þÎñÆ÷·µ»ØÄÚÍøµÄµØÖ·ÔËÐУ¡Õâ¾ÍÈÃÎÒÃÇ×ßÈëÁËÎóÇø£¬ºÇºÇ¡£
¡¡¡¡µ±Öз´¸´²âÊÔÁËÏÂÃæµÄ·½Ê½£¬»ù±¾ÉÏ°üÀ¨ÁËProxy·½Ê½ºÍRewrite·½Ê½£º
RewriteRule ^


Ïà¹ØÎĵµ£º

ÔÚlinuxÏÂʵÏÖweb qqµÄ×ÀÃ滯


´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ­°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......

linux c/c++ GDB½Ì³ÌÏê½â

GDB
ÊÇ
GNU
¿ªÔ´×éÖ¯·¢²¼µÄÒ»¸öÇ¿´óµÄ
UNIX
ϵijÌÐòµ÷ÊÔ¹¤¾ß¡£»òÐí£¬¸÷λ±È½Ïϲ»¶ÄÇÖÖͼÐνçÃ淽ʽµÄ£¬Ïñ
VC
¡¢
BCB
µÈ
IDE
µÄµ÷ÊÔ£¬µ«Èç¹ûÄãÊÇÔÚ
UNIX
ƽ̨ÏÂ×öÈí¼þ£¬Äã»á·¢ÏÖ
GDB
Õâ¸öµ÷ÊÔ¹¤¾ßÓбÈ
VC
¡¢
BCB
µÄͼÐλ¯µ÷ÊÔÆ÷¸üÇ¿´óµÄ¹¦ÄÜ¡£Ëùν

´çÓÐËù³¤£¬³ßÓÐËù¶Ì

¾ÍÊÇÕâ¸öµÀÀí ......

linux ²éÕÒĿ¼»òÎļþÏê½â


²éÕÒĿ¼£ºfind /£¨²éÕÒ·¶Î§£© -name '²éÕҹؼü×Ö' -type d
²éÕÒÎļþ£ºfind /£¨²éÕÒ·¶Î§£© -name ²éÕҹؼü×Ö -print
Èç¹ûÐèÒª¸ü½øÒ»²½µÄÁ˽⣬¿ÉÒԲο´LinuxµÄÃüÁîÏê½â¡£
ÕâÀïÕª³­ÈçÏ£º
·find path -option [ -print ] [ -exec -ok command ] {} \;
#-print ½«²éÕÒµ½µÄÎļþÊä³öµ½±ê×¼Êä³ö
#-exec command { ......

linux×Ô¶¯Æô¶¯ÊسÌÉèÖÃ

aep1000
Ö§³Ö¿ìËÙ¼ÓÃÜ´¦Àí¿¨ÒÔ¼ÓËÙ°²È«Ì×½Ó×ֲ㣨SSL£©¼ÓÃÜ£¬ÔÚ±¾ÊéÖв»ÓÃÓÚ½¨Á¢¼¯Èº¡£
anacron
ÓëcronºÍatÀàËÆ£¬¶¼ÊÇÔÚÌض¨Ê±¼ä¡¢ÉõÖÁÔÚϵͳûÓÐÁ¬ÐøÔËÐÐʱÆô¶¯ÃüÁîµÄ£¬ÔÚRed HatÉÏ£¬/etc/anacrontabÎļþÁгöÁËÿÌìÖ´ÐеÄcron×÷ÒµµÄÑ­»·³£¹æÈÕÖ¾£¬Èç¹ûÄã½ûÓÃÁËËü£¬Ä㽫²»ÄÜÔÙÖ´ÐÐÈÕ־ѭ»·£¬ÄãµÄϵͳ´ÅÅÌ×îºó½«±»ÌîÂú£¬Ô ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ