LinuxÏÂApache°²×°/Ôö¼Ómod_rewriteÄ£¿é
¡¡Èç¹ûÄãµÄ·þÎñÆ÷apache»¹Ã»Óа²×°£¬ÄǺܼòµ¥£¬ÔÚ±àÒëapacheʱ½«mod_rewriteÄ£¿é±àÒë½øÈ¥¾Í¿ÉÒÔ£¬Ïà¹ØÎĵµ¿ÉÒÔÔÚhttp://man.ddvip.com/soft/apache2.2/misc/rewriteguide.html
ÖÐÕÒµ½¡£Èç¹ûÄãµÄapacheÒѾ°²×°ºÃÁË£¬ÏÖÔÚÖ»Ïë±àÒë³ömod_rewrite.soÄ£¿é£¬ÔÚapacheÖнøÐмÓÔØ£¬ÏÂÃæÎÒÃǾͽéÉÜÕâ¸ö·½·¨¡£
¡¡¡¡ÒÔFedora²Ù×÷ϵͳ½øÐоÙÀý£º
¡¡¡¡1£©Ê״ΰ²×°apache£¬ÔÚ±àÒëʱÔö¼Ó——enable-rewriteÑ¡Ïî¡£
¡¡¡¡Èç¡£/configure ——prefix=/usr/local/apachel ——enable-so ——enable-mods-shared=all ——enable-rewrite ——enable-cache
¡¡¡¡2£©Ôö¼Ómod_rewriteÄ£¿é
¡¡¡¡# find . -name mod_rewrite.c //ÔÚapacheµÄÔ´Â밲װĿ¼ÖÐÑ°ÕÒmod_rewrite.cÎļþ
¡¡¡¡# cd PATH/to/mod_rewrite.c //½øÈë°üº¬mod_rewrite.cÎļþµÄĿ¼
¡¡¡¡# /usr/local/apache/bin/apxs -c mod_rewrite.c //apxsÓ¦Ö¸¶¨¾ø¶Ô·¾¶£¬ÔÚÄ㵱ǰÕýÔÚʹÓÃapacheµÄbinĿ¼Àï
¡¡¡¡# /usr/local/apache/bin/apxs -i -a -n mod_rewrite mod_rewrite.la
¡¡¡¡Èç¹ûûÓÐʲô´íÎóµÄ»°£¬Ó¦¸ÃÔÚÄãµÄapacheµÄmodulesĿ¼ÖбàÒë³öÒ»¸ömod_rewrite.soÎļþ¡£
¡¡¡¡±à¼httpd.confÎļþ£¬È·ÈÏhttpd.confÖÐÒѾ°üº¬mod_rewrite.soµÄ¼ÓÔØÓï¾ä£¬ÈçÏ£º
¡¡¡¡LoadModule rewrite_module modules/mod_rewrite.so
¡¡¡¡Õâʱ£¬ÄãµÄapacheÓ¦¸ÃÒѾ֧³ÖrewriteÁË¡£
¡¡¡¡vicos×¢£ºÍê³ÉÖ®ºó£¬¼ÇµÃÖØÆô·þÎñÆ÷apache.
±à¼©ÍƼöÔĶÁÒÔÏÂÎÄÕÂ
ʲô½Ð×öα¾²Ì¬£¬mod_rewriteµÄһЩ֪ʶ¼ò½é
mod_rewriteÖеÄREQUEST_URI
mod_rewriteÄ£¿éÏê½â
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
ÆäʵÔÚÈÏÕæÔĶÁÁËÕâƪÃûΪ“¼ÆËãÄÚ´æʹÓÃ
”µÄÎÄÕÂÖ®ºó£¬»¹ÊÇ´¦ÓÚ°ëÃÔºý״̬¡£Õâλ×÷Õß¾Í˵LinuxÏÂÃæûÓÐÌرðºÃµÄÏÔʾÄÚ´æÕ¼ÓõŤ¾ß£¬ËäÈ»ÓÐtopºÍfree£¬µ«¶¼ËµµÃ²»Çå³þ£¬¾Í¸úÎ׶¾½ÌµÄħÊõËƵġ£
±ÈÈçtopÕâ¸ö¹¤¾ß£¬Ëü»áÏÔʾ3ÖÖÊý¾Ý£¬×÷Õß·Ö±ð½âÊÍÈçÏ£º
VIRT£ºvirtual memory usage¡£VirtualÕâ¸ö´ÊºÜÉñ£ ......
LinuxÏÂÖÐÎÄÂÒÂëµÄ½â¾ö·½·¨
ÆäʵÂÒÂëÕâ¸öÎÊÌâÊÇÓÉϵͳ¼¯³ÉµÄ×Ö·û¼¯ÒýÆðµÄ,ÓÉÓÚ²»ÄÜÕýÈ·µÄʹÓÃÏà¶ÔÓ¦×Ö·ûµÄ×Ö·û¼¯,Òò´ËOS²»ÄÜʶ±ð³öÎÄ×Öµ¼ÖÂÁËÂÒÂë,½â¾öµÄ·½·¨²»ÄÑ......
Ê×ÏÈ,ÎÒÃÇÏÈÒªÖªµÀ¿ØÖÆLinux OS µÄÓïÑÔ»·¾³±äÁ¿ÊÇ $LANGºÍ$LC_ALL,Òª½â¾öÂÒÂëµÄÇé¿öÎÒÃÇÖ»ÐèÒª°ÑÉÏÊöµÄÁ½¸ö±äÁ¿ÕýÈ·ÉèÖü´¿É.
ÂÒÂë·ÖÁ½ÖÖÇé ......
·¢²¼: 2009-3-30 14:11 | ×÷Õß: gyl4802959
| À´Ô´: ITÔËάר¼ÒÍø
1)Ô¤±¸ÖªÊ¶
Nagios×Ô¼º¶¨ÒåÁËÒ»Ì×¹æÔòÓÃÓÚÅäÖÃÎļþ,ÆäÖÐ×îÖØÒªµÄ¸ÅÄî¾ÍÊÇ”¶ÔÏó”----object.ͨË×µÄÀí½â:¼Ù¶¨ÎÒÃÇÊ×Ïȶ¨ÒåÁË”ÐÔ±ð”Õâ¸ö¶ÔÏó,Ëü
µÄÖµÖ»¿ÉÄÜÊÇÄÐ,Å®,ÈËÑýµÈµÈ,È»ºó¶¨ÒåijÈËΪһ¸ö¶ÔÏó,ÀýÈçÕÅÈý,¶¨ÒåÕÅÈýµÄʱºòÓÐ ......
sock_rawÔʼÌ×½Ó×Ö±à³Ì¿ÉÒÔ½ÓÊÕµ½±¾»úÍø¿¨ÉϵÄÊý¾ÝÖ¡»òÕßÊý¾Ý°ü,¶ÔÓë¼àÌýÍøÂçµÄÁ÷Á¿ºÍ·ÖÎöÊǺÜÓÐ×÷ÓõÄ.Ò»¹²¿ÉÒÔÓÐ3ÖÖ·½Ê½´´½¨ÕâÖÖsocket
1.socket(AF_INET, SOCK_RAW, IPPROTO_TCP|IPPROTO_UDP|IPPROTO_ICMP)·¢ËͽÓÊÕipÊý¾Ý°ü
2.socket(PF_PACKET, SOCK_RAW, htons(ETH_P_IP|ETH_P_ARP|ETH_P_ALL))·¢ËͽÓÊÕÒÔ ......