魔术兔试玩 http://www.bqlbd.club/ ???????? zh-cn http://www.bqlbd.club Copyright 2010 http://www.bqlbd.club, All Rights Reserved 2016/5/23 0:10:04 [Web??????]IIS???????????url??????? http://www.bqlbd.club//tech/5479.html ???????? Web?????? 2016/1/14 13:32:20 <p>iis ??????????????????????rar???</p><p>???????IIS?????????????????????????ú?????</p><p>?汾??windows2003server+iis6</p><p>??????????????</p><p>??????????£????</p><p>?????????????????????????????????????У?????regedit????98?汾??&quot;regedit32&quot;,???????????HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters\</p><p>FavorDBCS ??????&quot;0&quot; ?????? FavorDBCS ?????? [??????]</p><p>??????????????reg???</p><p>Windows Registry Editor Version 5.00</p><p>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters]<br/>&quot;favordbcs&quot;=&quot;0&quot;<br/></p><p>??????????IIS??</p><p><strong>IIS????????RAR???????ν????????? </strong></p><p>??????IIS??????????IDC????????????????WEB???????<br/>???????WEB?????????????????????<br/>????????????????IIS</p> [Web??????]IIS7/iis7.5α????????????????? http://www.bqlbd.club//tech/5478.html ???????? Web?????? 2016/1/13 10:30:19 <p>IIS7?????????????С??????????windows 2008+iis7+php???????????????????????????ü?????????????????????</p><p>?????????????????????system32?????applicationhost.config,?????????web.config????????д????????????</p><p><strong>1. ????????????web.config</strong></p><p>???????????web.config ???, ???&lt;system.webServer&gt;??????&lt;requestFiltering allowDoubleEscaping=??true??&gt; ??</p><p>????Ч?????£?</p><p>????????<span style="WHITE-SPACE: pre"> </span>&nbsp;</p><p>&lt;configuration&gt;</p><p>&lt;system.webServer&gt;</p><p>&lt;security&gt;</p><p>&lt;requestFiltering allowDoubleEscaping=&quot;true&quot;&gt;&lt;/requestFiltering&gt;</p><p>&lt;/security&gt;</p><p>&lt;/system.webServer&gt;</p><p>&lt;/configuration&gt;</p><p><strong>2. ?????applicationhost.config</strong></p><p>?? ApplicationHost.config ???, ??λ??????е? configuration/system.webServer/security/requestFiltering/?? &lt;requestFiltering&gt; ??????360?н?&lt;requestFiltering&gt; ??? &lt;requestFiltering allowDoubleEscaping=&quot;true&quot;&gt; ????</p><p>????????<span style="WHITE-SPACE: pre"> </span>&nbsp;</p><p>&lt;configuration&gt;</p><p>&lt;system.webServer&gt;</p><p>&lt;security&gt;</p><p>&lt;requestFiltering allowDoubleEscaping=&quot;true&quot;&gt;&lt;/requestFiltering&gt;</p><p>&lt;/security&gt;</p><p>&lt;/system.webServer&gt;</p><p>&lt;/configuration&gt;</p><p>????????????????????????????????????????С??????????????????????????????</p> [Web??????]win2008 ??iis7????404??浫??????200?????????? http://www.bqlbd.club//tech/5474.html ???????? Web?????? 2015/10/31 23:44:30 <p>???????SEO??????????????????????????404??淵???http???200??????????????в?????????????????200.</p><p>?????????????????????????????????windows2008 ???????iis7????????????????????е????????????404???????????塣?????????????404????????????????http???????200?????</p><p>???????????????????????????????????????????μ?web.config ???????????????</p><p><span id="more-1087"></span></p><p><strong>???巽?????</strong></p><p>1.??????????μ?web.config?????</p><p>2.???????е?</p><p>&lt;httpErrors&gt;<br/>&lt;remove statusCode=??404?? subStatusCode=??-1?? /&gt;<br/>&lt;error statusCode=??404?? prefixLanguageFilePath=???? path=??404.htm?? responseMode=??ExecuteURL?? /&gt;<br/>&lt;/httpErrors&gt;</p><p>3.??????????滻??</p><p>&lt;httpErrors errorMode=??DetailedLocalOnly?? defaultResponseMode=??File?? &gt;<br/>&lt;remove statusCode=??404?? /&gt;<br/>&lt;error statusCode=??404?? path=??404.html?? /&gt;<br/>&lt;/httpErrors&gt;</p><p>???????????????????????Ч??</p> [Web??????]???????:An error occurred on the server when processing the URL. Please contact the system administrato http://www.bqlbd.club//tech/5473.html ???????? Web?????? 2015/10/20 16:25:05 <p>??WINDOWS7??SERVER2008??????IIS7.5??????ASP????????????′???</p><p>An error occurred on the server when processing the URL. Please contact the system administrator</p><p><strong>??????????£?</strong></p><p><strong><span style="COLOR: #ff0000">???÷????:</span></strong></p><p>?????????????CMD????????λ??%windir%\system32\inetsrv\????????appcmd set config -section:asp -scriptErrorSentToBrowser:true??</p><p>%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true</p><p><strong><span style="COLOR: #ff0000">???÷?????:</span></strong></p><p>??IIS7??<span style="LINE-HEIGHT: 25px; COLOR: #ff0000">asp????</span>???????<span style="LINE-HEIGHT: 25px; COLOR: #ff0000">????????</span>???????<span style="LINE-HEIGHT: 25px; COLOR: #ff0000">??????????????</span>????????????<span style="LINE-HEIGHT: 25px; COLOR: #ff0000">False</span>?????<span style="LINE-HEIGHT: 25px; COLOR: #ff0000">True</span>??????????????????????</p><p><img alt="???????:An error occurred on the server when processing the URL. Please contact the system administrator" src="http://pic.downcc.com/upload/2015-10/2015102016231590967.jpg"/></p><p>??????????ú??????????????ASP????????????????????????????????????????????Web?????????鲻???????????????????????????á?</p> [Web??????]ISAPI_Rewrite ???汾301?????????ISAPI_Rewrite?????? http://www.bqlbd.club//tech/5360.html www.bqlbd.club Web?????? 2015/10/6 14:25:28 <p>?????????????????????????????????????????????????????????????????????????Σ???????????????????????google/soso???????ü??????301???????????????<a href="http://bbs.itmop.com/thread-46820-1-1.html" target="_blank">IIS??301???</a>??????????????????????????????α????????????????????????????????</p><p>IIS ??α??????????<a href="http://www.bqlbd.club/soft/13513.html" target="_blank">ISAPI_Rewrite ???</a>????????ISAPI_Rewrite ???????????url ??д????????????????301???2.x?????????1.3?汾?????302????????????ISAPI Rewrite??301???????????</p><p>1. <strong>??????www?????????301???????www??????</strong></p><blockquote><p># ISAPI_Rewrite 2.x ?汾<br/>[ISAPI_Rewrite]<br/># 3600 = 1 hour<br/>CacheClockRate 3600<br/>RepeatLimit 32<br/>RewriteCond Host: ^downcc\.com$<br/>RewriteRule (.*) http\://www\.downcc\.com$1 [I,RP]</p><p># ISAPI_Rewrite 3.0 ?汾<br/>[ISAPI_Rewrite]<br/># 3600 = 1 hour<br/>CacheClockRate 3600<br/>RepeatLimit 32<br/>RewriteCond %{HTTP:Host} ^downcc\.com$<br/>RewriteRule (.*) http\://www\.downcc\.com$1 [NC,R=301]</p></blockquote><p>2. <strong>???????????301???</strong></p><blockquote><p># ISAPI_Rewrite 2.x ?汾<br/>[ISAPI_Rewrite]<br/># 3600 = 1 hour<br/>CacheClockRate 3600<br/>RepeatLimit 32<br/>RewriteCond %{HTTP:Host} ^downcc\.cn$<br/>RewriteRule (.*) http\://www\.downcc\.com$1 [NC,R=301]</p><p># ISAPI_Rewrite 3.0 ?汾<br/>[ISAPI_Rewrite]<br/># 3600 = 1 hour<br/>CacheClockRate 3600<br/>RepeatLimit 32<br/>RewriteCond %{HTTP:Host} ^www\.downcc\.cn$<br/>RewriteRule (.*) http\://www\.downcc\.com$1 [NC,R=301]</p></blockquote><p>3. <strong>?????301???????????????</strong></p><blockquote><p># ISAPI_Rewrite 2.x ?汾<br/>[ISAPI_Rewrite]<br/># 3600 = 1 hour<br/>CacheClockRate 3600<br/>RepeatLimit 32<br/>RewriteRule ^/oldpage.html$ http://downcc.com/dll.html[I,O,RP,L]</p><p># ISAPI_Rewrite 3.0 ?汾<br/>[ISAPI_Rewrite]<br/># 3600 = 1 hour<br/>CacheClockRate 3600<br/>RepeatLimit 32<br/>RewriteRule ^/oldpage.html$ http://downcc.com/dll.html[NC,L,R=301,O]</p></blockquote><p>???ISAPI_Rewrite 1.3??????????????????????汾??????????url ??д????????????????????????301???????????????????μ?ISAPI_Rewrite 3.0 ?汾??ISAPI_Rewrite 1.3 ????IIS???????????????????????????????????????302 HTTP header????????301 ?????????δ???????301?????????????е???????涼????????????</p><p>??????????????windows iis ??????301??????????????Google ???????????涼?????????????www?????www ?????????????????????????</p><p>301??????????????<a href="http://www.ab173.com/getheader.php" target="_blank" textvalue="http://www.ab173.com/getheader.php">http://www.ab173.com/getheader.php</a></p><p><strong>&nbsp;????ISAPI_Rewrite??????</strong></p><p>ISAPI_Rewrite ??????Сд??У???????????Сд???<br/>I (ignore case???????Сд????????????<br/>????RewriteRule /code/project/([0-9,a-z]*).html /soft.jsp\?softpy=$1 [I] <br/><br/><strong>????????????</strong> <br/><em>I (ignore case?? </em><br/>?????Сд???????????????FLAG???RewriteRule?????????RewriteCond ??<br/><br/><em>F (Forbidden) </em><br/>???????????????REWRITING??????????403??????????????????FORMATSTRING ??????????????????κη????????? <br/><br/><em>L (last rule) </em><br/>??????κ???д???????????д???????????FLAG????????????д??URI???????????????д??<br/><br/><em>N (Next iteration) </em><br/>???REWRITINGENGINE???????????????????????飨???????????棩???????????RepeatLimit????????????????????????N FLAG?????????<br/><br/><em>NS (Next iteration of the same rule) </em><br/>??N???????????????????????????????????????????????????????RepeatLimit???????????????????????????????<br/><br/><em>P (force proxy) </em><br/>??????URI??????????????????????????ISAPI????????????????????????????????????Ч??URI????Э?? ?????????????????????<br/><br/><em>R (explicit redirect?? <br/></em>???????????????????????????????????URI???μ??????????????????????<br/><br/><em>RP (permanent redirect) </em><br/>??????[R]?????????????301HTTP????????302HTTP??????<br/><br/><em>U (Unmangle Log) </em><br/>??URI??????????????д?????????URI??<br/><br/><em>O (nOrmalize) </em><br/>????????????????????????????URL-ENCODING???????????????????????????????URLS??URLS-ENDODED?????????<br/><br/><em>CL (Case Lower) <br/></em>Сд??<br/><br/><em>CU (Case Upper) <br/></em>??д??<br/><br/><em>RewriteHeader directive </em><br/>Syntax: RewriteHeader HeaderName Pattern FormatString [Flags] <br/>????????RewriteRule??????????????????????дURL???????????????????дHTTP?????????????????д???????????κ?HTTP????????????????????????<br/><br/><em>HeaderName </em><br/>?????????д??????????????? RewriteCond ?????TestVerb?????????<br/><br/><em>Pattern </em><br/>???????????????Request-URI??<br/><br/><em>FormatString <br/></em>??????????μ?URI??FormatString ??<br/><em>[Flags] </em><br/>?????????FLAGS?????????б??<br/><br/><em>I (ignore case?? <br/></em>?????Сд???????????????FLAG???RewriteRule?????????RewriteCond ??<br/><em>F (Forbidden)</em> <br/>???????????????REWRITING??????????403??????????????????FORMATSTRING ??????????????????κη?????????<br/><br/><em>L (last rule) </em><br/>??????κ???д???????????д???????????FLAG????????????д??URI???????????????д??<br/><br/><em>N (Next iteration) </em><br/>???REWRITINGENGINE???????????????????????飨???????????棩???????????RepeatLimit????????????????????????N FLAG?????????<br/><br/><em>NS (Next iteration of the same rule) <br/></em>??N???????????????????????????????????????????????????????RepeatLimit???????????????????????????????<br/><br/><em>R (explicit redirect?? </em><br/>???????????????????????????????????URI???μ??????????????????????<br/><br/><em>RP (permanent redirect) </em><br/>??????[R]?????????????301HTTP????????302HTTP??????<br/><br/><em>U (Unmangle Log) </em><br/>??URI??????????????д?????????URI??<br/><br/><em>O (nOrmalize) </em><br/>????????????????????????????URL-ENCODING???????????????????????????????URLS??URLS-ENDODED?????????<br/><br/><em>CL (Case Lower) <br/></em>Сд??<br/><em>CU (Case Upper) </em><br/>??д??</p> [Web??????]???IIS?? ASPMaxRequestEntityAllowed http://www.bqlbd.club//tech/2247.html ??????? Web?????? 2015/9/24 8:33:01 <p>IIS&nbsp;6&nbsp;??????????,&nbsp;??????????200K(????????????????200KByte,&nbsp;204800Byte).&nbsp;</p><h3>?????:&nbsp;</h3><p>1.&nbsp;???&nbsp;IIS&nbsp;Admin&nbsp;Service&nbsp;????&nbsp;</p><p>2.&nbsp;??&nbsp;\Windows\system32\inesrv\metabase.xml&nbsp;</p><p>3.&nbsp;???&nbsp;ASPMaxRequestEntityAllowed&nbsp;????????????,&nbsp;????&nbsp;204800&nbsp; ????1073741824</p><p>4.&nbsp;???&nbsp;IIS&nbsp;Admin&nbsp;Service</p><h3>IIS 6.0?й???HTTP Gzip????????????:</h3><p>1) ??Internet???????(IIS)???????????&quot;???&quot;-&gt;&quot;????&quot;?????&quot;????&quot;????&quot;HTTP???&quot;???????&quot;?????ó??????&quot;??&quot;?????????&quot;???????????&quot;?????&quot;??&quot;??????????????&quot;??</p><p>2) ??Internet???????(IIS)???????????&quot;Web???????&quot;-&gt;&quot;????????μ?Web???????...&quot;????&quot;???Web???????&quot;?????????????&quot;HTTPCompression&quot;?????&quot;???????&quot;?C:\WINDOWS\system32\inetsrv\gzip.dll?????? Windows??????????????????????????????&quot;??????????????&quot;??</p><p>??????????????????????濴??</p><p>3) ????????????C:\Windows\System32\inetsrv\MetaBase.xml(?????????),???Location =&quot;/LM/W3SVC/Filters/Compression/gzip&quot;????????????????????? HcDoDynamicCompression?????&quot;TRUE&quot;??????HcScriptFileExtensions????????????????????????????aspx?????????????????????HcDoStaticCompression??HcDoOnDemandCompression????? &quot;TRUE&quot;??????HcFileExtensions??????????????????????????????xml css??? HcDynamicCompressionLevel??HcOnDemandCompLevel???????????????????С?????????</p><p>4) ????????MetaBase.xml?????????????????棬?????IIS???????????????&quot;???&quot;-&gt;&quot;???????&quot;-&gt;&quot;????&quot;????&quot;IIS Admin Service&quot;????????棻???????????£?net stop iisadmin.?????net start w3svc.</p><p>5) ??????????IIS???????HTTP??????????:????<br/>?????????????????????????Σ????????????????????????????????????????????????????????ζ???????Compression status: Compressed (gzip)??????????</p><p>??????????????HTTP ???????????URL????в????????????????????Ч?????????http://www.bqlbd.club ??????н???????????????http://www.bqlbd.club/index.html, ???????Ч??IIS 6?е?HTTP????????MetaBase.xml?е?HcScriptFileExtensions???????????????????IIS 6????????????????????????URL, ???????????????????????????????????????????????????????HcScriptFileExtensions????????????κ?????????????</p> [Linux??????]Linux???????maven?????nexus?????? http://www.bqlbd.club//tech/2930.html downcc.com Linux?????? 2015/8/27 9:07:04 <p>?????????Linux???????°??????maven???nexus????????</p><p>????<strong>????????????</strong></p><p>???????? jdk http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html</p><p>????jdk-6u26-linux-x64.bin</p><p>????????maven http://mirrors.geoexpat.com/apache//maven/binaries/</p><p>????apache-maven-3.0.3-bin.tar.gz</p><p>????????nexus http://nexus.sonatype.org/downloads/</p><p>????nexus-oss-webapp-1.9.1.1-bundle.tar.gz</p><p><strong>???????????jdk</strong></p><p>???????root?????</p><p>????????????? chmod a+x jdk-6u26-linux-x64.bin</p><p>??????? ./ jdk-6u26-linux-x64.bin ??Enter ???????</p><p><strong>????????maven?????????</strong></p><p>????1????????????? maven ?????????????( ????? root ?????????????)??</p><p>????1?? #groupadd mavenuser // ?????????</p><p>????2?? #useradd -g mavenuser mavenuser // ?????????????????</p><p>????3?? #passwd mavenuser // ????????????</p><p>????2????????</p><p>????1?? #cd /data</p><p>????2??#mkdir maven</p><p>????3??#chown -R mavenuser : mavenuser /data/maven</p><p>????4??#chmod 755 /data/maven</p><p>????5??#su -l xinhua</p><p>????6??#tar -zvxf apache-maven-3.0.3-bin.tar.gz</p><p>????3??????</p><p>????????????? ??????? .m2 ??</p><p>?????????н??? mkdir .m2</p><p>??????.m2 ?????? settings.xml ?????</p><p><br/>Code highlighting produced by Actipro CodeHighlighter (freeware)<br/>http://www.CodeHighlighter.com/<br/><br/>--&gt;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</p><p>http://maven.apache.org/SETTINGS/1.0.0</p><p><strong>???????nexus???</strong></p><p>??????? tar -zxvf nexus-oss-webapp-1.9.1.1-bundle.tar.gz</p><p><strong>?????塢??д??????</strong></p><p>????????????</p><p>????vi mavenStart.sh</p><p>?????????????????</p><p>????#!/bin/bash</p><p>????export LANG=&#39;zh.GB18030&#39;</p><p>????M2_HOME=/data/maven/apache-maven-3.0.3</p><p>????export M2_HOME</p><p>????JAVA_HOME=/data/jdk1.6.0_26/bin</p><p>????PATH=$JAVA_HOME:$PATH:$HOME/bin:$M2_HOME/bin</p><p>????export PATH</p><p>????/data/maven/nexus-oss-webapp-1.9.1.1/bin/jsw/linux-x86-64/nexus start</p><p>???????????</p><p>????vi mavenStop.sh</p><p>?????????????????</p><p>????#!/bin/bash</p><p>????/data/maven/nexus-oss-webapp-1.9.1.1/bin/jsw/linux-x86-64/nexus stop6</p><p><strong>????????nexus??ü?????</strong></p><p>????1??????</p><p>????????????mavenStart.sh ???</p><p>????????????????? http://ipaddress:8081/nexus</p><p>???????????? nexus ??????????????? Log in</p><p>????????????????????? admin/admin123</p><p>????2??????</p><p>?????????? Repositories</p><p>??????????Type ?? proxy ?? configuration????????е? Download Remote Index ?????? True</p><p>??????????????????????????Override Http Proxy Setting ???????д??????????????????????????</p><p>??????????б??з???????? ReIndex</p><p>????3??????????jar??nexus</p><p>??????? 3rd party , Artifact Upload ???</p><p>????GAV Definition ???GAV Parameters</p><p>??????д Group Artifact version packaging</p><p>??????????jar?? ????????ɡ?</p> [Web??????]???64λwin7??IIS7[ODBC ?????????????]δ????????????????δ?????????????? http://www.bqlbd.club//tech/5468.html ???????? Web?????? 2015/8/20 0:12:52 <p><strong>????????</strong></p><p>???????????????asp???????????Access?????????л???? <span style="COLOR: #0000ff">64</span>λ<span style="COLOR: #0000ff">Windows 7??</span>??<span style="COLOR: #0000ff">IIS7</span>???????????????′???</p><blockquote><p>Microsoft OLE DB Provider for ODBC Drivers ???? &quot;80004005&quot;</p><p>[Microsoft][ODBC ?????????????] δ????????????????δ??????????????</p><p>/bkconn.asp???? 6</p></blockquote><p><strong>???????</strong></p><p><span style="COLOR: #0000ff">64</span>λ???????????<span style="COLOR: #0000ff">Microsoft OLE DB Provider for Jet</span>??????????????????<span style="COLOR: #0000ff">Microsoft Access Driver (*.mdb)</span>????????</p><p>?????????????????????????????????????????????IIS??????????????<span style="COLOR: #0000ff">32</span>λ?????IIS?????????С?</p><p><strong>?????????</strong></p><p><strong>????ó?????е??????ó???????????е?32λ??????t???????</strong></p><p><strong>1.??IIS?????????ó????</strong></p><p style="TEXT-ALIGN: center"><img alt="???win7 64λ[ODBC ?????????????] δ????????????????δ?????????????? - A lamp - A lamp" src="http://pic.downcc.com/upload/2015-8/2015082000162064023.jpg"/></p><p><strong>2.?????????ó????</strong></p><p style="TEXT-ALIGN: center"><img alt="???win7 64λ[ODBC ?????????????] δ????????????????δ?????????????? - A lamp - A lamp" src="http://pic.downcc.com/upload/2015-8/2015082000162166764.jpg"/></p><p>&nbsp;</p><p><strong>3.????32λ??ó???????True????</strong></p><p style="TEXT-ALIGN: center"><img alt="???win7 64λ[ODBC ?????????????] δ????????????????δ?????????????? - A lamp - A lamp" src="http://pic.downcc.com/upload/2015-8/2015082000162167727.jpg"/></p> [Web??????]????win7??IIS7??http500????????????????????????? http://www.bqlbd.club//tech/5433.html ???????? Web?????? 2015/5/5 11:49:49 <p>???????????????ASP???????-???????????????Щ???????????????????????????????????????????????????????? <br/>1????IIS7???????? ????ASP-???????????????-??????????????????????????????????????TRUE???????????????á???<br/><img border="0" alt="" src="/upload/2015-5/2015050511520288889.jpg" width="500" height="337"/><br/>2??????????????????????????? 500 ????У?????????·???????????á????????????????н?????????·?????????????????500.htm???????500-100.asp????????? <br/><img border="0" alt="" src="/upload/2015-5/2015050511520295702.jpg" width="500" height="337"/><br/>3????IE????????Internet????У???????????????????HTTP???????????С????????<br/><img border="0" alt="" src="/upload/2015-5/2015050511520286894.jpg" width="428" height="505"/><br/>??????????ASP????????????????????????????????????????????????????????????? <br/><img border="0" alt="" src="/upload/2015-5/2015050511520284221.jpg" width="500" height="245"/><br/><strong>?????????????????????</strong>??</p><p>????????????????? <br/><strong>??Active Server Pages ???? ??ASP 0131??<br/></strong>???????????????????????????????????·?????? ???????в???????????·???? <br/>1. ???? ????????? ????????????? Internet Information Services ???????? <br/>2. ?? IIS ?????????? Web ??????? OWA ????????? ?????????? <br/>3. ??????? ASP Web ??ó???? Web ????С? <br/>4. ???????????? Web ????У?????? ????? <br/>5. ?? ?? ???????? ??ó??????? ????? ???á? <br/>6. ?? ??ó?????? ????????????? ?????·?? ????? <br/>7. ???? ?????????? ???????????????????????</p> [Web??????]Windows2008 64λIIS7+ACCESS??????????Asp??? http://www.bqlbd.club//tech/5431.html ???????? Web?????? 2015/5/5 11:25:22 <h3>&#65279;??IIS7???ASP</h3><p><strong>1. ??IIS7???ASP</strong></p><p>Windows Vista??IIS7??????????????????????Windows Vista????????????IIS7????????????????????????????????????????塷??????????Windows?????Internet????? ??(??????????汾?????&quot;Windows components?? ??Vista???????&quot;Programs and Features&quot;)??IIS7????????????????????ASP??ASP.NET??????????????????????????????????????</p><p><strong>2. ???IIS7??.mdb?????????</strong></p><p>??????IIS7??????ASP??????????????????????????????????????????MS Jet???????????????λ???????????ж????????????????????????????</p><p>????????:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp??????? ?????Authenticated Users?????????????AppData???????????????????????????????????·????????????????????????????????</p><p>?????????裺???Temp????У??????????????????????????????????????????Temp ?????????????????????????????????????????????????????Authenticated Users??????????????Temp ??????????Authenticated Users??????е????????????????????????</p><p>????????</p><p>ServerPath=Server.MapPath(&quot;/xxx.mdb&quot;)<br/>connstr=&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&quot; &amp; ServerPath<br/>Set schooldb=Server.CreateObject(&quot;Adodb.Connection&quot;)<br/>schooldb.Open connstr</p><p><strong>3. windows 2008 64λ?????IIS7??.mdb?????????</strong></p><p>????????64λ????????????????????????????64λ???????64λACCESS???????????????????????ó????????????????32λ??ó????????ture???? ????????????</p><p>Other tips in IIS7:</p><p>a. ?????·????<br/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>????? ../ ??·???????IIS7???????????????<br/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>??iis?????--&gt;ASP -&gt; ?????-&gt; ?????·??: True</p><p>b. ???????????????????<br/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>????????????????????????An error occurred on the server when processing the URL. Please contact the system administrator????<br/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>&nbsp;<wbr/>??iis?????--&gt;ASP -&gt; ?????-&gt;???????-&gt; ??????????????: True</p> [Web??????]win2008 r2??iis7?????????ip???? http://www.bqlbd.club//tech/5430.html ???????? Web?????? 2015/5/5 11:19:57 <p>iis7??????ip??????????????</p><p><img title="2008r2??iis7?????????ip????" name="image_operate_67821321205571010" alt="2008r2??iis7?????????ip????" src="/upload/2015-5/2015050511204099887.jpg" width="333" height="221"/></p><p>?????IP???????????????????????????????????????<br/><br/><img title="2008r2??iis7?????????ip????" alt="2008r2??iis7?????????ip????" src="/upload/2015-5/2015050511204131230.jpg" width="313" height="174"/></p><p>????????δ?????????????<br/><br/><img title="2008r2??iis7?????????ip????" name="image_operate_29591321205624334" alt="2008r2??iis7?????????ip????" src="/upload/2015-5/2015050511204134843.jpg" width="405" height="113"/></p><p>???????????????Ρ?</p> [Web??????]win7 iis7.5 Request ???? ???? 'ASP 0104 : 80004005' http://www.bqlbd.club//tech/5429.html ???????? Web?????? 2015/5/5 11:12:45 <p><strong>WIN7 IIS7.0????????????????????????????</strong></p><p><wbr/>??????WIN7?2???asp???????????????????????????????????????????????????????????????????С??</p><p>???????????ζ???з???????????????????????????????????鵽???????????win7????iis????????ν?????200k????</p><p>windows7?к?????????????????????????????????IIS????????????????????win7???????IIS7??????????÷?????XP??win2003?????????????????????????С?????????????£??????????????????????????XP??win2003???win7?и????????metabase.xml??????????</p><p>????????????????????IIS???е??ASP???C&nbsp;<wbr/>????????&nbsp;<wbr/>ASP&nbsp;<wbr/>??ó??????????C?????????????????????????????????????????????????200000???????????????????С??????????????????????????У?</p><p>???????о?????????????????????????????????????????????????????Internet&nbsp;<wbr/>???????(IIS)??????????????????????????????????????????????????????£??????????????á??????????????С??????????????????棺?????????????????????????30M??????????????300M?????????????????????IIS????????????50M??90M?????????</p><p>???????????????裬win7??IIS?????д?200k????????????????</p><p>?????ASP??????????????????????????????????</p><p>?????????????????????????????????????????????????????????????????????</p><p>???????????????????????????????????\Windows\System32\inetsrv\config\schema????????ü??±???&nbsp;<wbr/>IIS_schema.xml&nbsp;<wbr/>????&nbsp;<wbr/>??????30000000????????????????????????????Administrator??????????????????????????????????????????????????????????????????????????????????????????&nbsp;<wbr/>??????????????????????????л?????????????????????????????????ɡ?</p><p><img src="/upload/2015-5/2015050511152284032.jpg" width="690" height="483" real_src="/upload/2015-5/2015050511152284032.jpg"/><br/><br/><img src="/upload/2015-5/2015050511152339278.jpg" width="499" height="598" real_src="/upload/2015-5/2015050511152339278.jpg"/></p> [Web??????]iis7.5 500 - ????????????? http://www.bqlbd.club//tech/5428.html ???????? Web?????? 2015/5/3 12:08:03 <p><strong>??????????£?</strong>&nbsp;<br/>1????Internet ???????IIS????????????????ASP???????????&nbsp;<br/><img alt="" src="/upload/2015-5/2015050312101891076.jpg"/><br/>???????????????????????????????????????????????True????????????????á?????????á?&nbsp;<br/>2?????????????????????????????????????????????á?????????????(D)??&nbsp;<br/><img alt="" src="/upload/2015-5/2015050312101986785.jpg"/><br/>????????????IE???Internet ????н????????? HTTP ???????????????????????????ASP???????????????</p> [Web??????]Windows 2008 R2 + IIS 7.5 Rewrite?????д?????????? http://www.bqlbd.club//tech/5427.html ???????? Web?????? 2015/5/3 12:05:14 <p>????????????????????VPS???Windows 2008 ????Windows 2008 R2??IIS 7.0??IIS 7.5????????????????????Windows 2008 R2?????????????Windows 2003??IIS 6.0??Rewrite???????????Windows 2008 R2???С?</p><p>Windows 2008 R2??????64λ????????????????32λ?????????????????????32λ???????????е??????????????????Windows 2008 R2???У?????????PHP 5.2.17????汾???????????????е?????????Windows 2008 R2?£?IIS?汾??7.5??????????????????????е????????????????????????????2008 R2?????????????</p><p>IIS7.0?????????黯????????????????????????ASP????????????????PHP???CGI????????????PHP?????????e??FastCGI?????????????????????Windows 2003??????</p><p>???????????????Windows 2003?????Rewrite?????????ж????httpd.ini?????????Apache?£???????.htaccess????????????в???????????????IIS 7.5??ULR Rewrite????????е?????????????????????????????????web.config????????汣?????????????????1????????????????????????δ???100%????IIS 7.5?????д?????????μ??????????????????????????????????Ч??HTTP 500??????????</p><p>??????а??????????Windows 2003??α????????????????????Windows 2008 R2????????????????Windows 2003ī??????????????????????????????????λ???</p><p>??Windows 2008 R2??IIS 7.5?????????У??и???ISAPI????????飬???????Windows 2003????Rewrite?????????????????????????????????????????????????????Rewrite.dll?????????????????ISAPI????????KingCMS??????v2.2??????ISAPI????Rewrite.dll????????????httpd.ini???????</p><p>?????????????????????????????????????????У???????????Rewrite??????????????Ч?????????????????????Windows 2008 R2??64λ??????????????Windows 2003??Rewrite?????32λ???????????IIS 7.5?????Rewrite?????????????32λ??????????????????飬????????ó???????????????</p><p><img alt="Windows 2008 R2 + IIS 7.5 Rewrite?????д??????????" src="/upload/2015-5/2015050312062799133.jpg"/></p><p>??????32λ??ó???????? True??????????????α??????????Ч???</p> [Ftp??????]MiniSync FTP???????????????y???????????????????? http://www.bqlbd.club//tech/3505.html downcc.com Ftp?????? 2015/4/17 18:01:20 <p><strong>MiniSync</strong>????????? FTP ??????????????????????????????????????????????????????????????У???????????????????????????????????Web?????????????????????</p><p style="text-indent: 0px"><img alt="MiniSync" width="600" src="/upload/tech/UploadPic/2012-2/201224155522943.jpg"/><br/></p><p><strong>????÷???:</strong></p><p>1 ?????????????????????????</p><p>2 ?????????????????д????????????????????????????FTP????????????????????????????????????????????????</p><p>3 ?????λ??????????????????&quot;??????&quot;????&quot;???????&quot;????????????????????????????????????????????????±????·???????????????????????????</p><p>4 ????????????????????????????????????????????????????ú?????????????????????</p><p><strong>??????????????????</strong></p><p>1 &quot;????????&quot;???????ú??????????????&quot;????&quot;???????????????????????</p><p>2 &quot;???????&quot;: ?????????????????????????????????????????????Ч????</p><p>3 &quot;???????&quot;: ???????????????????????????????????μ???? .INI ????????????????ini?????ɡ?</p><p>4 &quot;??????&quot;: ????????????????????????????</p><p>5 &quot;??????&quot;: ?????????????FTP?????????????????????????</p><p><strong>????</strong></p><p>????Windows ???????</p><p>1 ????Windows ??????????Щ?????????????????????У???????????????</p><p>2 ???????????????????????????MiniSync Service&quot; ??<br/>MiniSync FTP 1.0????? ????????????&nbsp;<a href="http://www.bqlbd.club/soft/8730.html" target="_blank" textvalue="http://www.bqlbd.club/soft/8730.html">http://www.bqlbd.club/soft/8730.html</a></p><p>MiniSync FTP??????&nbsp; ????????????&nbsp;<a href="http://www.bqlbd.club/soft/8614.html" target="_blank" textvalue="http://www.bqlbd.club/soft/8614.html">http://www.bqlbd.club/soft/8614.html</a></p> [Linux??????]Linux VPS CentOS 5 ???????????????????? http://www.bqlbd.club//tech/4104.html downcc.com Linux?????? 2015/4/17 16:45:35 <p>?????д????????????????????????????侲???????????????????????????linux vps CentOS 5 ??wordpress?????</p><p>1????VPS???????????? IP?????????????????? ??SSH????VPS????????????????SSH????????????root?? ????????VPS??? linux CentOS 5 32bit?????????64bit?? ?????????????С????????CentOS??????VPS?????????????????</p><p>2????????? ??? Xshell 4.0 SSH???? ??http://www.bqlbd.club/tech/4102.html???????? Xshell 4.0 ?????VPS????LNMP ???????? ??http://www.bqlbd.club/tech/4103.html??????ú??????? Xshell ??棻</p><p>3.1?????? <a href="http://www.bqlbd.club/soft/10378.html" target="_blank" textvalue="WinSCP SSH?????">WinSCP SSH?????</a> ????????????????</p><p>3.2????? WinSCP SSH ??????????????</p><p style="text-align: center"><img border="0" alt="" width="550" height="376" src="/upload/tech/UploadPic/2012-7/2012717233934511.jpg"/></p><p>3.3????WinSCP??????????VPS???????????а???????????????lnmp???????????????</p><p>??????????? /home/wwwroot/ ?????????????У??????????????????????????????????lnmp????? phpmyadmin ??ftp??</p><p>???α???????? /usr/local/nginx/conf/ ?????????Discuz??Wordpress??typecho??emlog??α?????</p><p>??????????????? /usr/local/nginx/conf/vhost/ ?? ???????????????????????????</p><p>???MYSQL????? /usr/local/mysql/var/ ??????????????н?????MYSQL?????????????????????phpmyadmin ??????????</p><p>4.1??????????????????????в??裬????????????????????????????</p><p>??磺</p><p>???????? cn.weidao.net</p><p>?????????? /home/wwwroot/china/</p><p>?????????????α??? /usr/local/nginx/conf/wordpress.conf</p><p>??????????б? /usr/local/nginx/conf/vhost/ ???????????? cn.weidao.net.conf ?????cn.weidao.net ???????????????????????????????????</p><p style="text-align: center"><img border="0" alt="" width="554" height="317" src="/upload/tech/UploadPic/2012-7/2012717233934634.jpg"/></p><p style="text-align: center"><img border="0" alt="" width="500" height="420" src="/upload/tech/UploadPic/2012-7/2012717233935275.jpg"/></p><p>4.2???? http://???IP/phpmyadmin/ ??????????? ??????MYSQL?????;</p><p style="text-align: center"><img border="0" alt="" width="436" height="340" src="/upload/tech/UploadPic/2012-7/2012717233935233.jpg"/></p><p>4.3?????????°汾 wordpress 3.2.1 ????? ?? <a target="_blank" href="http://cn.wordpress.org/wordpress-3.2.1-zh_CN.zip">http://cn.wordpress.org/wordpress-3.2.1-zh_CN.zip </a>??????????? VPS ???????????????</p><p>4.3.1??????? wordpress3.2.1 ?????????£??? wordpress ??????????е?????? ZIP ??????? wordpress.zip ??????? WinSCP ????? VPS?????????????china???棬 ????????</p><p style="text-align: center"><img border="0" alt="" width="355" height="200" src="/upload/tech/UploadPic/2012-7/2012717233935629.jpg"/></p><p style="text-align: center"><img border="0" alt="" width="463" height="456" src="/upload/tech/UploadPic/2012-7/2012717233936504.jpg"/></p><p>4.3.2???????????????????&quot;?????????&quot;&quot;????E??&quot; ????????</p><p>??????? unzip wordpress.zip ???н?????????</p><p style="text-align: center"><img border="0" alt="" width="411" height="402" src="/upload/tech/UploadPic/2012-7/2012717233936208.jpg"/></p><p style="text-align: center"><img border="0" alt="" width="486" height="392" src="/upload/tech/UploadPic/2012-7/2012717233936641.jpg"/></p><p>4.3.3?????????????? china ????У????&quot;?????????&quot;&quot;????E??&quot; ????????</p><p>??????? chown www -R china ??????????? www ??????????????????????????????</p><p style="text-align: center"><img border="0" alt="" width="174" height="179" src="/upload/tech/UploadPic/2012-7/2012717233937660.jpg"/></p><p style="text-align: center"><img border="0" alt="" width="397" height="233" src="/upload/tech/UploadPic/2012-7/2012717233937566.jpg"/></p><p>5?????????????????????????????а??wordpress???</p><p>6??OK??????????????Linux??VPS????wordpress????????????</p><p>????????????1??С?????д???????????????????????VPS?????????????</p> [Web??????]Apache ????????????? http://www.bqlbd.club//tech/52.html ???? Web?????? 2015/4/5 17:58:26 <p>??????????Apache???????Apache?????????????????????κη??????Σ?Apache?????????????????о????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????e?????????????顣???????????????????????糬??60%??HTTP???????????Apache???????????????????????</p><p>????????</p><p>??????????Apache????<a href="http://httpd.apache.org/download.cgi" target="_blank" textvalue="http://httpd.apache.org/download.cgi">http://httpd.apache.org/download.cgi</a>????Apache????????????????????????????á?????????°汾??2.0.49??</p><p>????Apache????????????????????Э?????????????????y??棬????????????&quot;Network Domain&quot;????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????&quot;www&quot;??????????????????????????????????&quot;.&quot;???????????????е???????????IP????????????????????????????????????????????IP??????????????????Email???????????????????????д??????????????????????????????????????????????????????????????????????</p><p>???????&quot;Next&quot;??????????????&quot;Typical&quot;???????????????????????????????????Program Files/Apache Group???????&quot;Next&quot;?????&quot;Install&quot;???а????</p><p>????????????????????Apache HTTP Server 2.0.49????п??????????????????&quot;Control Apache Server&quot;???μ?&quot;Start&quot;?????????????????????????????Apache??????????????????????????????????????</p><p>???????????????????ɡ??????????????localhost????127.0.0.1???????????????????????????????????????????????Apache???????????????????????????????HTTP?????????</p><p>???????????????????????????????????????????????????????漸????????????????????????????????????????<br/>&nbsp;</p><p>???????????????????Apache???μ?&quot;Configure Apache Server&quot;?е?&quot;Edit the Apache httpd.conf Configuration File&quot;????Apache??????????????????????????е?????????????е????????????????y??????????????????е?????ж????</p><p>???????????????÷?????????????????????????&quot;Section 1: Global Environment&quot;??λ????????????Apache????????á?????????????????#???????????????Щ?????????????????б????о????????????????????????#?????У?&quot;ServerRoot ????&quot;,?????????????????????????????????????????????????????????????t????????????????Щ??????????????????????????????????б??&#39;/&#39;??????Windows??????????б??&#39;\&#39;,????????????б???</p><p>????OK?????????????????????????????????????????&quot;Section 2: &#39;Main&#39; server configuration&quot;,????????????????????鷳????????±??е????????????????Щ?????????±????????Ctrl??F????????????????????????????????????&quot;?????????&quot;?????±????????????????????У???????????#???У??????&quot;ServerAdmin&quot;,&quot;ServerName&quot;???й?????????Щ????????????????????????£????&quot;DocumentRoot&quot;??У???????????????????????????????????ж???????????????????????????????????滻??????????????е?????????????б??&#39;/&#39;??</p><p>??????????????????????????????????????????????????????????????????&#39;/&#39;?????????????????????????????????????????????????????????????????е???????á???Directory???·?????????????????????е?·????????????????????????Apache?????&quot;Control Apache Server&quot;???μ?&quot;Restart&quot;????????????????localhost?????????????б仯?????仯?????????£???????У?&nbsp;</p><p>???????????????HTTP?????????????????????????<br/>&nbsp;</p><p>??????????????????????????????????????????????????????????????????????????????λ????????????????????options,?????&quot;Options Indexes FollowSymLinks&quot;,??Indexes??????????????????????????????????????&quot;Options -Indexes FollowSymLinks&quot;???????漸?У??????DirectoryIndex???????????????????????????????????????????????в?????Щ????????????????????????????????????????????????????д??????档???????????index.htm???????Restart?????????????????</p><p>?????????е???????????????????????Apache??????????????????????????????????????????????&quot;AddDefaultCharset&quot;??У???????????ü??±?????????????????????????GB2312??????????????????????????????????????????????????????????????????????????????????????????????棬??и???</p><p>???????????????????????????????????????????????????IP???????????????&quot;ServerName&quot;??,??????????????????????</p><p>?????????????????????????????????????????????HTTP???????????????</p> [Web??????]apache??windows2003?μ???????(????????????????) http://www.bqlbd.club//tech/3501.html downcc.com Web?????? 2015/4/5 17:53:30 <p>???????????windows?μ?<a href="http://www.bqlbd.club/soft/225.html" target="_blank" textvalue="Apache"><span style="COLOR: #41b80f">Apache</span></a>?? ??α?????????????????????System??(?????????)???С????web?????????????????????????????????????????????????????к? ????? ??????????????????????????System????????????</p><p>?????????????μ??????????????????apache???????????????</p><p>1.??????????????????????????洴?????????????磺apache??????????? apacheuser??????guests?飨??????????????????user??????</p><p>2.?????-&gt;???????-&gt;???????????????????????????????????????????apache?? ????</p><p>3.??????????????????????apache2.2?????????????-&gt;????????????????????????????л???????????????? ???apache??????????apacheuser?????????????????apache?????????????????????????????Apache2.2 ?????? 1 (0x1) ??????????????????</p><p>4.????apache??????????磺D:/apache2.2?????web?????? ??D:/wwwroot??apache??????д??????? ???????????administror??system?????????????????apache??? ?????????????apache?????????????????? ?????????????????????????????????????????????</p><p>5.???apache?????OK???</p><p>6.php.ini???????PHP??????????session????????????????apache?? ????????????磺<br/>upload_tmp_dir = &quot;D:/wwwroot/Tmp/uploadtmp/&quot;<br/>session.save_path = &quot;D:/wwwroot/Tmp/sessiontmp/&quot;</p><p>7.????D:/php??????????е?????</p><p>8.????zend?????????????е?????</p><p>9.??????????????????apache???????conf??????μ? httpd.conf???????<br/>php_admin_value open_basedir &quot;D:/wwwroot&quot;<br/>php_admin_value safe_mode On</p><p>httpd.conf????????罫PHP??д?????????E:\smis???£?<br/><br/>Apache2.0?????????<br/>&lt;VirtualHost *:80&gt;<br/>ServerName www.abc.com<br/>DocumentRoot &quot;E:/smis&quot;<br/>Options FollowSymLinks IncludesNOEXEC Indexes<br/>DirectoryIndex index.html index.htm default.htm index.php default.php<br/>AllowOverride None<br/>Order Deny,Allow<br/>Allow from all<br/>php_admin_value open_basedir &quot;E:/smis/;E:/APMServ5.2.0/PHP/uploadtemp/;E:/APMServ5.2.0/PHP/sessiondata/&quot;<br/>php_admin_value safe_mode On<br/>&lt;/VirtualHost&gt;<br/><br/>Apache2.2?????????<br/><br/>&lt;VirtualHost *:80&gt;<br/>ServerName www.abc.com<br/>DocumentRoot &quot;E:/smis&quot;<br/>&lt;/VirtualHost&gt;<br/>&lt;Directory &quot;E:/smis&quot;&gt;<br/>Options FollowSymLinks IncludesNOEXEC Indexes<br/>DirectoryIndex index.html index.htm default.htm index.php default.php<br/>AllowOverride None<br/>Order Deny,Allow<br/>Allow from all<br/>php_admin_value open_basedir &quot;E:/smis/;E:/APMServ5.2.0/PHP/uploadtemp/;E:/APMServ5.2.0/PHP/sessiondata/&quot;<br/>php_admin_value safe_mode On<br/>&lt;/Directory&gt;</p> [Web??????]windows?°??iis7????php????????? http://www.bqlbd.club//tech/4614.html www.bqlbd.club Web?????? 2015/4/5 0:10:06 <p>IIS6????PHP???<a href="http://www.bqlbd.club/tech/4613.html">http://www.bqlbd.club/tech/4613.html</a></p><p>PHP5.2.17 ???????: <a href="http://windows.php.net/downloads/releases/php-5.2.17-Win32-VC6-x86.zip" target="_blank">http://windows.php.net/downloads/releases/php-5.2.17-Win32-VC6-x86.zip</a></p><p>????????IIS7 ???????? ?????????????ù?</p><p><img title="IIS7??????" border="0" alt="IIS7??????" src="/upload/tech/UploadPic/2013-1/201311717719247.jpg" width="249" height="148"/>&nbsp;</p><p>?:&nbsp;&nbsp; CGI&nbsp; ????IIS7+PHP_5.3.5??????????</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ISAPI?????ISAPI???? ????IIS7+PHP_5.2.17</p><p>???濪????IIS??PHP???</p><p><span style="FONT-SIZE: small"><span style="FONT-SIZE: 12px">&nbsp;<strong><span style="COLOR: #ff0000">IIS7+PHP_5.3.5</span></strong></span></span></p><p>1.&nbsp; ???????????php_5.3.5????? C:\php??(???????????????,??????????????????)&nbsp;</p><p>2.&nbsp; ??php.ini-development?????php.ini</p><p>3.&nbsp; ???php.ini ????data.timezone&nbsp; ????date.timezone = &quot;Asia/Shanghai&quot;(????????,??????????)&nbsp;&nbsp; ???Windows Extensions???? ???????,??:php_curl.dll&nbsp; php_mysql.dll&nbsp;&nbsp; php_mysqli.dll&nbsp;&nbsp; php_xmlrpc.dll&nbsp;&nbsp; php_curl.dll&nbsp;&nbsp; ????????? ??? ??????????</p><p>4.&nbsp; ???&lt;??????&gt;</p><p><img title="IIS7??????" border="0" alt="IIS7??????" src="/upload/tech/UploadPic/2013-1/201311717720465.jpg" width="525" height="198"/>&nbsp;</p><p>&nbsp;<img title="IIS7??????PHP" border="0" alt="IIS7??????PHP" src="/upload/tech/UploadPic/2013-1/201311717720999.jpg" width="526" height="258"/></p><p>?????·???????????????д??</p><p>5.&nbsp; ???????????????phpinfo.php???????? ?????:</p><p>&lt;?php<br/>phpinfo();<br/>?&gt;</p><p>6.&nbsp; ????,??????????????localhost/phpinfo.php?????????????????????????????????</p><p><img title="IIS7????PHP" border="0" alt="IIS7????PHP" src="/upload/tech/UploadPic/2013-1/201311717720682.jpg" width="628" height="386"/></p><p>????,?????? ???????????????PHP??????.</p><p><strong><span style="COLOR: #ff0000">IIS7+PHP_5.2.17</span></strong></p><p>???????IIS?????????????isapi?????isapi??,?????????????????????????,?????</p><p>?????php.ini???..</p><p>??c:\php?μ?php.ini-dist (????????????????)??????php.ini???ü??±??? ???extension_dir = &quot;./&quot;???????????./???c:\php????????????????????·????</p><p>1.&nbsp; ?????ó????</p><p><img title="IIS7????PHP???" border="0" alt="IIS7????PHP???" src="/upload/tech/UploadPic/2013-1/201311717720710.jpg" width="461" height="283"/></p><p>2. ???isapi??cgi????</p><p><img border="0" alt="" src="/upload/tech/UploadPic/2013-1/201311717721587.jpg" width="544" height="230"/></p><p>3. ???isapi????</p><p><img title="IIS7????PHP???" border="0" alt="IIS7????PHP???" src="/upload/tech/UploadPic/2013-1/201311717721264.jpg" width="545" height="231"/></p><p>4.&nbsp; ????????</p><p><img border="0" alt="" src="/upload/tech/UploadPic/2013-1/201311717721611.jpg" width="546" height="259"/></p><p>&nbsp;5.&nbsp; ????(???????????phpinfo.php)&nbsp;&nbsp; ??????? ??localhost/phpinfo.php ??Ч????</p><p><img title="IIS7????PHP???" border="0" alt="IIS7????PHP???" src="/upload/tech/UploadPic/2013-1/201311717722866.jpg" width="546" height="334"/>&nbsp;</p> [Web??????]VS2013?????? IIS Express Web????? http://www.bqlbd.club//tech/5306.html www.bqlbd.club Web?????? 2015/4/5 0:06:36 <p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205217978.jpg" width="600"/></p><p><strong>??????????????ó????URL??U????,???á???????ó????URL??U??????</strong>???????????????????????????</p><p>???VS2013????????????????????дC/S???????????B/S???????????????????????MVC???????????VS2013????????????????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205217593.png"/></p><p>??????е????why??</p><p>???????????Web???????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205217534.png" width="600"/></p><p>F5???У?????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205217946.png"/></p><p>??????????????Web????????????????????????????????????IIS8.5????????????Щ???????????????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205218701.png"/></p><p>F5???У????????ɡ?</p><p>?????????????????????IIS Expressδ??????????????????????????м??????????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205218654.png" width="600"/></p><p>?????????????????????????????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205218501.png" width="600"/></p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205218737.png"/></p><p>?????iisnode?й?????????????iisnode???????IIS???????й?node.js??ó???????????й?node.exe??????????顣</p><p>??C:\Program Files (x86)\iisnode-dev\release\x86\iisnode.dll??????????????????????????<strong>???IIS Express?????????????????</strong></p><p>??????????????IIS Express??????????????</p><p>===============================?????????==============================</p><p>??????????????????????web???????????????????ASP.NET???????</p><p>1. Visual Studio?????ASP.NET????????????webdev.exe????</p><p>2. Windows?????IIS Web????????</p><p>???????????????????????????ASP.NET????????????????????????????ASP.NET????????????????????????????????IIS??????????????????????????????????????????????μ??????????????????????????????IIS Express?????????????????????ASP.NET????????????????</p><p>IIS Express???VS 2010??Visual Web Develop 2010 Express????????????Windows XP??????汾????????????????????????У?????????????κε???????????????????????????ASP.NET?????????????????????IIS 7.x???????</p><p>???з???</p><p><strong>?????????IIS Express????????????????ASP.NET????????????IIS??????????</strong></p><p>ASP.NET??????????</p><p>Visual Studio?????ASP.NET?????????????????????Cassini??????????????????????????????????????????????????????????????????????绷???ж?????????????????????????????ù??????????????????????????????????????衣</p><p>??????????????????????????????????????ASP.NET?????????????????????Visual Studio?а???F5???????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205218495.png"/></p><p>??ASP.NET?????????????????????????????Web?????????????????????????SSL??URL??д????????尲??????????????IIS 7??????????</p><p>IIS Web??????</p><p>??Visual Studio???к????????е??????? IIS?????????????????Visual studio?е?Web??????????????????????????е?????Web?????????????Web???????IIS??</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205218123.png" width="600"/></p><p>???IIS??????????????????????????????Web???????????????SSL??URL??д????????IIS?????????????Web????????????ζ??????????????????????????????</p><p>???????IIS??????????Щ????????????????????????????Web????????IIS???????ù??????????????????????????汾??Windows????????汾??IIS?????磬??Windows XP????????????????IIS 5.1??????IIS 7.x???1???????????????????VS???????????????IIS???????Щ????????????ò??衣</p><p><strong>IIS Express ?? ???????????????</strong></p><p>IIS Express?????ASP.NET??????????????????????IIS??????????е????</p><p>???????????????????????С????10????????????????</p><p>??Visual Studio?в??????????????????????????</p><p>??????????Web?????????????????SSL, URL??д????y????????????????IIS 7.x??顣</p><p>????????????web.config???y???IIS 7.x????????</p><p>???????IIS Web??????????ASP.NET????????????????????????????????????????????</p><p>?????Windows XP??????汾??????????????в???????????????????IIS 7.x???????</p><p>IIS Express????ASP.NET??????????????????????????????????????????????????????????κ????????ò??衣??????????????У??????????????????????????????</p><p><strong>??VS??????</strong></p><p>Visual Studio 2010??SP1??????IIS Express??????????????VS 2010????????ASP.NET?????????????ASP.NET???????Web???????????????ASP.NET??????????????????????IIS Express?????????????????????????ASP.NET?????????????????÷??????????????????????????</p><p>??????F5??????ASP.NET??????Visual Studio??????IIS Express??????????????к??????????????????????????????ASP.NET???????????????IIS Express???????????????????????????????С???</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205218462.png"/></p><p>?????????????????????????????????IIS Express??????????????????????г????????е?????б???????????????·?????????.NET?汾??</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-6/2014618205218282.png"/></p><p>[????????IIS Express?????]</p><p><strong>??????????????????????</strong></p><p>1. ???????е????Test Site????????IIS Express???????????????c:\users\[?????]??????С???????????????????IIS Express????????????????Щ?????IIS????????а??????????????????????????????绷??????????У??????????????IIS Express????</p><p>2. ???????????е????Test Site???????HTTP??HTTPS?????????IIS Express??????????????????顱?????URL????????б??URL ACL????SSL???????????????????????????????????????????????????????????ж????????????????????SSL???????????????????????SSL???????????????棨????????棩??????????????????????????web???????????????к??????Щ??档</p><p><strong>IIS 7.x?????</strong></p><p>IIS Express??????????????????ASP.NET?????????????????????????á? ???????IIS Express???????IIS 7x????????????????????Web??????????????????????ζ???????????????????Web???????????????????????????SSL???????????&nbsp;IIS 7.x??URL??д??顢??y?????????????????????????????????尲?</p> [Web??????]Windows7??IIS??????????(??????) http://www.bqlbd.club//tech/4946.html www.bqlbd.club Web?????? 2015/4/5 0:04:15 <p>??????????IIS??????????????Windows7?????????°????????????????????</p><p>???????????IIS??????????壬????????????????????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_1.jpg" width="626" height="454"/></p><p>????????????????Windows?????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_2.jpg" width="558" height="232"/></p><p>?????????Internet ??????????????????????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_3.jpg" width="428" height="1140"/></p><p>?????????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_4.jpg" width="361" height="182"/></p><p>????????????????????????棬????????????????????</p><p><img title="Windows7???IIS" alt="" src="/upload/tech/UploadPic/2013-8/win7iis_5.jpg" width="622" height="403"/></p><p>?塢?????Internet ???????(IIS)????????????IIS????????????????IIS???????????????????Internet ???????(IIS)??????????????--?????--??????????????????????????IIS??????????ζ????????塣</p><p>IIS???棺</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_7.jpg" width="623"/></p><p>??????С?Default Web Site????????м???ASP??</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_8.jpg" width="453" height="298"/></p><p>????????·?????????True??</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_9.jpg" width="584" height="400"/></p><p>?????????????????????????????????á?</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_10.jpg" width="199" height="206"/></p><p>????????????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_11.jpg" width="446" height="216"/></p><p>??????IIS?????????????...?????????????????????????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_12.jpg" width="571" height="293"/></p><p>?????????????????????????У???????????????????????????????????????????????????????????IP?????磺192.168.**.**???????????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_13.jpg" width="477" height="189"/></p><p>??????IIS???????????????????????????????????????????????????????????????????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_14.jpg" width="197" height="205"/></p><p>???????ж?????????IIS??????????????????????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_15.jpg" width="265" height="221"/></p><p>?????????????????????????????????·???????????????????????????????IP??????????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_16.jpg" width="527" height="577"/></p><p>???????ú????????????????????????????????????</p><p><img title="Windows7???IIS" alt="Windows7???IIS" src="/upload/tech/UploadPic/2013-8/win7iis_17.jpg" width="202" height="182"/></p><p>??????????????Discuz!NT????????????????????asp.net??????????????????????????Discuz!NT???????????VS???????ж?????????????????Discuz! 7.2??????????????????????????????????????????????????????????????????????????</p> [Linux??????]Ubuntu 11.0??????Web???????????? http://www.bqlbd.club//tech/3850.html downcc.com Linux?????? 2015/4/4 22:58:13 <p>??????????????Linux???????????&quot;????&quot;?????Linux??????е??????????????????Linux????????????????????????IDC???????????????Linux????????????20%???г???????Red Hat??Ubuntu????????г???????????????????Web???????????????????????</p><p>????Ubuntu?????????????Ubuntu????????????????2011???????Ubuntu???????????????????RHEL????Ubuntu ??????г??????????????RHEL??????μ?????????Ubuntu???????????????????Web???????????á?????Ubuntu??Web?????? ?????????????????????????????????????????Ubuntu?′?????????Web????????<strong><br/></strong></p><p style="TEXT-ALIGN: center"><br style="LINE-HEIGHT: 0; FONT-SIZE: 0pt"/><img alt="Ubuntu 11.0??????Web????????????_????????" src="/upload/tech/UploadPic/2012-4/20124912251109.jpg" width="500" height="375"/><strong><br/></strong></p><p>Ubuntu 11.10????????????????μ?????汾???????????????????????涼?н????????????????????汾????????????????????????? Ubuntu 11.10????Apache 2??PHP5??MySQL??Web??????????????????????Ubuntu??Web?????????????</p><p><strong>1.??????</strong></p><p>?????????????????£?????????????IP?????192.168.0.23???????????Server1.example.com??Щ???????????????????????????????????????</p><p><strong>???Apache2</strong></p><p><strong>2.?л?????????</strong></p><p>??Ubuntu???????root?????в?????????????????????????root???????</p><p>sudo su</p><p><strong>3.??????MySQL5</strong></p><p>apt-get install mysql-server mysql-client</p><p>????????????MySQL??root????????????????????????????????</p><p>New password for the MySQL &quot;root&quot; user: <span style="COLOR: #ff0000">&lt;-- yourrootsqlpassword</span><br/>Repeat password for the MySQL &quot;root&quot; user: <span style="COLOR: #ff0000">&lt;-- yourrootsqlpassword</span></p><p><strong>4.???Apache2</strong></p><p>Apache2??????????Ubuntu?????????????????????????????????????</p><p>apt-get install apache2</p><p>????????????????http??//192.168.0.23??????????Apache2????????</p><p style="TEXT-ALIGN: center"><br style="LINE-HEIGHT: 0; FONT-SIZE: 0pt"/><img alt="Ubuntu 11.0??????Web????????????_????????" src="/upload/tech/UploadPic/2012-4/20124912255536.jpg" width="500" height="374"/><br/><strong>Apache 2???</strong></p><p>Apache????????????????Ubuntu???/var/www?? ???????????/ etc/apache2/apache2.conf??????洢?????????/etc/apache2????</p><p><strong>???PHP5</strong></p><p><strong>5.???PHP5</strong></p><p>????????????PHP5??Apache??PHP5????飬???£?</p><p>apt-get install php5 libapache2-mod-php5</p><p>????????????</p><p>/etc/init.d/apache2 restart</p><p><strong>6.?????PHP5?????PHP5</strong><strong>?????</strong><strong>?????</strong><strong>?</strong><strong>??</strong></p><p>???????????????????/var/www???С????????????????д??????С??PHP???(info.php??)????????е????????????????????????????PHP??????簲???PHP?汾????????Щ????</p><p>vi /var/www/info.php</p><p style="TEXT-ALIGN: center"><br style="LINE-HEIGHT: 0; FONT-SIZE: 0pt"/><img alt="Ubuntu 11.0??????Web????????????_????????" src="/upload/tech/UploadPic/2012-4/20124912255674.jpg" width="500" height="253"/><br/><strong>???????</strong></p><p>???????????????????????????http??//192.168.0.23/info.php???</p><p style="TEXT-ALIGN: center"><img alt="Ubuntu 11.0??????Web????????????_????????" src="/upload/tech/UploadPic/2012-4/20124912255413.jpg" width="500" height="374"/><br/><strong>PHP???</strong></p><p>???????????????PHP5???????????????Apache 2.0???????????????API??????????????1????????????????PHP5????????????顣MySQL??????г???????ζ???????????PHP5???MySQL??</p><p><strong>7.PHP5???MySOL?????</strong></p><p>??PHP??MySQL?л???????????????<span style="TEXT-DECORATION: none">??php-<span style="COLOR: #333333; TEXT-DECORATION: none">mysql</span>???????????Щ??????PHP5??飬????????????????ó????????????????</span></p><p><span style="TEXT-DECORATION: none">apt-cache search php5</span></p><p>?????????????</p><p>apt-get install php5-<span style="TEXT-DECORATION: none"><span style="COLOR: #333333; TEXT-DECORATION: none">mysql</span> php5</span>-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl</p><p>???????????Apache2???</p><p>/etc/init.d/apache2 restart</p><p>?????????http??//192.168.0.23/info.php?????????????????????1???????鲿????????????????????μ???飬????MySQL??飺</p><p style="TEXT-ALIGN: center"><br style="LINE-HEIGHT: 0; FONT-SIZE: 0pt"/><img alt="Ubuntu 11.0??????Web????????????_????????" src="/upload/tech/UploadPic/2012-4/20124912255133.jpg" width="500" height="373"/><br/><strong>PHP???</strong></p><p><strong>???phpMyAdmin</strong></p><p><strong>8.???phpMyAdmin</strong></p><p>phpMyAdmin???????????????????????????MySQL?????</p><p>apt-get install phpmyadmin&nbsp;</p><p>?????????????</p><p>Web server to reconfigure automatically: <span style="COLOR: #ff0000">&lt;-- apache2</span><br/>Configure database for phpmyadmin with dbconfig-common? <span style="COLOR: #ff0000">&lt;-- No</span></p><p>??????????http??//192.168.0.100/phpMyAdmin/???????????phpMyAdmin???</p><p style="TEXT-ALIGN: center"><br style="LINE-HEIGHT: 0; FONT-SIZE: 0pt"/><img alt="Ubuntu 11.0??????Web????????????_????????" src="/upload/tech/UploadPic/2012-4/20124912255254.jpg" width="500" height="374"/><br/><strong>??????</strong></p><p><strong>9.??????????????</strong></p><p>??Apache: http://httpd.apache.org/<br/>??PHP: http://www.php.net/<br/>??MySQL: http://www.mysql.com/<br/>??Ubuntu: http://www.ubuntu.com/<br/>??phpMyAdmin: http://www.phpmyadmin.net/</p><p>????????Web???????????????裬???????д????openSUSE??CentOS???????а汾??Ubuntu???????????????Щ????????Ubuntu????Web??????????????????????????????????????????????????</p> [???????]??????????????Teaming?????? http://www.bqlbd.club//tech/1466.html ??????? ??????? 2015/4/4 21:23:49 <p>???????????????????????Intel??Broadcom?????????????????????????????Teaming???????y??н????</p><p><strong>?????????????????????</strong></p><p>????Intel??Intel PRO/1000 PT Dual Port Server Adapter</p><p>????о??飺Intel 82571GB Gigabit Controller(?1)</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="???????" src="/upload/tech/UploadPic/2010-7/2010725122125326.jpg" twffan="done"/></p><p>????Broadcom??Broadcom BCM5708C NetXtreme ?? GigE</p><p>????о??飺Broadcom BCM5708C(?2)</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="???????" src="/upload/tech/UploadPic/2010-7/2010725122125702.jpg" twffan="done"/></p><p><strong>???????????????</strong></p><p>?????????IBM 3650</p><p>?????????Windows server 2008 R2 (????????????)</p><p><strong>????????Teaming??????</strong></p><p>????1. Intel?</p><p>??????????????ú????????????Windows Server 2008 R2????????????????????????????????DHCP??????????IP???(?3)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122125389.jpg" twffan="done"/></p><p>????????????????????????????????????????09??3?·???????????????????????????У???????????Intel????????????????????????????(?4)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122125125.jpg" twffan="done"/></p><p>??????????????Intel Ethernet Drivers and Software for Multiple Operating Systems ????????????ó?????????OS??????Intel????????????????????Autorun??????????????????????(?5)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122125404.jpg" twffan="done"/></p><p>???????????(?6)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122125640.jpg" twffan="done"/></p><p>??????????????????(?7)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122126111.jpg" twffan="done"/></p><p>??????????????ú???ε?????????????????????????????09??6?£???????????????????????????(?8)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122126797.jpg" twffan="done"/></p><p>???????????????顿??????????????????????????????????????????????顿???????????Teaming(?9)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122126945.jpg" twffan="done"/></p><p>??????????????????????????С?Team 1#??(?10)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122126547.jpg" twffan="done"/></p><p>????????????Team??????(?11)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122126715.jpg" twffan="done"/></p><p>?????????????????????????????????Intel??????5??????????????????????????????????????????????????IEEE802.3 ad????????????????????????????????????????????????????????豸?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????£?</p><p>???????????????</p><p>???????????????(ALB) ??????????????????????????????????????????????????????</p><p>????????(R) PROSet ???????????????????为??????????????????????????????????????????н??????????</p><p>????ALB ????????????????? (RLB) ????RLB ???????????г????????????????????????RLB ??????á?</p><p>????????????????????????????????????? RLB ???????????????????????????? RLB?????????????????????</p><p>????RLB ??????????????????????????????????????趨??????????????????????????????????????</p><p>????RLB ?????????£??趨??????????????</p><p>?????? RLB ?????????£?????????????????????Ψ?????????</p><p>????????????? RLB???????????????????????????????????????????????</p><p>??????????????????????????????齫??????????????????????</p><p>???????????</p><p>????ALB ??????·??Э?飬?? NetBEUI ???Щ IPX* ???????</p><p>????AFT ???????????????????????</p><p>????RLB ?? Hyper-V* ?????????</p><p>???????????????????????????????С?</p><p>???????????????????y???????</p><p>?????????????????????κν?????????????</p><p>?????????????????????????????????????(?12)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122126986.jpg" twffan="done"/></p><p>???????????????????????(?13)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122126947.jpg" twffan="done"/></p><p>???????????????????????????????????????????????????????5?????????????????????????????????????????????????????????????????(?14)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122126885.jpg" twffan="done"/></p><p>????????????????顿??????????????????????????????????????о???????????????????????????????????????????????????????????????????????????(?15)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122127614.jpg" twffan="done"/></p><p>?????????????????????TCP/IPЭ????????????????????????????HYPER-V????????е????????????????????(?16)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122127693.jpg" twffan="done"/></p><p>??????????????????????????TCP/IPЭ????????IP???(?17)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122127818.jpg" twffan="done"/></p><p>???????IPCONFIG???????£?IP??????????????????????????(?18)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="" src="/upload/tech/UploadPic/2010-7/2010725122127615.jpg" twffan="done"/></p><p style="TEXT-ALIGN: left">??????Intel server???????Teaming???????(???)???????????????????????????????Broadcom??BCM5708C NetXtreme ?? GigE????Teaming???????á?</p><p><strong>???????Teaming??????</strong></p><p>????Broadcom?</p><p>????????ò???????Windows Server 2008 R2????????????????????????Windows???????????????μ?08??12?·??(?1)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="Broadcom?" src="/upload/tech/UploadPic/2010-7/2010725122127873.jpg" twffan="done"/></p><p>???????????????????????????????????????????????IBM?????????????????????????????Management Applications???????????ó???(?2)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="Broadcom?" src="/upload/tech/UploadPic/2010-7/2010725122127496.jpg" twffan="done"/></p><p>???????????????????????????????????????????????Vlan????????(?3)<br/>&nbsp;</p><p style="TEXT-ALIGN: center">&nbsp;<img border="1" alt="Broadcom?" src="/upload/tech/UploadPic/2010-7/2010725122127490.jpg" twffan="done"/></p><p>????????ù???????????????????????????????????????м??????Broadcom??????????????Intel???????????????顣??Broadcom???????????????Create a Team??(?4)</p> [Ftp??????]IIS6.0?????FTP???????????? http://www.bqlbd.club//tech/72.html ???? Ftp?????? 2015/4/4 21:19:07 <p>????????????????????????FTP?????????????????????????????????????????????д????????????????κ?????????????????????д????????????????????????????IIS 6.0????贴????????????????FTP?????????Ч?????????</p><p>?????????????????IIS 6??0?а?????FTP????????????????????óɡ????????????FTP??????????????????????????????????У??????????????????????????????</p><p>????<span style="COLOR: #ff0000"><strong>??????????</strong></span></p><p>??????????FTP????????Windows Server 2003?????????FTP??????????Щ????????????????????Щ??????FTP?????????????????????</p><p>???? ??1?? ??????????????????????????????????????????????С?????????</p><p>???? ??2?? ??????????????????????????????????????????顱???????????????????????????е???????????У????????????????С????????????????????????????</p><p>???? ??3?? ?????????м???????????硰xiaowei???????????????????′ε???????????????????????????????????????????????????????????????????????????1????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094172919110.jpg"/><br/>?1 ??????????&nbsp;</p><p>???? ??4?? ???????????????????????????????????????????????????????????????????ɡ?</p><p><span style="COLOR: #ff0000"><span style="COLOR: #000000">????</span><strong>?滮????</strong></span></p><p>???????????Щ????????????????????????????滮????н???????????????Щ????У???</p><p>????????????????е???????????????????????????????????FTP????????е??????????????????????????NTFS?????д??????????????FTP???????????硰CceFTP????????????CceFTP????????′???????????LocalUser??????????У???????LocalUser????????′?????????????????????????????С?</p><p>??????????????????????????????????????????????FTP???????????LocalUser??????????洴??????????Public????????С???????????????????????Public????????н??ж?д?????????2????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094172920224.jpg"/><br/>?2 ????</p><p>?????????FTP????????μ??????????????????LocalUser???????????′????????????б????????????????????????????????????????????????????</p><p>????<strong><span style="COLOR: #ff0000">???FTP???</span></strong></p><p>??????Windows Server 2003?д??????????????????FTP??????IIS 6.0????????????????????IIS 6.0???????б?????????????????????????IIS 6.0?????</p><p>???? ??1?? ?????????塱????????????????????????????????????????????е????????/???Windows??????????????Windows????????????</p><p>???? ??2?? ?????????б???????????????ó???????????????????????ó??????????????????????Internet???????IIS???????????Internet???????IIS?????????????????б????????????????????Э?飨FTP??????????????ε????????/???/???????????????????????????ɡ???????????????????3????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094172920392.jpg"/><br/>?3 ??ftp???????</p><p>??????????????????????????Windows Server 2003?????????????????????</p><p><span style="COLOR: #ff0000"><span style="COLOR: #000000">????</span><strong>????FTP???</strong></span></p><p>???????????е???????????????????????????????????????????????????????????FTP??????????ò?????????????</p><p>???? ??1?? ???ε????????/???????/Internet ???????IIS????????????????Internet ???????IIS?????????????????????????????????????FTP?????????????????????С????/FTP???????????FTP??????????????????????????????????</p><p>???? ??2?? ??????FTP?????????????м??????????????????硰CceFTP??????????????????????????</p><p>???? ??3?? ????IP??????????á??????????????FTP???????IP????????????????????????????FTP????IP????????????????21??????????????????????</p><p>???? ??4?? ??????FTP???????????е?????????????????????????????????????????4????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094172920878.jpg"/><br/>?4 ????????????</p><p>???? ??5?? ????FTP?????????????????????????????????????????CceFTP??????У??????ε????????/????????????</p><p>???? ??6?? ??????FTP??????????????й????д?????????????ε??????????/??ɡ????????????</p><p><span style="COLOR: #ff0000"><span style="COLOR: #000000">????</span><strong>???FTP???</strong></span></p><p>???????????????????????????????????????????????????xiaowei????????????????????????????????????????????????????????????????????xiaowei??????????У???????????Windows Server 2003???????С?LocalUser????????μ??xiaowei??????У???????????????????????????????????????????????????</p><p>????????????????????????????????????????????????????????????????Public?????н??ж?д?????????????????Ч???????????????????????????????????н??ж?д?????????????????????????????Public??????</p> [Web??????]IIS???????齨??? http://www.bqlbd.club//tech/39.html ???? Web?????? 2015/4/4 21:16:15 <p>????????????????????????????????????????????????????????????????????IIS??</p><p>????IIS??Internet Information Server????????????????????Web???????????????????а???Web????????FTP????????NNTP????????SMTP????????????????????????????????????????????????棬??????????磨???????????????????????????????????????????????????????Windows 2000??????????????????IIS 5.0?????ú?????????<br/><br/>???????? IIS??????????<br/><br/>???????IIS?????<br/><br/>???????????????塱????????????/???????????/???Windows???????????Internet???????IIS???????С?????????У??????1???к???????????????IIS??????????????????????IIS????н?????Web??FTP??NNTP??SMTP????????????<br/><br/>????????IIS??????<br/><br/>??????IIS???????????????????????????????Internet??????????????IIS?????????????С???????????????????????????????????????????????<br/><br/>???????? IIS?Web??????<br/><br/>????????????????Web???<br/><br/>???????籾????IP????192.168.0.1??????????????D:\Wy???£???????????????Index.htm?????????????Щ???????????Web????????<br/><br/>?????????Web???????????????е?????Web???????????????????????????????????????Web????????????????????????????????????Web???????????y??档<br/><br/>????1????????IP??????????Web?????????????IP????????????????????????????????IP?????192.168.0.1????<br/>????2????????????????????????????????????·???????????á??????????????????????????D:\Wy??????<br/>????3????????????????????????????????????????????????????????????????????????????????????????Index.htm????<br/>????4???????????????????????????D:\Wy???£???????????192.168.0.1/test??????????????E:\All???е?????????????????test??????????????????????Web??????????????????????????????????????????????????test?????????????????E:\All?????????????????????????<br/>????5??Ч??????????IE?????????????????192.168.0.1??????????????????????????????????????????????????ó????</p><p style="TEXT-ALIGN: left">???????????????Web???<br/><br/>????1?????IP??????Web???<br/><br/>??????????????????IP??????????ò????IP????ó??????Web??棬???????????Web????????????????????????????????????????????????????????????????????????????????????Web??????????????Web???????IP????????????????????????????IP???????????????????1?????????????Web???????????????????????????á?</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094914546448.gif"/>????</p><p style="TEXT-ALIGN: left">????2?????IP?????????Web???<br/><br/>?????????????????????????е?Web???????????????????????????????Web????費????????????????????Web??????80????????81????????82?????????2??????????????80??Web?????????????????IP???????????????????????????Web??????????????IP??????????????????????????硰http://192.168.0.1:81????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094914546384.gif" width="451" height="465"/></p><p style="TEXT-ALIGN: left">???????????????????????????????鷳Щ???????????DNS???????н???????????????????????????Ω???IP??????????費????????????????????????????????????????????Web????????<br/>??????????????????IP????192.168.0.1????????????????????????????Web????????????Web??????????????????Web?????????????????www.enanshan.com??????????????????www.popunet.com??????????????????????????£?<br/><br/>??????1?????????????DNS???????н?????????????????????????IP??????????????е?Web?????????????80?????????<br/>??????2??????????????Web??????????????Web???????????IP?????????????????????????????ж??????????????е????IP?????????????????????????????????????????????????????www.enanshan.com????????????(???3)????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094914546798.gif" width="461" height="452"/></p><p style="TEXT-ALIGN: left">??????3????????????????????????????Web???????μ???????????www.bqlbd.club?????ɡ?<br/>??????4??????????IE????????????????????????????????????Web???????????<br/><br/>????3???????????????Web???<br/><br/>???????????????IP???????Web??????????DNS???????У?????????????????????????IP????????????????????????κ????????????????????????ú???????????????</p><p style="TEXT-ALIGN: left">??????????IIS???????????<br/><br/>????1?????????Web????????????????????????????Web???????????á?IP???????<br/><br/>????2??????????????????????????IP???????????????μ???????????????С????????????????????????????????IIS???й?????????????????????<br/><br/>????3????????????????????????????硰http://192.168.0.1:3598????3598?????????????????????????????????????????????????Administrator???????????????????????????????????????ж?IIS???????????????????????????Χ?????????Web????FTP?????е?????????????????????????????<br/><br/>??????????????????????<br/><br/>????Q?????????????漰????????У??е?????http://?????е?????????ζ???????<br/>????A????м??http://???????????????????????????????http://????????????????????????????????????????????????????<br/>????Q?????????????漰??IP????????????????????á????????????????<br/>????A??????????????????IIS????????????????????????????????DNS????????????????????IP????????????????????????????з??????<br/>????Q???????ú??????Web??????????????????????????????????????????????????<br/>????A??????Web??????????????????????????????????????????????м?飺<br/><br/>????1????????????????????????????硰???Web??????????E:\Inetpub\wwwroot???μ?????????iisstart.asp????????????????<br/><br/>????2?????????????????????????????????.???4???,?????????????????????????????????????????????С?????????????С???????????????IUSR_NODISK???????С?NODISK????????????????????????????????С?????IIS??????????</p><span style="LINE-HEIGHT: 0px; DISPLAY: none" id="_baidu_bookmark_start_12">&#8205;</span> [Web??????]????XP????Web??FTP?????? http://www.bqlbd.club//tech/38.html ???? Web?????? 2015/4/4 21:11:39 <p>?????????????????????????????????????簮?????????????????????????????????????? ?????????????Win 2000????????Win 2003?????????????????????????????????WinXP ??????Win 98?????????????????????????????£???XP??????????IIS?????????????</p><p>??????????????3???????????????н???????????Win XP??????????????????????????????????????????????3????????</p><p>????<strong>IIS????</strong></p><p>??????Windows XP pro ?У?IIS????????????????????????????????????????????????????????????????????????XP???????????й?????????н????????????????????????????????????????????????????Windows????????????????????internet ???????IIS???????????????????????</p><p>????<strong>Web????????</strong></p><p>?????????????д???????????--??internet ????????????</p><p style="TEXT-ALIGN: center"><img style="WIDTH: 479px; CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094912046128.gif" height="455"/></p><p>?????????????????????и???????????????????????????Web?????????????????????????????μ?Web??????????????????????????????????????????????????????????????????????????????????????????λ???????????</p><p>????<strong>IIS????Web????????????</strong></p><p>????????????????л???????IIS,??????????????????????????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094912046964.gif"/></p><p>????????????????ж??????????????????????????????·???????????????????????????????????????????????????????????????????????????·????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094912046976.gif"/></p><p>???????????????????п???????????????????????IP??????????????????Щ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094912046633.gif"/></p><p>??????????????????????????????????С????????????????????????????????????·????<br/>&nbsp;</p><p>???á????????????????????????????????У?????????????????????????????????????ɡ????????????????????????????????????IP????????????????????????а???????????????£?????б???????????????????????????????????????????????????????????????????????????????????д??б??е??κ????????????????????????????????????????????</p><p style="TEXT-ALIGN: center"><span style="FONT-SIZE: 16px"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094912046676.gif"/></span></p><p>???????????????????????????????磬?С?IP/dreams????????????dreams??????????????????????????????????????????????????????????κ????£??????ν????????????????????Web????????????????????λ???????????????????????????????????????????????dreams???????????????????????·??????????硰d:????</p><p>????<strong>???Web???</strong></p><p>???????????ú????????????????????????????????????????????????????????????????????????????????????????????</p><p>?????????Щ???????????????????????????Щ????????????????????????????????Щ???????????Web???????????????????????????Щ??????????????????????????????????????????????????????????????????????</p><p>????<strong>????ftp??????</strong></p><p>????FTP??File Transport Protocol??????????????????????????????????????????????????????????WWW??????FTP???????????????????????????????????IIS????FTP?????????????</p><p>??????WWW??????????????????WWW?????????IIS????????????FTP????????????????????FTP?????????????????</p><p>?????????FTP??????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094912046966.gif"/></p><p>???????????????λ???????????IP?????192.168.1.12?????????21?????????????</p><p>??????????????Web????????????????????????</p><p>????????????????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094912046557.gif"/></p><p>?????????????????????t???????????????????????????????????????????????????????ù????????д????????????????????ж????????</p><p>?????????????????????????????????????????????:</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094912046293.gif"/></p><p>??????????????????????????????????????????????????????????????????????????????????????????anonymous??????????</p><p>???????????????FTP???????????????????????????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094912046240.gif"/></p><p>????????????????????????????????????á?</p><p>???????????</p><p>???????????У???cmd????????? <span style="TEXT-DECORATION: underline">ftp 192.168.1.12</span>(????????IP???)??????????????anonymous??</p><p>???????????????????????????????????????????????????????????????????y?????????????????????????????????????????????????????????????????????ftp??????ó??????μ??????????????????????</p><p style="TEXT-ALIGN: center"><img style="WIDTH: 498px; CURSOR: pointer" title="????????" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094912046697.gif"/></p><p>???????????XP???к???????????????裬????????????????????????????????????????????????????????????????£????????????????????????????????簲???????????????С??</p> [Mail??????]??CMailServer????????????? http://www.bqlbd.club//tech/17.html downcc Mail?????? 2015/4/4 21:08:35 <p><strong>CMailServer</strong>??????????????????????????????????????С????????????桢???ü?????????????????1????????????????????CMailServer???????Internet?????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094515643349.jpg"/><br/><br/>? 1</p><p>????<strong>?????? ??????</strong></p><p>????1.????????????????????о??IP???????Internet?????????</p><p>????2.??????????????????</p><p>????3.????????Win98/2000/NT/XP/2003??</p><p>????4.??????????CMailServer5.0?汾??????????????Access 2000??????汾??</p><p>????<strong>????????????????MX?????</strong></p><p>???????MX???????????????????????????????????絥λ????????sqmlzx.net????www.dns110.com???????????????Web??????????????????????????????涼????С????????????????t???????????ο???</p><p>????1.?????????????????????mail??IP?????211.90.191.104?????2?????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094515644678.jpg"/><br/><br/>? 2</p><p style="TEXT-ALIGN: left">????2.???????????????????????????????????10?????mail????????mail?????úú????3?????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094515646896.jpg"/><br/><br/>? 3</p><p>????3.?????????????????@sqmlzx.net????????????????????????24С??????Ч??</p><p>????<strong>?????????????</strong></p><p>????CMailServer??Win2000 Server?°????????????????С????????????????????5???????<br/><br/>??????????????????CMailServer??????&quot;????--??????????&quot;?????&quot;??????????????????&quot;?????????????????У????&quot;??????&quot;????????????????????????????????&quot;sqmlzx.net&quot;?????4??</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094515651569.jpg"/><br/><br/>? 4</p><p style="TEXT-ALIGN: left">?????????????DNS?????????????&quot;????-??????????-???&quot;?????????????DNS?????????ISP????DNS211.90.88.129???????????????DNS??????IP??????????5??CMailServer?????????ú????&quot;????-??????????-???-????&quot;??????WebMail????????????????8011????????????????&quot;????-??????????&quot;???????&quot;???-????-???????-Internet?????????&quot;????????Web???IP??????211.90.191.104?????????????????81????·???C??\Program Files\CMailServer\WebMail??????д?????ISAPI??CGI?????????????????index.html???????????????λ????????????????mail2???????????????C??\Program Files\CMailServer\maildata?????????????????????????????????????Webmail??maildata?????????????????????д??????????????????????????????????????ɡ??????????????????http??//211.90.191.104:81/??????????????????????????档</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094515651287.jpg"/><br/><br/>? 5</p><p>???????????</p><p>????1.??????huke2??????????????????huke2@sqmlzx.net??</p><p>????2.????Outlook Express??????&quot;????-???-???-???-???&quot;??????????????huke@sqmlzx.net??POP3????????211.90.191.104??SMTP????????211.90.191.104??????????????????????????????????????????????????????????????????????????</p><p>????3.????Webmail???????????????????????http://211.90.191.104:81?????????????????????????棬???????sign up???????????????????????????????????????????6??</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" border="1" hspace="3" alt="" vspace="1" align="center" src="/upload/tech/UploadPic/2009-4/20094515651635.jpg"/><br/><br/>? 6</p><p>?????????????????????????????????????????????????ù????Щ??????????????Webmail???????????Web???????????????????</p> [Web??????]IIS6????????????????????? http://www.bqlbd.club//tech/3.html ???? Web?????? 2015/4/4 21:04:32 <p>?????????????<a href="http://www.bqlbd.club/soft/9687.html" target="_blank">IIS6</a>??????????????????????????Щ??????Щ??????<a href="http://www.bqlbd.club/soft/14630.html" target="_blank">IIS5</a>???????????????Щ???3????????????????飬?????????????飬??????????????????????????? <br/><br/>????1??δ?????·?? <br/>????????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;Server.MapPath() ???? \&#39;ASP 0175 : 80004005\&#39; <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;??????? Path ??? <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;/0709/dqyllhsub/news/OpenDatabase.asp???? 4 <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;?? MapPath ?? Path ?????в???????? \&#39;..\&#39;?? <br/><br/>???????? <br/><br/>&nbsp;&nbsp;???Web?????????????../?????????????????????棬??????·????????IIS6.0?????????????????????????? ????????LEADBBS?????????????????DV????????????<br/><br/>????????? <br/><br/>??IIS??????-&gt;????-&gt;????-&gt;????С???&quot;?????·??&quot;???????????????? <br/><br/>????2??ASP??Web??????ò??????????????ASP.NET??CGI?? <br/><br/>???????? <br/><br/>HTTP ???? 404 - ???????δ????? <br/><br/>????????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;??IIS6.0????????web???????????????????????ж?ASP??ASP.NET??CGI??IDC&nbsp;?????????????????????????ASP???????????? <br/><br/>????????? <br/><br/>??IIS?е?Web????????????Active Server Pages?????&quot;????&quot;?? <br/><br/>????3???????????ò??? <br/><br/>???????? <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;HTTP ???? 401.2 - δ?????????????????????????????? <br/><br/>????????<br/><br/>&nbsp;&nbsp;??&nbsp;IIS ?????????? Web ???????????? <br/><br/>??1???????????? <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;IIS ???? IUSR_?????????????????м?????????????????? IIS ????????????????????????????????? Web ??????????????????????????????????????????????????????????????????????κ???Ч?? Windows ????? <br/><br/>??2???????????? <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;??????????????????? NTFS ??? Web ?????????????????????????????????????????????????????????????? ID ?????? ID ????????????????????????з???? <br/><br/>??3??Windows ?????????? <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;Windows???????????????????????????????????????Windows?????????????????????????????á???????Windows ???????У??????????????????????????????????????????????????????????????????????????????????ü????Windows??????????????????????????????????????????????????????????????????????????????е????????????????ν??????????? <br/><br/>??4?????????? <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????/???????????? Windows ???????????????????е????????????????????? <br/><br/>.NET Passport ?????? <br/><br/>Microsoft .NET Passport ?????????????????????????????????????????????????? .NET Passport ?? Web ?????????????????????? .NET Passport ?????????? .NET Passport ?????????????????????????????????????????????????????????????????????????? .NET Passport ????? <br/><br/>????????? <br/><br/>??????????ò??????????????????????????????????????????????????????????????IIS??????-&gt;?????-&gt;???????????????????á?<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;????4??IP???????ò??? <br/><br/>????????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;HTTP ???? 403.6 - ?????????????? IP ?????????? <br/><br/>????????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;IIS????IP????????????????????????????ЩIP?????????????????????????ЩIP??????????????????????????????IP??Χ??????????????????Χ????????????????? <br/><br/>????????? <br/><br/>????IIS??????-&gt;?????-&gt;IP???????????????????????ЩIP????????????????????????????????????IP???????????????????ЩIP????????? <br/><br/>????5??IUSR???????? <br/><br/>????????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;HTTP ???? 401.1 - δ????????????????????Ч??????? <br/><br/>????????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;????????????????????????IUSR_????????????????????????????????????????? <br/><br/>??????? <br/><br/>???????-&gt;???????-&gt;?????????-&gt;??????????飬??IUSR_????????????á? <br/><br/>????6??NTFS??????ò??? <br/>????????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;HTTP ???? 401.3 - δ??????????????? ACL ??????????????????????? <br/><br/>????????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;Web???????????????user?飬??????????????NTFS????????????ж??????????????????????? <br/><br/>???????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;?????????е????????????user???????????????????????NTFS?????&nbsp;&nbsp;&nbsp;?????????????? <br/><br/>????7??IWAM??????? <br/><br/>???????????????????????<br/>????????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;HTTP 500 - ????????????? <br/><br/>????????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;IWAM???????IIS???????????????????????IWAM????????Active Directory??IIS metabase??????COM+??ó?????????????????????????????棬????????????????????????IWAM??????????????????IWAM?????????????????????Ч??????IWAM??????????????? <br/><br/>???????&nbsp;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;???????AD??????-&gt;????-&gt;???????-&gt;Active Directory????????????IWAM???????????????c:\Inetpub\AdminScripts&gt;adsutil SET w3svc/WAMUserPass +???????IIS metabase?????????????cscript c:\inetpub\adminscripts\synciwam.vbs -v ???IWAM?????COM+??ó????е????? <br/><br/>????8??MIME???????????Щ?????????????????ISO????? <br/><br/>???????? <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;HTTP ???? 404 - ???????δ????? <br/><br/>???????? <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;IIS6.0???????ЩMIME?????????????ISO?????????????????? <br/><br/>????????? <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;??IIS??????-&gt;HTTP?-&gt;MIME????-&gt;????????????????У??????????.ISO??MIME??????application?? <br/><br/>??????????????ODBC???????Web?????????????????????????????????IIS?????????????????????????????????????</p> [Linux??????]Linux ????????????? http://www.bqlbd.club//tech/14.html downcc Linux?????? 2015/4/4 21:00:59 <p>RedHat Linux ??????????????????????????????????????????????????????????ж??????е??????????????????????????Щ???????????????????????????????????????????</p><p><img style="CURSOR: pointer" border="0" alt="" src="/upload/tech/UploadPic/2009-4/2009453278250.png" width="500" height="376"/>&nbsp;<br/>&nbsp;&nbsp;&nbsp; ????????????????????</p><p>???????</p><p>&nbsp;&nbsp;&nbsp; ???????????????? ?????????????????Щ??б?????????????????????????????????????????????????????</p><p>&nbsp;&nbsp;&nbsp; DNS???</p><p>&nbsp;&nbsp;&nbsp; DHCP&nbsp; ?κ???? DHCP ??????????????????????á?</p><p>&nbsp;&nbsp;&nbsp; ???????????????????????????????????????</p><p>&nbsp;&nbsp;&nbsp; 1.?????FTP??????????????????????????FTP?????????????С???</p><p>&nbsp;&nbsp;&nbsp; 2.IRC DCC ???????</p><p>&nbsp;&nbsp;&nbsp; 3.RealAudio</p><p>&nbsp;&nbsp;&nbsp; 4.??? X ???????????</p><p>&nbsp;&nbsp;&nbsp; ??????????????????????????????????????з????????????????????????????????????????? ??????? ??????????????????????????</p><p>&nbsp;&nbsp;&nbsp; ???:?????????????????????м?????????????????????????NIS ?? LDAP?????в????</p><p>???м???</p><p>&nbsp;&nbsp;&nbsp; ????????????м???????????????????????????Щ????????????????????????????</p><p>&nbsp;&nbsp;&nbsp; 1.????1023 ????&nbsp; ??Щ???????????????????Щ???????????????磺 FTP ?? SSH ?? telnet ?? HTTP ???? NIS ??</p><p>&nbsp;&nbsp;&nbsp; 2.NFS ??????????2049?? ??????????????????????NFS ????????á?</p><p>&nbsp;&nbsp;&nbsp; 3.???? X ?????????????? X ???????????</p><p>&nbsp;&nbsp;&nbsp; 4.X ????????????? xfs ?????????м???????????????????б??????????</p><p>&nbsp;&nbsp;&nbsp; ???????????RealAudio???????????????????????????????????????? ???м??? ?????????? ??????? ??????????????????????????</p><p>&nbsp;&nbsp;&nbsp; ???:?????????????????????м?????????????????????????NIS ?? LDAP?????в????</p><p><strong>??????????</strong></p><p>&nbsp;&nbsp;&nbsp; ?????????????????????????κ?????顣??????????Щ???????á????????????????????ε????磨??????????????????????????????????????????????????????</p><p>&nbsp;&nbsp;&nbsp; ??? ??????? ????????ε??豸??????????????????</p><p><strong>?????ε??豸??</strong></p><p>&nbsp;&nbsp;&nbsp; ??????ε??豸???е??κ?????????????????????????????豸?????????????????????????????????磬?????????????????????????????PPP???????????????????????????eth0????????????????????????????????????????eth0????&quot;???ε?&quot;??ζ??????????????????????????????????ppp0???????з??????????????????????????????????????????</p><p>&nbsp;&nbsp;&nbsp; ???????????????????????????????????豸??? ?????ε??豸?? ??</p><p><strong>?????????</strong></p><p>&nbsp;&nbsp;&nbsp; ??????Щ???????????????????????????????????????????У?????????????????????б??????</p><p><strong>??DHCP??</strong></p><p>&nbsp;&nbsp;&nbsp; ????????????? DHCP ??????????????????κ???? DHCP ???ж???IP????????????DHCP??????????????DHCP??б?????????????????????? IP ?????</p><p><strong>??SSH??</strong></p><p>&nbsp;&nbsp;&nbsp; Secure???????SHell??SSH????????????????????????????????鹤??????????????SSH?????????????????????????????????????????openssh-server ??????????? SSH ????????????????????</p><p><strong>??Telnet??</strong></p><p>&nbsp;&nbsp;&nbsp; Telnet????????????????????Э?顣Telnet??????????????????????κη??????????????????????????????????????Telnet???????????????????? Telnet ????????????? telnet-server ???????</p><p><strong>??WWW (HTTP)??</strong></p><p>&nbsp;&nbsp;&nbsp; HTTPЭ?鱻Apache??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? httpd ???????</p><p>&nbsp;&nbsp;&nbsp; ???? ??WWW (HTTP)?? ??????? HTTPS ?????????????? HTTPS???? ?????????? ??????????</p><p><strong>????? (SMTP)??</strong></p><p>&nbsp;&nbsp;&nbsp; ??????????????????????????????????????????????????????????????ISP???????????POP3??IMAP?????????????????fetchmail????????????????????????????????? SMTP ??????????????????????????????????????????</p><p><strong>??FTP??</strong></p><p>&nbsp;&nbsp;&nbsp; FTP Э??????????????????????????Э?顣???????????? FTP ????????????????????????????????? vsftpd ????????????????</p><p><strong>??????????</strong></p><p>&nbsp;&nbsp;&nbsp; ??????????????????г??????????????????????? ?????????? ???????????г????????? ???:Э?? ?????磬??????????? IMAP ???????????????????? imap:tcp ????????????????????????? UDP ?????? 1234 ?????????????? 1234:udp ???????????????????????????</p><p>&nbsp;&nbsp;&nbsp; ????:???????????????????????????? ??????????ù??? ?? ?? shell ???????? redhat-config-securitylevel ????????? ??????????ù??? ?????????????????????????????????????????</p> [Web??????]server2003 sp2+iis 6.0?????.net 2.0??.net 4.0??? http://www.bqlbd.club//tech/4871.html www.bqlbd.club Web?????? 2015/3/10 9:28:27 <p>???????&nbsp;IIS6.0,??????Windows server2003 sp2,?????????????????.net 2.0??asp?????,????????????????.net 4.0???.?????????????????????????????????????1????</p><p>1.????????.net framework4.0,??????:</p><p>http://www.microsoft.com/zh-cn/download/details.aspx?id=17718,??????.?????,???.net 2.0?????Asp.Net Version??????????????4.0?????,????????2.0??</p><p><a href="http://www.bqlbd.club/soft/8931.html" target="_blank" textvalue="Microsoft .NET Framework V4.0 Final ?????????????????"><strong>Microsoft .NET Framework V4.0 Final ?????????????????</strong></a></p><p>2.???IIS??web???????,????????ASP.NET v4.0.30319????????????????,&nbsp;?????2-1??????????????????????????????????404?????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-6/201362124421807.png"/><br/>?2-1</p><p>3.?4.0????????ó?????2.0??4.0???????????????ó?????????????????? ???--????--??????--??????? ??ó????г????????3-1?????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-6/201362124422289.jpg"/><br/>?3-1</p><p>???Internet????????????ó????????????ó???????????3-2??</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-6/201362124422430.png"/><br/>?3-2</p><p>4?????.Net 4.0??????????????????ó??????????4-1</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-6/201362124422674.png"/><br/>?4-1</p><p>????Asp.net?????Asp.Net version?4.0??</p><p>5??????????2.0??4.0???????service unavailable?????????????????????′???&nbsp;HTTP ???? DLL v4.0.30319\aspnet_filter.dll ??????????????????????????????????????Process Monitor??????????w3wp.exe??????????????C:\Windows\System32\MSVCR100_CLR0400.dll ??????????????????????????????????5-1?????????IIS_</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-6/201362124422897.png"/></p> [Web??????]301????????? ????IIS??apache??PHP????/asp?????301??????? http://www.bqlbd.club//tech/3596.html downcc.com Web?????? 2015/3/4 10:30:49 <p><a href="http://www.bqlbd.club/" target="_blank"><span style="COLOR: #41b80f">????????</span></a>??SEO?????????????301?????????????????php??asp????Web????????apache??iis?????????????????????????????????????</p><p><strong>1??IIS??301????</strong></p><p>Internet???????????? -&gt; ?????? -&gt; ?????URL????????????????URL???????????????????????</p><p><strong>2??ASP?μ?301??????</strong></p><p>&lt;%@ Language=VBScript %&gt;&nbsp;&nbsp; <br/>&lt;%&nbsp;&nbsp; <br/>Response.Status=??301 Moved Permanently??&nbsp;&nbsp; <br/>Response.AddHeader ??Location??, ??http://www.bqlbd.club/??&nbsp;&nbsp; <br/>%&gt;&nbsp;</p><p><strong>3??ASP.Net?μ?301??????</strong></p><p>&lt;script runat=??server??&gt;&nbsp;&nbsp; <br/>private void Page_Load(object sender, System.EventArgs e)&nbsp;&nbsp; <br/>{&nbsp;&nbsp; <br/>Response.Status = ??301 Moved Permanently??;&nbsp;&nbsp; <br/>Response.AddHeader(??Location??,??http://www.bqlbd.club/??);&nbsp;&nbsp; <br/>}&nbsp;&nbsp; <br/>&lt;/script&gt;&nbsp;</p><p><strong>4??PHP?μ?301??????</strong></p><p>header(??HTTP/1.1 301 Moved Permanently??);&nbsp;&nbsp; <br/>header(??Location: http://www.bqlbd.club/??);&nbsp;&nbsp; <br/>exit();&nbsp;</p><p><strong>5??CGI Perl?μ?301??????</strong></p><p>$q = new CGI;&nbsp;&nbsp; <br/>print $q-&gt;redirect(??http://www.bqlbd.club/??);&nbsp;</p><p><strong>6??JSP?μ?301??????</strong></p><p>&lt;%&nbsp;&nbsp; <br/>response.setStatus(301);&nbsp;&nbsp; <br/>response.setHeader( ??Location??, ??http://www.bqlbd.club/?? );&nbsp;&nbsp; <br/>response.setHeader( ??Connection??, ??close?? );&nbsp;&nbsp; <br/>%&gt;&nbsp;</p><p><strong>7??Apache??301??????</strong></p><p>???.htaccess?????????????????????????mod_rewrite????</p><p><strong>1????????WWW???????????WWW????????</strong></p><p>Options +FollowSymLinks&nbsp;&nbsp; <br/>RewriteEngine on&nbsp;&nbsp; <br/>RewriteCond %{HTTP_HOST} ^downcc.com [NC]&nbsp;&nbsp; <br/>RewriteRule ^(.*)$ http://www.bqlbd.club/$1 [L,R=301]&nbsp;</p><p><strong>2?????????????</strong></p><p>Options +FollowSymLinks&nbsp;&nbsp; <br/>RewriteEngine on&nbsp;&nbsp; <br/>RewriteRule ^(.*)$ http://www.bqlbd.club/$1 [L,R=301]&nbsp;</p><p><strong>3????????????301??????α???</strong></p><p>Options +FollowSymLinks&nbsp;&nbsp; <br/>RewriteEngine on&nbsp;&nbsp; <br/>RewriteRule ^news-(.+)\.html$ news.php?id=$1&nbsp;</p><p>??news.php?id=123???????????news-123.html</p><p><strong>8??Apache??vhosts.conf??????301???</strong></p><p>????URL?淶????SEO?????????WWW???????????WWW??????vhosts.conf?????????</p><p>&lt;VirtualHost *:80&gt;&nbsp;&nbsp; <br/>ServerName www.bqlbd.club&nbsp;&nbsp; <br/>DocumentRoot /home/itokit&nbsp;&nbsp; <br/>&lt;/VirtualHost&gt;&nbsp;&nbsp; <br/>&nbsp; <br/>&lt;VirtualHost *:80&gt;&nbsp;&nbsp; <br/>ServerName downcc.com&nbsp;&nbsp; <br/>RedirectMatch permanent ^/(.*) http://www.bqlbd.club/$1&nbsp;&nbsp; <br/>&lt;/VirtualHost&gt;&nbsp;</p><p>Apache?3???????2??????????????????÷????????????????????Apache?????</p><p><strong>301?????????</strong></p><p><a href="http://www.ab173.com/getheader.php" target="_blank" textvalue="http://www.ab173.com/getheader.php">http://www.ab173.com/getheader.php</a></p> [Web??????]nginx????301????????÷??? http://www.bqlbd.club//tech/4223.html www.bqlbd.club Web?????? 2015/3/3 9:00:22 <p>??????????linux????????nginx ??web?????????????301????????д??????????</p><p>???????www.bqlbd.club/down/???download.downcc.com/down/?£?nginx???????conf???????Щд??</p><pre>location&nbsp;~*&nbsp;^/down/&nbsp;{&nbsp;&nbsp;rewrite&nbsp;^/down/(.*)$&nbsp;http://download.downcc.com/down/$1&nbsp;permanent;&nbsp;&nbsp;}</pre><p>????????????nginx?????/usr/local/nginx/sbin/nginx -s reload</p> [Web??????]Windows2003+IIS7 Express???FastCgi????php http://www.bqlbd.club//tech/4859.html www.bqlbd.club Web?????? 2015/2/28 10:38:39 <p>????windows 2003?кú???php??????????棬????????????飬?????IIS7.5 Express??????WIN2003?????????????fastcgi???????php,?????Rewrite????????????web.config??rule???????????<br/>??????????<a href="http://www.bqlbd.club/soft/9780.html" target="_blank" textvalue="IIS7.5 Express">IIS7.5 Express</a>??????????????applicationHost.config????????????????????????????????????&quot;??????&quot;??IIS7Express?????????????????????????t?????IIS7 Express?????????<br/><span style="COLOR: #ff0000">1????????defaultDocument??</span>?????? &lt;add value=&quot;index.php&quot; /&gt;<br/>&lt;defaultDocument enabled=&quot;true&quot;&gt;<br/>&lt;files&gt;<br/>&lt;add value=&quot;Default.htm&quot; /&gt;<br/>&lt;add value=&quot;Default.asp&quot; /&gt;<br/>&lt;add value=&quot;index.htm&quot; /&gt;<br/>&lt;add value=&quot;index.html&quot; /&gt;<br/>&lt;add value=&quot;iisstart.htm&quot; /&gt;<br/>&lt;add value=&quot;default.aspx&quot; /&gt;<br/>&lt;add value=&quot;index.php&quot; /&gt;<br/>&lt;/files&gt;<br/>&lt;/defaultDocument&gt;</p><p>2?????fastcgi???<br/>&lt;fastCgi&gt;<br/>&lt;application fullPath=&quot;C:\php\php-cgi.exe&quot; monitorChangesTo=&quot;php.ini&quot; activityTimeout=&quot;600&quot; requestTimeout=&quot;600&quot; instanceMaxRequests=&quot;10000&quot;&gt;<br/>&lt;environmentVariables&gt;<br/>&lt;environmentVariable name=&quot;PHP_FCGI_MAX_REQUESTS&quot; value=&quot;10000&quot; /&gt;<br/>&lt;environmentVariable name=&quot;PHPRC&quot; value=&quot;C:Program Files (x86)iis expressPHPv5.4&quot; /&gt;<br/>&lt;/environmentVariables&gt;<br/>&lt;/application&gt;<br/>&lt;/fastCgi&gt;</p><p><strong>3?????handlles,????</strong><br/>&lt;add name=&quot;PHP_FastCGI&quot; path=&quot;*.php&quot; verb=&quot;GET,HEAD,POST&quot; modules=&quot;FastCgiModule&quot; scriptProcessor=&quot;C:\PHP\php-cgi.exe&quot; resourceType=&quot;Either&quot; /&gt;<br/>????????????????????ü???????棬???????&lt;handlles&gt;?????????????????Handle??????????<br/><br/>?????????У?C:\php\php-cgi.exe ??????滻???????php??????е?php-cgi.exe??λ?á?<br/><br/><strong>4????&lt;site&gt;???y???</strong>???????????????????????appcmd.exe add site????????<br/><br/>5?????????wordpress?????????,???????web.config???????configuration???y??£????Gzip???????<br/>&lt;system.webServer&gt;<br/>&lt;urlCompression doStaticCompression=&quot;true&quot; doDynamicCompression=&quot;true&quot; /&gt;<br/>&lt;/system.webServer&gt;</p><p>6???????web.config?У?Wordpress??rewrite??????web.config??????????£?</p><p>&lt;configuration&gt;<br/>&lt;system.webServer&gt;<br/>&lt;rewrite&gt;<br/>&lt;rules&gt;<br/>&lt;rule name=&quot;wordpress&quot; patternSyntax=&quot;Wildcard&quot;&gt;<br/>&lt;match url=&quot;*&quot; /&gt;<br/>&lt;conditions&gt;<br/>&lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsFile&quot; negate=&quot;true&quot; /&gt;<br/>&lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsDirectory&quot; negate=&quot;true&quot; /&gt;<br/>&lt;/conditions&gt;<br/>&lt;action type=&quot;Rewrite&quot; url=&quot;index.php&quot; /&gt;<br/>&lt;/rule&gt;<br/>&lt;/rules&gt;<br/>&lt;/rewrite&gt;<br/>&lt;/system.webServer&gt;<br/>&lt;system.webServer&gt;<br/>&lt;urlCompression doStaticCompression=&quot;true&quot; doDynamicCompression=&quot;true&quot; /&gt;<br/>&lt;/system.webServer&gt;<br/>&lt;/configuration&gt;</p><p>????????????????????????IIS7 Express???£????IISExpress.exe???????????У???????????????????????????????. <br/>iisexpress.exe /site:&#39;???????1&quot;<br/>iisexpress.exe /site:&#39;???????2&quot;<br/>??????£???????????????windows?????apache????????????????nginx?????????????????????</p> [Web??????]Win2003+Wamp5 V2.1????VPS???? http://www.bqlbd.club//tech/2794.html ???? Web?????? 2015/2/27 0:24:50 <p><strong>1?????wampserver</strong></p><p>????wampserver??????????л??????ò??????????????κλ??????Ь????????????????á?</p><p>wamp5V2.1????PHP 5.3.3??mysql 5.5.8??Apache 2.2.17??PHPMyAdmin 3.2.0.1</p><p>????????&nbsp;&nbsp;<a href="http://www.bqlbd.club/soft/1807.html" target="_blank" textvalue="http://www.bqlbd.club/soft/1807.html">http://www.bqlbd.club/soft/1807.html</a></p><p>????????????????????????????????????????ɡ??????????D??\wamp</p><p>??????????а????apache??mysql????????????? Next????????? ????????????ɡ????????а???????????ж???????????wamp????????</p><p>????????????????????????????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="0" alt="" src="/upload/tech/UploadPic/2011-6/201162132713738.gif" width="441" height="359"/>&nbsp;</p><p>?????????????????apache??mysql??php??phpmadmin????????????????????http://localhost/ ???????Ч????</p><p><strong>??????????α???????</strong></p><p>&nbsp;</p><table cellspacing="0" cellpadding="6" width="95%" align="center"><tbody><tr class="firstRow"><td style="WORD-WRAP: break-word" bgcolor="#ddedfb"><p>??apache?????????httpd.conf<br/>1.??#LoadModule rewrite_module modules/mod_rewrite.so????#????<br/>2.???<br/>#<br/># AllowOverride controls what directives may be placed in .htaccess files.<br/># It can be ??All??, ??None??, or any combination of the keywords:<br/># Options FileInfo AuthConfig Limit<br/>#<br/>AllowOverride None<br/>?? AllowOverride None ??? AllowOverride All<br/>?????????????apache?????????????Ч???????????.htaccess?????</p></td></tr></tbody></table><p>&nbsp;</p><p>?????????????????????????????????????????VPS??</p><p><strong>2??????????</strong></p><p>??bin\apache\Apache2.2.17\conf\httpd.conf</p><p>??61?У?LoadModule alias_module modules/mod_alias.so ????????#??????У??????仰????# ??????alias??????</p><p>??446?У?#Include conf/extra/httpd-vhosts.conf ???????# ???apache??????extra/httpd-vhosts.conf ?????</p><p>??bin\apache\Apache2.2.17\conf\extra\httpd-vhosts.conf</p><p>???????????Щ?????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="0" alt="" src="/upload/tech/UploadPic/2011-6/201162132713938.jpg"/></p><p>???????????????????????????????????????</p><p>&nbsp;</p><table cellspacing="0" cellpadding="6" width="95%" align="center"><tbody><tr class="firstRow"><td style="WORD-WRAP: break-word" bgcolor="#ddedfb"><p><strong>1????IP????????????</strong></p><p>Listen 172.20.30.40:80<br/>Listen 172.20.30.40:8080<br/>Listen 172.20.30.50:80<br/>Listen 172.20.30.50:8080</p><p>&lt;VirtualHost 172.20.30.40:80&gt;<br/>DocumentRoot /www/example1-80<br/>ServerName www.example1.com<br/>&lt; /VirtualHost&gt;</p><p>&lt;VirtualHost 172.20.30.40:8080&gt;<br/>DocumentRoot /www/example1-8080<br/>ServerName www.example1.com<br/>&lt; /VirtualHost&gt;</p><p>&lt;VirtualHost 172.20.30.50:80&gt;<br/>DocumentRoot /www/example2-80<br/>ServerName www.example1.org<br/>&lt; /VirtualHost&gt;</p><p>&lt;VirtualHost 172.20.30.50:8080&gt;<br/>DocumentRoot /www/example2-8080<br/>ServerName www.example2.org<br/>&lt; /VirtualHost&gt;<br/>????????????????????????????????????????</p><p><strong>2????IP?????????</strong><br/>???????????????????????????????????????C<br/>&lt;VirtualHost 192.168.1.1:80&gt;<br/>DocumentRoot ??/usr/local/apache/a??<br/>ServerName www.a.com #???????<br/>ServerAlias a.com #????????????????????????????г????????????????????????????<br/>DirectoryIndex index.html index.php<br/>&lt; /VirtualHost&gt;</p><p>NameVirtualHost 192.168.1.2:80</p><p>&lt;VirtualHost 192.168.1.2:80&gt;<br/>DocumentRoot ??/usr/local/apache/b??<br/>ServerName www.b.com<br/>ServerAlias b.com<br/>DirectoryIndex index.php<br/>&lt; /VirtualHost&gt;</p><p>&lt;VirtualHost 192.168.1.2:80&gt;<br/>DocumentRoot ??/usr/local/apache/c??<br/>ServerName www.c.com<br/>ServerAlias c.com<br/>DirectoryIndex index.php<br/>&lt; /VirtualHost&gt;<br/>??????????????????????????????????????????</p><p><strong>3????IP?????????</strong><br/>??????????????????????????????????????????<br/>Listen 80</p><p>NameVirtualHost 192.168.1.15 #?????????IP???</p><p>&lt;VirtualHost 192.168.1.15&gt; #????ip</p><p>ServerAdmin test@test.com #?????????<br/>DocumentRoot ??D:/Inetpub/www/maidou/?? #?????<br/>ServerName www.test.com #????????????)</p><p>DirectoryIndex index.php #????????</p><p>ServerAlias test.other.com admin.other.com #?????????????</p><p>ErrorLog logs/error_log.log #???????<br/>CustomLog logs/custom.log common #??????<br/>&lt;Directory ??D:/Inetpub/www/maidou/??&gt;<br/>Options Indexes FollowSymLinks<br/>AllowOverride All #AllowOverride???Apache????????????.htacess<br/>Order allow,deny<br/>Allow from all<br/>&lt; /Directory&gt;</p><p>&lt;/VirtualHost&gt;</p><p># ????????????<br/>&lt;VirtualHost 192.168.1.15&gt;<br/>DocumentRoot ??D:/Inetpub/www/other/??<br/>ServerName www.other.com</p><p>&lt;Directory ??D:/Inetpub/www/other/??&gt;<br/>Options Indexes FollowSymLinks<br/>AllowOverride All<br/>Order allow,deny<br/>Allow from all<br/>&lt; /Directory&gt;<br/>&lt; /VirtualHost&gt;</p><p>???????????????ü????????DocumentRoot??ServerName?????????????????????????????</p></td></tr></tbody></table><p>&nbsp;</p><p><strong>3??????apache????</strong></p><p>????????????????????????????Ч???????????ù????????????????????????</p> [Web??????]Service Unavailable ?????????Service Unavailable?????????????? http://www.bqlbd.club//tech/2408.html downcc.com Web?????? 2015/2/23 13:34:23 <p>??? ????????Service Unavailable???????????????????????? <br/><br/>????????????????????? ?????????iis????????????2003????????????IIS???????????2000????????????????????????????&quot;Service Unavailable&quot;,?????????????????????????????????????????????????????????&nbsp;<br/><br/>?????????????100??????????????????????????????PW???????????10????????????Щ?????????????????????????????????????????????????????????????WINDOWS2003???????????????????????????????е??????????? <br/><br/>???????????????????????????????????????????????????????ó???? &#39;xxx&#39; ????????????????????ó???????????????г??????д??????????????ó???? &#39;xxx&#39; ??????????????????á????????????????????????Service Unavailable???????????30?????????????????????ξ?????????????? <br/><br/>??????????? ????????????????????????????iis?????????????????Service Unavailable?????(win2k?????3????????????????????????????????????win2003????????????????Service Unavailable?? <br/><br/>???????????IIS?????????????Service Unavailable <br/><br/>????????????ACCESS?????????????????windows 2003 IIS 6????????????????????????????????????????????????? Service Unavailable ?????????????????IIS?????????????????????????????????????????????????? Service Unavailable ???????????? <br/><br/>?????????????????????????MS????????ACCESS???浱????÷???????????????????????????????????Щ???????ACCESS???桰??????????????δ?????????????????????????????? ??????????????????????????? <br/><br/>?????????? Windows SharePoint Services Web ???????????Service Unavailable <br/><br/>????Microsoft Internet ??????? (IIS) 6.0 ???????????????????????????????ó??????????????????? <br/><br/>?????????????<br/><br/>?????????????????????в???????? <br/><br/>????1????????????????????????????ó???????????ó?????? MSSharePointPortalAppPool??<br/><br/>???????в???????????????????????????ó????? <br/><br/>????????a). ?????????????????????????????????Internet ??????? (IIS) ?????????? <br/><br/>????????b). ?????ServerName?????????Web ????????????????????????????????????? <br/><br/>????????c). ????????????????? ?????????????????ó???????????ó????????С? <br/><br/>????????d). ????????????? <br/><br/>????2???????ó???????????????????????IIS ?????????? Active Directory ???????е??????????????ó????????????????????????????????????????????????????????????????????????????????????????????????? <br/><br/>????3?? ?????ó????????????????? IIS_WPG ??? STS_WPG ??????? <br/><br/>????4.????????? IIS ???????ó????</p><p>Service Unavailable???????????????????IIS??CPU?????????????????????asp.net????????3????</p><p>?????????????????????????IIS??CPU???????????IIS??CPU??</p><p>??????з??????????????windows2003???и?????????????????ó?????</p><p>???????????????????????????????????????????????????Щ?????????????????????500M??????棨???????8G??棩??</p><p>???????????????????????????????????????????????????????????Service Unavailable?????????????ó??????????????</p><p>?????????£?500M??????????????????????????????????????????????CPU????????????????????????????Service Unavailable??????????????????????????????????CPU?????90%-100%????????</p><p>1???????Service Unavailable???????</p><p>???????????????????????????IIS????????5?????????????IIS????????????????????????????????????????Service Unavailable???????????5??????????????????????????????2-5???????????????????м????????????????????????????2-6С??????????????</p><p>2??????????Service Unavailable???????</p><p>???????????????????????????????????????????????????????????????????????????顣</p><p>??п??????????????????CPU???????????????????????20%??CPU?????</p><p>3????????????</p><p>??????????????????CPU??????????40%-80%?????????????????????????????????????CPU??????????</p><p>4???????Service Unavailable???????????????</p><p>?????????????????????????????????????????????????????????Service Unavailable????????????????????????FTP???????</p><p>???????????????????????????????????????????????????????????????????????????????????????????????????????????????????</p> [Ftp??????]ftp??????????????б???????? http://www.bqlbd.club//tech/4125.html downcc.com Ftp?????? 2015/2/19 16:14:41 <p>???????????????????????????????????ftp??????????????б????????????????????????????????????????绰????λ????????????????????????????賿???????</p><p>???????QQ???????????????????????????????????????????ftp????????????????????????????????????????????Ψ?????????????????????????????б?????ī?????????????????</p><p>?????????????????????????????????????????????????????μ???????????????????????????????á?</p><p>?ù??????????????????????????????????????????????????????????????????</p><p>??????????????????????????·???????????????1???ftp??????????????б?????????????????</p><p><strong>???????FlashFXP</strong></p><p>?????????<a href="http://www.bqlbd.club/soft/3204.html" target="_blank" textvalue="8uftp"><span style="COLOR: #41b80f">8uftp</span></a>????????????????????????????8uftp?????????г????????????????????????<a href="http://www.bqlbd.club/soft/4751.html" target="_blank" textvalue="FlashFXP"><strong><span style="COLOR: #41b80f">FlashFXP</span></strong></a>????????????????????????????????????</p><p><strong>???????????</strong></p><p>1.??????????????и??????????á???????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="0" alt="ftp??????????????б????????????www.bqlbd.club" src="/upload/tech/UploadPic/2012-8/201281414332368.jpg" width="500" height="350"/></p><p>2.???????????????????????????????????????????????????????????</p><p>3.?????????????????????????????????????????????????12?????USER ftp-user@ftp-host ftp-port????????proxy.vhostgo.com ???????2121??????????????ù??????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="0" alt="ftp??????????????б????????????www.bqlbd.club" src="/upload/tech/UploadPic/2012-8/201281414333643.jpg" width="500" height="417"/></p><p>4.??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????</p><p>????????????????FlashFXP?????????10054?????????????á???????</p><p>??????????ftp??????????????б???????????????????????????лл??</p> [Web??????]????iis??tomcat ??Tomcat??IIS???????80??? http://www.bqlbd.club//tech/3480.html downcc.com Web?????? 2015/2/13 10:23:45 <p>??????Tomcat??IIS?????????????80??????iis???????*.asp??*.aspx??*.jsp??servlet??*.do?????</p><p><strong>???????????????????</strong>??<a href="http://www.bqlbd.club/soft/8624.html" target="_blank" textvalue="http://www.bqlbd.club/soft/8624.html">http://www.bqlbd.club/soft/8624.html</a></p><p>????????????????</p><p>?????Tomcat???洴??????μ???IIS??</p><p>???? bin&quot;isapi_redirector2.dll ?????$Tomcat_Home&quot;bin?С?</p><p>???? bin&quot;isapi_redirector2.dll ?????$Tomcat_Home&quot;IIS?С?</p><p>???? conf&quot;workers2.properties ?????$Tomcat_Home&quot;conf?? ?????8009?????б?????</p><p>???? conf&quot;jk2.properties ?????$Tomcat_Home&quot;conf??</p><p>??? REG&quot;jakarta.reg ?????????c:&quot;&quot;tomcat5.5??????????Tomcat?????????????????в???п????tomcat6.0??????</p><p>???IIS.reg???????????????????С?</p><p>???????????IIS</p><p>?????????????????????jakarta????????????????????????е?IIS??????ü??????е?????</p><p>???????jakarta??????????????&quot;ISAPI????&quot;??????????????μ?????jakarta?????岽?????£???????????????????????????jakarta?????????????isapi_redirector2.dll??????????????????????????????????????????????????????????</p><p><img style="CURSOR: hand" alt="????iis??tomcat ??Tomcat??IIS???????80??? _????????" src="/upload/tech/UploadPic/2012-1/2012113205017994.JPG" width="467" height="428"/></p><p>???????????????????http://localhost/????IIS??</p><p>???Tomcat??(????workers2.properties??????????????ú???Tomcat?????????????jsp-examples??servlets-examples)??????????http://localhost/jsp-examples/??http://localhost/servlets-examples/??????Tomcat?????????????á?</p><p>??????д??????????&quot;/&quot;??</p><p>???????????Tomcat?????????</p><p>?????$Tomcat_Home&quot;conf&quot;workers2.properties????У??????????[uri:/servlets-examples/*]???ɡ?</p><p>??????????????[url]http://localhost:8080/job/[/url]???????Tomcat?????job????????????????workers2.properties?У????[uri:/job/*]???ɡ?</p><p>windows2003 iis6??????web???????<br/>??????isapi_redirector2.dll???????ó?????</p><p><img style="CURSOR: hand" alt="????iis??tomcat ??Tomcat??IIS???????80??? _????????" src="/upload/tech/UploadPic/2012-1/2012113205017385.JPG" width="495" height="238"/></p><p>???????????????г????????????3??????????????????????</p><p>??????????????????<a href="http://www.bqlbd.club/soft/8624.html" target="_blank" textvalue="http://www.bqlbd.club/soft/8624.html">http://www.bqlbd.club/soft/8624.html</a></p><p><img style="CURSOR: hand" alt="????iis??tomcat ??Tomcat??IIS???????80??? _????????" src="/upload/tech/UploadPic/2012-1/2012113205017270.JPG" width="750" height="190"/><br/><img style="CURSOR: hand" alt="????iis??tomcat ??Tomcat??IIS???????80??? _????????" src="/upload/tech/UploadPic/2012-1/2012113205017738.JPG" width="685" height="190"/></p> [Web??????]????IIS???????????????????????? http://www.bqlbd.club//tech/4.html ???????? Web?????? 2015/2/12 9:29:13 <p>???????????IIS????????IIS??????????????????????????? ???????????????100M???50??????????? <br/>A ????????????????????????????????????Щ????????????????????????50?????????????????50???????? <br/>B ??????????棬??????????????ж???????????κ??????????????????????15???????????????????????????50??????15???????????????????50????? <br/>C ????B?????????????????????????????棬???????????????????????ε????????????????15????????????15?????????????????????????′???????????????????? <br/>D ???????????????(Iframe)??????????????????????????????????????????????????????????????档 <br/>E ???????????????????????????????????????????????????? <br/><br/>&nbsp;&nbsp;&nbsp; ????????????????????????????????????????????????????????????????????????趨(?????????????)?????????????40????????????? <br/><br/>&nbsp;&nbsp;&nbsp; ?????????????????????????IIS??????????????????????IIS?????????????????????????? ???????????£? <br/><br/>1?????????????????? <br/>&nbsp;&nbsp;&nbsp; ???????????????????????????????????????????б???????в?????????????????????????????????е??????ú?????????2??3????????4??5???? ????????????????????????????????????????????? <br/><br/>2??????????????+?????????? <br/>&nbsp;&nbsp;&nbsp; ?????????????????????????????? <br/><br/>3????????????в??????? <br/>&nbsp;&nbsp;&nbsp; ????????????????????????????????????????? <br/><br/>4??????????????????????????? <br/>&nbsp;&nbsp;&nbsp; ????????????????????? <br/><br/>5????????????????????С?? <br/>&nbsp;&nbsp;&nbsp; ????????40?????????????£????????20IIS???????????????50?????????????????????????????????????????????趨??????С???????????????????????????????????????????????????????40????????? <br/><br/>6????????????????? <br/>&nbsp;&nbsp;&nbsp; ?е??????????????????????????bbs bbs1 bbs2 ????????????????????????????????????????? <br/><br/>7???????????????????????? <br/>&nbsp;&nbsp;&nbsp; ???磺????????????????????????????????????????????????????????????????????????????????????????????? <br/>??????LOGO????????????????????????LOGO??????????? <br/><br/>8????????????????????? <br/>&nbsp;&nbsp;&nbsp; ??????????????????????????????????????????????????? <br/><br/>??????? <br/><br/>1??????????????棬?????棡 <br/>2??LOGO?????????????????LOGO?????????? <br/>3?????????????????????????棡 <br/>4????????κε???????????????? <br/>5???????????????????</p> [Web??????]??Apache????Web?????? http://www.bqlbd.club//tech/40.html ???? Web?????? 2014/11/10 22:40:12 <p>????????Linux?μ?Web?????????????Netscape??Enterprise Server???????????????Apache?? Netscape?????????????IP????????????????????????????????????????????????????????????????????IP??????????????????????IP;?????????????????????????????????????????IP??????HTTP 1.1Э?飬????????????????????????IP????????Apache???????????????????????????????????Netscape?????????????????????Apache??????????????ù???Web??????????????????????????Apache???????????Web????????</p><p>???????</p><p>?????????????????Apache?????????</p><p>????????????http://www.apache.org???????°汾??Apache?????????Windows?£?????????????C???C????Linux?ж????/dev/hda1??</p><p>?????????????Linux?????? root ????????????й?????????</p><p>????# mkdir c<br/>????# mount -t vfat /dev/hda1 /c</p><p>????????????Apache??????????c??????????????????????????????/c???档</p><p>????????????????????/tmp?£?????????</p><p>????#cp /c/apache_1.3.9.tar.gz /tmp</p><p>???????Linux?????е???????????????Сд?????????????????????????????н??????????????????????</p><p>????#cd /tmp<br/>????#tar zxvf apache_ 1.3.9.tar.gz</p><p>?????????????????????????????????y?????л????????á?</p><p>????#cd /tmp/apache_1.3.9<br/>????#./configure--sysconfdir=/etc/httpd <br/>????--datadir=/home/httpd <br/>????--logfiledir=/var/log/httpd <br/>????--enable-module=most <br/>????--enable-shared=max <br/>????--disable-rule= WANTHSREGEX</p><p>???????????Apache???????????????/etc/httpd???У??????????????HTML????????CGI-BIN???????????? /home/httpd??????????Apache?????????????DSO??????DSO????Dynamic Shared Object????д?????DSO??????????Apache??????????Apache??????????????飬??????????±?????????????????????????</p><p>??????????????./configure ??????y??????????? Makefile???????????????????????????</p><p>????#make</p><p>????????????????????make install???Apache??????????????????????????????</p><p>????#rpm -ivh apache*.rpm<br/>&nbsp;</p><p>???????Apache??RPM????????????????????????????????</p><p>????????</p><p>?????????Apache????????????ù?????????????????httpd.conf??access.conf??srm.conf ??Magic??????????????httpd.conf????????????????access.conf?????????????????srm.conf ???????Web???????????????????????Magic?????mime???????????????????????????</p><p>??????Apache???е???????????httpd.conf????????srm.conf???????access.conf??????μ?Apache???а汾?У???????srm.conf??access.conf ??????????????????????????????????httpd.conf??У????????????????????????????</p><p>???????????httpd.conf??????????????Web???????硣</p><p>????1.????????????????</p><p>????httpd.conf???????????????????????????????????????????????????</p><p>????ServerType standalone<br/>????ServerRoot &quot;/etc/httpd&quot;<br/>&nbsp;</p><p>?????????&quot;ServerType&quot;??????Apache??????????????Standalone????????????????????????????????????????????Xinetd??????HTTP?????????????????????????????????standalone????????xinetd?????????????????????????????standalone????????д????????÷???????????????????????????/etc/httpd?????????????????úá??????????????????&quot;/&quot;??</p><p>????LockFile /var/lock/httpd.lock<br/>????PidFile /var/run/httpd.pid<br/>????ScoreBoardFile /var/run/httpd.scoreboard<br/><br/>????LockFile????Apache?????????USE_FCNTL _SERIALIZED_ACCEPT??USE_FLOCK_SERIALIZED_ACCEPT??????????Apache???????????????????????????PID?????????????С??????????????????????????С?PidFile???????η?????????????????ScoreBoardFile???Щ??????????????и??????????????????</p><p>????#ResourceConfig conf/srm.conf<br/>????#AccessConfig conf/access.conf<br/>&nbsp;</p><p>??????????????????????????????????????????????????2???????????</p><p>????Timeout 300<br/>????KeepAlive On<br/>????MaxKeepAliveRequests 100<br/>????KeepAliveTimeout 15</p><p>???????趨????????????????????????????TCP??ack?????????300??????????????????????????????????????????????????????????????????????MaxKeepAliveRequests???0??????????unlimited???????????????????????????</p><p>????MinSpareServers 5<br/>????MaxSpareServers 20<br/>????StartServers 8<br/>&nbsp;</p><p>???????????????????????С???????????????????????????????????5??20??8??????????????????</p><p>????MaxClients 150<br/>????MaxRequestsPerChild 100<br/>&nbsp;</p><p>???????????ж??????????????????????????????????????????</p><p>????Listen 3000<br/>????Listen 12.34.56.78:80<br/>????BindAddress *<br/>&nbsp;</p><p>?????????????????????????????IP???????Request??????BindAddress????*?????????е?IP?????????????Listen?????????????????????????????</p><p>????ExtendedStatus On/Off<br/>&nbsp;</p><p>???????????????????????????????????????????</p><p>?????????????DSO???????????????LoadModule??AddModule??????????????????1??????????????????顣</p><p>????2.????????????</p><p>???????????????????????????????????????</p><p>????Port 80<br/>&nbsp;</p><p>??????????????????????????????????80??</p><p>????User nobody<br/>????Group nobody<br/>????ServerAdmin root@localhost<br/>????ServerName localhost<br/>&nbsp;</p><p>????????????????д??????????????????????????????????????????????????????????????????????????</p><p>????DocumentRoot &quot;/home/httpd/html&quot;<br/>????DirectoryIndex index.html index.htm index.shtml index.cgi<br/>????UserDir public_html<br/>&nbsp;</p><p>??????????ж????????????????????????UserDir??????????????·??????????????????????·???? <br/><br/>????AccessFileName .htaccess <br/><br/>????????????????????μ???????????.htaccess????????Apache???????????μ????????????????&quot;.htaccess&quot;????????е????????????????????????? <br/><br/>????Mime ?????????????????????????????????? <br/><br/><ccid_nobr></ccid_nobr>????TypesConfig /etc/mime.types<br/>????MIMEMagicFile share/magic<br/>????AddLanguage en .en<br/><br/>?????????????????????????????? <br/><br/><ccid_nobr></ccid_nobr>????ErrorLog /var/log/httpd/error_log<br/>????LogLevel warn<br/>????CustomLog /var/log/httpd/access_log common<br/><br/>??????????Щ?????????????????????????Щ???????? <br/><br/>?????????????ú???????????????????????????????á?</p><p>????3.?????????? <br/><br/>???????????????????????????·??????????? <br/><br/><ccid_nobr></ccid_nobr>??????Directory /home/*/public_html??<br/>????AllowOverride FileInfo AuthConfig Limit<br/>????Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec<br/>??????Limit GET POST OPTIONS PROPFIND??<br/>????Order allow,deny<br/>????Allow from all<br/>??????/Limit??<br/>??????Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK??<br/>????Order deny,allow<br/>????Deny from all<br/>??????/Limit??<br/>??????/Directory??<br/><br/>????????ζ?????/home/*/public_html?????????????е?????????????????????????Χ?? <br/><br/>????4.???????????? <br/><br/>??????????????????Apache???????????????ASP???????Apache???????????????????? <br/><br/><ccid_nobr></ccid_nobr>??????VirtualHost www.virt.com??<br/>????SSLDisable<br/>????ServerAdmin webmaster@virt.com<br/>????DocumentRoot /var/httpd/virt<br/>????ScriptAlias /cgi-bin/ /var/httpd/virt/cgi-bin/<br/>????ServerName www.virt.com<br/>????ErrorLog logs/virt-error.log<br/>????TransferLog logs/virt-access.log<br/>??????/VirtualHost??<br/><br/>???????????????????????????????????????С???????????? <br/></p> [Web??????]&quot;Request ???? ???? &#39;ASP 0104 : 80004005&#39;??????? http://www.bqlbd.club//tech/5380.html www.bqlbd.club Web?????? 2014/10/16 22:30:46 <p>Windows2003???£??????????????????&ldquo;Request ???? ???? 'ASP 0104 : 80004005'&rdquo;????<br /> ????win2003??IIS 6.0??asp??????????С?200k?????aspx?????????????????IIS6.0?У??????????????????????????????? 204,800 ?????????????????????????????????????????????????????IIS 6 ??????????, ????????????200K(????????????????200KByte??204800Byte)?????? IIS 6.0 ????汾??????????<br /> <strong><br /> ???????<br /> </strong><br /> ?????<br /> <br /> ??????????IIS?????????????????<a target="_blank" href="http://www.bqlbd.club/zhuanti/sql.html">?????</a>??????Internet???????<br /> <br /> ??????????????????iis admin service???????windows\system32\inetsrv\?μ?metabase.xml, ???????ASPMaxRequestEntityAllowed ????????????????????204800????200K???????????51200000??50M????<br /> ???????iis admin service????<br /> <br /> ??????<br /> <br /> ?????????????????????£?<br /> <br /> '----------------------------------------------------<br /> <br /> set providerObj=GetObject(&quot;winmgmts:/root/MicrosoftIISv2&quot;)<br /> <br /> set vdirObj=providerObj.get(&quot;IIsWebVirtualDirSetting='W3SVC/1/ROOT'&quot;)<br /> <br /> WScript.Echo &quot;Before: &quot; &amp; vdirObj.AspMaxRequestEntityAllowed<br /> <br /> vdirObj.AspMaxRequestEntityAllowed=51200000<br /> <br /> vdirObj.Put_()<br /> <br /> WScript.Echo &quot;Now: &quot; &amp; vdirObj.AspMaxRequestEntityAllowed<br /> <br /> '----------------------------------------------------<br /> <br /> ??????.vbs??????磺vf.vbs<br /> <br /> ??????????????£???? cscript ???·????????????磺<br /> <br /> cscript d:\vf.vbs<br /> <br /> ????ASP?????С??????????????????51200000??? (50??)</p> [Web??????]IIS?в?W3P.exe??????????ó???????? http://www.bqlbd.club//tech/5375.html www.bqlbd.club Web?????? 2014/10/5 21:15:25 <p>??????з???????w3p.exe??????????????????????????????????ó???????????????Щ??????????????????</p> <p>????Windows??????????е????--?????--???PID(????????)????????????о?????????ID???</p> <p><img alt="IIS?в?W3P.exe??????????ó????????_downcc.com" src="/upload/tech/UploadPic/2014-10/201410521184048354.jpg" /></p> <p>????IIS6???????? <br /> <br /> iisapp -a???????ó??????????б?. <br /> <br /> iisapp.vbs??????????????,????2003????SP1???? <br /> <br /> ??IIS7???????????????????? <br /> <br /> C:&quot;Windows&quot;System32&quot;inetsrv&gt;appcmd.exe list wp?????<br /> <br /> ?????????????????????????????У?????????????????????????<br /> <br /> <strong>IIS7?в?w3wp????</strong> <br /> <br /> ??IIS?п?????iisapp???????????w3wp????????????IIS7?????????????????????Appcmd??????????????£? <br /> ????1????system32?????????appcmd.exe?????%windir%\system32\inetsrv\appcmd.exe <br /> ????2????doc?????????λ????????? <br /> ????3???????????appcmd list wp?????????????w3wp?????????? <!--NEWSZW_HZH_END--></p> [Web??????]Apache ????????????URL ??????? Rewrite ???? http://www.bqlbd.club//tech/5359.html www.bqlbd.club Web?????? 2014/9/2 15:40:09 <p><strong>?????Apache??????????Rewrite????</strong></p> <p>Apache Rewrite ???? ???? URL ??????????????????????????????? URL ?????????????????? PHP ?????????????? HTML ??棬??????????????????????????????????????????????????Comsenz ???μ??? Discuz!??SupeSite/X-Space??ECShop??SupeV??UCHome ???????????????????????????????????????????????????????? Apache ???????????? URL ??????? Rewrite ????<br /> <br /> ???????????????????????????????????????????ж????????????????????????????????Щ?????????????? Discuz!6.1.0 ?? Rewrite ???????????????????о??????????? Rewrite ????<br /> <br /> ????????????? Apache ?汾???????????? mod_Rewrite ??顣 <br /> <br /> Apache 1.x ????????? conf/httpd.conf ???????????????δ??? <br /> LoadModule Rewrite_module libexec/mod_Rewrite.so<br /> AddModule mod_Rewrite.c Apache 2.x ????????? conf/httpd.conf ??????????????δ??? <br /> <br /> LoadModule Rewrite_module modules/mod_Rewrite.so<br /> <br /> ????????????????????????????? conf/httpd.conf???м??????′???????????????????????????????????????壬?????????????????????? &lt;VirtualHost&gt; ?????????????????????????????????????????ú? Apache ?????<br /> <br /> &lt;IfModule mod_Rewrite.c&gt;<br /> RewriteEngine On<br /> RewriteRule ^(.*)/archiver/((fid|tid)-[\w\-]+\.html)$ $1/archiver/index.php?$2<br /> RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay.php?fid=$2&amp;page=$3<br /> RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread.php?tid=$2&amp;extra=page\%3D$4&amp;page=$3<br /> RewriteRule ^(.*)/space-(username|uid)-(.+)\.html$ $1/space.php?$2=$3<br /> RewriteRule ^(.*)/tag-(.+)\.html$ $1/tag.php?name=$2<br /> &lt;/IfModule&gt;?????а?? mod_Rewrite???????????±??? Apache????????? configure ???????м??? --enable-Rewrite=shared????????? Apache ????????м????????????ɡ?<br /> <br /> ???????????? Apache ?????????????<br /> <br /> ?????????????????????????????????????????????? Rewrite ????????????????? .htaccess ??????????????????????????????ú??????????á? <br /> <br /> ???????????????????? .htaccess ???????????????????????????????Win32 ???£?????????? .htaccess ???????????????????п????????????? Discuz.net ????????????????????????????? .htaccess ????????????????? <br /> # ?? RewriteEngine ????<br /> RewriteEngine On<br /> # ???????????е? /discuz ????????????????????????????У??? /discuz ???? /<br /> RewriteBase /discuz<br /> # Rewrite ?????????????<br /> RewriteRule ^archiver/((fid|tid)-[\w\-]+\.html)$ archiver/index.php?$1<br /> RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&amp;page=$2<br /> RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&amp;extra=page\%3D$3&amp;page=$2<br /> RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2<br /> RewriteRule ^tag-(.+)\.html$ tag.php?name=$1?????????????????????????????????????·????????档?? .htaccess ???????????????????С????????????????????????????????????????? URL ??????????<br /> <br /> ??????????Щ????????? Rewrite ????<br /> <br /> SupeSite/X-Space6.0 UC????<br /> <br /> Apache ?????????????<br /> <br /> &lt;IfModule mod_Rewrite.c&gt;<br /> RewriteEngine On<br /> ###Rewrite ?????????????<br /> RewriteRule ^/([0-9]+)/spacelist(.+)$ /index.php?uid/$1/action/spacelist/type$2 [L]<br /> RewriteRule ^/([0-9]+)/viewspace(.+)$ /index.php?uid/$1/action/viewspace/itemid$2 [L]<br /> RewriteRule ^/([0-9]+)/viewbbs(.+)$ /index.php?uid/$1/action/viewbbs/tid$2 [L]<br /> RewriteRule ^/([0-9]+)/(.*)$ /index.php?uid/$1/$2 [L]<br /> RewriteRule ^/([0-9]+)$ /index.php?uid/$1 [L]<br /> RewriteRule ^/action(.+)$ /index.php?action$1 [L]<br /> RewriteRule ^/category(.+)$ /index.php?action/category/catid$1 [L]<br /> RewriteRule ^/viewnews(.+)$ /index.php?action/viewnews/itemid$1 [L]<br /> RewriteRule ^/viewthread(.+)$ /index.php?action/viewthread/tid$1 [L]<br /> RewriteRule ^/mygroup(.+)$ /index.php?action/mygroup/gid$1 [L]<br /> &lt;/IfModule&gt;Apache ?????????????<br /> <br /> ### ?? RewriteEngine ????<br /> RewriteEngine On<br /> ### ???????????е? /SupeSite ???????SupeSite?????????????????????У??? /SupeSite ???? /<br /> RewriteBase /<br /> ### Rewrite ?????????????<br /> RewriteRule ^([0-9]+)/spacelist(.+)$ index.php?uid/$1/action/spacelist/type$2 [L]<br /> RewriteRule ^([0-9]+)/viewspace(.+)$ index.php?uid/$1/action/viewspace/itemid$2 [L]<br /> RewriteRule ^([0-9]+)/viewbbs(.+)$ index.php?uid/$1/action/viewbbs/tid$2 [L]<br /> RewriteRule ^([0-9]+)/(.*)$ index.php?uid/$1/$2 [L]<br /> RewriteRule ^([0-9]+)$ index.php?uid/$1 [L]<br /> RewriteRule ^action(.+)$ index.php?action$1 [L]<br /> RewriteRule ^category(.+)$ index.php?action/category/catid$1 [L]<br /> RewriteRule ^viewnews(.+)$ index.php?action/viewnews/itemid$1 [L]<br /> RewriteRule ^viewthread(.+)$ index.php?action/viewthread/tid$1 [L]<br /> RewriteRule ^mygroup(.+)$ index.php?action/mygroup/gid$1 [L]ECShop2.6.0 ????<br /> <br /> Apache ?????????????<br /> <br /> &lt;IfModule mod_Rewrite.c&gt;<br /> RewriteEngine On<br /> RewriteRule ^(.*)/index.html$ $1/index.php <br /> RewriteRule ^(.*)/category$ $1/index.php [L]<br /> RewriteRule ^(.*)/feed-c([0-9]+).xml$ $1/feed.php?cat=$2 [L]<br /> RewriteRule ^(.*)/feed-b([0-9]+).xml$ $1/feed.php?brand=$2 [L]<br /> RewriteRule ^(.*)/feed.xml$ $1/feed.php<br /> RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/category.php?id=$2&amp;brand=$3&amp;price_min=$4&amp;price_max=$5&amp;filter_attr=$6&amp;page=$7&amp;sort=$8&amp;order=$9<br /> RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$ $1/category.php?id=$2&amp;brand=$3&amp;price_min=$4&amp;price_max=$5&amp;filter_attr=$6<br /> RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/category.php?id=$2&amp;brand=$3&amp;page=$4&amp;sort=$5&amp;order=$6<br /> RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$ $1/category.php?id=$2&amp;brand=$3&amp;page=$4<br /> RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$ $1/category.php?id=$2&amp;brand=$3<br /> RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$ $1/category.php?id=$2<br /> RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$ $1/goods.php?id=$2<br /> RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/article_cat.php?id=$2&amp;page=$3&amp;sort=$4&amp;order=$5<br /> RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$ $1/article_cat.php?id=$2&amp;page=$3<br /> RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$ $1/article_cat.php?id=$2<br /> RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$ $1/article.php?id=$2<br /> RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html $1/brand.php?id=$2&amp;cat=$3&amp;page=$4&amp;sort=$5&amp;order=$6<br /> RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html $1/brand.php?id=$2&amp;cat=$3&amp;page=$4<br /> RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html $1/brand.php?id=$2&amp;cat=$3<br /> RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html $1/brand.php?id=$2<br /> RewriteRule ^(.*)/tag-(.*)\.html $1/search.php?keywords=$2<br /> RewriteRule ^(.*)/snatch-([0-9])\.html$ $1/snatch.php?id=$2<br /> RewriteRule ^(.*)/group_buy-([0-9])\.html$ $1/group_buy.php?act=view&amp;id=$2<br /> &lt;/IfModule&gt;</p> <p>Apache ?????????????<br /> <br /> RewriteEngine On<br /> #RewriteBase /<br /> # direct one-word access<br /> RewriteRule ^index\.html$ index\.php [L]<br /> RewriteRule ^category$ index\.php [L]<br /> # access any object by its numeric identifier<br /> RewriteRule ^feed-c([0-9]+)\.xml$ feed\.php\?cat=$1 [L]<br /> RewriteRule ^feed-b([0-9]+)\.xml$ fe [Web??????]Win7???????IIS?????????????? http://www.bqlbd.club//tech/5346.html www.bqlbd.club Web?????? 2014/8/5 9:40:59 <p>??????ó????????win7???????????IIS?????????????????????????????????????????????????????????????????100%?????</p> <p>????????win7??????IIS????????????????????????????????????</p> <p>??????-------???????????????????????--?????????????????&nbsp;</p> <center><img alt="" width="499" height="373" src="/upload/tech/UploadPic/2014-8/20148594740291.jpg" /></center> <p>???????????????????---???????</p> <center><img alt="" width="499" height="356" src="/upload/tech/UploadPic/2014-8/20148594740943.jpg" /></center> <p>??????????????????windows????</p> <center><img alt="" width="499" height="335" src="/upload/tech/UploadPic/2014-8/20148594740125.jpg" /></center> <p>?????????????internet???????</p> <center><img alt="" width="500" height="371" src="/upload/tech/UploadPic/2014-8/20148594740422.jpg" /></center> <p>S2005 ?У??????????????????????&ldquo;Windows??????&rdquo;</p> <p>&ldquo;?????????&rdquo; ????????????????????? Web ??????????????????????????</p> <p>&ldquo;??????????&rdquo; ????????????Ч????????????????????????</p> <p>????? ASP.net ???????IIS??? ASP.net ?????????????????????????????? ?????????????????????????????</p> <center><img alt="" width="500" height="374" src="/upload/tech/UploadPic/2014-8/20148594740648.jpg" /></center> <p>????ú? ??????????IIS7---??????????????????????????????</p> <center><img alt="" width="499" height="375" src="/upload/tech/UploadPic/2014-8/20148594741114.jpg" /></center> <p>?????????</p> <center><img alt="" width="499" height="375" src="/upload/tech/UploadPic/2014-8/2014859482236.jpg" /></center> <p>??? Internet???????(IIS)??????????????</p> <center><img alt="" width="500" height="381" src="/upload/tech/UploadPic/2014-8/2014859482188.jpg" /></center> [Ftp??????]???Serv-U??FTP?????????bestsync??????????????? http://www.bqlbd.club//tech/5330.html www.bqlbd.club Ftp?????? 2014/7/16 22:38:38 <p>???????????????????????м????????????????????????????????????潨??????????????????????????????鷳??????bestsync???????????????????????????????????????windows 2003?д???FTP???????????????????????????????FTP?????????е???????????????????У??????????£?????????????????????????????????</p> <p>????????????У?bestsync(??????????)</p> <p>Serv-U????FTP??</p> <p><strong>????</strong></p> <p><strong>???Serv-U??FTP??????</strong></p> <p>windows 2003?????IIs????ftp???????????????????????????·??????????????????????????windows 2008??????????????????????????????????windows 2008??????????????????IIS7??FTP????????????????????windows 2003???????????Serv-U???????FTP??????</p> <p>??????????????????(?????????????)???????к????????????????????????????????????????????</p> <p><strong>????</strong></p> <p>????</p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223936425.jpg" /></p> <p>2.??????</p> <p>?????????????????????</p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223938335.jpg" /></p> <p><strong>3.??????</strong></p> <p>?????????????????????????????????????????????????????netstat -an???</p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223939422.jpg" /></p> <p>4.????????IP</p> <p>??????????п????ip</p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223939917.jpg" /></p> <p>5.????</p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223940474.jpg" /></p> <p><strong>???????</strong></p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223941122.jpg" /></p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223941643.jpg" /></p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223942184.jpg" /></p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223942556.jpg" /></p> <p><strong>????ftp????????</strong></p> <p><strong>???????????? ftp://ip</strong></p> <p>???????????,??????????????·???е???????ftp??????????????????????????????????????????????????????</p> <p><strong>???bestsync??????</strong></p> <p>??????????????????????????</p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223943558.jpg" /></p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223944595.jpg" /></p> <p>?????1???????????У?2014???°????????ftp·????2011???????????·?????????2?п???????????·????????·????????ftp·?????</p> <p>????·????????????????????????</p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223944610.jpg" /></p> <p>ftp·??</p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223946448.jpg" /></p> <p>???ú???·?????????????</p> <p>??????????????</p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223946634.jpg" /></p> <p>???????</p> <p style="text-align: center"><img alt="" src="/upload/tech/UploadPic/2014-7/2014716223947745.jpg" /></p> <p>??????????????????ε?????????????????????????????????????????????????????????????????????</p> <p>???е???????????????????????????????????籸????????</p> <p><strong>???</strong></p> <p><strong>&nbsp;&nbsp;&nbsp;</strong>???岽???????Щ???????????????????????????????????????????????????????????μ????????????????????????????.</p> <p>???FTP??????????????????????G6FTP??<a target="_blank" href="http://www.bqlbd.club/soft/13518.html">http://www.bqlbd.club/soft/13518.html</a></p> [Web??????]IIS????????????ó?????????????? http://www.bqlbd.club//tech/5316.html www.bqlbd.club Web?????? 2014/7/5 17:25:33 <p>?????????С????????y???????????????????????Tenant Feature??????????????????????????????????????????????IIS?????????????????????????????????????????????????????????????????????????????????д??????????????????????????????</p> <p>??????IIS?????????????ó???????</p> <p>??????????</p> <p>1.????????MVC???????MvcApplication???ж????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172639402.png" /></p> <p>2.??????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172639267.png" /></p> <p>3.????????MvcApplication?е?Count????++?????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172639800.png" /></p> <p>4.??????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172639595.png" /></p> <p>5.?????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172639203.png" /></p> <p>6.??????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172639832.png" /></p> <p>?????????????????????????????</p> <p><strong>???????????????ó???????</strong></p> <p>??????????<strong>Web.config</strong>????????????????????????????????????????<strong>C:\Windows\System32\inetsrv\config\applicationHost.config</strong>???????????????????????£?</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172639735.png" /></p> <p><strong>???Nginx???????</strong></p> <p>?????????????ν??????????????????????????????????????????????????????????????Nginx???????????????????????????????????????????У???????????????????????????ó????????????????Nginx???????????????</p> <p>?????????????????????????Url???Nginx???????????????????????????IIS???????Nginx?????????????????</p> <p><strong>?????IIS???????????????????</strong></p> <p>???磺site1.cs.xxx.com~site9999999.cs.xxx.com???????????????????Tenant???????????????Ρ?</p> <p><strong>??????????????????????Nginx</strong></p> <p>Nginx???????API???????????????????????????????????????????Nginx?????????????????????????????д?????Daemon Service????????????????????????????????????????????????</p> <p>????IIS????????????????????????????????????????й????????????</p> <p>??Pass??????</p> <p>1.????????????????????????????κ???????????????????????IP??80????????????????????????</p> <p>Pass???????????80?????????????</p> <p>2.??????????</p> <p>Pass??????????????????Ч??????????????????????12??????????Ч??</p> <p><strong>Nginx?????????</strong></p> <p>Server</p> <p>???????????????????????????????????WCF???????WCF?????????????????????????????????????????????£?</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172639858.png" /></p> <p>??????????????????</p> <p>??????</p> <p>1.???????????App.config??</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172640912.png" /></p> <p>??????????????</p> <p><strong>NginxPath</strong>??Nginx????·??????????????????????nginx.exe???????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172640794.png" /></p> <p><strong>RunModel</strong>?????Nginx??????????е??????У??????????????PowerShell??CMD??<strong>?????????PowerShell????PowerShell??汾?????3.0???????</strong></p> <p>2.????Nginx</p> <p>???Nginx??????????????к???????????????????????????????????????????????Nginx??е????y????Щ????</p> <p>??<strong>nginx-1.7.2\conf\nginx.conf</strong>???????http????????????&nbsp;<strong>include custom.conf;</strong></p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172640405.png" /></p> <p>??????????????t????????????????????</p> <p>Client</p> <p>1.??????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172640844.png" /></p> <p>2.??????2??????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172640124.png" /></p> <p>??????????<strong>nginx-1.7.2\conf\</strong>?????????<strong>custom.conf</strong>?????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172640286.png" /></p> <p>???????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/201475172640335.png" /></p> <p>?????????????????????<strong>?????Ч????????hosts???test1.com??test2.com??????IP</strong>??</p> <p>??????????????????????????±?????<strong>domains.xml</strong>??????????????????????????????????????????????</p> <p>Daemon Service Source Code</p> <p>http://files.cnblogs.com/ants/ChunSun.NginxServer.DaemonService.zip</p> <p>???????????????????????????????????Rabbit Kernel???????????????????????????????????????????????</p> [???????]samba?????? win??????linux?????????? http://www.bqlbd.club//tech/5304.html www.bqlbd.club ??????? 2014/6/13 23:41:32 <p><strong>Samba</strong>????????SMB(Server Message Block)Э?????ó???, ?????????Э??, Samba????Linux????????Windows???????????,?????????ó???????Samba????Linux??Unix?????SMB??Server Message Block??Э????????????????????????????????ɡ?</p> <p>Samba????C/S??, ?乤??????????NetBIOS( Windows ???????????Э??)??SMB????Э????????TCP/IP???Э?????,??????NetBEUIЭ????Windows??&ldquo;???????&rdquo;???????Linux????????</p> <p><strong>samba??????</strong></p> <p>??????????????????2?????????.</p> <p><strong>linux????????</strong></p> <p>security = user or share</p> <p>smbclient -L //192.168.7.113/westos&nbsp; ???????????????????</p> <p>??????????????&nbsp;&nbsp; security = user ?</p> <p>[root@redhat samba]# smbclient //192.168.7.113/westos</p> <p>Enter root's password:</p> <p>Anonymous login successful&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//????????samba???????????????westos?????????????????????????</p> <p>Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 3.5.10-125.el6]</p> <p>tree connect failed: NT_STATUS_ACCESS_DENIED</p> <p>security = share</p> <p>[root@redhat samba]# smbclient //192.168.7.113/westos</p> <p>Enter root's password:</p> <p>Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 3.5.10-125.el6]</p> <p>Server not using user level security and no password supplied. //??????????Ч????????security = share??????????????????????samba????????????</p> <p>tree connect failed: NT_STATUS_WRONG_PASSWORD</p> <p><strong>win??????</strong></p> <p>security = share&nbsp;?</p> <p>???????samba?????????????????????????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-6/2014613234448226.png" /></p> <p>security = user&nbsp;?????????samba????????????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-6/2014613234448854.png" /></p> <p>?????????о???linux??win??????ò?????????????????????</p> <p><strong>Linux??</strong></p> <p>??Public =yes&nbsp;???</p> <p>security = user or share</p> <p>???????????????????</p> <p>[root@redhat samba]# smbclient //192.168.7.113/westos</p> <p>Enter root's password:</p> <p>Anonymous login successful</p> <p>Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 3.5.10-125.el6]</p> <p>smb: \&gt; ^C</p> <p>[root@redhat samba]# vim /etc/samba/smb.conf</p> <p>[root@redhat samba]# /etc/init.d/smb restart</p> <p>Shutting down SMB services:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]</p> <p>Starting SMB services:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]</p> <p>[root@redhat samba]# smbclient //192.168.7.113/westos</p> <p>Enter root's password:</p> <p>Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 3.5.10-125.el6]</p> <p>Server not using user level security and no password supplied.</p> <p>smb: \&gt; ^C</p> <p><strong>win??????</strong></p> <p>??Public =yes&nbsp;???</p> <p>security = &nbsp;share</p> <p>???????????????????????????????????????????????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-6/2014613234448826.png" /></p> <p>??Public =yes&nbsp;???</p> <p>security =&nbsp; user</p> <p>???????samba?????????????????????????????????ο?????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-6/2014613234448648.png" /></p> <p>????</p> <p>??????????Public =yes&nbsp;???linux???????????????????????security =&nbsp; user ro share.????????????Win????????security =share?????????????????????????????</p> <p><strong>Samba</strong><strong>???????????????</strong><strong>(/etc/samba)</strong></p> <p><strong>smb.conf</strong><strong>??</strong>???????????????????[global]??[Share Definitions]?????????</p> <p><strong>lmhosts</strong><strong>??</strong>???NetBIOS Name?????????IP?????Samba??????????????LAN?????????NetBIOS Name?????IP????????????????????????á?</p> <p><strong>smbpasswd</strong><strong>??</strong>???????????????????Samba??????????????????</p> <p><strong>Samba</strong><strong>????????????</strong></p> <p><strong>smbpasswd</strong><strong>??</strong>????????Samba?????????????</p> <p><strong>smbclient</strong><strong>??</strong>?????????Linux??????????????????????Samba???????????????????????????</p> <p><strong>smbmount</strong><strong>??</strong>??????Samba????????????????????????????Linux???????</p> <p><strong>testparm</strong><strong>??</strong>???????smb.conf????д???</p> <p><strong>smb.conf</strong><strong>????????????</strong></p> <p><strong>?????????</strong></p> <p><strong>-----------------------------------------------------------------------------</strong></p> <p>%a | ?????????????????Samba??NT,Win98,????Unknown??</p> <p>%I | ??????IP????????磺192.168.220.100)</p> <p>%m | ??????NetBios??</p> <p>%M | ??????DNS??</p> <p><strong>------------------------------------------------------------------------------</strong></p> <p><strong>?????????</strong></p> <p><strong>------------------------------------------------------------------------------</strong></p> <p>%g | %u???????</p> <p>%G | %U???????</p> <p>%H | %u??Home??</p> <p>%u | ?????unix?????</p> <p>%U | ????????????????(???????samba???)</p> <p><strong>------------------------------------------------------------------------------</strong></p> <p><strong>????????</strong></p> <p><strong>------------------------------------------------------------------------------</strong></p> <p>%p | ?????%p???,automounter??·?????????????</p> <p>%P | ???????????</p> <p>%S | ????????????</p> <p><strong>-------------------------------------------------------------------------------</strong></p> <p><strong>???????????</strong></p> <p><strong>-------------------------------------------------------------------------------</strong></p> <p>%d | ??????????????ID</p> <p>%h | Samba????????DNS??????</p> <p>%L | Samba????????netbios??</p> <p>%N | Home????????,????automount?????</p> <p>%v | samba?汾</p> <p><strong>-------------------------------------------------------------------------------</strong></p> <p><strong>??????????</strong></p> <p><strong>-------------------------------------------------------------------------------</strong></p> <p>%R | ????Э???SMBЭ??</p> <p>%T | ?????????????</p> <p><strong>?????????</strong></p> <p><strong>??security=share??</strong>???????Samba???????????????????????, ??????????</p> <p><strong>??security=user??</strong>Samba???????????????, ??????????????????????????, ????Samba???????????????????????????</p> <p><strong>??security=server??</strong>?????????????,????????Windows NT/2000??Samba????????????????????????,???????????????????????,???????????????е?Windows?????????е????NT????,???Windows NT????Samba???, ?????????????????????????????,?????????,Samba???????????????????????????</p> <p><strong>??security=domain??</strong>???????,????????????(PDC)??????????</p> [Web??????]2003+IIS6.0???α??????ISAPI_Rewrite????? http://www.bqlbd.club//tech/5293.html www.bqlbd.club Web?????? 2014/5/21 14:45:15 <p>ISAPI_Rewrite,ISAPI_Rewrite???????α???,?????????????дURL?????????????????????!???????????Apache??mod_Rewrite ??????????Internet??????? IIS ???? IIS?????????????ú????????Щ??????????????????Apache&rsquo;s????????.htaccess?????IIS?????У?????????????????????????ISAPI_Rewrite?????棬???????????IIS??????????????????.htaccess????????????????????301????α?????</p> <p>???????????????Apache&rsquo;s???mod_Rewrite????????????????.htaccess????????????????к???????????</p> <p>ISAPI_Rewrite?????ISAPI?????????洿??C / C + +??????????</p> <p>Windows2003??IIS6.0??α???????????α??????÷????????????????α?????????÷?????</p> <p><strong>1)????IISα??????&mdash;&mdash;ISAPI_Rewrite3???????</strong></p> <p>ISAPI_Rewrite3???????????????????????????????????IISα??????!</p> <p>1??????????????(<a target="_blank" href="http://www.bqlbd.club/soft/13513.html">http://www.bqlbd.club/soft/13513.html</a>);</p> <p>2</p> <p>2)???IISα??????</p> <p>1??????????????????????????????ISAPI_Rewrite3?????????????????(??????ISAPI_Rewrite.dll ??httpd.conf);</p> <p>??????????н?????????C:Program FilesISAPI_Rewrite??;</p> <p style="text-align: center"><img alt="2003+IIS6.0???α??????ISAPI_Rewrite?????" src="/upload/tech/UploadPic/2014-5/2014521144958127.png" /></p> <p>2????Rewrite?????????е?ISAPI_Rewrite.<a target="_blank" href="http://www.bqlbd.club/dll.html">dll???</a>???????????????滻????;</p> <p>3??????????μ?httpd.conf???????????????????????????棬????????????????????????;</p> <p>RegistrationName= wlqcwin</p> <p>RegistrationCode= 2EAD-35GH-66NN-ZYBA</p> <p>4??????ú????ISAPI_Rewrite3????????network service??????(??Users??????)?????????????????ISAPI_Rewrite?????</p> <p style="text-align: center"><img alt="2003+IIS6.0???α??????ISAPI_Rewrite?????" src="/upload/tech/UploadPic/2014-5/2014521144958159.jpg" /></p> <p>3)IISα??????÷???</p> <p>?????Internet ???????(IIS)???????????&quot;???&quot;???????&quot;????&quot;???;</p> <p style="text-align: center"><img alt="2003+IIS6.0???α??????ISAPI_Rewrite?????" src="/upload/tech/UploadPic/2014-5/2014521144958409.png" /></p> <p>???&quot;ISAPI ????&quot;????????&quot;???&quot;??????&quot;???/??????????&quot;??&quot;????????&quot;д??ISAPI_Rewrite??????????????;&quot;????????&quot;????? ??&quot;???&quot;???α????????????μ?ISAPI_Rewrite.dll????????·????C:Program FilesISAPI_RewriteISAPI_Rewrite.dll;</p> <p style="text-align: center"><img alt="2003+IIS6.0???α??????ISAPI_Rewrite?????" src="/upload/tech/UploadPic/2014-5/2014521144958653.png" /></p> <p style="text-align: center"><img alt="2003+IIS6.0???α??????ISAPI_Rewrite?????" src="/upload/tech/UploadPic/2014-5/2014521144958152.png" /></p> <p>?·????????????????IIS?????????????δ?????????&quot;ISAPI ????&quot;?????????????????ISAPI_Rewrite???????????????????????α????????ó?????</p> <p style="text-align: center"><img alt="2003+IIS6.0???α??????ISAPI_Rewrite?????" src="/upload/tech/UploadPic/2014-5/2014521144958104.png" /></p> <p style="text-align: center"><img alt="2003+IIS6.0???α??????ISAPI_Rewrite?????" src="/upload/tech/UploadPic/2014-5/2014521144958120.png" /></p> <p>4)IISα?????÷???</p> <p>IISα??????ó?????????IIS??????&mdash;&mdash;??????棬????????????????????????α?????????????????????????????????.htaccess??????ü??±???????????д???????α????????ɡ?</p> <p>5)????IISα????????Ч</p> <p>1??????????????(?磺localhost)???.htaccess???,?????????д?????1???</p> <p>RewriteEngine on</p> <p>RewriteBase /</p> <p>RewriteRule ^get-(.*).html /get.asp?id=$1</p> <p>#?????RewriteEngin on?????????д????;RewriteBase / ?????д??·?????????????????</p> <p>2????localhost?????get.asp???????????????£?</p> <p>&lt;% response.write(&quot;get_id=&quot; &amp; request.querystring(&quot;id&quot;)) %&gt;</p> <p>3??????????з??????http://localhost/get-123.html ?? http://localhost/get.asp?id=123 ; ?????????????????????д?????</p> <p style="text-align: center"><img alt="2003+IIS6.0???α??????ISAPI_Rewrite?????" src="/upload/tech/UploadPic/2014-5/2014521144958860.png" /></p> <p>??????????????????????????ó??!</p> <p><span style="color: rgb(255,0,0)"><strong>IIS6.0????aspxα??????</strong></span></p> <p><strong>1?????</strong></p> <p>???ISAPI_Rewrite3???·next??????????????????C:\ISAPI_Rewrite3????????????????豣???iis????????????????IIS-web????????-???-???????μ?web????????????????дISAPI_Rewrite????????C:\ISAPI_Rewrite3\ISAPI_Rewrite.dll????????????????</p> <p><strong>2??????IIS</strong></p> <p>??iis,?????????????--ISAPI ????--???--??????????ISAPI_Rewrite3 --????????????ISAPI_Rewrite.dll??·????????C:\ISAPI_Rewrite3\ISAPI_Rewrite.dll</p> <p>?????????????????&ldquo;network service&rdquo;???????????????????????????е??????д????</p> <p>???IIS Rewrite3??????????????? &ldquo;iis&gt; ??? ??????&gt; isapi ????&rdquo;??????棬??? isapi_rewrite3???ISAPI????????????????isapi_rewrite3?????????????????????????????????????????</p> <p>???????iis<br /> ?????????ISAPI_Rewrite3?????????????£????????????users??&quot;network&nbsp; service&quot;???????</p> <p>?????Щ??????????vps??????????????httpd.conf???????everyone??system??????????????????????????administrator?????</p> <p>??????????????????????????????????е?????????′?IIS-???-???????-ISAPI?????????????ISAPI_Rewrite?????????????÷??????????-???????-ISAPI????-???????μ???????????ISAPI_Rewrite??????????C:\ISAPI_Rewrite3\ISAPI_Rewrite.dll?????????????????????α??????</p> <p><strong>3??????</strong></p> <p>??????-???г???-Helicon-ISAPI_Rewrite3-ISAPI_Rewrite Manager???????edit???????1???</p> <p>#&nbsp;Helicon&nbsp;ISAPI_Rewrite&nbsp;configuration&nbsp;file<br /> ????#&nbsp;Version&nbsp;3.1.0.64&nbsp;<br /> <br /> #αHtml????<br /> ????RewriteRule&nbsp;/test-(\d*)-(\d*).html&nbsp;/test.aspx\?id=$1&amp;aa=$2&nbsp;<br /> &nbsp;</p> <p>(д??????????????)</p> <p>????????????棬?????????????????????????????y??????????????????????Ч????????????????????????в??????????е????????á?</p> <p>?test.aspx????????</p> <p>&lt;form&nbsp;method=&quot;post&quot;&nbsp;runat=&quot;server&quot;&gt;<br /> ????id?????&lt;%=id%&gt;??name???&lt;%=name%&gt;<br /> &lt;/form&gt;&nbsp;</p> <p>test.aspx.cs????????</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;int&nbsp;id&nbsp;=&nbsp;0;<br /> &nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;int&nbsp;name&nbsp;=&nbsp;0;<br /> <br /> &nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;void&nbsp;Page_Load(object&nbsp;sender,&nbsp;System.EventArgs&nbsp;e)&nbsp;{<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!Page.IsPostBack)&nbsp;{<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;=&nbsp;int.Parse(Request.QueryString[&quot;id&quot;].ToString());<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;catch&nbsp;{&nbsp;id&nbsp;=&nbsp;0;&nbsp;}<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;=&nbsp;int.Parse(Request.QueryString[&quot;name&quot;].ToString());<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp [Web??????]Win7 IIS7.5???y??ASP??500???? http://www.bqlbd.club//tech/5283.html www.bqlbd.club Web?????? 2014/5/3 16:10:11 <p>http 500????????????????IIS?????????????ASP??????????????????????????????????500??????.</p> <p>??iis7?????iis??????????????·??????????????????????????????????&ldquo;ASP???????-????????&rdquo;??????Щ????????????????????</p> <p><strong>Win7 IIS7.5????ASP?????500?????????</strong></p> <p>???????????????IIS???????????????????????????ASP??????500????????????????á????????£?</p> <p>???????&ldquo;C:\Windows\ServiceProfiles\NetworkService\AppData\Local&rdquo;?????????C:\Windows\ServiceProfiles\NetworkService???????AppData?????????????????<br /> ??????&ldquo;Temp&rdquo;???????????--&gt;????--&gt;???--&gt;???Authenticated Users??????????е?????ε???--&gt;???--&gt;???--&gt;????????--&gt;???Authenticated Users??????--&gt;???--&gt;?????--&gt;??&ldquo;???????&rdquo;????--&gt;???--&gt;?????<br /> ????????Internet???????IIS??????????????????????IIS????????--&gt;???ASP<br /> ??????&ldquo;???&rdquo;??????&ldquo;?????·??&rdquo;???&ldquo;Ture&rdquo;??????&ldquo;???&rdquo;??OK???<br /> ????????????????????????·??????</p> <p>??????--&gt;???????--&gt;ж?????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161130813.jpg" /></p> <p>?????????? Windows ????--&gt;Internet ????????????????????????????????ASP???????FTP??</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161131754.jpg" /></p> <p>??????????????????????????????(?????C:\)???????inetpub????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161131772.jpg" /></p> <p>???????????&ldquo;localhost&rdquo;?????????????????ó????????????????????????顣</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161131452.jpg" /></p> <p>???IIS???????????????????????????ASP??????500????????????????á????????£?</p> <p>???????&ldquo;C:\Windows\ServiceProfiles\NetworkService\AppData\Local&rdquo;?????????C:\Windows\ServiceProfiles\NetworkService???????AppData?????????????????</p> <p>??????&ldquo;Temp&rdquo;???????????--&gt;????--&gt;???--&gt;???Authenticated Users??????????е?????ε???--&gt;???--&gt;???--&gt;????????--&gt;???Authenticated Users??????--&gt;???--&gt;?????--&gt;??&ldquo;???????&rdquo;????--&gt;???--&gt;?????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161131456.jpg" /></p> <p>????????Internet???????IIS??????????????????????IIS????????--&gt;???ASP</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161131633.jpg" /></p> <p><br /> ??????&ldquo;???&rdquo;??????&ldquo;?????·??&rdquo;???&ldquo;Ture&rdquo;??????&ldquo;???&rdquo;??OK???</p> <p>????????????????????????·??????</p> <p><strong><span style="color: rgb(255,0,0)">500???????????????????????????????</span></strong>?????????????????????????N???????????????????????????????????????Щ?????</p> <p>????????????????????????????????????????????&nbsp;</p> <p>1. ?????????????????</p> <p>????&ldquo;???????---???????---????---DistributedTransaction Coordinator&rdquo;??????????????ó?????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161131256.png" /></p> <p>2.??????á?</p> <p>???????????????ó?????????NetWorkService???????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161131774.png" /></p> <p><strong>?????????????????????</strong>?????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161132206.png" /></p> <p>??е????????д?????????????????????????д????????????????</p> <p>??????ú????????&ldquo;?????&rdquo;????&ldquo;????????&rdquo;??????г???????????????????л????????????????????ú??????????????????????????????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161132991.png" /></p> <p><strong>3.???.NET??</strong></p> <p>??????????????????????500???????????????£????????????vs??????????IIS????????????IIS?е?.NET??????????IIS?п????????????δ??????????500????</p> <p>????????????cmd??????????????????????????</p> <p>&quot;%WINDIR%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe&quot;-iru &ndash;enable</p> <p>???????????IIS??ó?????л?????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-5/201453161132260.png" /></p> <p>??????Щ????????????????????????.NET??????</p> [Ftp??????]?????????FTP?????? http://www.bqlbd.club//tech/5250.html www.bqlbd.club Ftp?????? 2014/3/12 20:55:54 <p><span style="color: rgb(255,0,0)">??1??FTP??????????? ????????????????????FTPFTP????????? ??????????????????????? ????????</span></p> <p><span style="color: rgb(255,0,0)">LOGIN?? (?????????????????&ldquo;ANONMOUS&rdquo;)?? PASSword?? (???????????????&ldquo;ANONMOUS&rdquo;????????????????)??</span></p> <p><span style="color: rgb(255,0,0)">????????????FTP??????????????????????????????????????Щ??? ??????????????? ???£?</span></p> <p>1)HELP?? ???RHEIP??REMOTEHELP</p> <p>HELP???LOCAL???????????????????????????п???????</p> <p>?????HELP?????磺?CD??</p> <p>RHELP?HELP??????????????REMOTE????????????</p> <p>REMOTEHELP????RHELP??</p> <p>2)ASC(ASCll)??Bm(BmARY)??IMAGE??TYPE</p> <p>ASCII?л??????????????(???????????DOC??????????7-BIT)??</p> <p>BINARY?л????????????????(?????????????????)??</p> <p>IMAGE????BINARY??</p> <p>TYPE?????????????????????</p> <p>3)BYE??QUIT</p> <p>BYE???FTP??</p> <p>QUIT????BYE??</p> <p>4)CD??CDUP??LCD??P??WD?? !</p> <p>CD???????????????磺CD??PUB??</p> <p>CDUP???????????????????CD??????</p> <p>LCD???????????LOCAL?????????????磺LCD??TMP??</p> <p>PWD????????????(REMOTE??)??</p> <p>!?????????????????磺!LS??</p> <p>5)DELETE??MDELETE??RENAME</p> <p>DELETE???REMOTE????????</p> <p>MDELETE????????????????????*</p> <p>RENAME????REMOTE??????????</p> <p>6)GET??MGET??PUT??MPUT??RECV??SEND</p> <p>GET?′??????</p> <p>MGET?????′???????????????????????磺MGET*??GZ??</p> <p>PUT????????</p> <p>MPUT??????????????????????????</p> <p>RECV????GET(RECV?RECEWE???д)??</p> <p>SEND????PUT??</p> <p>7)HASH??PROMPT??VERBOSE??STATUS??BELL</p> <p>HASH?л?#????????????#???????????1024??8192BYTES??</p> <p>PROMPT?л?iNTERACTIVEON??OFF??</p> <p>VERBOSE?л?????????????????????</p> <p>STATUS????????Щ??????</p> <p>BELL????????????????????</p> <p>8)LS??DIR??MLS??MDIR??MKDIR??RMDIR</p> <p>LS?е???Unix?μ?LS(LIST)????</p> <p>DIR????LS-L(LIST-LONG)??</p> <p>MLS???????????μ????????LOCAL?????????</p> <p>MDIR????MLS??</p> <p>MKDIR??Dos?μ?MD(????????)?????</p> <p>RMDIR??DOS?μ?RD(???????)?????</p> <p>9)OPEN??CLOSE??DISCONNECT??USER ??</p> <p>OPEN??????????Ftp????????</p> <p>CLOSE???????????? DISCONNECT????CLOSE??</p> <p>USER???????????????????(?е???UNIX?μ?SU)??</p> <p>?????FTP???????????</p> <p>FTP??????Intemet???????????????????????????DOS????UNIX????????? ??FTP???????????????? FTP?????????????????FTP????????????????? ????????????°????Ч??</p> <p>FTP???????и?????</p> <p>FTP-v-d-i-n-g[??????]?????У?</p> <p>?Dv?D?D?????????????????????????</p> <p>?Dn??------????FTP?????????????????? ??</p> <p>n-----etRc?????</p> <p>-d?D?D??????????</p> <p>??g?D?D?????????????</p> <p>FTP???????????????(?????????????)??</p> <p>1)[crud][args)1????????????н???sh*ll ??exit???FTP?????? ???磺??LS*??zip?? 2)$Macro-amc][args????к???macro-name??</p> <p>3)accountlpassword]???????????????????????????????????</p> <p>4)append local-file[remote-file]????????????????????????????δ????????????????????????????</p> <p>5)aSCii?????ascII????????</p> <p>6)bell????????????????????????D??</p> <p>7)bin??????????????????</p> <p>8)bye???????FTP??????D</p> <p>9)case???????mget????????????????е??д?????Сд???</p> <p>10)cdremote??dir?????????????????</p> <p>11)cdup????????????????????????</p> <p>12)chmodmodefile-name??????????????file-name????????????mode??</p> <p>???磺chmod777a??OUt??</p> <p>13)close???ж?????????????FTP??(??open???)??</p> <p>14)cr?????aSSC&ldquo;??????????????????????????????</p> <p>15)deleteremote-file-???????????????</p> <p>16)debugldebug-value3???????????????????????????????????????</p> <p>???磺debup3???????0????????debug??</p> <p>17)dir[remote-dir][Local-file]????????????????????????????????local-file??</p> <p>18)disconnection-???close??</p> <p>19)formformat?????????????????format?????file?????</p> <p>20)getremote-file[10cal-file]????????????????remote-file????????????local-file??</p> <p>21)glob??????mdelete??mget??mput??????????????????????????????????</p> <p>??-g??????</p> <p>22)hash???????1024??????????hash????(#)??</p> <p>23)help[cmd]?????FTP???????cmd???????????磮-helpget??</p> <p>24)idle[seconds]?????????????????????????[seconds]??</p> <p>25)image???????????????(?binary)??</p> <p>26)LCD[DIR]??????????????л???dir??</p> <p>27)LS[remote-DIR][LOCAL-FILE]??????????remote-dir????????????local-fileo</p> <p>28)macdefmacro-name???????????????macdef?μ????????????????</p> <p>29)mdelete[remote-file]?????????????????</p> <p>30)mdirremote-fileslocal-file????dlr??????????????????????? ??</p> <p>????mdir*??O??*??zipoutfiLe??</p> <p>31)mgetremote-files????????????????</p> <p>32)mkdirdirname????????????н??????</p> <p>33)misremote-filelocal-file???nlist???????????????????</p> <p>34)mode[modename]?????????????????modename?????stream?????</p> <p>35)modtimefile-name???????????????????????????? ??</p> <p>36)mputlocal-file?????????????????????????</p> <p>37)newerfile-name?? ?????????file-name???????????????????????????????????′????????? ??</p> <p>38)nlist??remote??di41local-file3????????????????????嵥??????????????local-fileo</p> <p>39)nmap[npattem outpattem]?????????????????????????????????е??Щ</p> <p>???????????磺nmapSl??S2??S3[$1??$2][$2??$3]?????????a1??a2??a3???????????a1??</p> <p>a20?????????????????????????UNIX???????o</p> <p>40)ntrans[Inchars][outchars]???????????????????????ntranslR?????????LLI</p> <p>?????RRR??</p> <p>41)openhost[port]?????????FTP???????????????????????</p> <p>42)passive???????????????</p> <p>43)prompt??????????????????????????</p> <p>44)proxy FTP-cmd???????????????У???????FTP??????????????????????FTP??</p> <p>??????????????????????????????????FTP????????open?????????????????????????????</p> <p>45)putlocal-file[remote-file]???????????local-file???????????????</p> <p>46)vwd????????????????????????</p> <p>47)qmt-???bye?????FTP????</p> <p>48)quote argl??arg2????????????????????????ж?????????磺quote?? syst??</p> <p>49)recvremote-file[Local-file)???get??</p> <p>50)reget remote-file][Local-file]????????get??????local-file??????????δ????ж??????????</p> <p>51)rhelp[cmd-name]??????????????????????</p> <p>52)rstatus[FILe-name]????δ??????????????????????????????????????????</p> <p>53)rename[FRom)[to]????????????????????</p> <p>54)reset??????????С?</p> <p>55)restart marker???????????marker??????????get??put???磺restartl30??</p> <p>56)rmdirdir-name????????????????</p> <p>57)mnique???????????Ω???洢???????????????????????????1????2??</p> <p>58)send local-file[remote-file)???put</p> <p>59)sendport??????PORT???????á?</p> <p>60)siteargl??arg2?????????????????SITE????????????????ж??????</p> <p>61)sizefile-name?????????????????С???磺Slteidle7200??</p> <p>62)stares??????????FTP???? ??</p> <p>63)struct][struct-name]?????????????????struct-name????????stream????</p> <p>64)suniclue?????????????????洢?????Ω?(??mnique???)??</p> <p>65)system????????????????????????</p> <p>66)tenex??????????????????????TENEX?????????????</p> <p>67)tick????????????????????</p> <p>68)trace?????e??????</p> <p>69)type[type-name)??????????????????type-name?????ascii??</p> <p>???磺typebinary?????????????????</p> <p>70)umask][newmask)????????????????umask?????newmask?? ???磺umask 3??</p> <p>71)user user-name ][password??account]????????????????????????????????????</p> <p>??????? [Web??????]iis?????????????? http://www.bqlbd.club//tech/5180.html www.bqlbd.club Web?????? 2013/12/13 21:34:54 <p>??????????????????iis???????????????????VPS??????????????????????????????????????????С???????????????IIS?????????ɡ?????????????????????&ldquo;???????&rdquo;???????????????????iis????????????????????????????????</p> <p>????1?????IIS(Internet?????????????)????????????????????趨??????????????????????????IIS???????&ldquo;???&rdquo;????£????&ldquo;??????????&rdquo;?????&ldquo;W3C????????????&rdquo;??????????????&ldquo;????&rdquo;????£????&ldquo;???&rdquo;?????????????iis??????????(???????????????????)?????????????????????С?????????С????????????????????</p> <center><img alt="iis??????????????_????????" width="320" height="251" _cke_saved_src="/upload/tech/UploadPic/2013-12/20131213213542317.jpg" style="cursor: hand" src="/upload/tech/UploadPic/2013-12/20131213213542317.jpg" /></center> <p>??????????1000PV???????1???hits?????3M?????hit????????е??????????????????????html???????????????js?????css??????????????????????????????????????????????????????5-10??hits(????????????????????????????hit)?????????????????????????????С??</p> <p>????2???л???&ldquo;????&rdquo;????????&ldquo;???????&rdquo;???????????????</p> <center><img alt="iis??????????????_????????" width="320" height="179" _cke_saved_src="/upload/tech/UploadPic/2013-12/20131213213545989.jpg" style="cursor: hand" src="/upload/tech/UploadPic/2013-12/20131213213545989.jpg" /></center> <p>???????????????????iis????????????????????????????????????iis??log????????λ????????????趨??????С???????????????????????????????????????????????????趨??????в?????м????</p> [Web??????]IIS6????PHP5.3.3+FastCGI,Error Number:14001?????????? http://www.bqlbd.club//tech/5126.html www.bqlbd.club Web?????? 2013/11/20 17:00:01 <p><strong>???????</strong><br /> FastCGI Error<br /> The FastCGI Handler was unable to process the request.<br /> Error Number: 14001 (0x800736b1).<br /> Error Description: ??????ó??????ò????????ó???δ??????????°????ó?????????????????<br /> HTTP Error 500 &ndash; Server Error.<br /> Internet Information Services (IIS)</p> <p><strong>?????????</strong><br /> ????????????а??VC9???п? ??VISUAL C++ 2008<br /> Microsoft Visual C++ 2008 Redistributable Package (x86)????????<br /> <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&amp;displaylang=zh-cn">http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&amp;displaylang=zh-cn</a><br /> ????????????????.</p> <p>??????<a target="_blank" href="http://www.bqlbd.clubsrc="/tech/5125.html">FastCGI</a>???÷???</p> [Web??????]windows2003 + IIS6.0 ????????Fastcgi???????php 5.3.3 http://www.bqlbd.club//tech/5125.html www.bqlbd.club Web?????? 2013/11/20 16:52:59 <p>??飺?????IIS6.0??????PHP,????php 5.3.3??????????isapi??????,????????fastcgi???????,????????????????ù???</p> <p><strong>???????iis6.0??????????????????</strong></p> <p><strong>???????????php5.3.3??windows????汾??php-5.3.3-nts-Win32-VC9-x86.zip</strong><br /> 1??????????<a target="_blank" href="http://windows.php.net/download/">http://windows.php.net/download/</a>?????VC9 x86 Non Thread Safe??<br /> 2????php-5.3.3-nts-Win32-VC9-x86.zip???????D:\PHP<br /> 3?????PHP.ini</p> <p>extension_dir = &ldquo;D:\php\ext&rdquo;&nbsp; ???php??????·???&ldquo;php_*.dll&rdquo;?????·??<br /> magic_quotes_gpc = On&nbsp; ????? Off????????? On????????sql????????????????5.0?汾?????? On ??<br /> register_globals=Off ??? register_globals=On ???????????????Ч??<br /> short_open_tag =Off????off???On ???????????????а??Discuz!???????????????</p> <p>?????????????????????????????????<br /> extension=php_mbstring.dll???? ???????????phpMyAdmin??????????<br /> extension=php_dba.dll<br /> extension=php_dbase.dll<br /> extension=php_filepro.dll???????????<br /> extension=php_gd2.dll?????????????GD??????????<br /> extension=php_imap.dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ???<br /> extension=php_ldap.dll<br /> extension=php_mysql.dll???????????MySQL??</p> <p>????????????Щ???????????????????????<br /> memory_limit = 20M&nbsp;&nbsp;&nbsp;&nbsp; ???????????????<br /> post_max_size = 20M&nbsp;&nbsp;&nbsp;&nbsp; ??????????????<br /> upload_max_filesize = 20M&nbsp;&nbsp;&nbsp;&nbsp; ??????????</p> <p><strong>?????????????? Microsoft FastCGI Extension for IIS 5.1 and 6.0<br /> </strong>1??????????<br /> &nbsp;&nbsp; <a href="http://www.iis.net/download/fastcgi">http://www.iis.net/download/fastcgi</a><br /> &nbsp;&nbsp; <a target="_blank" href="http://download.microsoft.com/download/E/0/C/E0C0709A-66E5-4113-9A6C-A5F65BF6717D/fcgisetup_1.5_rtw_x86.msi">http://download.microsoft.com/download/E/0/C/E0C0709A-66E5-4113-9A6C-A5F65BF6717D/fcgisetup_1.5_rtw_x86.msi</a><br /> 2?????fcgisetup_1.5_rtw_x86.msi<br /> 3??????fcigext.ini ????%WINDIR%\system32\inetsrv ????<br /> ??fcigext.ini ?β???????????????<br /> [Types]<br /> php=PHP<br /> [PHP]<br /> ExePath=D:\php\php-cgi.exe&nbsp;&nbsp; ??PHP????<br /> 4??????FastCGI ?????PHP Э?????<br /> ???&ldquo;???&rdquo;???&ldquo;????&rdquo;??<br /> ????&ldquo;????&rdquo;??????&ldquo;????&rdquo;?????<br /> ????&rdquo;???&ldquo;?????<br /> ????&rdquo;???&ldquo; ?? %WINDIR%\system32\inetsrv ?????fcgiext.dll ??<br /> ????????????? .php ,<br /> ???????&rdquo;?????&ldquo;??????&rdquo;GET??HEAD??POST&ldquo;??<br /> ???&rdquo;???????&ldquo;??&rdquo;????????????&ldquo;??????<br /> ?????У?????С?<br /> ????????????&ldquo;???&rdquo;??</p> <p><strong>???????д????????????PHP FastCGI ??????????????<br /> </strong>??C:\Inetpub\wwwroot ??????test.php ???,??Test.php,??д????????:&lt;?php phpinfo(); ?&gt;<br /> ????Test.php,????IIS,?????????????????????<a href="http://localhost/Test.php">http://localhost/Test.php</a> ??????????</p> [Web??????]Win2003 sp2?°??IIS,??????????iisadmin.mfl??????????????????????? http://www.bqlbd.club//tech/5115.html www.bqlbd.club Web?????? 2013/11/10 15:27:40 <p>??л?????baidu????bs????ms????????????????????????<br /> <br /> ?????????????????Щ??????? ?????????????????????????????????????????????л???sp1??i386?????????t??С? ???????????л????Σ?????????????iis????????bt??<br /> <br /> ???????<br /> 1.??????SP1??????????н??.<br /> 2.??????IIS6.<br /> 3.???win2003????.<br /> 4.???-????-???????-???????????-???????windows???( A)-??ó????????-?Internet???????(IIS)-???-?????IIS6??i386???-?????????????iisadmin.mfl-??????????SP1????i386?????????iisadmin.mfl???????????????????????????IIS6??i386???-?????????????????-????????????i386???.??????ok??.<br /> ????????2?????????,???????.??????????????.лл</p> <p>????????<a target="_blank" href="http://www.bqlbd.club/file/info/8856.html">iisadmin.mfl</a>???: <a target="_blank" href="http://www.bqlbd.club/file/info/8856.html">http://www.bqlbd.club/file/info/8856.html</a></p> [Web??????]CentOS+nginx+uwsgi+Python ????????? http://www.bqlbd.club//tech/5097.html www.bqlbd.club Web?????? 2013/10/22 16:22:56 <p>??????</p> <p>CentOS X64 6.4</p> <p>nginx 1.5.6</p> <p>Python 2.7.5</p> <p><strong>??????????????Python2.7.5</strong><br /> &nbsp;</p> <p>?????????????</p> <pre> yum groupinstall &quot;Development tools&quot; yum install zlib-devel bzip2-devel pcre-devel openssl-devel ncurses-devel sqlite-devel read LINE -devel tk-devel</pre> <p>CentOS ???Python2.6.6???????????????Python2.7.5??</p> <pre> cd ~ wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tar.bz2 tar xvf Python-2.7.5.tar.bz2 cd Python-2.7.5 ./configure --prefix=/usr/local make &amp;&amp; make altinstall</pre> <p>??????????????&rdquo;python2.7&rdquo;???????python2.7???????</p> <p><strong>???????Python??????</strong></p> <p>easy_install??&nbsp;https://pypi.python.org/pypi/distribute</p> <p>?????Python???????</p> <pre> cd ~ wget https://pypi.python.org/packages/source/d/distribute/distribute-0.6.49.tar.gz tar xf distribute-0.6.49.tar.gz cd distribute-0.6.49 python2.7 setup.py install easy_install --version</pre> <p>????????????&ldquo;python2.7&rdquo;???????????????2.6???????</p> <p>pip??&nbsp;https://pypi.python.org/pypi/pip</p> <p>???pip?????????pip list??pip uninstall ????Python???? easy_install??????????????uninstall</p> <pre> easy_install pip pip --version</pre> <p><strong>???????uwsgi</strong></p> <p>uwsgi:https://pypi.python.org/pypi/uWSGI</p> <p>uwsgi???????http://uwsgi-docs.readthedocs.org/en/latest/Options.html</p> <pre> pip install uwsgi uwsgi --version</pre> <p>????uwsgi?????????</p> <p>???test.py????????????£?</p> <pre> def application(env, start_response): start_response('200 OK', [('Content-Type','text/html')]) return &quot;Hello World&quot;</pre> <p>???????????У?</p> <pre> uwsgi --http :8001 --wsgi-file test.py</pre> <p>?????????????http://127.0.0.1:8001?????????&ldquo;Hello World&rdquo;?????????????????????????????</p> <p><strong>??????django</strong></p> <pre> pip install django</pre> <p>????django????????????У?</p> <pre> django-admin.py startproject demosite cd demosite python2.7 manage.py runserver 0.0.0.0:8002</pre> <p>?????????????http://127.0.0.1:8002?????django?????????????</p> <p><strong>?壺???nginx</strong></p> <pre> cd ~ wget http://nginx.org/download/nginx-1.5.6.tar.gz tar xf nginx-1.5.6.tar.gz cd nginx-1.5.6 ./configure --prefix=/usr/local/nginx-1.5.6 \ --with-http_stub_status_module \ --with-http_gzip_static_module make &amp;&amp; make install</pre> <p><strong>????????uwsgi</strong></p> <p>uwsgi???ini??xml????????÷??????????о?ini??????</p> <p>??/ect/???????uwsgi9090.ini??????????????</p> <pre> [uwsgi] socket = 127.0.0.1:9090 master = true //?????? vhost = true //????? no-stie = true //?????????????????????? workers = 2 //??????? reload-mercy = 10 vacuum = true //????????????????? max-requests = 1000 limit-as = 512 buffer-sizi = 30000 pidfile = /var/run/uwsgi9090.pid //pid????????????????????????y??? daemonize = /website/uwsgi9090.log</pre> <p>????uwsgi???????????/ect/init.d/???????uwsgi9090????????????£?</p> <pre> #! /bin/sh # chkconfig: 2345 55 25 # Description: Startup script for uwsgi webserver on Debian. Place in /etc/init.d and # run 'update-rc.d -f uwsgi defaults', or use the appropriate command on your # distro. For CentOS/Redhat run: 'chkconfig --add uwsgi' ### BEGIN INIT INFO # Provides: uwsgi # Required-Start: $all # Required-Stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: starts the uwsgi web server # Description: starts uwsgi using start-stop-daemon ### END INIT INFO # Author: licess # website: http://lnmp.org PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DESC=&quot;uwsgi daemon&quot; NAME=uwsgi9090 DAEMON=/usr/local/bin/uwsgi CONFIGFILE=/etc/$NAME.ini PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME set -e [ -x &quot;$DAEMON&quot; ] || exit 0 do_start() { $DAEMON $CONFIGFILE || echo -n &quot;uwsgi already running&quot; } do_stop() { $DAEMON --stop $PIDFILE || echo -n &quot;uwsgi not running&quot; rm -f $PIDFILE echo &quot;$DAEMON STOPED.&quot; } do_reload() { $DAEMON --reload $PIDFILE || echo -n &quot;uwsgi can't reload&quot; } do_status() { ps aux|grep $DAEMON } case &quot;$1&quot; in status) echo -en &quot;Status $NAME: \n&quot; do_status ;; start) echo -en &quot;Starting $NAME: \n&quot; do_start ;; stop) echo -en &quot;Stopping $NAME: \n&quot; do_stop ;; reload|graceful) echo -en &quot;Reloading $NAME: \n&quot; do_reload ;; *) echo &quot;Usage: $SCRIPTNAME {start|stop|reload}&quot; &gt;&amp;2 exit 3 ;; esac exit 0</pre> <p>??????????У?</p> <pre> -- ?????? chkconfig --add uwsgi9090 -- ?????????? chkconfig uwsgi9090 on</pre> <p><strong>???????nginx</strong></p> <p>???nginx??????????conf/nginx.conf????????server????</p> <pre> server { listen 80; server_name localhost; location / { include uwsgi_params; uwsgi_pass 127.0.0.1:9090; //?????uwsgi?е???????? uwsgi_param UWSGI_SCRIPT demosite.wsgi; //??????????wsgi.py??????????????λ???&ldquo;.&rdquo;????????? uwsgi_param UWSGI_CHDIR /demosite; //??????? index index.html index.htm; client_max_body_size 35m; } }</pre> <p>????nginx???????????/ect/init.d/???????nginx????????????£?</p> <pre> #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: Nginx is an HTTP(S) server, HTTP(S) reverse \ # proxy and IMAP/POP3 proxy server # processname: nginx # config: /usr/local/nginx/conf/nginx.conf # pidfile: /var/run/nginx.pid # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. [ &quot;$NETWORKING&quot; = &quot;no&quot; ] &amp;&amp; exit 0 nginx=&quot;/opt/nginx-1.5.6/sbin/nginx&quot; prog=$(basename $nginx) NGINX_CONF_FILE=&quot;/opt/nginx-1.5.6/conf/nginx.conf&quot; [ -f /etc/sysconfig/nginx ] &amp;&amp; . /etc/sysconfig/nginx lockfile=/var/lock/subsys/nginx start() { [ -x $nginx ] || exit 5 [ -f $NGINX_CONF_FILE ] || exit 6 echo -n $&quot;Starting $prog: &quot; daemon $nginx -c $NGINX_CONF_FILE retval=$? echo [ $retval -eq 0 ] &amp;&amp; touch $lockfile return $retval } stop() { echo -n $&quot;Stopping $prog: &quot; killproc $prog -QUIT retval=$? echo [ $retval -eq 0 ] &amp;&amp; rm -f $lockfile return $retval } restart() { configtest || return $? stop sleep 1 start } reload() { configtest || return $? echo -n $&quot;Reloading $prog: &quot; killproc $nginx -HUP RETVAL=$? echo } force_reload() { restart } configtest() { $nginx -t -c $NGINX_CONF_FILE } rh_status() { status $prog } rh_status_q() { rh_status &gt;/dev/null 2&gt;&amp;1 } case &quot;$1&quot; in start) rh_status_q &amp;&amp; exit 0 $1 ;; stop) rh_status_q || exit 0 $1 ;; restart|configtest) $1 ;; reload) rh_status_q || exit 7 $1 ;; force-reload) force_reload ;; status) rh_status ;; condrestart|try-restart) rh_status_q || exit 0 ;; *) echo $&quot;Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|f [Web??????]IIS7????PHP????????????? http://www.bqlbd.club//tech/5083.html www.bqlbd.club Web?????? 2013/10/16 13:35:12 <p>???????php?????м????</p> <p>1??CGI???????PHP?????????????IIS???????y??????php.exe?????????????????y????&nbsp;<br /> ?????????????Ч??????</p> <p>2??ISAPI???????PHP?????????????IIS???????y??????php5isapi.dll????????????????&nbsp;<br /> ????????????Ч????????????????</p> <p>3??FastCGI???????PHP????????IIS?????????????????????????????????е??????IIS7.0???????FastCGI???&nbsp;<br /> ????????Ч??????????????????????????</p> <p>???????????????鷳??PHP 5.3??????Windows??????????ISAPI??????????????????????FastCGI???????PHP??</p> <p>??????????????????????????FastCGI???????IIS????PHP??????,????????PHP????????????????,</p> <p>?????и??????????????.</p> <p>????????http://windows.php.net/download/</p> <p>?????к?????????????</p> <p>PHP???????5.3.2?汾????????????????м???????汾????????VC6 X86??VC9 X86?? ???????????:&nbsp;</p> <p><strong>VC6??????&nbsp;</strong><br /> VC6????legacy Visual Studio 6 compiler????????????????????????&nbsp;<br /> VC9??????&nbsp;<br /> VC9????the Visual Studio 2008 compiler????????????VS??????????</p> <p>????????????????????汾??PHP???&nbsp;<br /> ?????????windows?????Apache+PHP????????VC6?汾??&nbsp;<br /> ?????????windows?????IIS+PHP????????VC9?汾??</p> <p><strong>??Non Thread Safe??????&nbsp;</strong><br /> Non Thread Safe????????????&nbsp;<br /> Thread Safe ?????&nbsp;<br /> Non Thread Safe ?????????&nbsp;<br /> <br /> FastCGI??з???????????????в?????????????????????????飬?????????????????????????????Ч??????????????? FastCGI????????? IIS 6 ?? IIS 7????? PHP ???????????????? non-thread safe ?? PHP ??PHP ????Mλ?n???N???b?????msi ??zip ??????d zip ????????????????NO-Thread Safe ?汾??PHP????á?<br /> ???????????????ISAPI?????PHP??????????????php??鶼??????????????????????Thread Safe??PHP??</p> <p>???????????????·?????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-10/20131016133624304.png" /></p> <p>?????е?????IIS FASTCGI</p> <p>?????а??IIS FASTCGI?? ????????????а?????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-10/20131016133624224.png" /></p> <p>FastCGI&nbsp; for IIS 6&nbsp; 7&nbsp;&nbsp;&nbsp;http://www.iis.net/expand/fastcgi</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-10/20131016133624702.png" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-10/20131016133624211.png" /></p> <p>????ú???????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-10/20131016133625399.png" /></p> <p>??????????????????</p> <p><strong>???????????????????????cmd??????????????????</strong></p> <p>????????CGI?????£?&nbsp;</p> <p>&gt;cd C:\WINDOWS\system32\inetsrv</p> <p>&gt;cscript fcgiconfig.js -add -section:&quot;PHP&quot; -extension:php -path:&quot;C:\Program Files\PHP\php-cgi.exe&quot;</p> <p>???path:&quot;xxxx\php-cgi.exe&rdquo; ?????php????</p> <p>&gt;&nbsp;cscript fcgiconfig.js -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000&nbsp;<br /> &gt;&nbsp;cscript fcgiconfig.js -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-10/20131016133625522.png" /></p> <p>ok!????</p> <p>?????£?</p> <p>??????.php?????????</p> <p>&lt;?php</p> <p>phpinfo();</p> <p>?&gt;</p> <p>???棡</p> <p>???У???????????棬??????ó?????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-10/20131016133625421.png" /></p> <p>????????? IIS?????????????????????????ú?????????????????????&nbsp;??</p> <p>???????????????úú?????php??????棬??????500????</p> <p>???????php.ini?е?date.timezone?</p> <p>?????????ó?????????date.timezone = Asia/Shanghai</p> <p>?????????????????!</p> <p>???????????????????????????£??????????????????????????</p> <p>1.?????????????????????а???????????????????????????????C:\Program Files\PHP\php-cgi.exe??????????????????????????cmd?????У?</p> <p><strong>????C:\Program Files\PHP\php-cgi.exe?????????????????????й?????FastCGI??????????php-cgi,????????????</strong>?????<br /> <br /> &nbsp;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" height="402" style="cursor: pointer" src="/upload/tech/UploadPic/2013-10/20131016133625709.jpg" /></p> <p>2.<span style="color: #ff0000">???в??????????500????</span>?????????????????????????????????????????</p> <p><strong>?????????</strong></p> <p>??IE----INTERNET???--------???------------???????HTTP???????????????????????????????????????????</p> <p>?????</p> <p>PHP Warning: Unknown: open(c:\php\upload_tmp\sess_li3ardp5qtalfj4, O_RDWR) failed: Permission denied (13) in Unknown on line 0 PHP Warning:</p> <p>Unknown: open(c:\php\upload_tmp\sess_li3ardbp5qtalfj4, O_RDWR) failed: Permission denied (13) in Unknown on line 0 PHP Warning: Unknown: Failed</p> <p>to write session data (files). Please verify that the current setting of session.save_path is correct (c:\php\upload_tmp) in Unknown on line 0&nbsp;<br /> ?????????и?c:\php\upload_tmpд??????????.д???????????</p> [Web??????]nginx?????????????????????????? http://www.bqlbd.club//tech/5024.html www.bqlbd.club Web?????? 2013/8/29 16:34:17 <p>????????????????<a target="_blank" href="http://www.bqlbd.club/soft/4039.html">Nginx</a>?????????????????????????????????qwqg???????£?<br /> ?????????·????????????????????????????÷???????????????????????????????????</p> <p>???????</p> <p>????????nginx?????????????????????????????????secureCRT??????<br /> ??????????????????????<br /> ????nginx???????apache??????????????????????顣</p> <p>?????????????????<br /> [root@test]# locale<br /> LANG=en_US.UTF-8<br /> LC_CTYPE=&rdquo;en_US.UTF-8&Prime;<br /> LC_NUMERIC=&rdquo;en_US.UTF-8&Prime;<br /> LC_TIME=&rdquo;en_US.UTF-8&Prime;<br /> LC_COLLATE=&rdquo;en_US.UTF-8&Prime;<br /> LC_MONETARY=&rdquo;en_US.UTF-8&Prime;<br /> LC_MESSAGES=&rdquo;en_US.UTF-8&Prime;<br /> LC_PAPER=&rdquo;en_US.UTF-8&Prime;<br /> LC_NAME=&rdquo;en_US.UTF-8&Prime;<br /> LC_ADDRESS=&rdquo;en_US.UTF-8&Prime;<br /> LC_TELEPHONE=&rdquo;en_US.UTF-8&Prime;<br /> LC_MEASUREMENT=&rdquo;en_US.UTF-8&Prime;<br /> LC_IDENTIFICATION=&rdquo;en_US.UTF-8&Prime;<br /> LC_ALL=</p> <p>??nginx.conf??????????????????utf-8<br /> server {<br /> listen 80;<br /> server_name test.cn;<br /> root /data;<br /> index index.html index.jsp;<br /> charset utf-8;</p> <p>??????????<a target="_blank" href="http://www.bqlbd.club/soft/9390.html">secureCRT</a>????????????defalut????rz????????????????ls?????????ie??????????????????????<br /> ????????????????????nginx?????????????????????????????????????secrueCRT??????????utf-8???????uft-8??????rz??????????ie???????????????????</p> <p>????????</p> <p>?????????????UTF????</p> <p>[root@Tserver ~]# env|grep LANG<br /> LANG=en_US.UTF-8</p> <p>????NGINX??????????????</p> <p>server<br /> {<br /> &nbsp;&nbsp; listen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 80;<br /> &nbsp;&nbsp; server_name&nbsp; .inginx.com ;<br /> &nbsp;&nbsp; index index.html index.htm index.php;<br /> &nbsp;&nbsp; root&nbsp; /usr/local/nginx/html/inginx.com;<br /> &nbsp;&nbsp; charset utf-8;<br /> &nbsp;&nbsp; }</p> <p>??????????putty</p> <p>windows&nbsp; --&gt; translation --&gt;UTF-8</p> <p>mkdir NGINX????????<br /> echo NGINX???????? &gt; ?й?.html</p> <p>??????????securecrt ????????????? ???--&gt;???--UTF-8</p> <p>?壬???????????????????</p> <p>???<br /> for f in `ls *.html` ; do mv $f `ls $f|iconv -f GBK -t UTF-8`; done</p> <p>???λ??????????????</p> <p>??????????????<br /> ???????????APACHE?????? ????<br /> APACHE???????????</p> <p>location /~doc/ {<br /> &nbsp;&nbsp; proxy_pass http://127.0.0.1:81/;#apache server<br /> }</p> <p>????????ο???</p> [Web??????]Nginx???????????????? http://www.bqlbd.club//tech/5019.html www.bqlbd.club Web?????? 2013/8/29 16:26:09 <p>?????????web???????????????????????????Ч????????<a target="_blank" href="http://www.bqlbd.club/soft/4039.html">nginx</a>????????&ldquo;????? 50,000 ?????????????????&rdquo;??</p> <p>?к???Nginx???????.</p> <p>?????????????????????????</p> <p><span style="color: #ff0000"><strong>???????????У?locale ????£?????????en_US.UTF-8???????????????e????????????á???????????????????????2??????á?<br /> </strong></span></p> <h3>CentOS</h3> <p>??/etc/sysconfig/i18n ????????????????????????vi??nano??winscp??ι???????????????ζ???</p> <pre> LANG=&quot;en_US.UTF-8&quot; SYSFONT=&quot;latarcyrheb-sun16&quot;</pre> <p>???棬????????</p> <h3>Debian</h3> <pre> apt-get install -y locales dpkg-reconfigure locales</pre> <p>???dpkg-reconfigure locales??????????????</p> <p>?????μ????????en_US.UTF-8 UTF-8????????????????????</p> <p>???????????en_US.UTF-8??????????????????????</p> <h3>Ubuntu</h3> <p>??/etc/default/locale?????????????(??е?????????)??</p> <pre> LANG=&quot;en_US.UTF-8&quot; LANGUAGE=&quot;en_US:en&quot;</pre> <p>???棬????У?</p> <pre> locale-gen en_US en_US.UTF-8</pre> <p>????????</p> <p>??У?locale ?????????????en_US.UTF-8??????????????????????????????????úú?????????????????????????????????????</p> <p><br /> <strong>??nginx.conf??????????????????utf-8<br /> </strong>server {<br /> listen 80;<br /> server_name test.cn;<br /> root /data;<br /> index index.html index.jsp;<br /> charset utf-8;<br /> &hellip;&hellip;<br /> <br /> ay%PM'G+U0<br /> ??????????<a target="_blank" href="http://www.bqlbd.club/soft/9390.html">secureCRT</a>?????????????utf-8????uft-8??????rz??????????ie???????????????????</p> <p><span style="color: #ff0000"><strong>???</strong></span></p> <p>??????????????gb2312??????????utf-8.(?????????????????????)?????convmv??????????????????????????????????? convmv-1.10-1.el5.noarch.rpm??convmv -fGBK -tUTF8 -r--notesttarget<br /> <br /> ????-f???????-t????????-r???鴦??????&ndash;notest????????????????????и?????actually do rename the files????target????????????????????ο?man????-h??</p> <p><strong>?????????и????????????????????úú????????????????????????????????????????????????????????????????????????for f in `ls *.html` ; do mv $f `ls $f|iconv -f GBK -t UTF-8`; done ??<br /> <br /> </strong>????*.html????????????????????????*.txt??*.rar ???????????????????????GBK?????????????????????????????????????????У?file -bi ????? ??<br /> <br /> ???????Windows???????????????Editplus??????????????????????????????????????д???????????????о?????<br /> <br /> ??????????????????????а??????????<br /> <br /> ????????????????html?????????????????????????????gb2312????????utf-8??????????????????charset ???charset=utf-8????????????????????????????????</p> <p>convmv ?????http://j3e.de/linux/convmv ?????</p> <p>wget http://j3e.de/linux/convmv/convmv-1.14.tar.gz</p> <p>tar -zxvf convmv-1.14.tar.gz</p> <p>cd convmv-1.14</p> <p>make clean;</p> <p>make install;</p> <p>?磺</p> <p>./convmv -f GB2312 -t UTF-8 -r --nosmart --notest userfiles/*.*</p> <p>?????? userfiles?μ?????????????????GB2312????UTF-8</p> <p>???????????????????????????iconv??</p> [Web??????]LNMP??Nginx?????????????404?????????????? http://www.bqlbd.club//tech/5017.html www.bqlbd.club Web?????? 2013/8/29 16:19:34 <p>VPS??????????????÷?????????ò???????????????????????????<a target="_blank" href="http://www.bqlbd.club/soft/13519.html">Apache</a>???????mod_encoding????????????????LNMP??Nginx????????????????????????????????????????????????????3?????CentOS??Debian??Ubuntu Linux???а??μ????÷???????????????????</p> <p>???????????У?<strong>locale</strong> ????£?????????en_US.UTF-8???????????????e????????????á???????????????????????2??????á?</p> <h3>CentOS??</h3> <p>??/etc/sysconfig/i18n ????????????????????????vi??nano??winscp??ι???????????????ζ???<br /> LANG=&quot;en_US.UTF-8&quot;<br /> SYSFONT=&quot;latarcyrheb-sun16&quot;</p> <p>???棬????????</p> <h3>Debian??</h3> <p><strong>apt-get install -y locales</strong><br /> <strong>dpkg-reconfigure locales</strong></p> <p>???&nbsp;dpkg-reconfigure locales??????????????</p> <p><img alt="LNMP??Nginx?????????????404??????????????_????????" width="559" height="397" style="cursor: hand" src="http://www.xker.com/xkerfiles/allimg/1308/02222Uc0-0.jpg" /></p> <p>?????μ????????en_US.UTF-8 UTF-8????????????????????</p> <p><img alt="LNMP??Nginx?????????????404??????????????_www.bqlbd.club" width="477" height="229" style="cursor: hand" src="http://www.xker.com/xkerfiles/allimg/1308/02222S544-1.jpg" /></p> <p>???????????en_US.UTF-8??????????????<br /> ????????</p> <h3>Ubuntu??</h3> <p>??/etc/default/locale ?????????????(??е?????????)??<br /> LANG=&quot;en_US.UTF-8&quot;<br /> LANGUAGE=&quot;en_US:en&quot;<br /> ???棬????У?<strong>locale-gen en_US en_US.UTF-8</strong><br /> ????????</p> <p>??У?<strong>locale</strong> ?????????????en_US.UTF-8??????????????????????</p> <p>????????????úú?????????????????????????????????????</p> <h3>???????????????</h3> <p>??????Winscp??Flashfxp??????????????????utf-8?????????ò??????£?</p> <p><strong>WinSCP:</strong></p> <ol> <li>??<a target="_blank" href="http://www.bqlbd.club/soft/10378.html">WinSCP</a>??????????????????????</li> <li>???????&quot;??&quot;???</li> <li>????????????????&quot;????&quot;????????</li> <li>???????????&quot;?????UTF-8????&quot;?????&quot;????&quot;????????ɡ?</li> </ol> <p><strong>FlashFXP??</strong></p> <ol> <li>??<a target="_blank" href="http://www.bqlbd.club/soft/4751.html">FlashFXP</a>????&quot;???&quot;?????&quot;????????&quot;</li> <li>??????????????????????&quot;???&quot;?????&quot;???????&quot; ??????б???????UTF-8????????ɡ?</li> </ol> <p>?????<a target="_blank" href="http://www.bqlbd.club/soft/10797.html">Putty</a>??<a target="_blank" href="http://www.bqlbd.club/soft/11128.html">XShell</a>??SSH???????????????????????????????UTF-8???</p> <p><strong>Putty??</strong></p> <ol> <li>??<a target="_blank" href="http://www.bqlbd.club/soft/10797.html">Putty</a>?????????????????Default Settings</li> <li>??????????β???е?&quot;Window&quot;?????&quot;Translation&quot;????????????????&quot;????&quot;??&quot;???&quot;</li> <li>???????????????&quot;Remote character set:&quot;??????????&quot;?????????????????&quot;?????????б??????&quot;UTF-8&quot;????????ɡ?</li> </ol> <p><strong>XShell??</strong></p> <ol> <li>??<a target="_blank" href="http://www.bqlbd.club/soft/11128.html">XShell</a>??????б??????????????????&quot;Properties&quot;</li> <li>????&quot;Terminal&quot;????Translation???и?Encoding???????б?????&quot;UTF-8&quot;??????????????????÷????????????湤??????????????????????&quot;UTF-8&quot;??</li> </ol> <p>????????????????????????£?????????????????</p> <p>?????????и????????????????????úú????????????????????????????????????????????????????????????????????????<strong>for f in `ls *.html` ; do mv $f `ls $f|iconv -f GBK -t UTF-8`; done&nbsp;</strong>??</p> <p>????*.html????????????????????????*.txt??*.rar ???????????????????????GBK?????????????????????????????????????????У?<strong>file -bi ?????</strong> ??</p> <p>???????Windows???????????????Editplus??????????????????????????????????????д???????????????о?????</p> <p>??????????????????????а??????????</p> <p>????????????????html?????????????????????????????gb2312????????utf-8??????????????????charset ???charset=utf-8????????????????????????????????</p> [Web??????]windows??Apache????SSL??????? http://www.bqlbd.club//tech/4983.html www.bqlbd.club Web?????? 2013/8/15 11:55:13 <p><strong>????SSL??<br /> <br /> </strong>SSL??Secure Socket Layer??: ???Http???????????Э?飬???????????????????????????????????????????Open SSL????????http://www.openssl.org/source/<br /> <br /> ??????????? ???SSL?? <a target="_blank" href="http://www.bqlbd.club/soft/4225.html">Apache</a><br /> &nbsp; <br /> 1.???????SSL????apache,</p> <p>??????http://httpd.apache.org/download.cgi#apache23<br /> ??????httpd-2.2.15-win32-x86-openssl-0.9.8m-r2.msi<br /> <br /> 2.????:??Apache?????????conf/httpd.conf<br /> <br /> &nbsp;</p> <ul> <li>LoadModule ssl_module modules/mod_ssl.so&nbsp;</li> </ul> <ul> <li>Include conf/extra/httpd-ssl.conf</li> </ul> <p>???????????#???????????????.conf?????????include??????????</p> <p><br /> ???httpd-ssl.conf????????????*-ssl.conf?? ????????????Σ?</p> <ul> <li>SSLCertificateFile &quot;D:/Apache2.2/conf/server.crt&quot;</li> </ul> <ul> <li>SSLCertificateKeyFile &quot;D:/Apache2.2/conf/server.key&quot;</li> </ul> <p>????????????????????鼰?????<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /> 1. ?????????Apache?????RSA??<br /> <br /> <span style="color: #ff0000">openssl genrsa -out server.key 1024 </span></p> <p><br /> <img alt="windows??Apache????SSL???????_?????" style="cursor: hand" src="http://dl.iteye.com/upload/attachment/278358/a9f0b6ae-34f7-3555-9506-90671862e356.bmp" /><br /> &nbsp;<br /> ?????????1024???????server.key,??????????????CSR<br /> <br /> 2. ???????????<br /> <br /> <span style="color: #ff0000">openssl req -new &ndash;out server.csr -key server.key -config ..\conf\openssl.cnf&nbsp;<br /> <br /> <img alt="windows??Apache????SSL???????_?????" style="cursor: hand" src="http://dl.iteye.com/upload/attachment/278360/4807305c-1377-323a-9bc0-aed4d253bace.bmp" /></span></p> <p>???У? &nbsp;&nbsp;&nbsp; <br /> &nbsp;</p> <ul> <li>&nbsp;Country Name:???????????????</li> </ul> <ul> <li>&nbsp;State or Province Name:???????</li> </ul> <ul> <li>&nbsp;Locality Name:????????</li> </ul> <ul> <li>&nbsp;Organization Name:???????</li> </ul> <ul> <li>&nbsp;Organizational Unit Name:????????</li> </ul> <ul> <li>&nbsp;Common Name:???????</li> </ul> <ul> <li>&nbsp;Email Address:???</li> </ul> <p><br /> ?????????????server.csr.<br /> <br /> ???????CA????????????????<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /> 1.Generating RSA private key for CA (1024 bit) [ca.key]<br /> ????CA??<br /> <br /> <span style="color: #ff0000">openssl genrsa&nbsp; -out ca.key 1024 <br /> </span></p> <p><img alt="windows??Apache????SSL???????_?????" style="cursor: hand" src="http://dl.iteye.com/upload/attachment/278364/e14356c7-fa42-3fec-86db-63a40f395320.bmp" /></p> <p>???ca.key???<br /> <br /> 2.Generating X.509 certificate signing request for CA [ca.csr]<br /> ????CA????????CA??????????<br /> <br /> <span style="color: #ff0000">openssl req&nbsp; -new -x509 -days 365 -key ca.key -out ca.crt&nbsp; -config ..\conf\openssl.cnf <br /> </span></p> <p><img alt="windows??Apache????SSL???????_?????" style="cursor: hand" src="http://dl.iteye.com/upload/attachment/278374/4034a803-7060-3f7d-b60f-03d35fc9ecdc.bmp" /><br /> <br /> 3.CA????????????????<br /> <br /> ??bin???′???demoCA?????洴???????????index.txt,serial:serial?????01?????????,???????? newcert.???????飬????????server.crt???<br /> <br /> <span style="color: #ff0000">openssl ca -in server.csr -out server.crt -cert ca.crt -keyfile ca.key -config ..\conf\openssl.cnf </span></p> <p><img alt="windows??Apache????SSL???????_?????" style="cursor: hand" src="http://dl.iteye.com/upload/attachment/278376/e96d1035-454c-39db-aeac-3bf9aadaf129.bmp" /><br /> <br /> ??????&nbsp; server.crt,server.key?????apache??conf??????£?????Apache??</p> [Web??????]Windows ?????°??Apache?????????????? http://www.bqlbd.club//tech/4982.html www.bqlbd.club Web?????? 2013/8/15 11:53:02 <p><strong>??</strong></p> <p>----------<br /> &nbsp;&nbsp;&nbsp; ?????????????????????Windows???°??<a target="_blank" href="http://www.bqlbd.club/soft/4225.html">Apache</a>2.2.x????????????. ?????????????ο?. ???????????????????????????????·???????, ????????????????????????????????.<br /> <font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;1. <a target="_blank" href="http://httpd.apache.org/docs/2.2/"><font face="Courier New">Apache HTTP Server Version 2.2 ??????</font></a><br /> &nbsp;&nbsp;&nbsp;&nbsp;2. <a target="_blank" href="http://man.lupaworld.com/content/manage/Apache2.2_chinese_manual/"><font face="Courier New">Apache HTTP Server Version 2.2 ???????</font></a>&nbsp;</font><br /> <br /> ----------<br /> <strong>???????</strong><br /> ----------<br /> &nbsp;&nbsp;&nbsp; ?? <font face="Courier New"><a target="_blank" href="http://httpd.apache.org/">http://httpd.apache.org/</a></font> ????????汾??Apache. (???: 2.0??2.2?汾??Apache?????Module?汾????, ????????, ????????????ó?????????????汾??Apache). ???????????ssl, ???????&nbsp; Apache 2.x.x-win32-x86-no_ssl.msi, ?????????, ?????????Apache 2.x.x-win32-x86-openssl-x.x.x.msi<br /> <br /> ----------<br /> <strong>???</strong><br /> ----------<br /> <font face="Courier New">&nbsp;&nbsp;&nbsp; ??????????, ??????????????????????????????????????????????URL????????????????DNS?????????????????IP??????????齫Apache?????&quot; for all Users,on Port 80,as a service&quot; Apache???????????????????????????????????????????IIS????????????????80????????????????????????????????????????μ?Apache Group\Apache2\conf??????????httpd.conf???????е?Listen 80??????????????????Listen 81????????????????????????????ò??????????????<br /> <br /> &nbsp;&nbsp;&nbsp; ????????????</font><font face="Courier New">??????м??? http://loccalhost????????????????????ú??????????Apache??????????</font></p> <p><font face="Courier New">&nbsp;&nbsp;&nbsp; ?????Apache?????????????????????system????????С??Apache?????????????????????????????????Щ??<br /> </font><br /> &nbsp;&nbsp;&nbsp; ??Apache??????, ?????? /conf/httpd.conf, ??????????????.&nbsp;????????ж???????б???????????,&nbsp;?????y????????????п???????Apache?????????е?Test Configuration???????????????????????.&nbsp;??????ò?????????????????.&nbsp;????????y???????????Test Configuration????, ???????????????????Apache, ?????[Apache?????]/logs/ ??????в????, ?????????????.<br /> <br /> ----------<br /> <strong>???? httpd.conf???</strong><br /> ----------<br /> &nbsp;&nbsp;&nbsp;&nbsp;# ???????????, ??????????????&nbsp;<br /> &nbsp;&nbsp;&nbsp; <font face="Courier New">DocumentRoot &quot;D:/Programs/Apache2.2/htdocs&quot;<br /> </font><br /> &nbsp;&nbsp;&nbsp; # ?????????, ?????????????????????? http://localhost/webpath/&nbsp;??????????????????&quot;D:/Programs/WebPath&quot;??<br /> &nbsp;&nbsp;&nbsp; <font face="Courier New">Alias /webpath/ &quot;D:/Programs/WebPath&quot;</font><br /> &nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;??/webPath ???治??&quot;/&quot;???,&nbsp;????????п??????? http://localhost/webpath&nbsp;Apache???????????????&quot;/&quot;<br /> &nbsp;&nbsp;&nbsp;&nbsp;<font face="Courier New">Alias /webpath &quot;D:/Programs/WebPath&quot;</font><br /> <br /> &nbsp;&nbsp;&nbsp; # URL ?????<br /> <code>&nbsp;&nbsp;&nbsp;&nbsp;Redirect permanent /foo/ http://www.example.com/bar/<br /> </code><br /> &nbsp;&nbsp;&nbsp; # ?趨????????: ??ο? <font face="Courier New">http://lamp.linux.gov.cn/Apache/ApacheMenu/vhosts/index.html</font></p> [???????]APACHE????SSL?????? http://www.bqlbd.club//tech/4981.html www.bqlbd.club ??????? 2013/8/15 11:21:26 <p>1???????????????<a target="_blank" href="http://www.bqlbd.club/soft/13519.html">Apache</a>?????????????м?????飬??????OpenSSL??????OpenSSL+ModSSL?? <br /> ???????Apache web???????????Unix??linux????????????????????????OpenSSL?? <br /> http://www.openssl.org/source/ <br /> ???????Apache web????????????Windows????????????????????????OpenSSL + ModSSL?? <br /> http://www.modssl.org/contrib/</p> <p>2?????OpenSSL??Apache???????????????????key pair?? <br /> # openssl req -new -nodes -keyout private.key -out public.csr<br /> ?????????????????Apache??????????????????Щ????????У?????????Country Name??????????????State or Province Name???????????Locality Name???????????Organization Name?????????λ????Organization Unit Name???????????Common Name????email?????Email Name??????????????a challenge password??????????????An opentional company name???? <br /> ?????б???????????????????????????д???й???CN????????????FQDN??</p> <p>3??????????????????????????????private.key??public.csr?? <br /> private.key??????????public.csr??????????????</p> <p>4??????http://demo.sheca.com/testca/TCert1/tcert.asp??????????WEB?????飬???????15??????????????????public.csr?????????????????????棬???????????????</p> <p>5?????????????????????????????????????????????????????</p> <p>6??????????????Apache????????http.conf???????https???? <br /> ?????????unix??linux??????vi??windows??notpad???????word?????????????????????????Щ???????????? <br /> ????????????? <br /> SSLCertificateFile /etc/ssl/crt/public.der <br /> SSLCertificateKeyFile /etc/ssl/crt/private.key <br /> ????????????????????????????????????</p> <p>7?????????????Apache ????????????????????????????? <br /> # apachectl stop <br /> # apachectl startssl <br /> ????????Apache ????????80??443??????????????</p> [Web??????]IIS???????????????????? http://www.bqlbd.club//tech/4979.html www.bqlbd.club Web?????? 2013/8/14 21:10:33 <p>??????????????????????????????????????????????<a target="_blank" href="http://www.bqlbd.club/file/">???????</a>??</p> <p>???????????????asp??php??????????????????????????????????????asp??php??????????????????á?</p> <p><strong>1??????????????</strong></p> <p style="text-align: center"><img alt="IIS???????????????????????????_www.bqlbd.club" style="cursor: hand" src="/upload/tech/UploadPic/2013-8/2013814211415376.gif" /></p> <p>2??????asp,php????????????о?????????</p> <p style="text-align: center"><img alt="IIS???????????????????????????_www.bqlbd.club" style="cursor: hand" src="/upload/tech/UploadPic/2013-8/2013814211415977.gif" /></p> <p><strong>??IIS??????????????δ????????????</strong></p> <p>1. ?? <a target="_blank" href="http://www.bqlbd.club/soft/9687.html">IIS</a> Microsoft ???????? (MMC)???????????????????????????&ldquo;????&rdquo;?? <br /> 2. ????&ldquo;MIME ????&rdquo;?? <br /> 3. ????&ldquo;???&rdquo;?? <br /> 4. ??&ldquo;?????&rdquo;???У???????? (*)?? <br /> 5. ??&ldquo;MIME ????&rdquo;???У????? application/octet-stream??</p> <p style="text-align: center"><img alt="IIS???????????????????????????_www.bqlbd.club" style="cursor: hand" src="/upload/tech/UploadPic/2013-8/2013814211415413.gif" /></p> <p style="text-align: center">??<a target="_blank" href="http://www.bqlbd.club/soft/9687.html">IIS6</a>???????????????????</p> <p><strong>IIS 6.0 ???????δ??? MIME ????</strong> <br /> IIS6 ???????????????????????????????????????????????????????δ?????????????????????????????IIS?????δ????????????</p> <p><strong>??</strong> <br /> ?????? IIS 6.0 Web ???????????????????????????????????? Web ?????????????? MIME ????????????????′???????? <br /> HTTP ???? 404 - ??????????????</p> <p><strong>??? <br /> </strong>IIS ????汾???????? MIME ??????? IIS ?????κ?????????迼?????????IIS 6.0 ???????????? MIME ???????????? IIS ???????е? MimeMap ???????????κ?????????????</p> <p><strong>???????</strong></p> <p>??? MIME ???? <br /> ???? <br /> ????Multipurpose Internet Mail Exchange (MIME) ????????? Web ????????????ó?????δ??????????????????????磬?? Web ????????????????????????????????????? MIME ??????Щ MIME ???????????Σ?????????????????????????? MIME ?????????????????????????????????????ó?????????? <br /> ???? <br /> ?????? IIS ?????????????????ó???????????????? Web ????????IIS ?????????????????? MIME ???????????????????????????????????????? IIS ????????????ó?????????????? MIME ??????????????ó???????????δ??????????? IIS ?????????? <br /> ???? <br /> ????IIS ?????????? MIME ?????б?????????????????????????????????????????? MIME ???????????? MIME ????? <br /> ???? <br /> ????IIS ???????????? MIME ???????????á????? IIS ?д?????????????????????Щ MIME ?????MIME ??????????????????????????????????????????????????塣?????????????????? MIME ???????????Ψ?????????????????????????????е??????????????????????? MIME ????????????????????????? MIME ??????????????? MIME ??????????????????????MIME ????? <br /> ???? <br /> ?????????????????????????????δ?? MIME ?????ж????????????????? IIS ????????? 404.3 ?????????????? (*) MIME ??????????? IIS ???ó??????е?????????????????????????? <br /> ???? <br /> ??? ????????????????? Administrators ????????????????????????????????????в??衣?????????????????????ò????? Administrators ?????????????????????????з??????????????????? IIS ????????????????????£????? runas /user:administrative_accountname &quot;mmc %systemroot%/system32/inetsrv/iis.msc&quot;??</p> <p><strong>??????IIS6???DVf??????????</strong>??</p> <p>DVF????Sony Compressed Voice File??DV Studio Camcorder Graphics File ??????????????????? <br /> Extension: DVF ASCII: MS_VOICE <br /> You can use the Sony Player Plug-in Version 1.2 for the Microsoft Windows Media Player Application to play.</p> <p>?????????????? MIME ????????????в????????</p> <p>1. ?? IIS Microsoft ???????? (MMC)???????????????????????????&ldquo;????&rdquo;?? <br /> 2. ????&ldquo;MIME ????&rdquo;?? <br /> 3. ????&ldquo;???&rdquo;?? <br /> 4. ??&ldquo;?????&rdquo;???У???????????????????????磬.dvf ??????????? <br /> 5. ??&ldquo;MIME ????&rdquo;???У????? application/octet-stream?? <br /> 6. ????????á???????????????????&ldquo;?????????????&rdquo;????????????????????????Ч?????????У?IIS ????????????? .dvf???????????????IIS??????????????????????</p> <p>??????????????????????????????????????磬???????????????????????????????????в?????????????</p> <p>?????????????????????н???????????? IIS MIME ????У??????????????????????????? MIME ????????????????????????????????????????? MIME ???????????1. ?? IIS Microsoft ???????? (MMC)???????????????????????????&ldquo;????&rdquo;?? <br /> 2. ????&ldquo;MIME ????&rdquo;?? <br /> 3. ????&ldquo;???&rdquo;?? <br /> 4. ??&ldquo;?????&rdquo;???У???????? (*)?? <br /> 5. ??&ldquo;MIME ????&rdquo;???У????? application/octet-stream?? <br /> 6. ????????á???????????????????&ldquo;?????????????&rdquo;????????????????????????Ч?? <br /> ????????? IIS ?????????????????????????????????????????? MIME ??????????????????????????????????????????????????????????????????????????????????</p> [???????]???windows server 2003???????????????????????! http://www.bqlbd.club//tech/4977.html www.bqlbd.club ??????? 2013/8/14 17:05:37 <p><strong>???????2003????????????</strong></p> <p>????????????????????????????????????????????</p> <p>1?????&rdquo;???&rdquo;-&gt;&rdquo;????&rdquo;-&gt;&rdquo;???????&rdquo;-&gt;&rdquo;???????????&rdquo;,???δ??????????????,???&rdquo;????&rdquo;, ??????????г??????ID,?????????20λ??ID??????????</p> <p>2????Internet Explorer?????,????????????<font size="2"><font color="#000000"><a target="_blank" href="https://activate.microsoft.com">https://activate.microsoft.com</a> </font></font>??http+s????????????????????档</p> <p><img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417105927.jpg" />&nbsp;</p> <p>???????????????????&quot;Chinese(Simplified)&quot;????????????????&quot;GO&quot;???</p> <p>3)?????????????????????????????&quot;??????????????&quot;???????&quot;?????&quot;???</p> <p><img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417106582.jpg" /> <br /> <br /> 4)????????????????????У?&quot;???ID&quot;??????????μ????20λ????,??????????????????????????????&quot;?????&quot;??????</p> <p>5)??????????????????????????????????????? &quot;?????&quot;??</p> <p>6??????????&quot;????????????????????????????????????ID???&hellip;&quot;???????????????μ?????ε?35λ???????????????????д?д?????????????????????&quot;????????????????????&quot;??????????&rdquo;??&rdquo;??<br /> &nbsp;</p> <p><img border="0" alt="" width="720" resized="true" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/201381417106496.jpg" /></p> <p>7????????????????????????????&ldquo;Enterprise Agreement&rdquo;??????????????,??????&rdquo;?????&rdquo;??</p> <p><img border="0" alt="" width="720" resized="true" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/201381417106515.jpg" /></p> <p>8???????????????У???????????&ldquo;Enterprise Agreement&rdquo;?????????????????????????????в??????&quot;???????&quot;?????&quot;Windows 2003?????????????????&quot;??&quot;????&quot;?????????????????????????&quot;100&quot;??????&quot;??????&quot;????????????????????λ????????????????????????????6565792,4954438,6879321????5296992??????&quot;?????&quot;??</p> <p>9)????????????????</p> <p>10???????????&quot;лл????????????????&quot;?????????????????????????????????????????????35λ????&quot;??????????ID&quot;???????????????????????ι?35λ????&quot;?????????ID&quot;???????<br /> <br /> <img border="0" alt="" width="720" resized="true" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/201381417106404.jpg" /></p> <p>11????????&rdquo;???&rdquo;-&gt;&rdquo;????&rdquo;-&gt;&rdquo;???????&rdquo;-&gt;&rdquo;???????????&rdquo;????????????????????????????????????,??&rdquo;????&rdquo;?е?&rdquo;???????&rdquo;???&rdquo;Web?????&rdquo;??</p> <p>12????????????,??????,???&rdquo;???????&rdquo;??</p> <p><img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417106540.jpg" />&nbsp;</p> <p>13???????????????Web?????????????ID???????μ???????????</p> <p>14???????,???????????120???????????</p> <p>15??????????????????????????????,?????????????,??????&rdquo;????&rdquo;,???????????????</p> <p><img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417106148.jpg" />&nbsp;<br /> <br /> ?????????&ldquo;???????????&rdquo;???????к??&nbsp;</p> <p align="left">????????????????ID:TQH9V-DGP3B-QB9V9-BBJ46-4GHR2-DWJYG-P6TFQ</p> <p align="left">???????</p> <p align="left">ID??WJH8B-P2RDB-DMCJX-9RHCT-2WWKW-4YJQH-64C39</p> <p align="left">?????????ID:69713-640-9197727-45725-</p> <p align="left">??????????????á?</p> <p align="left">????&mdash;&gt;gpedit.msc-&gt;?????????&agrave;???????&agrave;windows???&agrave;?????? ??? &ldquo;??????????????????????&rdquo;???????Disable,?????á?</p> <p align="left"><strong>?????????????</strong><strong>??</strong></p> <p align="left"><strong>??????????????£???????????????????????????</strong><br /> ????<br /> ??????????????????????????windows??????????????????????????????????????????????????????????????????????????????????????????г????????????????????????????????????????<br /> ????<br /> ?????????????????????????????????&mdash;&mdash;<br /> ????<br /> ??????1??????????????????????????????????????????豸??????????????????CAL????????????飬???????????????????????????????????????????????????????????λ???????????????й??????棨????????????????????????????????????????CAL????????<br /> ????<br /> ??????2??????????????????????????????120???????????????????????????????????????<br /> ????<br /> ??????3??????????????????????????????????????????????????????????????????????????????????????????????????<br /> ????<br /> ??????4???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????</p> <p>1&gt;<br /> ?????????cal????????????顣?????????豸???????????????200.<br /> <img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417106383.jpg" /> <br /> 2&gt;<br /> ????????????????<br /> <img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417106380.jpg" /><br /> <br /> 3&gt;<br /> ??????????????Щ?????磺??????????????λ??????????????????????<br /> <img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417106192.jpg" /> <br /> 4&gt;???????????????????????<br /> <img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417106534.jpg" /> <br /> <img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417106353.jpg" /><br /> <strong>?</strong>??????????????????????á?<br /> 1&gt;????????<br /> <img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417106219.jpg" /> <br /> 2&gt;????????????????Remote Desktop Users?飬?????е????????????????????<br /> 3&gt;??????????????????2000????????????????????????????????????<br /> ???????C:\WINDOWS\system32\clients\tsclient??win32????й??????<br /> <img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417107885.jpg" /> <br /> ?????????UNC·???????????????????????????<br /> <br /> <img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417107259.jpg" /> <br /> ?ú???????win32????setup.exe????????????<br /> <img border="0" alt="" src="/upload/tech/UploadPic/2013-8/201381417107802.jpg" /><br /> 2000????????????????????????????????????????</p> [???????]?????????????????????????????????????????????????????????????? http://www.bqlbd.club//tech/4976.html www.bqlbd.club ??????? 2013/8/14 17:02:00 <p>?????????????????????????????domain users???????????????????????????</p> <p><img border="0" alt="??????????????????????????????????????????????????????????????_www.bqlbd.club" src="/upload/tech/UploadPic/2013-8/201381417523222.jpg" /></p> <p>???????????????????????У???????????????????</p> <p><strong>?????:</strong></p> <p>????????????С?????gpedit.msc</p> <p>???????????????á?windows???á???????á????????????????????????????????????????????users??????????</p> <p>???????????????£???????????????&ldquo;?????????????????&rdquo;??????????б?????????????????????????????????</p> <p>?????????п????????и?&ldquo;???????????????&rdquo;???????????????&ldquo;administrator&rdquo;?飬????????????&ldquo;Domain Users&rdquo;????????????????????????</p> <p>??????????????????????????Ч???????</p> <p>???????: <br /> ??&quot;???????&quot; --&gt; &quot;???????&quot; --&gt; &quot;??????????&quot; --&gt; &quot;??????????&quot; ????????, ???&quot;????&quot; ??? &quot;??豸&quot;,<br /> <br /> ?????:<br /> 1. &quot;???????&quot; --&gt; &quot;???????&quot; --&gt; &quot;??????????&quot;<br /> 2. ???&quot;????&quot;, ????????????(????: RDP-Tcp,tcp,Microsoft RDP 5.2)<br /> 3. ?????????????<br /> 3. ????????, ????&quot;???&quot;?????<br /> 4. ????&quot;???&quot;???????&quot;???&quot;??<br /> 5. ??????????????飬????????????????&ldquo;??????&rdquo;??<br /> 6. ??????????????????????? ?????????&ldquo;??????&rdquo;?????? ?У???????С?<br /> 7. ?????????<br /> 8. ???????????ε????????</p> <p>????????????????????????</p> <p><img border="0" alt="??????????????????????????????????????????????????????????????_www.bqlbd.club" src="/upload/tech/UploadPic/2013-8/201381417523824.jpg" /></p> <p>???????????</p> <p>??????????????????????,?????????????????,??????,????.......???????е??????????,??????н??.....????????????????????.......</p> <p>?????:<a target="_blank" href="http://www.bqlbd.clubsrc="/tech/4977.html"><font color="#ff0000">???windows server 2003&ldquo;???????????&rdquo;????????!</font></a></p> <p>???????????:<strong><span style="color: #ff0000">???????????Ч???????</span></strong></p> <p>1????ж??????????????????????????&rarr;??????????&rarr;???/???windows???&rarr;<span style="color: #ff0033"><strong>????????????????????</strong></span>??&nbsp;&nbsp;<br /> *???????????????????????????????????????</p> <p>2??????????????&rarr;???&rarr;???????&rarr;??&ldquo;?????????????????????&rdquo;??<span style="color: #ff0033"><strong>????</strong></span>&rarr;?????????,???????</p> <p>3???????????????????????????????档???????</p> [???????]win2003 ??????????????????????? ????Ч???????? http://www.bqlbd.club//tech/4975.html www.bqlbd.club ??????? 2013/8/14 16:56:25 <p>????????????????????????????м????????????????????????ε??????????<strong>???????????????????????????</strong></p> <p>??????????????????????????????????????easy????????</p> <p>???-????- mstsc /console /v: ??????????IP??????:??????</p> <p>?磺 mstsc /console /v:222.222.215.222:3389</p> <p>???:????????????????????????????????????&ldquo;?????????????????????????&rdquo;?????????????????????????????????????????????????????????????????2???????????????????????????????????????????????????????????洰????????????????????????????????????????????????????????????????????????????????????????????????????</p> <p><strong><font color="#ff0000">??????</font></strong><font color="#ff0000">:</font><a target="_blank" href="http://www.bqlbd.clubsrc="/tech/4973.html"><font color="#ff0000">&ldquo;???????????????????????????????????&rdquo;???????</font></a></p> <p><strong>?岽??????????</strong></p> <p><strong>?????????????????????????????????</strong></p> <p>??&ldquo;???????&rdquo;?????&ldquo;??????????&rdquo;??????&ldquo;??????Windows???&rdquo;,&ldquo;???&rdquo;????Windows???????????????&ldquo;??????&rdquo; , &ldquo;?????&rdquo;,&ldquo;??÷?????&rdquo;,&ldquo;?????&rdquo;???????????????????????????</p> <p>Windows 2000????????2????????: ????????????ó?????????????????????????????????????????????????????2???????????????????????ó??????????????????????????????ó?????????????????????????????????????????????????????????????????????????90??????????????????????????????????????????????????????ó???????????°????</p> <p><strong>?????????????????????????</strong></p> <p>1???????????????????</p> <p>???У?Tscc.msc(??????????)??????????RDP-Tcp??????????????????е????????????????(O)????????????????????&ldquo;???&rdquo;??????????????????30?????</p> <p>2????????????</p> <p>????????У?gpedit.msc??????????????????壭windows?????????????</p> <p>????????? ?????????????????? ?????????????????????</p> <p><strong>?????????????????</strong></p> <p>1???????????????????????У?Tscc.msc(??????????)??????????RDP-Tcp???????????????&ldquo;????&rdquo;????????&ldquo;?????????&rdquo;???????????????????????????????????y?????????????????????????????????????ó?????????????????????????????????</p> <p>2?????????????????????????????????????????????????е???????????????????</p> <p>???У?gpedit.msc??????????????????壭Windows???????????</p> <p>???????&rdquo;????????????&ldquo;?????&rdquo;??????&ldquo;????????????????????</p> <p><strong>??????????????</strong></p> <p>???????</p> <p>?????????????????????????????????????????????????????</p> <p><strong>?塢????????????</strong></p> <p>???????&gt;&gt;???????&gt;&gt;??????????&gt;&gt;???????&gt;&gt;??????&gt;&gt;</p> <p>1???????&gt;&gt;Microsoft?????????:???????????????????</p> <p>????:15????,????????????????(????????????????г?????????????????)</p> <p>2????????&gt;&gt;???簲?:????????????????????????:?????,???????:??????</p> <p><strong>????????Щmstsc???????</strong></p> <p>Mstsc (Microsoft terminal services client)</p> <p>mstsc ????????????????Microsoft?????????Э??(Remote Desktop Protocol?????RDP) ?????,??windows xp??rdp??1??????????????????????????????????.rdp ?????&ldquo;??????&rdquo;???????????????洢???</p> <p>????????????????????????????????????????&ldquo;??????????? (.rdp)&rdquo;????????????? Windows XP ????????&ldquo;??????????????&rdquo;????????????????μ? .rdp ????С?</p> <p>mstsc??</p> <p>mstsc.exe {ConnectionFile|/v:server} [/console] [/f] [/w:width /h:height]<br /> mstsc.exe /edit&rdquo;ConnectionFile&rdquo;<br /> mstsc.exe /migrate</p> <p><strong>mstsc????</strong></p> <p>ConnectionFile ????????????.rdp ?????????<br /> /v:server[;port] ????????????????<br /> /admin ???????????????????<br /> /f ?????????????&ldquo;???????&rdquo;????<br /> /w:width ?????????洰?????<br /> /h:height ?????????洰?????<br /> /public ????????????????????<br /> /span ????????????????????????????????????б????????????????????????????????????????????????????????????????<br /> /console ???????? Windows 2000 Server ????????<br /> /edit ??????? .rdp ??????б?<br /> /migrate ?????&ldquo;??????????????&rdquo;????????????????????μ? .rdp ?????????<br /> <br /> ????о?????鷳????????? ?????????汾???????<br /> <br /> <a target="_blank" href="http://www.bqlbd.club/soft/5558.html"><strong>windows??????????????????</strong></a></p> [???????]???????????????п????????????????????????????? http://www.bqlbd.club//tech/4974.html www.bqlbd.club ??????? 2013/8/14 16:43:50 <p><img alt="???????????????п????????????????????????_www.bqlbd.club" src="/upload/tech/UploadPic/2013-8/201381416454556.jpg" /></p> <p>?????????????????????????????????????п??????????????????????</p> <p><strong>??????????????п??????????????????????</strong></p> <p>??????license&nbsp;server???,??????????в??????????????????????????????????(?????????????license??????????,?п?????????????????????):</p> <p><strong>win2000??,???????TS??,??????:</strong></p> <p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters</p> <p>??????????</p> <p>?????DefaultLicenseServer</p> <p>?????????REG_SZ</p> <p>?????????????????</p> <p><strong>win2003??,?????:</strong></p> <p>1.&nbsp;????????????????У?????&nbsp;regedit????????????</p> <p>2.&nbsp;????????????????????????</p> <p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters</p> <p>3.&nbsp;??????????????????????&nbsp;?</p> <p>4.&nbsp;???????????&quot;LicenseServers&quot;??</p> <p>5.&nbsp;????????????????????????</p> <p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters\LicenseServers</p> <p>6.&nbsp;??????????????????????&nbsp;?</p> <p>7.&nbsp;???????????&quot;ServerName&quot;??????ServerName?????????????????????&nbsp;NetBIOS&nbsp;????????&nbsp;Enter&nbsp;????</p> <p>???&nbsp;????????????????????????????????????в???????????????</p> <p>NetBIOS?????WINDOWS??????????????</p> <p>???????н??????????????????????????????????</p> [???????]?????????????????????????????????????????????? http://www.bqlbd.club//tech/4973.html www.bqlbd.club ??????? 2013/8/14 9:59:45 <p>?????y???????????????<a target="_blank" href="http://www.bqlbd.clubsrc="/tech/85.html">win2003??????</a>?????&ldquo;????????????????????????????????????????????ж???????????????????&rdquo;?????????????????????????????????????????????????<br /> <br /> ????windows2003???????2????????????????&ldquo;<strong>???????????????????</strong>&rdquo;???????????2?????????????<br /> <br /> 1??????????Windows2003???????????&ldquo;tsmmc.msc&rdquo;???????????????????????μ????????????????????IP??????????????????????????????????档????????????????????????档<br /> <br /> 2????????????????????? ????&ldquo;???&rdquo;?????&ldquo;???????&rdquo;???????&ldquo;??????????&rdquo;??<br /> <br /> 3?? ????&ldquo;??????????&rdquo;????????&ldquo;?????&rdquo;??<br /> <br /> 4????&ldquo;?????&rdquo;?????&ldquo;????&rdquo;???????&ldquo;???&rdquo;?? ????????????????????<br /> <br /> ???Window Server 2003 ??????&ldquo;??? CAL&rdquo;???????????????????????????????????&ldquo;??? CAL&rdquo;?????????????????????????????????????????????????Ч?????????? (TS) CAL ??????&ldquo;??????????Э??&rdquo;(EULA) ???????????????????????&ldquo;?豸 CAL&rdquo;??????£?????????????????????&ldquo;??? CAL&rdquo;?????Υ?? EULA??<br /> <br /> <br /> <strong>?????????????,?????????????:<br /> </strong><br /> 1.?????????????????????????&ldquo;??豸&rdquo;?????&ldquo;????&rdquo;??<br /> <br /> 2.???????????????????????????HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing,??MSLicensing??????????????????????????<br /> <br /> ???????????????????</p> [Web??????]HTTP ???? 500.19- Internal Server Error ?????????? http://www.bqlbd.club//tech/4961.html www.bqlbd.club Web?????? 2013/8/9 16:33:37 <p>HTTP ???? 500.19- Internal Server Error ??????????,????????????????к????????ο??£????????????????</p> <p>????????????????WebService??????????????????&ldquo;HTTP ???? 500.19 - Internal Server Error &rdquo;???????????</p> <p><img border="0" alt="HTTP ???? 500.19- Internal Server Error ??????????" width="620" height="297" src="/upload/tech/UploadPic/2013-8/201389163553450.png" /></p> <p>??????鷢????????????<a target="_blank" href="http://www.bqlbd.club/soft/12904.html">vs2008</a>???iis??????????????????AspNet???????????岽??????</p> <p>1 ?????У?????cmd??????????????????</p> <p>2 ????C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 ????</p> <p>3 ????aspnet_regiis.exe &ndash;i ??м??</p> <p>?????????64λ ???????·???C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727 <br /> <br /> <strong>iis7???????An error occurred on the server when processing the URL...</strong> <br /> win7????????ASP????????????????????????????????? <br /> <br /> ???????MS Jet???????????????λ???????????ж?????????????????????????????????sql?????????access??????????? <br /> ??????? <br /> ??&ldquo;????:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp&rdquo;????????&ldquo;Authenticated Users&rdquo;???????????AppData???????????????????????????????????·???????????????????????????????? <br /> <br /> ?????????裺???Temp????У????&ldquo;????&rdquo;?????&ldquo;???&rdquo;?????????&ldquo;??&rdquo;??????&ldquo;Temp ?????&rdquo;?????????&ldquo;???&rdquo;?????????&ldquo;????????????????&rdquo;??????Authenticated Users?????????&ldquo;???...&rdquo;?????????&ldquo;????&rdquo;?????????????????Authenticated Users??????????????&ldquo;Temp ?????&rdquo;????Authenticated Users??????е???????????????????????? <br /> <br /> ?????????IIS7?????????????????????????????????????????????????????????????An error occurred on the server when processing the URL. Please contact the system administrator????????????????????????? <br /> ??????? <br /> ??iis7??ASP????????&ldquo;??????????????&rdquo;???True?? <br /> ????????????????????????????</p> [Web??????]???No input file specified???????? http://www.bqlbd.club//tech/4947.html www.bqlbd.club Web?????? 2013/8/2 14:11:50 <p>?????IIS Noinput file specified<br /> ?????????PHP.ini?е?doc_root?У???ini?????????У????????IIS</p> <p>????????<br /> ?????php.ini<br /> ???<br /> ; cgi.force_redirect = 1<br /> ???????????????1???0<br /> ??<br /> cgi.force_redirect = 0</p> <p>??????apacheNo input file specified<br /> apache No input filespecified,??????????????apache RewriteRule?????????????????????????<br /> ??.htaccess ??RewriteRule ?????index.php????????????&ldquo;?&rdquo;<br /> ????????????<br /> .htaccess<br /> RewriteEngine on<br /> RewriteCond $1 !^(index.php|images|robots.txt) <br /> RewriteRule ^(.*)$ /index.php?/$1 [L]<br /> ?????apache??????????????????????Apache ?? .php ?????????????????????????</p> <p>???<br /> Apache ????Щ?????? PHP ?????????磬?? Apache ?? .php ?????????????PHP????????κκ???????????? PHP??????????????м??????????????????????? .phtml ???????<br /> AddType application/x-httpd-php .php .phtml<br /> ???? .phps?????? PHP ???????????????????????????????<br /> AddType application/x-httpd-php-source .phps<br /> ????????????? Apache??????????? Apache ??????????????????? HUP ????USR1 ???? Apache ??????????</p> <p>??????nginx????????No inputfile specified<br /> ?????????nginx ???? Noinput file specified????????????????????</p> <p>1?? php.ini??/etc/php5/cgi/php.ini????????????????<br /> cgi.fix_pathinfo=1 ???????????????<br /> doc_root=</p> <p>2??nginx???????/etc/nginx/sites-available/default????????2???</p> <p>location ~ \.php$ {<br /> fastcgi_pass 127.0.0.1:9000;<br /> fastcgi_index index.php;<br /> fastcgi_param SCRIPT_FILENAME /var/www/nginx-default$fastcgi_script_name;<br /> include fastcgi_params;<br /> }</p> <p>???????·?????????????????????????????д<br /> ?????????????????????service nginx restart????????????</p> <p>??????????????????????????????д?????</p> [Mail??????]WinWebMail???????????????? http://www.bqlbd.club//tech/4941.html www.bqlbd.club Mail?????? 2013/7/30 11:42:16 <p>??????????????WinWebMail3.7.3.1???????????????????????????????????????????????????????DNS?????</p> <p>?????????????(?????)???????????????<strong>DNS???ò???</strong>??<strong>??????DNS?????????????????</strong>????????????????????????????????????????????&ldquo;????&rdquo;???????????DNS?????????(?????)????????<br /> 1. ?????????DNS???????????<br /> 2. ???????DNS????????????????Ч???<br /> 3. ??DNS???????????????????</p> <p><img alt="WinWebMail????" width="130" height="240" src="/upload/tech/UploadPic/2013-7/2013730114412593.gif" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img alt="WinWebMail DNS????" width="425" height="332" src="/upload/tech/UploadPic/2013-7/2013730114413761.gif" /></p> <p>??????????????ЩDNS????????????????ISP????????:<br /> ????<strong>205.252.144.228<br /> ????202.106.127.1<br /> ????216.239.32.10<br /> ????168.95.1.1<br /> ????202.102.192.68<br /> ????202.106.0.20<br /> ????202.96.199.133<br /> ????202.106.196.115<br /> ????202.96.96.235<br /> ????202.103.226.68<br /> ????202.96.96.236<br /> ????202.103.224.68<br /> ????210.162.122.114</strong><br /> <br /> <strong>?????:<br /> </strong>????1. ??????????????DNS????????????(????DNS???????????????????WinWebMail?????????Ч)??<br /> ????2. ?????????????????DNS??????????????DNS??????????WinWebMail???????????????DNS???????????????????????????????????????<br /> ????3. ??????????£?????????????????????IP(?磺10.96.0.1)???DNS???????????<br /> ????4. ????????????DNS???????????????????????????ping??DNS???????????ping???????????????DNS????????????????????????????????DNS???????????????????????????????</p> <p><strong>?????????DNS????</strong></p> <p>???DNS??IP???:<strong>205.252.144.228</strong><br /> ????DNS??IP???:<strong>202.106.127.1</strong></p> <p>C:/Documents and Settings/Administrator&gt;ping 205.252.144.228</p> <p>Pinging 205.252.144.228 with 32 bytes of data:</p> <p>Reply from 205.252.144.228: bytes=32 time=12ms TTL=242<br /> Reply from 205.252.144.228: bytes=32 time=10ms TTL=242<br /> Reply from 205.252.144.228: bytes=32 time=9ms TTL=242<br /> Reply from 205.252.144.228: bytes=32 time=9ms TTL=242</p> <p>Ping statistics for 205.252.144.228:<br /> &nbsp;&nbsp;&nbsp; Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),<br /> Approximate round trip times in milli-seconds:<br /> &nbsp;&nbsp;&nbsp; Minimum = 9ms, Maximum = 12ms, Average = 10ms</p> <p>C:/Documents and Settings/Administrator&gt;ping 202.106.127.1</p> <p>Pinging 202.106.127.1 with 32 bytes of data:</p> <p>Reply from 202.106.127.1: bytes=32 time=42ms TTL=55<br /> Reply from 202.106.127.1: bytes=32 time=66ms TTL=55<br /> Reply from 202.106.127.1: bytes=32 time=45ms TTL=55<br /> Reply from 202.106.127.1: bytes=32 time=42ms TTL=55</p> <p>Ping statistics for 202.106.127.1:<br /> &nbsp;&nbsp;&nbsp; Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),<br /> Approximate round trip times in milli-seconds:<br /> &nbsp;&nbsp;&nbsp; Minimum = 42ms, Maximum = 66ms, Average = 48ms</p> <p>?????????ping?????????????????????????????????????????μ??????????????????:</p> <p>???????????????????????????:<br /> xxx@xxx.com : DNS lookup failed.</p> <p>??????????????DNS???????????????????????</p> <p>?????google??DNS??????<strong><span style="color: #ff0000">8.8.8.8</span></strong>,<span style="color: #ff0000"><strong>8.8.4.4</strong></span>??</p> <p>????????DNS??IP??????<strong>8.8.4.4</strong>,??ú?????????????????????л???google??</p> <p><strong>???:???????DNS?????????</strong></p> <p>??????202.96.199.133&nbsp;&nbsp;202.96.0.133&nbsp;&nbsp;202.106.0.20&nbsp;&nbsp;202.106.148.1&nbsp;&nbsp;202.97.16.195<br /> ?????202.96.199.132&nbsp;&nbsp;202.96.199.133&nbsp;&nbsp;202.96.209.5&nbsp;&nbsp;202.96.209.133<br /> ???202.99.96.68&nbsp;&nbsp;10.10.64.68<br /> ????202.96.128.143&nbsp;&nbsp;202.96.128.68&nbsp;&nbsp;202.96.128.110<br /> ?????202.96.134.133&nbsp;&nbsp;202.96.154.8&nbsp;&nbsp;202.96.154.15<br /> ?????202.102.227.68&nbsp;&nbsp;202.102.245.12&nbsp;&nbsp;202.102.224.68<br /> ??????202.96.128.68&nbsp;&nbsp;202.103.224.68&nbsp;&nbsp;202.103.225.68<br /> ??????202.101.98.54&nbsp;&nbsp;202.101.98.55<br /> ?????202.101.103.55&nbsp;&nbsp;202.101.103.54<br /> ?????202.103.0.68&nbsp;&nbsp;202.103.96.68&nbsp;&nbsp;202.103.96.112<br /> ?????202.102.15.162&nbsp;&nbsp;202.102.29.3&nbsp;&nbsp;202.102.13.141&nbsp;&nbsp;202.102.24.35<br /> ??????202.100.13.11&nbsp;&nbsp;202.100.4.16<br /> ??????202.100.4.15&nbsp;&nbsp;202.100.0.68<br /> ??????202.103.0.68&nbsp;&nbsp;202.103.0.117&nbsp;&nbsp;202.103.24.68<br /> ?????202.102.154.3&nbsp;&nbsp;202.102.152.3&nbsp;&nbsp;202.102.128.68&nbsp;&nbsp;202.102.134.68<br /> ????202.96.102.3&nbsp;&nbsp;202.96.96.68&nbsp;&nbsp;202.96.104.18<br /> ??????202.98.0.68&nbsp;&nbsp;202.96.75.68&nbsp;&nbsp;202.96.75.64&nbsp;&nbsp;202.96.69.38&nbsp;&nbsp;202.96.86.18&nbsp;&nbsp;202.96.86.24<br /> ?????202.102.192.68&nbsp;&nbsp;202.102.199.68&nbsp;&nbsp;10.89.64.5<br /> ????61.128.128.68&nbsp;&nbsp;10.150.0.1<br /> ????????202.97.229.133&nbsp;&nbsp;202.97.224.68<br /> ?????202.99.160.68&nbsp;&nbsp;10.17.128.90<br /> ??????202.99.160.68&nbsp;&nbsp;202.99.166.4<br /> ?????202.98.5.68&nbsp;&nbsp;202.98.14.18&nbsp;&nbsp;202.98.14.19<br /> ??????202.101.224.68&nbsp;&nbsp;10.117.32.40&nbsp;&nbsp;202.109.129.2&nbsp;&nbsp;202.101.240.36<br /> ?????202.99.192.68&nbsp;&nbsp;202.99.198.6<br /> ?????61.128.97.74&nbsp;&nbsp;61.128.97.73<br /> ?????202.98.192.68&nbsp;&nbsp;10.157.2.15<br /> ?????202.98.96.68&nbsp;&nbsp;202.98.160.68<br /> ?????202.98.96.68&nbsp;&nbsp;61.139.2.69<br /> ????61.128.128.68&nbsp;&nbsp;61.128.192.4<br /> ?????202.98.96.68&nbsp;&nbsp;202.98.96.69<br /> ??????202.99.224.68&nbsp;&nbsp;10.29.0.2<br /> ????202.100.128.68&nbsp;&nbsp;10.184.0.1<br /> ?????202.100.192.68&nbsp;&nbsp;202.100.199.8<br /> ?????202.100.0.68&nbsp;&nbsp;202.100.96.68<br /> ????202.100.72.13&nbsp;&nbsp;10.179.64.1<br /> ????205.252.144.228&nbsp;&nbsp;208.151.69.65<br /> ?????202.175.3.8&nbsp;&nbsp;202.175.3.3</p> [Web??????]?洢?????????????????HTTP SSL http://www.bqlbd.club//tech/4939.html www.bqlbd.club Web?????? 2013/7/29 15:27:14 <p><strong>HTTP SSL ?????????д?????????????</strong></p> <p>HTTP SSL ?????????д??????: <br /> ?洢???????????????? <br /> &nbsp;</p> <p>?? World Wide Web Publishing Service ?????????? HTTP SSL ?????????д??????????: <br /> ?洢????????????????</p> <p><strong>???????<br /> </strong>????????????,???????????????,???ID 2011,???????????ò???&quot;irps4tacksize&quot;?С,????÷????????????豸?????????????</p> <p>??????????,?????????????? IRPStackSize ???</p> <p>1. ???? regedit <br /> 2. ????????? <br /> HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters <br /> 3. ???????????? IRPStackSize ? <br /> ?????? IRPStackSize ???????,????????1??????????? <br /> a. ??????? Parameters ???????,???????????? <br /> b. ??????,????? DWord ? <br /> c. ???? IRPStackSize</p> <p>??????: ?????????????????Сд,??????????????????????????? &quot;IRPStackSize&quot;</p> <p>4. ??&quot;????&quot;?????????? <br /> 5. ??&quot;???????&quot;????,??????г??????????? <br /> ???齫 IRPStackSize ????? 3 : ?????????? 11,??????? 14,?????&quot;???&quot; <br /> 6. ????????????????????????</p> [Web??????]??DedeCMS??data???????????web?????????? http://www.bqlbd.club//tech/4938.html www.bqlbd.club Web?????? 2013/7/29 11:16:53 <p>dedecms???????CMS?????????????????????????????????????????????????CMS????dedecms?????μ?data??????????????????????????????????????????????DedeCMS?????μ?data???????????????????</p> <p>data????????????????????????????п????д?????????????д?????????????????????????????????????????????е???????????Σ??,??????????齫???data???????Web?????????????????????ν?data???????Web????????</p> <p><strong>???</strong></p> <p>??????????????DedeCms???н????????????о????????????????????????ι??????????????</p> <p><strong>1.??data????????Web??</strong></p> <p>???????????&quot;D:dedecmsv57&quot;????????????,????????????μ?data?????(???1)???????????(??Web??)????????????л?????????ɡ?</p> <p align="center" sizset="6" sizcache="2"><img alt="??DedeCMS??data???????????web??????????_?????" width="561" height="313" src="/upload/tech/UploadPic/2013-7/201372911195363.gif" /></p> <p>????????????????,????????·????</p> <p align="center" sizset="7" sizcache="2"><img alt="??DedeCMS??data???????????web??????????_?????" width="351" height="192" src="/upload/tech/UploadPic/2013-7/201372911196870.gif" /></p> <p><strong>2.???DEDEDATA???????ó???</strong></p> <p>?????????/include/common.inc.php????????DEDEDATA??????????????</p> <p align="center" sizset="8" sizcache="2"><img alt="??DedeCMS??data???????????web??????????_?????" width="610" height="144" src="/upload/tech/UploadPic/2013-7/201372911196560.gif" /></p> <p><strong>3.????tplcache?????????</strong></p> <p>??????????????????????tplcache????????????</p> <p align="center" sizset="9" sizcache="2"><img alt="??DedeCMS??data???????????web??????????_?????" width="584" height="135" src="/upload/tech/UploadPic/2013-7/201372911196801.gif" /></p> <p>???????????????data?????????????</p> <p><strong>???</strong></p> <p>????????????V57???в?????Ч???????汾????????????е?????</p> [Web??????]nginx??????????php http://www.bqlbd.club//tech/4934.html www.bqlbd.club Web?????? 2013/7/27 10:27:49 <p>nginx?????????php????????????????趨?????<br /> &nbsp;</p> <p>???????????apache????????????и????????????????????????thx</p> <p>location ~* ^/(attachments|images)/.*\.(php|php5|PHP|PHP5)$<br /> {<br /> deny all;<br /> }</p> <p>??web????????????????ж??????????????</p> <p>location ~* ^(/discuz/|/bbs/)/(attachments|images)/.*\.(php|php5|PHP|PHP5)$<br /> {<br /> deny all;<br /> }</p> [Linux??????]linux/centos rsync??????y??????????? http://www.bqlbd.club//tech/4933.html www.bqlbd.club Linux?????? 2013/7/27 10:25:35 <p>????????????????</p> <p><strong># yum -y install xinetd</strong></p> <p><strong># vi /etc/xinetd.d/rsync</strong><br /> ?????′???</p> <p>service rsync<br /> {<br /> disable = yes<br /> socket_type = stream<br /> wait = no<br /> user = root<br /> server = /usr/bin/rsync<br /> server_args = &ndash;daemon<br /> log_on_failure += USERID<br /> }</p> <p>?е?&nbsp;<strong>disable = yes</strong>&nbsp;???&nbsp;<strong>disable = no</strong></p> <p>?????? xinetd<br /> <strong># /etc/init.d/xinetd start ?? service xinetd restart</strong><br /> ????????????????з?????????????????????873</p> <p># telnet 127.0.0.1 873<br /> Trying 127.0.0.1...<br /> telnet: connect to address 127.0.0.1: Connection refused<br /> # iptables -A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 873 -j ACCEPT<br /> # iptables -A INPUT -p tcp -m tcp --dport 873 -j DROP</p> <p><strong># vi /etc/rsyncd.conf ??????????????????????????<br /> </strong></p> <p>#Global Settings<br /> uid = root #???????????rsync<br /> gid = root<br /> use chroot = no #?????chroot<br /> max connections = 20 #?????????<br /> secrets file = /etc/rsyncd.secrets #???????λ?????????????????????????????<br /> log file = /var/log/rsyncd.log #???rsync????????????????????????syslog<br /> pid file = /var/run/rsyncd.pid #???rsync??pid???<br /> lock file = /var/run/rsync.lock #??????max connections???????????????????/var/run/rsyncd.lock<br /> comment = hello world<br /> #motd file = /etc/rsyncd.motd #????????????????λ??????????У?????????????<br /> <br /> [backup] # ????????????????????client????????<br /> path = /titan24/www/repos # ????????????<br /> auth users = rsync # ????????????????????????????У??????????????????????,???<br /> read only = no # yes???&nbsp;??NO?????????д????????????NO<br /> hosts allow = 192.168.3.128 #?????????????IP<br /> hosts deny = * #??????<br /> list = true # ?????????<br /> #ignore errors # ????????Щ????IO????<br /> #exclude = cache/111/ cache/222/&nbsp;#???????</p> <p><strong># vi /etc/rsyncd.secrets ?????÷????????????????????<br /> </strong></p> <p>rsync:111111 ???????:??a</p> <p>?????????????<br /> <strong># chown root:root /etc/rsyncd.secrets<br /> # chmod 600 /etc/rsyncd.secrets&nbsp;<wbr></wbr>&nbsp;#????????600??</strong></p> <p>????client ????????<br /> ?????????????????rsync????е????£?<br /> <strong># yum -y install rsync</strong></p> <p>??????????????</p> <p>/usr/bin/rsync -avz --progress&nbsp;<wbr></wbr>&nbsp;rsync@192.168.3.191::backup&nbsp;<wbr></wbr>&nbsp;/www</p> <p># crontab -e #(??????????????????????)</p> <p>*/3&nbsp;<wbr></wbr>&nbsp;* * * * rsync -avz --progress&nbsp;<wbr></wbr>&nbsp;rsync@192.168.3.191::backup&nbsp;<wbr></wbr>&nbsp;/www</p> <p>??????????????????</p> <p>#vi /etc/rsyncd.pas<br /> ????????<br /> rsyncofpass<br /> ??????????????????????????????????????</p> <p>??????????:<br /> #chmod 0600 /etc/rsyncd.pas</p> <p>#rsync -vzrtopgu --progress --delete --password-file=/etc/rsyncd.pas &nbsp;<wbr></wbr>rsync_user@192.168.0.2::rsync_module_name1 /www/</p> <p>???????????-vzrtopg???v??verbose??<br /> z?????????<br /> r??recursive??<br /> topg??????????????????????????????????<br /> u????????????μ????????????и??μ???????????????Σ???????????????????????????<br /> &ndash;progress?????????????????????<br /> &ndash;delete???????????????????????????????????????????????????????????????<br /> ?? ???rsync_user@192.168.0.2::rsync_module_name1?У?????rsync_module_name1????????? ???????/etc/rsyncd.conf?????????????rsync_user??????????????????????????????<br /> ????/www?????????????????<br /> ???????棬????????-e ssh????????????????????<br /> ??????&ndash;password-file=/password/path/file????????????????????????????????????轻?????????????????????????????????????????????????????????????????</p> <p>#/usr/local/rsync/bin/rsync -vzrtopg &ndash;progress &ndash;delete&nbsp;<em>rsync_user@192.168.0.2::rsync_module_name1</em>/tmp/<br /> Password:<br /> ??????????????password???<br /> ?????????crontab??У????????????????????????????<br /> ????????????</p> <p>????????????????????????</p> <p>---------------------------------????????????---------------------------------</p> <p><strong>1 ?????????</strong></p> <p>????<br /> &mdash;&mdash;<br /> a) rsync<br /> b) rsync -r<br /> c) rsync jack@192.168.0.1::<br /> d) rsync ssh_user@192.168.0.1:</p> <p>???????<br /> &mdash;&mdash;&mdash;<br /> a) ?????????(?????)<br /> b) ????????????<br /> c) ????????????????<br /> *?1???????, ????rsync???????????<br /> *?2??rsync server????????????xx7?????.</p> <p>d) ???????????????<br /> *?1??remote shell??, ???ssh?????????????????????????<br /> *?2???????????????e??(:)????????????????????ssh ????????????ssh????????????<br /> *?3?????&rdquo;&rdquo;?????г?????б?????????????г???????????????&rdquo;/&rdquo;??</p> <p>???????<br /> &mdash;&mdash;&mdash;<br /> -r ???????е?????</p> <p><strong>2 ????????????</strong></p> <p>????<br /> &mdash;&mdash;<br /> a) rsync -av &ndash;progress / *** ???(/) ***<br /> b) rsync -av &ndash;progress<br /> c) rsync -avu &ndash;progress &ndash;delete /<br /> d) rsync -av &ndash;progress &ndash;temp-dir=/tmp /</p> <p>???????<br /> &mdash;&mdash;&mdash;<br /> a) ???src-dir?????????????dst-dir????<br /> b) ???src-dir?????????????dst-dir/src-dir????<br /> c) ??src-dir????????dst-dir??????в?????£???????/??????????滻???м???????????<br /> d) ??a)????&ndash;temp-dir=/tmp???????/tmp??????????????????????????????????????????????????????</p> <p>???????<br /> &mdash;&mdash;&mdash;<br /> -a ???? -rlptgoD ?????<br /> -u ????? &ndash;update?????????????????μ?????2?????<br /> -v ???????????<br /> &ndash;progress ???????????????????????????<br /> &ndash;delete ?????????ж???????????</p> <p><strong>3 ?????????????</strong><br /> ????<br /> &mdash;&mdash;<br /> a) rsync -avz &ndash;progress jack@192.168.0.1::/<br /> b) rsync -avz &ndash;progress jack@192.168.0.1::/ &ndash;password-file=/home/jack/rsync.jack<br /> c) rsync -avuz &ndash;progress &ndash;delete jack@192.168.0.1::/ &ndash;password-file=/home/jack/rsync.jack<br /> d) rsync -avz &ndash;progress jack@192.168.0.1::/</p> <p>???????<br /> &mdash;&mdash;&mdash;<br /> a) ???????????????????????192.168.0.1?????£?jack??rsync????????(?μ?3. /etc/rsync.secrets)<br /> b) ?????????????????????????????????<br /> c) ??b)????-u??&ndash;delete<br /> d) ?????????????????????</p> [Web??????]LNMP????????????mysql-bin.00001?????????? http://www.bqlbd.club//tech/4929.html www.bqlbd.club Web?????? 2013/7/21 18:40:32 <p>???</p> <p>??????? log-bin?????mysql???????<br /> /usr/local/mysql/bin/mysql -u root -p ???mysql???????<br /> ???????????????<br /> ????:<br /> ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)<br /> ??????ν???????????????4G??</p> <p>??</p> <p>/usr/local/mysql/bin/mysql -u root -p ?????У?reset master;</p> <p>???????????/etc/my.cnf??<br /> #log-bin=mysql-bin<br /> #binlog_format=mixed<br /> ??????????</p> [Web??????]LNMP LNMPA 504 Gateway Time-out?????????? http://www.bqlbd.club//tech/4928.html www.bqlbd.club Web?????? 2013/7/21 18:38:52 <p>123systems??VPS???????????????W2??????Щ??????????????????????????????棬????????????????123systems??VPS??????$15????С??棬?????ū?????????<span sizset="36" sizcache="8">LNMP</span>???????????????????????</p> <p sizset="37" sizcache="8">VPS???<span sizset="37" sizcache="8">LNMPA</span>?·????????ò??????????????2С?????(???????????????д??123systems$15/??VPS???????)??????????????????????dedecms?????OK????????????????????????????????????????????????????????????????????ξ?????????<span sizset="38" sizcache="8">504 Gateway Time-out</span>??</p> <p>?????????????????????????????????С???????????????????????????????????????????????????php????????????/usr/local/php/etc/????php.ini?????</p> <p>max_execution_time ?????0(???????????????)</p> <p sizset="39" sizcache="8">?????<span sizset="39" sizcache="8">LNMP</span>????????????????????OH?????504???????????????????????</p> <p>????/usr/local/apache/conf/extra/?μ?httpd-vhosts.conf???</p> <p>?????</p> <blockquote> <p>php_admin_value open_basedir</p> </blockquote> <p>??????</p> <blockquote> <p>php_admin_value open_basedir &quot;/home/wwwroot:/tmp/:/var/tmp/:/proc/:/etc/&quot;</p> </blockquote> <p>??#???????????????</p> <p sizset="40" sizcache="8">???????<span sizset="40" sizcache="8">LNMPA</span>??</p> <blockquote> <p>/root/lnmpa restart</p> </blockquote> <p>?????????????OK???</p> <p sizset="41" sizcache="8">??????????????????????????buyVM??128MB???VPS?????????г??????????????????У???????????<span sizset="41" sizcache="8">LNMP</span>???????A???????????????????????????LNMP??????dedecms????????????δ?????κ?????</p> <p sizset="42" sizcache="8">????????????????????С???VPS????????<span sizset="42" sizcache="8">LNMPA</span>????????LNMP??????????Щ?????????????????з???????????????LNMP??????г???504???????<span sizset="43" sizcache="8">????</span>?????????????????????????????????????????????????????????</p> <p>1.????php-fpm.conf?????????/usr/local/php/etc/??***LNMPA????????***??</p> <blockquote> <p>&lt;value name=&rdquo;max_children&rdquo;&gt;32&lt;/value&gt; <br /> &lt;value name=&rdquo;request_terminate_timeout&rdquo;&gt;30s&lt;/value&gt;</p> </blockquote> <p>2.????nginx.conf?????????/usr/local/nginx/conf??</p> <blockquote> <p>fastcgi_connect_timeout 600; <br /> fastcgi_send_timeout 600; <br /> fastcgi_read_timeout 600; <br /> fastcgi_buffer_size 256k; <br /> fastcgi_buffers 16 256k; <br /> fastcgi_busy_buffers_size 512k; <br /> fastcgi_temp_file_write_size 512k;</p> </blockquote> <p sizset="44" sizcache="8">???????????????????????????????504?????<span sizset="44" sizcache="8">????</span>???????飺????????????????????????????????????????Ц?????λ???????棬<span sizset="45" sizcache="8">????</span>???????????????????????к???????~~~</p> [Web??????]nginx???.htaccessα???rewrite????? http://www.bqlbd.club//tech/4927.html www.bqlbd.club Web?????? 2013/7/21 18:32:29 <p>1.??????????.htaccess???????????????.htaccess???</p> <p>???.htaccess??????discuz??dedecms?????????</p> <p># .htaccess rewrite rule<br /> rewrite ^(.*)/archiver/((fid|tid)-[w-]+.html)$ $1/archiver/index.php?$2 last;<br /> rewrite ^(.*)/forum-([0-9]+)-([0-9]+).html$ $1/forumdisplay.php?fid=$2&amp;page=$3 last;<br /> rewrite ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/viewthread.php?tid=$2&amp;extra=page%3D$4&amp;page=$3 last;<br /> rewrite ^(.*)/profile-(username|uid)-(.+).html$ $1/viewpro.php?$2=$3 last;<br /> rewrite ^(.*)/space-(username|uid)-(.+).html$ $1/space.php?$2=$3 last;<br /> rewrite ^(.*)/tag-(.+).html$ $1/tag.php?name=$2 last;<br /> # end .htaccess rewrite rule</p> <p>2.??????nginx.conf??????????α???????????????server{}??????.htaccess???</p> <p>server{<br /> include xxxx/.htaccess; ##(??????????.htaccess????????λ??)<br /> }</p> <p>????nginx.conf???ɡ?</p> [Web??????]php??????????????????????????????????????????б?(ACL)??Web??????????????????????á????????? http://www.bqlbd.club//tech/4921.html www.bqlbd.club Web?????? 2013/7/18 13:03:43 <p>?????????????????????????? ????????????? ????????????????????</p> <p>???</p> <p><img border="0" alt="php??????&ldquo;??????????????????????????????????б?(ACL)??Web???????????????????????&rdquo;????????" src="/upload/tech/UploadPic/2013-7/201371813453146.jpg" /></p> <p>???????????????????????? ??????????????????????????????????????iis?????? ???????????? ??????????????? 2??????? ???asp??? ??????2??????PHP??? ?? ??????????????? ????????????????php???? ?? ??<strong>php?????????????????-??? ???user ????? ??? ????????</strong></p> [Web??????]????Apache????????? http://www.bqlbd.club//tech/4920.html www.bqlbd.club Web?????? 2013/7/18 13:02:11 <p><strong>????Apache?????????</strong></p> <p>?????Apache????????????????????http://localhost?????????????????????it's/&nbsp;Working.&nbsp;</p> <p><strong>?????????????????</strong>?????Apache2.2\conf\httpd.conf?в???&nbsp;DocumentRoot&nbsp;????????????·??????????????·?????磺D:\www\web1</p> <p><strong>??????Apache???????????????</strong>???????????httpd.conf?web2.conf???????????????????my.conf?????????web2.conf?е?<font color="#ff0000">Listen&nbsp;8080</font><font color="#000000">??????80????</font><font color="#ff0000">ServerName&nbsp;localhost:8080</font><font color="#000000">??????80????</font><font color="#ff0000">DocumentRoot&nbsp;&quot;D:/www/web2&quot;&nbsp;</font>??????web1??</p> <p><strong>???????Apache????</strong>Apache???????<code><font face="NSimsun">bin</font></code>?????£????????????Apache????Windows&nbsp;NT????httpd.exe&nbsp;-k&nbsp;install&nbsp;-n&nbsp;&quot;??????&quot;&nbsp;-f&nbsp;&quot;d:\apache2.2\conf\web2.conf&quot;</p> <p><strong>??????????</strong></p> <p>??Apache????Windows&nbsp;NT????</p> <p>apache&nbsp;-k&nbsp;install</p> <p>????????????????????????????????Apache??????????????????????????????</p> <p>apache&nbsp;-k&nbsp;install&nbsp;-n&nbsp;&quot;??????&quot;&nbsp;</p> <p>??????????????ò????????????????????????????????</p> <p>apache&nbsp;-k&nbsp;install&nbsp;-n&nbsp;&quot;??????&quot;&nbsp;-f&nbsp;&quot;c:\files\my.conf&quot;&nbsp;</p> <p>?????????????????????????&nbsp;-k&nbsp;install&nbsp;??????????????в??????????????????????????Apache2&nbsp;??????????????conf\httpd.conf&nbsp;??</p> <p>??????Apache????</p> <p>apache&nbsp;-k&nbsp;uninstall&nbsp;</p> <p>??????????????????????Apache????</p> <p>apache&nbsp;-k&nbsp;uninstall&nbsp;-n&nbsp;&quot;??????&quot;&nbsp;</p> <p>??????????????????Apache?????????????Apache&nbsp;Service&nbsp;Monitor?????????????????????????NET&nbsp;START&nbsp;Apache2&nbsp;??&nbsp;NET&nbsp;STOP&nbsp;Apache2&nbsp;???????Windows?????????塣?????Apache?????????????????????????????????????????????</p> <p>apache&nbsp;-n&nbsp;&quot;??????&quot;&nbsp;-t&nbsp;</p> <p>?????????????п?????????Apache???????????????????Apache????????????</p> <p>apache&nbsp;-k&nbsp;start&nbsp;</p> <p>??????????????Apache????????????</p> <p>apache&nbsp;-k&nbsp;stop&nbsp;</p> <p>??</p> <p>apache&nbsp;-k&nbsp;shutdown&nbsp;</p> <p>?????????????е?Apache????????????????????????????????</p> <p>apache&nbsp;-k&nbsp;restart</p> <p>?????????Apache2.0???μ?汾??????????apache.exe</p> [Web??????]APMServ??Apache????????????? http://www.bqlbd.club//tech/4919.html www.bqlbd.club Web?????? 2013/7/18 12:03:03 <p>????????? <br /> <br /> <a target="_blank" href="http://www.bqlbd.club/soft/4225.html">Apache</a> ??????????~~~ ????????SSL???????????????????飬???????????????????????????????????鹳??SSL?????????? <br /> <br /> ?????????? <br /> <br /> ????????¥????????????????WINDOWS XP????????WIN2000??????????????????????SSL????????????????????????????????????????????????APM?????????????????????????к?????????? ??????????????APM?????????е??????????????????????????????????????С? ??? ???? ???? ??????? ???? ???? ?????????????????Telnet?????????????????????XP?????????????????????Э??????????????????Telnet?????????????????????????????ó????????? ????Telnet???????APMServ5.2.0????????????? <br /> <br /> ?????????? <br /> <br /> ???鲻??????????ж???????????????????????????????????????????APMServ????????????????Apache?????ú?????????????????????????????????? ???????????£??н??????????????APMAerv??????ж???????? ???????????????????<a target="_blank" href="http://www.bqlbd.club/soft/15911.html">APMServ</a>???????????????????????????????TELNET??????????????δ???????? ?ó?????? 1?????????????????????????TELNET??????????й??????????????????????????????????Э????????????й????? 2??APMServ?????????????????????????????????? <br /> <br /> ????????? <br /> <br /> ????????????????????????????????????????? <br /> <br /> ???????壺 <br /> <br /> ????????PHP?????????????????????????????????????dll?????System32?С? <br /> <br /> ?????????? <br /> <br /> ???????????????????????D?????????????????????????????C????E?????????壩?? <br /> <br /> *?????????????????????????????????????????????????????????? <br /> <br /> ?????????????????ɡ?*</p> [Web??????]?????ó??????????????????? http://www.bqlbd.club//tech/4918.html www.bqlbd.club Web?????? 2013/7/18 11:23:23 <p>??????????Exchange????????????Exchange 2003??DC?????????????????ú???????????????????,???Service Unavailable??<br /> <br /> 1.???????IIS?????????????ó??????????DefaultAppPool????????????????????????????<br /> <br /> 2.?????????DefaultAppPool????ó??????????????ó????????????</p> <p>3.?????????????????????????????????????</p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 5px; margin: 5px 20px; padding-left: 5px; padding-right: 5px; background: #f3f3f3; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 5px"> <p>???????: ????<br /> ??????: W3SVC<br /> ???????: ??<br /> ??? ID: 1009<br /> ????:&nbsp;&nbsp; 2008-6-24<br /> ???:&nbsp;&nbsp; 16:12:33<br /> ???:&nbsp;&nbsp; N/A<br /> ?????: MAIL<br /> ????:<br /> ???ó???? 'DefaultAppPool' ??????????????????????? ID ?? '3160'??????????????? '0xffffffff'??</p> <p>?й???????????????? http://go.microsoft.com/fwlink/events.asp ???????????????</p> </div> <p>4.??????????????????????????????????????μ???????????????????????μ?????????????????????????????</p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 5px; margin: 5px 20px; padding-left: 5px; padding-right: 5px; background: #f3f3f3; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 5px"> <p>???????: ????<br /> ??????: W3SVC<br /> ???????: ??<br /> ??? ID: 1002<br /> ????:&nbsp;&nbsp; 2008-6-25<br /> ???:&nbsp;&nbsp; 14:17:04<br /> ???:&nbsp;&nbsp; N/A<br /> ?????: MAIL<br /> ????:<br /> ??ó???? 'AppPool #1' ????????????????????ó???????????????г??????д???</p> <p>?й???????????????? http://go.microsoft.com/fwlink/events.asp ???????????????</p> </div> <p><br /> 5.??????????????????????????????????£?</p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 5px; margin: 5px 20px; padding-left: 5px; padding-right: 5px; background: #f3f3f3; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 5px"> <p>???????: ????<br /> ??????: DCOM<br /> ???????: ??<br /> ??? ID: 10016<br /> ????:&nbsp;&nbsp; 2008-6-24<br /> ???:&nbsp;&nbsp; 16:12:33<br /> ???:&nbsp;&nbsp; NT AUTHORITY\NETWORK SERVICE<br /> ?????: MAIL<br /> ????:<br /> ??ó???-??? ???????δ?? COM ????????ó???(CLSID ? <br /> {A9E69610-B80D-11D0-B9B9-00A0C922E750}<br /> )?? ???? ???? ?????????? NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20)????????????????????????????????</p> <p>?й???????????????? http://go.microsoft.com/fwlink/events.asp ???????????????</p> </div> <p><img alt="?????ó???????????????????" src="/upload/tech/UploadPic/2013-7/2013718112525806.gif" /></p> <p>6.?е?????????CLSID ? {A9E69610-B80D-11D0-B9B9-00A0C922E750}??????????????????????????????????????</p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 5px; margin: 5px 20px; padding-left: 5px; padding-right: 5px; background: #f3f3f3; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 5px"> <p>HKEY_CLASSES_ROOT\AppID\{A9E69610-B80D-11D0-B9B9-00A0C922E750}</p> </div> <p>7.?????????IIS Admin Service??</p> <p><img alt="?????ó???????????????????" resized="true" src="/upload/tech/UploadPic/2013-7/2013718112525670.gif" /></p> <p>8.???????????????????????????д???????????????IIS Admin Service??????CLSID??????<br /> <br /> <img alt="?????ó???????????????????" resized="true" src="/upload/tech/UploadPic/2013-7/2013718112525345.gif" /></p> <p>9.?????????????????????????????NETWORK SERVICE??????<br /> A???????????????&quot;?????&quot;..</p> <p><img alt="?????ó???????????????????" src="/upload/tech/UploadPic/2013-7/2013718112525267.gif" /></p> <p>B.??????б??????&quot;NETWORK SERVICE&quot;,</p> <p><img alt="?????ó???????????????????" src="/upload/tech/UploadPic/2013-7/2013718112525212.gif" /></p> <p>C.?????豾???????????????????????<br /> <br /> <img alt="?????ó???????????????????" src="/upload/tech/UploadPic/2013-7/2013718112525217.gif" /></p> <p>????????????</p> [Linux??????]Centos6.0 x64?′?LAMP???? http://www.bqlbd.club//tech/4908.html www.bqlbd.club Linux?????? 2013/7/7 1:30:32 <p>????????Centos6.0 x64</p> <p>1??????LAMP???????????????????</p> <p>[root@centos6 ~]# rpm -q make gcc gcc-c++&nbsp;zlib-devel&nbsp;libaio</p> <p><span style="color: #ff0000">????????libpng??????zlib-devel</span></p> <p><span style="color: #ff0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;???mysql??????libaio</span></p> <p>2???????????yum???</p> <p>[root@centos6 ~]# yum install make gcc gcc-c++&nbsp;zlib-devel libaio -y</p> <p>3?????????????????????httpd??mysql??php??????????????ж??</p> <p>[root@centos6 ~]# rpm -q httpd mysql php</p> <p>4???????libxml2</p> <p>???libxml2?????xml??c????????????????????c??????????c++??php??Pascal??Ruby??Tcl????????</p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# tar -zxvf libxml2-2.7.8.tar.gz</p> <p>[root@centos6 LAMP]# cd ./libxml2-2.7.8</p> <p>[root@centos6 libxml2-2.7.8]# ./configure &nbsp;--prefix=/usr/local/libxml2/</p> <p>[root@centos6 libxml2-2.7.8]# make;make install</p> <p>5???????libmcrypt</p> <p>???libmcrypt???????????????DES, 3DES, RIJNDAEL, Twofish, IDEA, GOST, CAST-256, ARCFOUR, SERPENT, SAFER+??????</p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# tar -zxvf libmcrypt-2.5.8.tar.gz</p> <p>[root@centos6 LAMP]# cd ./libmcrypt-2.5.8</p> <p>[root@centos6 libmcrypt-2.5.8]# ./configure &nbsp;--prefix=/usr/local/libmcrypt/</p> <p>[root@centos6 libmcrypt-2.5.8]# make;make install</p> <p>6???????zlib</p> <p>???zlib??????????????????</p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# tar -zxvf zlib-1.2.5.tar.gz</p> <p>[root@centos6 LAMP]# cd ./zlib-1.2.5</p> <p>[root@centos6 zlib-1.2.5]# ./configure &nbsp;--prefix=/usr/local/zlib/</p> <p>[root@centos6 zlib-1.2.5]# make ; make install</p> <p>7???????libpng</p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# tar -zxvf libpng-1.5.4.tar.gz</p> <p>[root@centos6 LAMP]# cd ./libpng-1.5.4</p> <p>[root@centos6 libpng-1.5.4]#</p> <p>./configure --prefix=/usr/local/libpng/ &nbsp;--enable-shared</p> <p>[root@centos6 libpng-1.5.4]# make ; make install</p> <p>8???????jpeg</p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# tar -zxvf jpegsrc.v8c.tar.gz</p> <p>[root@centos6 LAMP]# cd ./jpeg-8c/</p> <p>[root@centos6 jpeg-8c]# mkdir /usr/local/jpeg/(????jpeg?????????)</p> <p>[root@centos6 jpeg-8c]# mkdir /usr/local/jpeg/bin/??????????????????</p> <p>[root@centos6 jpeg-8c]# mkdir /usr/local/jpeg/lib/??????jpeg?????????????</p> <p>[root@centos6 jpeg-8c]# mkdir /usr/local/jpeg/include/?????????????????</p> <p>[root@centos6 jpeg-8c]# mkdir -p /usr/local/jpeg/man/man1?????????????????</p> <p>[root@centos6 jpeg-8c]#</p> <p>&nbsp;./configure --prefix=/usr/local/jpeg/ --enable-shared --enable-static???????????????GNU??libtool??????????GNU??libtool??</p> <p>[root@centos6 jpeg-8c]# make ; make install</p> <p><strong>9???????freetype</strong></p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# tar -zxvf freetype-2.4.6.tar.gz</p> <p>[root@centos6 LAMP]# cd ./freetype-2.4.6</p> <p>[root@centos6 freetype-2.4.6]#</p> <p>&nbsp;./configure --prefix=/usr/local/freetype/ --enable-shared</p> <p>[root@centos6 freetype-2.4.6]# make ;make install</p> <p>10??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?????autoconf</p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# tar -zxvf autoconf-2.68.tar.gz</p> <p>[root@centos6 LAMP]# cd ./autoconf-2.68</p> <p>[root@centos6 autoconf-2.68]# ./configure</p> <p>[root@centos6 autoconf-2.68]# make ; make install</p> <p><strong>11??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?????GD</strong></p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# tar -zxvf gd-2.0.35.tar.gz</p> <p>[root@centos6 LAMP]# cd ./gd-2.0.35</p> <p>[root@centos6 gd-2.0.35]#</p> <p>&nbsp;./configure --prefix=/usr/local/gd/ --with-zlib=/usr/local/zlib/ --with-jpeg=/usr/local/jpeg/ --with-png=/usr/local/libpng/ --with-freetype=/usr/local/freetype/</p> <p>[root@centos6 gd-2.0.35]# make ; make install</p> <p><span style="color: #ff0000">12??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;???apache</span></p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# tar -zxvf httpd-2.2.19.tar.gz</p> <p>[root@centos6 LAMP]# cd ./httpd-2.2.19</p> <p>[root@centos6 httpd-2.2.19]#</p> <p>&nbsp;./configure --prefix=/usr/local/apache/ --enable-so --enable-rewrite</p> <p>[root@centos6 httpd-2.2.19]# make ; make install</p> <p>[root@centos6 LAMP]# /usr/local/apache/bin/apachectl start</p> <p>[root@centos6 LAMP]#</p> <p>cp /usr/local/apache/bin/apachectl /etc/init.d/httpd</p> <p>[root@centos6 LAMP]# chmod +x /etc/init.d/httpd</p> <p>[root@centos6 ~]# chkconfig --add httpd</p> <p>?????????service&nbsp;httpd&nbsp;does not support chkconfig????</p> <p>?????????/etc/rc.d/init.d/httpd?????????м???</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #chkconfig:2345&nbsp;10 90</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #description:Activates/Deactivates Apache Web Server</p> <p>[root@centos6 ~]# chkconfig --level 2345 httpd on</p> <p>[root@centos6 LAMP]# service httpd restart</p> <p>??????????apache????????????</p> <p>???/etc/rc.local???</p> <p># vim /etc/rc.local</p> <p>??????????/usr/local/apache/bin/apachectl start</p> <p><span style="color: #ff0000">13??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?????mysql</span></p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# tar -zxvf mysql-5.5.15-linux2.6-x86_64.tar.gz</p> <p>[root@centos6 LAMP]# cd ./mysql-5.5.15-linux2.6-x86_64</p> <p>[root@centos6 mysql-5.5.15-linux2.6-x86_64]# groupadd mysql</p> <p>[root@centos6 mysql-5.5.15-linux2.6-x86_64]# useradd -r -g mysql mysql??????mysql?????????????????mysql?飩</p> <p>[root@centos6 mysql-5.5.15-linux2.6-x86_64]# cd /usr/local/</p> <p>[root@centos6 local]# ln -s /tmp/LAMP/mysql-5.5.15-linux2.6-x86_64 mysql</p> <p>[root@centos6 local]# cd ./mysql/</p> <p>[root@centos6 mysql]# chown -R mysql .????????????????????????mysql?????</p> <p>[root@centos6 mysql]# chgrp -R mysql .?????????????????????mysql????飩</p> <p>[root@centos6 mysql]# ./scripts/mysql_install_db --user=mysql????mysql???????????????????mysql??</p> <p>[root@centos6 mysql]# chown -R root .</p> <p>[root@centos6 mysql]# chown -R mysql data</p> <p>[root@centos6 mysql]# cp support-files/my-medium.cnf &nbsp;/etc/my.cnf??????????μ????????????????????????£????????my.cnf??</p> <p>[root@centos6 mysql]# cp support-files/mysql.server &nbsp;/etc/init.d/mysqld</p> <p>[root@centos6 mysql]# chmod +x /etc/init.d/mysqld</p> <p>[root@centos6 mysql]# chkconfig --add mysqld</p> <p>[root@centos6 mysql]# chkconfig --level 345 mysqld on</p> <p>[root@centos6 mysql]# service&nbsp;mysqld restart</p> <p>[root@centos6 mysql]#</p> <p>&nbsp;/usr/local/mysql/bin/mysqladmin -u root password '123456'??????root??????mysql??????</p> <p>[root@centos6 mysql]# /usr/local/mysql/bin/mysql -u root &ndash;p??????????mysql?????</p> <p>Enter password:</p> <p>Welcome to the MySQL monitor.&nbsp;Commands end with ; or g.</p> <p>Your MySQL connection id is 2</p> <p>Server version: 5.5.15-log MySQL Community Server (GPL)</p> <p>Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.</p> <p>Oracle is a registered trademark of Oracle Corporation and/or its</p> <p>affiliates. Other names may be trademarks of their respective</p> <p>owners.</p> <p>Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.</p> <p>mysql&gt;????????mysql??</p> <p><strong>14??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?????php</strong></p> <p>[root@centos6 LAMP]# pwd</p> <p>/tmp/LAMP</p> <p>[root@centos6 LAMP]# [Web??????]nginx 301 302???????????y?? http://www.bqlbd.club//tech/4902.html www.bqlbd.club Web?????? 2013/6/30 23:17:31 <p>?????????????????????????nginx 301 302??????</p> <p>301????????</p> <p>server {<br /> listen 80;<br /> server_name downcc.com;<br /> rewrite ^/(.*) http://www.bqlbd.club/$1 permanent;<br /> access_log off;<br /> }</p> <p>302????????</p> <p>server {<br /> listen 80;<br /> server_name downcc.com;<br /> rewrite ^/(.*) http://www.bqlbd.club/$1 redirect;<br /> access_log off;<br /> }</p> <p>????1???nginx 301 302??????????????</p> <blockquote> <p>server {<br /> server_name downcc.com;<br /> rewrite ^/(.*) http://www.bqlbd.club/$1 permanent;<br /> }</p> </blockquote> <p>last &ndash; ????????????Flag??<br /> break &ndash; ???Rewirte????????????<br /> redirect &ndash; ?????????????HTTP??302<br /> permanent &ndash; ??????????????HTTP??301</p> <p>Nginx????????????Nginx??HttpRewriteModule???????????????????????????<br /> rewrite????</p> <p>nginx??rewrite????apache??rewriterule(?????????????????apache??rewrite?????????????????????)????????????server,location ??IF?????ж????,?????????£?<br /> rewrite ??????? ?滻??? flag???<br /> flag???????????????????<br /> last &ndash; ????????????Flag??<br /> break &ndash; ???Rewirte????????????<br /> redirect &ndash; ?????????????HTTP??302<br /> permanent &ndash; ??????????????HTTP??301</p> <p>??????</p> <p>last??break???????URL??д??????????????URL????????????????????????·????????仯??</p> <p>redirect??permanent???????URL??????????????????????????URL?????</p> <p><br /> ????????????趨nginx???????????????????????????,$2????????????(.*)?ж???????????<br /> location /download/ {<br /> rewrite ^(/download/.*)/m/(.*)\..*$ $1/nginx-rewrite/$2.gz break;<br /> }<br /> nginx??????IF?????ж?</p> <p>??server??location???????????????nginx??IF?????ж???????????????????<br /> ???????</p> <p>?磺<br /> ????ж?<br /> ~ ??????Сд???; !~??????Сд?????<br /> ~* ????????Сд???!~????????Сд?????<br /> ?????????趨nginx????????ie??????????/nginx-ie???£?<br /> if ($http_user_agent ~ MSIE) {<br /> rewrite ^(.*)$ /nginx-ie/$1 break;<br /> }<br /> ????????ж?<br /> -f??!-f?ж??????????<br /> -d??!-d?ж?????????<br /> -e??!-e?ж??????????????<br /> -x??!-x?ж???????????<br /> ?????????趨nginx????????????????????????<br /> if (!-e $request_filename) {<br /> proxy_pass http://127.0.0.1;<br /> }<br /> return</p> <p>????http????????????nginx????????<br /> location ~* \.(gif|jpg|png|swf|flv)$ {<br /> valid_referers none blocked www.bqlbd.club www.test1.com;<br /> if ($invalid_referer) {<br /> return 404;<br /> }<br /> }&nbsp;<wbr></wbr></p> [Web??????]?????Nginx???????????? http://www.bqlbd.club//tech/4878.html www.bqlbd.club Web?????? 2013/6/16 13:28:38 <p>?????????web???????????????????????????Ч????????nginx????????&ldquo;????? 50,000 ?????????????????&rdquo;??</p> <p>?к???Nginx???????.</p> <p>?????????????????????????</p> <p><span style="color: #ff0000"><strong>???????????У?locale ????£?????????en_US.UTF-8???????????????e????????????á???????????????????????2??????á?<br /> </strong></span></p> <h3>CentOS</h3> <p>??/etc/sysconfig/i18n ????????????????????????vi??nano??winscp??ι???????????????ζ???</p> <pre> LANG=&quot;en_US.UTF-8&quot; SYSFONT=&quot;latarcyrheb-sun16&quot;</pre> <p>???棬????????</p> <h3>Debian</h3> <pre> apt-get install -y locales dpkg-reconfigure locales</pre> <p>???dpkg-reconfigure locales??????????????</p> <p>?????μ????????en_US.UTF-8 UTF-8????????????????????</p> <p>???????????en_US.UTF-8??????????????????????</p> <h3>Ubuntu</h3> <p>??/etc/default/locale?????????????(??е?????????)??</p> <pre> LANG=&quot;en_US.UTF-8&quot; LANGUAGE=&quot;en_US:en&quot;</pre> <p>???棬????У?</p> <pre> locale-gen en_US en_US.UTF-8</pre> <p>????????</p> <p>??У?locale ?????????????en_US.UTF-8??????????????????????????????????úú?????????????????????????????????????</p> <p><br /> <strong>??nginx.conf??????????????????utf-8<br /> </strong>server {<br /> listen 80;<br /> server_name test.cn;<br /> root /data;<br /> index index.html index.jsp;<br /> charset utf-8;<br /> &hellip;&hellip;<br /> <br /> ay%PM'G+U0<br /> ??????????secureCRT?????????????utf-8????uft-8??????rz??????????ie???????????????????</p> <p><span style="color: #ff0000"><strong>???</strong></span></p> <p>??????????????gb2312??????????utf-8.(?????????????????????)?????convmv??????????????????????????????????? convmv-1.10-1.el5.noarch.rpm??convmv -fGBK -tUTF8 -r--notesttarget<br /> <br /> ????-f???????-t????????-r???鴦??????&ndash;notest????????????????????и?????actually do rename the files????target????????????????????ο?man????-h??</p> <p><strong>?????????и????????????????????úú????????????????????????????????????????????????????????????????????????for f in `ls *.html` ; do mv $f `ls $f|iconv -f GBK -t UTF-8`; done ??<br /> <br /> </strong>????*.html????????????????????????*.txt??*.rar ???????????????????????GBK?????????????????????????????????????????У?file -bi ????? ??<br /> <br /> ???????Windows???????????????Editplus??????????????????????????????????????д???????????????о?????<br /> <br /> ??????????????????????а??????????<br /> <br /> ????????????????html?????????????????????????????gb2312????????utf-8??????????????????charset ???charset=utf-8????????????????????????????????</p> <p>&nbsp;convmv ?????<a href="http://j3e.de/linux/convmv">http://j3e.de/linux/convmv</a>&nbsp;?????</p> <p style="text-align: left">&nbsp; wget <a href="http://j3e.de/linux/convmv/convmv-1.14.tar.gz">http://j3e.de/linux/convmv/convmv-1.14.tar.gz</a></p> <p>&nbsp; tar -zxvf convmv-1.14.tar.gz</p> <p>&nbsp; cd convmv-1.14</p> <p>&nbsp; make clean;</p> <p>&nbsp; make install;</p> <p style="text-align: left"><span style="font-size: 16px"><strong>&nbsp; ?磺</strong></span></p> <p style="text-align: left"><span style="font-size: 16px">&nbsp;</span>&nbsp;./convmv -f GB2312 -t UTF-8 -r --nosmart --notest userfiles/*.*</p> <p>&nbsp; ?????? userfiles?μ?????????????????GB2312????UTF-8</p> <p>&nbsp;&nbsp; ???????????????????????????iconv</p> [Web??????]Ubuntu 12.04 ??????? Tomcat 7.0.40Tomcat ?????? http://www.bqlbd.club//tech/4869.html www.bqlbd.club Web?????? 2013/5/30 20:38:36 <p>???????汾?????????????????????????????????Tomcat 7.0.40 Core????????http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.40/bin/apache-tomcat-7.0.40.tar.gz</p> <p>???????????????: ~</p> <p><strong>1??????????</strong></p> <p>tar &ndash;xzf apache-tomcat-7.0.40.tar.gz</p> <p>???apache-tomcat-7.0.40?????</p> <p>2?????????????????????</p> <p>mv apache-tomcat-7.0.40 tomcat</p> <p><strong>3??????/usr/local/</strong></p> <p>sudo mv tomcat /usr/local/</p> <p>4??????/usr/local/tomcat</p> <p>cd /usr/local/tomcat</p> <p>5???????????????????</p> <p>sudo chown -R root .</p> <p>sudo chgrp -R root .</p> <p><strong>6???????????</strong></p> <p>sudo su -</p> <p>vi /etc/profile</p> <p>???·?????<br /> CATALINA_HOME=/usr/local/tomcat</p> <p>export CATALINA_HOME</p> <p>???????</p> <p>??±???</p> <p>source /etc/profile<br /> &nbsp;</p> <p>7??????$CATALINA_HOME/bin</p> <p>cd $CATALINA_HOME/bin</p> <p><strong>8?????catalina.sh</strong></p> <p>vi catalina.sh , ???</p> <p># OS specific support.&nbsp; $var _must_ be set to either true or false.<br /> &nbsp;</p> <p>??????????????????CATALINA_HOME???JAVA_HOME??</p> <p>CATALINA_HOME=/usr/local/tomcat</p> <p>JAVA_HOME=/usr/local/java/jdk1.7.0_21</p> <p>???????<br /> &nbsp;</p> <p><strong>9?????root??????????????tomcat</strong></p> <p>logout</p> <p>sudo ./bin/startup.sh</p> <p>???????????????κ?????????????????</p> <p>Using CATALINA_BASE:&nbsp;&nbsp; /usr/local/tomcat<br /> Using CATALINA_HOME:&nbsp;&nbsp; /usr/local/tomcat<br /> Using CATALINA_TMPDIR: /usr/local/tomcat/temp<br /> Using JRE_HOME:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/java/jdk1.7.0_21<br /> Using CLASSPATH:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar<br /> &nbsp;</p> <p>10????tomcat?? sudo ./bin/shutdown.sh</p> <p><strong>11?????tomcat????</strong></p> <p>sudo cp bin/catalina.sh /etc/init.d/tomcat</p> <p>??????</p> <p>sudo service tomcat status</p> <p>?г??????????????????????????</p> <p>12????tomcat???????</p> <p>sudo update-rc.d &ndash;f tomcat defaults</p> <p>13??????????????????</p> <p>sudo service tomcat start</p> [Web??????]apache???????????????? http://www.bqlbd.club//tech/4852.html www.bqlbd.club Web?????? 2013/5/24 15:11:15 <p>??????????????????С????????apache??????????????????????ж?????????°??????????????</p> <p>??????С????????apache?????????????????????????????????°??????????а?????</p> <p>???????????????80????????????????????????????????????????80????????apache?????????</p> <p>???????????????????????????????????????????-&gt;TcpIp????-&gt;???-&gt;WINS??? ??netbios??lmhosts???????????tcp/ip??netbios. ??????????t???????</p> <p>?????????httpd.conf???????</p> <p>???apache?????????httpd.conf????????windows??????????????the requested operation has failed,????????????£????????????????</p> <p>????????????????????apache,???????????apache??????????????????????????????????????£? httpd.exe -w -n &quot;Apache2&quot; -k start</p> <p>?????????????????????????????????????????????????????????????netsh winsock reset ??cmd?????????????ù?????apache???????????</p> <p>??????С????????????????????а?????</p> [Web??????]Centos6.3??Apache??????????????https?????????? http://www.bqlbd.club//tech/4821.html www.bqlbd.club Web?????? 2013/5/6 22:01:39 <p>???????????Apache????????????????----https???????????</p> <p>1.DNS?????????????</p> <p>[root@localhost html]# nslookup www.bqlbd.club</p> <p>Server: &nbsp; &nbsp; &nbsp; &nbsp; 192.168.2.115</p> <p>Address: &nbsp; &nbsp; &nbsp; &nbsp;192.168.2.115#53</p> <p>Name: &nbsp; www.bqlbd.club</p> <p>Address: 192.168.2.115</p> <p><strong>2.???Apache SSL??????</strong>:# yum install -y mod_ssl ?????yum???httpd????а?????????????????????/etc/httpd/conf.d/ssl.conf?????????????顣</p> <p>[root@localhost certs]# pwd</p> <p>/etc/pki/tls/certs</p> <p>[root@localhost certs]# ls</p> <p>ca-bundle.crt &nbsp; &nbsp; &nbsp; &nbsp;index.html &nbsp; &nbsp; &nbsp;localhost.crt &nbsp; &nbsp;Makefile</p> <p>ca-bundle.trust.crt &nbsp;localhost1.crt &nbsp;make-dummy-cert</p> <p>[root@localhost certs]# openssl req -utf8 -new -key ../private/localhost.key -x509 -days 3650 -out&nbsp;abc_com.crt</p> <p>You are about to be asked to enter information that will be incorporated</p> <p>into your certificate request.</p> <p>What you are about to enter is what is called a Distinguished Name or a DN.</p> <p>There are quite a few fields but you can leave some blank</p> <p>For some fields there will be a default value,</p> <p>If you enter '.', the field will be left blank.</p> <p>-----</p> <p>Country Name (2 letter code) [XX]:CN</p> <p>State or Province Name (full name) []:510510</p> <p>Locality Name (eg, city) [Default City]:GZ</p> <p>Organization Name (eg, company) [Default Company Ltd]:ABC.COM</p> <p>Organizational Unit Name (eg, section) []:Mr.Zhang</p> <p>Common Name (eg, your name or your server's hostname) []:www.bqlbd.club</p> <p>Email Address []:root@abc.com</p> <p>[root@localhost certs]#</p> <p><strong>3.????Apache</strong>??????????????????????????????www.bqlbd.club???http??????????</p> <p>[root@localhost html]# tail -n 8 /etc/httpd/conf/httpd.conf</p> <p>NameVirtualhost 192.168.2.115:80</p> <p>&lt;VirtualHost&nbsp;www.bqlbd.club:80&gt;</p> <p>&nbsp; &nbsp; ServerAdmin webmaster@dummy-host.example.com</p> <p>&nbsp; &nbsp;&nbsp;DocumentRoot /var/www/html</p> <p>&nbsp; &nbsp; ServerName www.bqlbd.club</p> <p>&nbsp; &nbsp; ErrorLog logs/dummy-host.example.com-error_log</p> <p>&nbsp; &nbsp; CustomLog logs/dummy-host.example.com-access_log common</p> <p>&lt;/VirtualHost&gt;</p> <p>[root@localhost html]#&nbsp;tail /var/www/html/index.html &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p> <p>www.bqlbd.club</p> <p>[root@localhost html]#</p> <p><strong>4.????Apache???https????www.bqlbd.club???</strong>????&nbsp;vim /etc/httpd/conf.d/ssl.conf&nbsp;????????www.bqlbd.club???https?????????????????????????á?</p> <p>&lt;VirtualHost www.bqlbd.club:443&gt;</p> <p>DocumentRoot &quot;/var/www/html/www.kuteatest.net&quot; &nbsp; &nbsp;#//??????Ч???????????????????????????????????????????????</p> <p>ServerName www.bqlbd.club:443</p> <p>ErrorLog logs/ssl_error_log</p> <p>TransferLog logs/ssl_access_log</p> <p>LogLevel warn</p> <p>SSLEngine on</p> <p>SSLProtocol all -SSLv2</p> <p>SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW</p> <p>SSLCertificateFile /etc/pki/tls/certs/abc_com.crt</p> <p>SSLCertificateKeyFile /etc/pki/tls/private/localhost.key</p> <p>&lt;Files ~ &quot;\.(cgi|shtml|phtml|php3?)$&quot;&gt;</p> <p>&nbsp; &nbsp; SSLOptions +StdEnvVars</p> <p>&lt;/Files&gt;</p> <p>&lt;Directory &quot;/var/www/cgi-bin&quot;&gt;</p> <p>&nbsp; &nbsp; SSLOptions +StdEnvVars</p> <p>&lt;/Directory&gt;</p> <p>SetEnvIf User-Agent &quot;.*MSIE.*&quot; \</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nokeepalive ssl-unclean-shutdown \</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;downgrade-1.0 force-response-1.0</p> <p>CustomLog logs/ssl_request_log \</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \&quot;%r\&quot; %b&quot;</p> <p>&lt;/VirtualHost&gt;</p> <p><strong>5.????Apache????</strong>??????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/20135622311376.png" /></p> <p>????http???????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/20135622312448.png" /></p> <p>????https???????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/20135622312643.png" /></p> <p>?????????????crt??????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/20135622312464.png" /></p> <p><strong>https???????????</strong></p> [Linux??????]CentOS 6.4???±????LNMP??????PHP???? http://www.bqlbd.club//tech/4817.html www.bqlbd.club Linux?????? 2013/5/1 21:32:30 <p><strong>??????????</strong></p> <p>??pkgs.org????rmpforge??rpmforge???????????yum???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351213322505.png" /></p> <p>????????汾????????</p> <pre> // ???????????yum list ?? ?????? [root@pangou Desktop]# yum clean all Loaded plugins: fastestmirror, refresh-packagekit, security Cleaning repos: base extras rpmforge updates Cleaning up Everything Cleaning up list of fastest mirrors [root@pangou Desktop]# yum -y list Loaded plugins: fastestmirror, refresh-packagekit, security Determining fastest mirrors // ......</pre> <p>ж????????apache?????php<br /> &nbsp;</p> <pre> [root@pangou Desktop]# yum remove httpd php*</pre> <p>???development Tools&nbsp;</p> <pre> [root@pangou Desktop]# yum -y groupinstall &quot;Development Tools&quot;</pre> <p><strong>???????nginx</strong></p> <p>????nginx????????nginx?????????</p> <pre> [root@pangou Downloads]# mkdir nginx [root@pangou Downloads]# cd nginx/ [root@pangou nginx]# pwd /root/Downloads/nginx [root@pangou nginx]# wget http://nginx.org/download/nginx-1.4.0.tar.gz --2013-04-30 23:13:44-- http://nginx.org/download/nginx-1.4.0.tar.gz Resolving nginx.org... 206.251.255.63 Connecting to nginx.org|206.251.255.63|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 773451 (755K) [application/octet-stream] Saving to: &ldquo;nginx-1.4.0.tar.gz&rdquo; 100%[============================================================================================================================&gt;] 773,451 184K/s in 4.5s 2013-04-30 23:13:48 (166 KB/s) - &ldquo;nginx-1.4.0.tar.gz&rdquo; saved [773451/773451]</pre> <p>&nbsp; [root@pangou nginx]# ls<br /> &nbsp; nginx-1.4.0.tar.gz<br /> &nbsp; [root@pangou nginx]# tar -zxvf nginx-1.4.0.tar.gz</p> <p>&nbsp; [root@pangou nginx]# ls<br /> &nbsp; nginx-1.4.0 nginx-1.4.0.tar.gz</p> <p>?????nginx</p> <pre> // ???? ???·??/opt/nginx [root@pangou nginx-1.4.0]# ./configure --prefix=/opt/nginx/</pre> <p>???????????????磺</p> <pre> ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre=&lt;path&gt; option.</pre> <p>??????yum???н?????????</p> <pre> [root@pangou nginx-1.4.0]# yum install pcre pcre-devel</pre> <p>???????????????</p> <pre> // ???? ???·??/opt/nginx [root@pangou nginx-1.4.0]# ./configure --prefix=/opt/nginx/ // ???????? [root@pangou nginx-1.4.0]# make &amp;&amp; make install // ???????</pre> <p><strong>???nginx????</strong></p> <pre> [root@pangou nginx]# cd /opt/nginx/sbin/ [root@pangou sbin]# ./nginx </pre> <p>????127.0.0.1</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351213323129.png" /></p> <p>????????????</p> <p><strong>???????php</strong></p> <p>?????????php??????php?????????</p> <pre> [root@pangou nginx-1.4.0]# cd /root/Downloads/ [root@pangou Downloads]# mkdir php [root@pangou Downloads]# cd php/ [root@pangou php]# pwd /root/Downloads/php // ???? [root@pangou php]# wget http://cn2.php.net/get/php-5.4.14.tar.gz/from/this/mirror // ??? [root@pangou php]# tar -zxvf php-5.4.14.tar.gz </pre> <p>?????????</p> <pre> [root@pangou php]# yum install -y libxml2-devel libjpeg-devel libpng-devel freetype-devel openssl-devel libcurl-devel libmcrypt-devel</pre> <p>????php</p> <pre> [root@pangou php]# ls php-5.4.14 php-5.4.14.tar.gz [root@pangou php]# cd php-5.4.14 [root@pangou php-5.4.14]# pwd /root/Downloads/php/php-5.4.14 [root@pangou php-5.4.14]# ls acinclude.m4 CREDITS ltmain.sh NEWS README.MAILINGLIST_RULES README.TESTING stamp-h.in aclocal.m4 ext main pear README.namespaces README.TESTING2 stub.c build EXTENSIONS makedist php5.spec.in README.NEW-OUTPUT-API README.UNIX-BUILD-SYSTEM svnclean.bat buildconf footer Makefile.frag php.gif README.PARAMETER_PARSING_API README.WIN32-BUILD-SYSTEM tests buildconf.bat generated_lists Makefile.gcov php.ini-development README.PHP4-TO-PHP5-THIN-CHANGES run-tests.php TSRM CODING_STANDARDS genfiles Makefile.global php.ini-production README.REDIST.BINS sapi UPGRADING config.guess header makerpm README.EXTENSIONS README.RELEASE_PROCESS scripts UPGRADING.INTERNALS config.sub INSTALL missing README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS server-tests-config.php vcsclean configure install-sh mkinstalldirs README.GIT-RULES README.STREAMS server-tests.php win32 configure.in LICENSE netware README.input_filter README.SUBMITTING_PATCH snapshot Zend [root@pangou php-5.4.14]# ./configure --prefix=/opt/php --with-config-file-path=/opt/php/etc --with-mysql=/usr/ --with-mysqli=/usr/bin/mysql_config --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --with-mime-magic // ???????????е??????? // ??????????? [root@pangou php-5.4.14]# make &amp;&amp; make install // ???????????</pre> <p>????????php??λ?t??????/opt/php???£??????????????</p> <pre> // ????????????????????? [root@pangou php-5.4.14]# cp /root/Downloads/php/php-5.4.14/php.ini-production /opt/php/etc/php.ini [root@pangou php-5.4.14]# cp /opt/php/etc/php-fpm.conf.default /opt/php/etc/php-fpm.conf [root@pangou php-5.4.14]# cd /opt/php/etc/ [root@pangou etc]# ls php-fpm.conf php-fpm.conf.default php.ini // ???????nginx??????????????????????php [root@pangou etc]# cd /opt/nginx/conf/ [root@pangou conf]# ls fastcgi.conf fastcgi_params koi-utf mime.types nginx.conf scgi_params uwsgi_params win-utf fastcgi.conf.default fastcgi_params.default koi-win mime.types.default nginx.conf.default scgi_params.default uwsgi_params.default [root@pangou conf]# vim nginx.conf 1????? #user nobody; ??#??? ??? user nobody; 2????? #location ~ \.php$ { # root html; # fastcgi_pass 127.0.0.1:9000; # fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; # include fastcgi_params; #} ????#??? ????? fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; ? fastcgi_param SCRIPT_FILENAME /opt/nginx/html$fastcgi_script_name; ???????????????? location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /opt/nginx/html$fastcgi_script_name; include fastcgi_params; }</pre> <p>????nginx??????????php-fpm</p> <pre> [root@pango [Web??????]win2008 iis7????????????????? http://www.bqlbd.club//tech/4809.html www.bqlbd.club Web?????? 2013/4/29 16:55:52 <p>????????????????????????????????2003?????????2008????64λ?ó??????????WEB????????????????????????????????????????????????????????????</p> <p>?????????IIs?????????????????????????IIs6???????????????????iis7?????????????С????????С??????????</p> <p>1???????????????????????????????????&nbsp;<span style="color: #ff0000"> &ldquo;??????????&rdquo; ???????</span></p> <p style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-4/201342916570305.png" /></p> <p>?????????????&ldquo;?????????&rdquo;????&ldquo;???&rdquo;?????????????</p> <p style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-4/201342916570449.png" /></p> <p>?????????????? asp????????????</p> <p>?????????????????? html??????????????????</p> [Web??????]Windows Server 2008 IIS 7 503?????????? http://www.bqlbd.club//tech/4808.html www.bqlbd.club Web?????? 2013/4/29 16:53:47 <p>windows 2008 R2 ???????????????? 503?????????</p> <p>Error Summary:<br /> <br /> HTTP Error 503.2 - Service Unavailable<br /> The serverRuntime@appConcurrentRequestLimit setting is being exceeded.<br /> <br /> Detailed Error Information:<br /> <br /> Module IIS Web Core<br /> Notification BeginRequest<br /> Handler StaticFile<br /> <br /> Error Code 0x00000000<br /> <br /> ???????????????????????????????????5000?????????????????????????????????????5000???????????????????<br /> <br /> ????????????????????????????????????????÷????????????????10?????????<br /> <br /> ???????????£?<br /> <br /> 1. ????IIS 7??ó??????г???<br /> <br /> ??????????1000???65535??<br /> <br /> IIS Manager &gt; ApplicationPools &gt; Advanced Settings<br /> <br /> Queue Length : 65535<br /> <br /> 2. ????IIS 7??appConcurrentRequestLimit????<br /> <br /> ??????????5000???100000??<br /> <br /> c:\windows\system32\inetsrv\appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:100000<br /> <br /> ??%systemroot%\System32\inetsrv\config\applicationHost.config?п?????????????<br /> <br /> 3. ????machine.config?е?processModel&gt;requestQueueLimit??????<br /> <br /> ??????????5000???100000??<br /> <br /> ???????<br /> <br /> ?ο????£?http://technet.microsoft.com/en-us/library/dd425294(office.13).aspx<br /> <br /> 4. ????????????IIS 7??????TCPIP??????<br /> <br /> ??????????5000???100000??<br /> <br /> reg add HKLM\System\CurrentControlSet\Services\HTTP\Parameters /v MaxConnections /t REG_DWORD /d 100000<br /> <br /> ???????4???????????????10????????????????????????????????????á?</p> [Web??????]APACHE???.htaccess???? http://www.bqlbd.club//tech/4752.html www.bqlbd.club Web?????? 2013/4/9 9:14:40 <p>?????????????APACHE?????????&quot;.htaccess&quot;????????????????apache??httpd.conf???t??????APACHE???.htaccess??,??????????</p> <p>??httpd.conf???(??????? APACHE????CONF??????),?????????????,????</p> <pre><ol ><li ><span><span >&lt;</span><span >Directory</span><span>&nbsp;</span><span >/&gt;</span><span>&nbsp;</span></span></li><li><span>????Options&nbsp;FollowSymLinks&nbsp;</span></li><li ><span>????AllowOverride&nbsp;None&nbsp;</span></li><li><span><span >&lt;/</span><span >Directory</span><span >&gt;</span><span>&nbsp;</span></span></li></ol></pre> <p>???</p> <pre><ol ><li ><span><span >&lt;</span><span >Directory</span><span>&nbsp;</span><span >/&gt;</span><span>&nbsp;</span></span></li><li><span>????Options&nbsp;FollowSymLinks&nbsp;</span></li><li ><span>????AllowOverride&nbsp;All&nbsp;</span></li><li><span><span >&lt;/</span><span >Directory</span><span >&gt;</span><span>&nbsp;</span></span></li></ol></pre> <p>???????</p> [Web??????]Apache????php??????????????? http://www.bqlbd.club//tech/4751.html www.bqlbd.club Web?????? 2013/4/9 9:05:25 <p>??????????????д???????????php?????URL???????????????????д????????????????????д???????????php???????д??php????????????Ч??RewriteEngineOn</p> <p>RewriteRule^test$/test.php[L]</p> <p>RewriteRule^test.php$$0[F,L]</p> <center> <div><img border="0" alt="" width="532" height="179" style="cursor: pointer" src="/upload/tech/UploadPic/2013-4/2013499632258.jpg" />&nbsp;</div> </center> <p>????????????£?????????/test?????URL??д?????Σ???????^test$??????????/test.php??????????????????URL??д???????μ?飬???^test.php$??????????[F]??Forbidden?????????????????403??????????????????????????????????????????????????????????и?REDIRECT_URL?????????????????????????ж??</p> <p>RewriteEngineOn</p> <p>RewriteRule^test$/test.php[L]</p> <p>RewriteCond%{REDIRECT_URL}^$</p> <p>RewriteRule.*$0[F,L]????д????/test?????403?????????£?????RewriteCond??%{REDIRECT_URL}???????????????????????????д??????????????php???????????ò???????????????????????php???????ж?REDIRECT_URL????????????????????????о?????????????????????????????</p> <p>$_SERVER['REDIRECT_URL']ordie('Forbidden');</p> <p>//???????????????????????????????????HTTP???????</p> <p>echo$_SERVER['REDIRECT_URL'];//?????????????</p> <p>?&gt;</p> <div><img border="0" alt="" width="405" height="331" style="cursor: pointer" src="/upload/tech/UploadPic/2013-4/2013499633199.jpg" /></div> <p>?????PHP??????????????????????????????????????????????????????????????????????????????????????</p> [Web??????]win2008 iis7 ??????? ??С????????????????????? http://www.bqlbd.club//tech/4745.html www.bqlbd.club Web?????? 2013/4/4 23:10:26 <p>win2003?е?iis6???????????н????????????????????&ldquo;?????&rdquo;?????????????????win2008??iis7???????????????ó?????????????????????£?</p> <p>1??????????????????&ldquo;???????&rdquo;?е?&ldquo;??????????&rdquo;???????</p> <p><img alt="win2008 iis7 ??????? ???&ldquo;?????&rdquo;?????????????" src="/upload/tech/UploadPic/2013-4/201344231152917.jpg" /></p> <p>2??????????????????&ldquo;?????????&rdquo;????????&ldquo;?????????&rdquo;???????</p> <p><img alt="win2008 iis7 ??????? ???&ldquo;?????&rdquo;?????????????" src="/upload/tech/UploadPic/2013-4/201344231152167.jpg" /></p> <p>3????&ldquo;???&rdquo;?????????????????????????????????&ldquo;web.config&rdquo;????????</p> <p><img alt="win2008 iis7 ??????? ???&ldquo;?????&rdquo;?????????????" src="/upload/tech/UploadPic/2013-4/201344231152786.jpg" /></p> <p>????????????????ú????</p> <p>???????????д???????????</p> <p>??????????</p> <p>1???п????????????д?????????д????????.</p> <p>2????????????????ntfs???????????????????????????web.config??????ɡ?</p> <p>???渽??web.config???????</p> <p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br /> &lt;configuration&gt;<br /> &nbsp;&nbsp;&nbsp; &lt;system.webServer&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;handlers accessPolicy=&quot;Read&quot; /&gt;<br /> &nbsp;&nbsp;&nbsp; &lt;/system.webServer&gt;<br /> &lt;/configuration&gt;</p> <p>???????????????????&ldquo;&lt;handlers accessPolicy=&quot;Read&quot; /&gt;&rdquo;??????????н???? accessPolicy=&quot;Read, Script&quot;??????????accessPolicy=&quot;Read, Execute, Script&quot;&nbsp;??</p> <p>??????????????????????????????д???&nbsp;</p> [Web??????]Tomcat??????????????÷?????? http://www.bqlbd.club//tech/4740.html www.bqlbd.club Web?????? 2013/4/4 20:42:15 <p>??????????????????????????????,?????????????ó????????????????.??????????????????????????????ó???????????????,???????????????,?????????????????????????????.</p> <p>????????????????,?????????????????,????????ó???????????????е??????????,??????????????????;????????????????????????????????????????????????????????????????????????,??????????????????????????????.</p> <p>????????????????????????????????????????????????????,??Щ????????????????????С??????????????趨??,??????Щ???????????????,????????????????????????????????,????ó?????????????????????????????????????,??Щ???????????????????.</p> <p><strong>?????????????С???????????????????????</strong>?????????м???????:</p> <p>1.??С?????????????????????????????,?????????ó???????????????????????,?????д??????????????????????.</p> <p>2.??????????????????????????????,??????????????????????,?????????????????????????????????,??????????????????</p> <p>?????С???????????????????????,?????????????????????,???????С?????????????????????????????μ??????????,????,??ЩС????С??????????????????????????????????,???????????????е?????????????г???????.</p> <p>???????Tomcat?汾?6.0</p> <p><strong>?????:&nbsp;??Tomcat??conf/context.xml??????<br /> </strong>??Tomcat\apache-tomcat-6.0.33\conf???μ?context.xml?????????????????:</p> <pre> &lt;?xml version='1.0' encoding='utf-8'?&gt; &lt;Context&gt; &lt;WatchedResource&gt;WEB-INF/web.xml&lt;/WatchedResource&gt; &lt;/Context&gt;</pre> <p><strong>??????????</strong></p> <p>&lt;?xml version='1.0' encoding='utf-8'?&gt;<br /> &nbsp;</p> <pre> &lt;Context&gt; &lt;WatchedResource&gt;WEB-INF/web.xml&lt;/WatchedResource&gt; &lt;!--????oracle???????????--&gt; &lt;Resource name=&quot;jdbc/oracleds&quot; author=&quot;Container&quot; type=&quot;javax.sql.DataSource&quot; maxActive=&quot;100&quot; maxIdle=&quot;30&quot; maxWait=&quot;10000&quot; username=&quot;scott&quot; password=&quot;tiger&quot; driverClassName=&quot;oracle.jdbc.dirver.OracleDriver&quot; url=&quot;jdbc:oracle:thin:@127.0.0.1:1521:ora9&quot; /&gt; &lt;!--????mysql???????????, ???????????????mysql??Java????????tomcat??lib???? maxIdle ??????????????maxIdle?????? minIdle ??????????????maxIdle?????? initialSize ???????????? maxWait ????????????????,?μ??????????,???? username ?????????? password ????????? --&gt; &lt;Resource name=&quot;jdbc/mysqlds&quot; auth=&quot;Container&quot; type=&quot;javax.sql.DataSource&quot; username=&quot;root&quot; password=&quot;root&quot; maxIdle=&quot;30&quot; maxWait=&quot;10000&quot; maxActive=&quot;100&quot; driverClassName=&quot;com.mysql.jdbc.Driver&quot; url=&quot;jdbc:mysql://127.0.0.1:3306/db_blog&quot; /&gt; &lt;/Context&gt;</pre> <p>???úú????????<strong>????????</strong><br /> &nbsp;</p> <p>1.???????????????????tomcat??lib??????</p> <p>2.???????tomcat??????,????????Ч</p> <p>??web??ó????web.xml????????????ο?,???£?</p> <p>??&lt;web-app&gt;&lt;/web-app&gt;????м???????????</p> <p>&lt;resource-ref&gt;<br /> &nbsp;</p> <pre> &lt;description&gt;mysql??????????&lt;/description&gt; &lt;!-- ?ο??????????,?Tomcat???????Resource?????name?????&quot;jdbc/mysqlds&quot;??? --&gt; &lt;res-ref-name&gt;jdbc/mysqlds&lt;/res-ref-name&gt; &lt;!-- ??????? --&gt; &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt; &lt;res-auth&gt;Container&lt;/res-auth&gt; &lt;res-sharing-scope&gt;Shareable&lt;/res-sharing-scope&gt; &lt;/resource-ref&gt;</pre> <p><strong>????????</strong><br /> &nbsp;</p> <p>javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial<br /> &nbsp;</p> <pre> at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.iblog.util.DBPoolUtil.&lt;clinit&gt;(DBPoolUtil.java:34)</pre> <p><strong>???????:</strong><br /> &nbsp;</p> <p>?????????????????????JNDI??г????????</p> <p>??????????????????</p> <p>1.??????????????????????????URL??????????2.?????????????????3.?????Tomcat??conf/server.xml???????????????useNaming=&quot;false&quot;???????????</p> <p>2.????????main?????????,?????????????????????????,???????????Tomcat?в????????????????.[??????????????????????????????]</p> <p>&lt;%@ page language=&quot;java&quot; pageEncoding=&quot;UTF-8&quot; contentType=&quot;text/html; charset=UTF-8&quot;%&gt; &nbsp; &nbsp;&nbsp;<br /> &nbsp;</p> <pre> &lt;%@ page import=&quot;java.sql.*&quot; %&gt; &lt;%@ page import=&quot;javax.naming.*&quot; %&gt; &lt;%@ page import=&quot;javax.sql.DataSource&quot; %&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Tomcat6.0 JNDI!&lt;/title&gt; &lt;/head&gt; &lt;body&gt; Tomcat????????,???????? &lt;br&gt; &lt;% try { //???????????????? Context ctx = new InitialContext(); //????java:/comp/env????·?? Context envContext = (Context)ctx.lookup(&quot;java:/comp/env&quot;); //????jdbc/mysqlds????????JNDI???????? DataSource ds = (DataSource)envContext.lookup(&quot;jdbc/mysqlds&quot;); Connection conn = ds.getConnection(); conn.close(); out.println(&quot;&lt;span style='color:red;'&gt;JNDI??????&lt;span&gt;&quot;); } catch (NamingException e) { e.printStackTrace(); } catch (SQLException e) { e.printStackTrace(); } %&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p><strong>????Ч??:</strong><br /> &nbsp;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-4/20134420453304.png" /></p> <p><strong>??????:??Tomcat??conf/server.xml??????</strong></p> <p>??tomcat??conf/server.xml???,???&lt;GlobalNamingResources&gt;&lt;/GlobalNamingResources&gt;???,????????????</p> <p>&lt;GlobalNamingResources&gt;<br /> &nbsp;</p> <pre> &lt;Resource name=&quot;UserDatabase&quot; auth=&quot;Container&quot; type=&quot;org.apache.catalina.UserDatabase&quot; description=&quot;User database that can be updated and saved&quot; factory=&quot;org.apache.catalina.users.MemoryUserDatabaseFactory&quot; pathname=&quot;conf/tomcat-users.xml&quot; /&gt; &lt;/GlobalNamingResources&gt;</pre> <p>??y???м???????????????,????<br /> &nbsp;</p> <p>&nbsp; &lt;GlobalNamingResources&gt;<br /> &nbsp;</p> <pre> &lt;Resource name=&quot;UserDatabase&quot; auth=&quot;Container&quot; type=&quot;org.apache.catalina.UserDatabase&quot; description=&quot;User database that can be updated and saved&quot; factory=&quot;org.apache.catalina.users.MemoryUserDatabaseFactory&quot; pathname=&quot;conf/tomcat-users.xml&quot; /&gt; &lt;!--????mysql???????????, ???????????????mysql??Java????????tomcat??lib???? --&gt; &lt;Reso [Web??????]Ubuntu??Nginx????????????y?? http://www.bqlbd.club//tech/4736.html www.bqlbd.club Web?????? 2013/4/2 11:53:17 <p>Nginx????????????????HTTP?????????????????????HTTP????????????????????????IMAP/POP3/SMTP ???????????</p> <p><strong>1.??PHP???</strong></p> <p>??????web ????????PHP???????????????</p> <p>??1?????web ????????????????????????Apache??mod_php5???????Apache?????mod_perl?????perl????</p> <p>??2?????CGI???????????????perl??CGI?????????????????????????η???????????Щ????????????????????????????н???????????????????????????????????????÷??漸????????????</p> <p>??3?????3?????????FastCGI????νFastCGI?????CGI??????????????C/S?????????????????????????????daemon????????web ??????????????????????????FastCGI?????????У???????????(????html)????????????</p> <p><strong>1.1 Apache+mod_php??</strong></p> <p>??????????????t????Apache+mod_php??</p> <p>Apache??PHP??????????Apache??????????????????????????PHP???????????Apache???PHP?????</p> <p>??./configure??????????--with-apxs2=/usr/local/apache2/bin/apxs ???????????????Apache??mod_php5/apxs????</p> <p>??PHP5???????????????????make install??????????????????????libphp5.so??????apache2????????modules??</p> <p>?£???????????httpd.conf????????????LoadModule??????????libphp5.so ?????????????????Apache??php??????</p> <p><strong>1.2 Nginx+FastCGI??</strong></p> <p>Nginx?????????????????????????????FastCGI????????????PHP???н???????????????????Nginx???????????????</p> <p>???κε???????????????????????????????PHP?????(??nginx.conf?к?????????)??</p> <p>Nginx???????spwan-fcgi????????汾????????lighttpd????????9.10?汾????????spawn-fcgi????????????????μ?</p> <p>????????PHP??FastCGI????????????PHP-FPM??????????????????????spawn-fcgi????PHP????????</p> <p><strong>1.3???FastCGI</strong></p> <p>/usr/bin/spawn-fcgi???????????? FastCGI?????????lighttpd????????棬?? 9.10 ??spawn-fcgi ??????????????????</p> <p>??1?????apt-get?????????????£?</p> <p>$sudo apt-get install spawn-fcgi</p> <p>??2???????????£??????????</p> <p>http://www.lighttpd.net/download/spawn-fcgi-1.6.3.tar.gz</p> <p>??????????????????????°??????</p> <p>$./configure</p> <p>$make</p> <p>$make install</p> <p>??????spawn-fcgi??????????????????????????????/usr/local/bin/spawn-fcgi??</p> <p><strong>2.Nginx???</strong></p> <p><span style="color: #ff0000">2.1???Nginx</span></p> <p>??1????????</p> <p>$sudo apt-get install nginx</p> <p>Nginx??汾??1.2.1</p> <p>ubuntu???Nginx????????????????</p> <p>???е????????????/etc/nginx?£???????????????????????????/etc/nginx/sites-available??</p> <p>????????????/usr/sbin/nginx</p> <p>?????????/var/log/nginx?У??????access.log??error.log</p> <p>???????/etc/init.d/?′???????????nginx</p> <p>????????????????????????/usr/share/nginx/www</p> <p>??2????????</p> <p>????????http://nginx.org/download/</p> <p>????????????? nginx-1.3.9.tar.gz????????????????£?</p> <p>$./configure</p> <p>$make</p> <p>$make install</p> <p>?????????nginx??????/usr/local/nginx???£??????????????conf???μ?nginx.conf??nginx??????????sbin??</p> <p>?μ?nginx?????</p> <p><strong>2.2???Nginx</strong></p> <p>??1?????????????????</p> <p>$sudo /etc/init.d/nginx start</p> <p>??2?????????????????</p> <p>$cd /usr/local/nginx</p> <p>$sbin/nginx</p> <p>?????????????http://localhost/?? ??????????????????????????????????????????????????????</p> <p>????????????????Apache?????????????????????????????nginx????????????????????????????????80???????????????nginx????????8080????????????nginx?????????nginx.conf????????????</p> <p>listen 80;</p> <p>????</p> <p>listen 8080;</p> <p>?????????????http://localhost:8080/??</p> <p>23???PHP??MySQL</p> <p>$sudo apt-get install php5-cliphp5-cgimysql-server php5-mysql</p> <p>2.4????Nginx??PHP?????</p> <p>??1?????????nginx:</p> <p>$/etc/init.d/nginx restart</p> <p>??2?????FastCGI:</p> <p>$spawn-fcgi -a 127.0.0.1 -p 9000 -C 10 -u www-data -f /usr/bin/php-cgi</p> <p>spawn-fcgi???????????????php-cgi???????????е???????php5-cgi??</p> <p>$sudo apt-get install php5-cgi</p> <p>??3??????</p> <p>??http://localhost/phpinfo.php</p> <p><strong>3.Nginx????</strong></p> <p>Nginx???????????/etc/nginx/nginx.conf?????????????Щ??????????????????????????????</p> <p>include /etc/nginx/sites-enabled/*</p> <p>???????/etc/nginx/sites-enabled/default??????????????????????????а???????????????????????????????????????????location?????server?????</p> <p>????????????nginx??????????/usr/local/nginx/conf/nginx.conf??</p> <p><strong>??????????location????????</strong></p> <p>??1??= ?????????????????????????????????????</p> <p>??2????μ????????????????????????á????????????? ^~ ????????????</p> <p>??3??????????????????????????????????????á?</p> <p>??4???????????????????????????????????????????????????</p> <p>??location?п?????ó???????????????????</p> <p>??????????????????????????1???</p> <p>??1??~* ??????????Сд?????</p> <p>??2??~ ????????Сд?????</p> <p>?????</p> <p>location = / {</p> <p>????????# ???? / ?????</p> <p>????????[ configuration A ]<br /> }</p> <p>????location / {</p> <p>????????# ????κβ????????????????? / ?????</p> <p># ???????????????????????????????????</p> <p>????????[ configuration B ]</p> <p>????}</p> <p>????location ^~ /images/ {</p> <p>????????# ????κ??? /images/ ??????κβ??????????????</p> <p># ?κ???????????????????</p> <p>????????[ configuration C ]</p> <p>????}</p> <p>????location ~* \.(gif|jpg|jpeg)$ {</p> <p># ????κ??? gif??jpg ?? jpeg ??β??????</p> <p># ??????? /images/ ??????????? Configuration C??</p> <p>??????[ configuration D ]</p> <p>????}</p> <p>??????????????????????????????</p> [Linux??????]CentOS 6.5??????VNC????????????????????? http://www.bqlbd.club//tech/4730.html www.bqlbd.club Linux?????? 2013/3/31 12:54:04 <p>????????????·????????????????VNC????<strong>??????????????VNC??????????</strong>??</p> <pre> rpm -qa | grep vnc</pre> <p>?????????????????????????????????????????κ???????????????а??vnc????</p> <p>tigervnc-1.1.0-5.el6.i686</p> <p>tigervnc-server-1.1.0-5.el6.i686</p> <p>???<strong>??а??vnc?????????????????а??</strong>??</p> <pre> yum install tigervnc tigervnc-server</pre> <p>???????????????????????????</p> <p><strong>??????????????????????</strong></p> <pre> vi /etc/sysconfig/vncservers</pre> <p>??????????????????????????????????????????????????????????????????治?????????????????????????????????????????</p> <p>VNCSERVERS=&quot;1:root&quot;<br /> VNCSERVERARGS[1]=&quot;-geometry 800x600&quot;</p> <p>??????????????????????????????ο?????<br /> #????????????????????????????????????????????VNCSERVERS=&quot;1:user1 2:user2&quot; ????<br /> ????????????????£?1:user1???5901??2:user2???5902(VNC?????????????5900?????????????590+usernumber)??????<br /> VNCSERVERS=&quot;usernumber:myusername&quot;&nbsp;<br /> #????????????????????????????е?&ldquo;1&rdquo;????????800x600???????-nolisten tcp????tcp????-localhost??????????????<br /> VNCSERVERARGS[1]=&quot;-geometry 800x600 -nolisten tcp -localhost&quot;<br /> ????????http???????????????????<br /> VNCSERVERARGS[1]=&quot;-geometry 800x600 -nolisten tcp -nohttpd -localhost&quot;</p> <p><strong>?????????????vnc????????</strong>????????su ?л????????vnc??????????????磺su user1??????user1???????????????????д??????</p> <pre> vncpasswd</pre> <p>???ú???????????????VNC??????????VNC??????????????su user1??user1???????????????????д???????л??????????????????????????????DirectSpace????????VNC????????????????&ldquo;10061????&rdquo;????????ssh????????????????????</p> <pre> vncserver</pre> <p>????????????<strong>????VNC????????????????</strong></p> <pre> service vncserver restart</pre> <p>??VNC????????????????????</p> <pre> chkconfig vncserver on</pre> <p>???Щminimal?????????????????????????????????????????yum -y install fontforge</p> <p><strong>?????????</strong></p> <p>???????????servers vncserver start?????????????????????????????????/etc/rc.d/init.d????????vncserver??????????</p> <p>??????????netstat -nat?????????(????5901,5902,5903??)?????????????????????????ù????????????tcp???????</p> <p>?ο??????iptables -I INPUT 1 -p tcp --dport 5901 -j ACCEPT??????-I INPUT 1???????????????????????λ????1???????????iptables????????</p> <p><span style="color: #ff0000">???????????????????</span></p> <p>starting vnc server :</p> <p>WARNING: the first attempt to star Xvnc failed,possibly because the font catalog is not properly configured, attempting to determine an appropriate font path for this system and restart Xvnc using that font path ...</p> <p>???????????????·???????????</p> <p><strong>????????????????</strong>?????????????????????????X11???°???????????</p> <p>????????????????????????????????????????????????????Щ??????yum -y upgrade??,</p> <p>???????????????servers vncserver start??????????????</p> [Web??????]nginx ??????????DDOS??????????? http://www.bqlbd.club//tech/4729.html www.bqlbd.club Web?????? 2013/3/31 12:52:31 <p>???????????Nginx ????????????? $ ?????????????????????nginx ???????????</p> <p>??????? Ngixn????????????????????????????????????</p> <p>Nginx????http?????????&nbsp;ngx_http_variables.c ??<strong> ngx_http_core_variables?洢???</strong>??</p> <p>ngx_http_core_variables</p> <p>&nbsp; 1 static ngx_http_variable_t ngx_http_core_variables[] = {<br /> &nbsp;</p> <pre> 2 3 { ngx_string(&quot;http_host&quot;), NULL, ngx_http_variable_header, 4 offsetof(ngx_http_request_t, headers_in.host), 0, 0 }, 5 6 { ngx_string(&quot;http_user_agent&quot;), NULL, ngx_http_variable_header, 7 offsetof(ngx_http_request_t, headers_in.user_agent), 0, 0 }, 8 9 { ngx_string(&quot;http_referer&quot;), NULL, ngx_http_variable_header, 10 offsetof(ngx_http_request_t, headers_in.referer), 0, 0 }, 11 12 #if (NGX_HTTP_GZIP) 13 { ngx_string(&quot;http_via&quot;), NULL, ngx_http_variable_header, 14 offsetof(ngx_http_request_t, headers_in.via), 0, 0 }, 15 #endif 16 17 #if (NGX_HTTP_PROXY || NGX_HTTP_REALIP) 18 { ngx_string(&quot;http_x_forwarded_for&quot;), NULL, ngx_http_variable_header, 19 offsetof(ngx_http_request_t, headers_in.x_forwarded_for), 0, 0 }, 20 #endif 21 22 { ngx_string(&quot;http_cookie&quot;), NULL, ngx_http_variable_headers, 23 offsetof(ngx_http_request_t, headers_in.cookies), 0, 0 }, 24 25 { ngx_string(&quot;content_length&quot;), NULL, ngx_http_variable_header, 26 offsetof(ngx_http_request_t, headers_in.content_length), 0, 0 }, 27 28 { ngx_string(&quot;content_type&quot;), NULL, ngx_http_variable_header, 29 offsetof(ngx_http_request_t, headers_in.content_type), 0, 0 }, 30 31 { ngx_string(&quot;host&quot;), NULL, ngx_http_variable_host, 0, 0, 0 }, 32 33 { ngx_string(&quot;binary_remote_addr&quot;), NULL, 34 ngx_http_variable_binary_remote_addr, 0, 0, 0 }, 35 36 { ngx_string(&quot;remote_addr&quot;), NULL, ngx_http_variable_remote_addr, 0, 0, 0 }, 37 38 { ngx_string(&quot;remote_port&quot;), NULL, ngx_http_variable_remote_port, 0, 0, 0 }, 39 40 { ngx_string(&quot;server_addr&quot;), NULL, ngx_http_variable_server_addr, 0, 0, 0 }, 41 42 { ngx_string(&quot;server_port&quot;), NULL, ngx_http_variable_server_port, 0, 0, 0 }, 43 44 { ngx_string(&quot;server_protocol&quot;), NULL, ngx_http_variable_request, 45 offsetof(ngx_http_request_t, http_protocol), 0, 0 }, 46 47 { ngx_string(&quot;scheme&quot;), NULL, ngx_http_variable_scheme, 0, 0, 0 }, 48 49 { ngx_string(&quot;request_uri&quot;), NULL, ngx_http_variable_request, 50 offsetof(ngx_http_request_t, unparsed_uri), 0, 0 }, 51 52 { ngx_string(&quot;uri&quot;), NULL, ngx_http_variable_request, 53 offsetof(ngx_http_request_t, uri), 54 NGX_HTTP_VAR_NOCACHEABLE, 0 }, 55 56 { ngx_string(&quot;document_uri&quot;), NULL, ngx_http_variable_request, 57 offsetof(ngx_http_request_t, uri), 58 NGX_HTTP_VAR_NOCACHEABLE, 0 }, 59 60 { ngx_string(&quot;request&quot;), NULL, ngx_http_variable_request_line, 0, 0, 0 }, 61 62 { ngx_string(&quot;document_root&quot;), NULL, 63 ngx_http_variable_document_root, 0, NGX_HTTP_VAR_NOCACHEABLE, 0 }, 64 65 { ngx_string(&quot;realpath_root&quot;), NULL, 66 ngx_http_variable_realpath_root, 0, NGX_HTTP_VAR_NOCACHEABLE, 0 }, 67 68 { ngx_string(&quot;query_string&quot;), NULL, ngx_http_variable_request, 69 offsetof(ngx_http_request_t, args), 70 NGX_HTTP_VAR_NOCACHEABLE, 0 }, 71 72 { ngx_string(&quot;args&quot;), 73 ngx_http_variable_request_set, 74 ngx_http_variable_request, 75 offsetof(ngx_http_request_t, args), 76 NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOCACHEABLE, 0 }, 77 78 { ngx_string(&quot;is_args&quot;), NULL, ngx_http_variable_is_args, 79 0, NGX_HTTP_VAR_NOCACHEABLE, 0 }, 80 81 { ngx_string(&quot;request_filename&quot;), NULL, 82 ngx_http_variable_request_filename, 0, 83 NGX_HTTP_VAR_NOCACHEABLE, 0 }, 84 85 { ngx_string(&quot;server_name&quot;), NULL, ngx_http_variable_server_name, 0, 0, 0 }, 86 87 { ngx_string(&quot;request_method&quot;), NULL, 88 ngx_http_variable_request_method, 0, 89 NGX_HTTP_VAR_NOCACHEABLE, 0 }, 90 91 { ngx_string(&quot;remote_user&quot;), NULL, ngx_http_variable_remote_user, 0, 0, 0 }, 92 93 { ngx_string(&quot;body_bytes_sent&quot;), NULL, ngx_http_variable_body_bytes_sent, 94 0, 0, 0 }, 95 96 { ngx_string(&quot;request_completion&quot;), NULL, 97 ngx_http_variable_request_completion, 98 0, 0, 0 }, 99 100 { ngx_string(&quot;request_body&quot;), NULL, 101 ngx_http_variable_request_body, 102 0, 0, 0 }, 103 104 { ngx_string(&quot;request_body_file&quot;), NULL, 105 ngx_http_variable_request_body_file, 106 0, 0, 0 }, 107 108 { ngx_string(&quot;sent_http_content_type&quot;), NULL, 109 ngx_http_variable_sent_content_type, 0, 0, 0 }, 110 111 { ngx_string(&quot;sent_http_content_length&quot;), NULL, 112 ngx_http_variable_sent_content_length, 0, 0, 0 }, 113 114 { ngx_string(&quot;sent_http_location&quot;), NULL, 115 ngx_http_variable_sent_location, 0, 0, 0 }, 116 117 { ngx_string(&quot;sent_http_last_modified&quot;), NULL, 118 ngx_http_variable_sent_last_modified, 0, 0, 0 }, 119 120 { ngx_string(&quot;sent_http_connection&quot;), NULL, 121 ngx_http_variable_sent_connection, 0, 0, 0 }, 122 123 { ngx_string(&quot;sent_http_keep_alive&quot;), NULL, 124 ngx_http_variable_sent_keep_alive, 0, 0, 0 }, 125 126 { ngx_string(&quot;sent_http_transfer_encoding&quot;), NULL, 127 ngx_http_variable_sent_transfer_encoding, 0, 0, 0 }, 128 129 { ngx_string(&quot;sent_http_cache_control&quot;), NULL, ngx_http_variable_headers, 130 offsetof(ngx_http_request_t, headers_out.cache_control), 0, 0 }, 131 132 { ngx_string(&quot;limit_rate&quot;), ngx_http_variable_request_set_size, 133 ngx_http_variable_request_get_size, 134 offsetof(ngx_http_request_t, limit_rate), 135 NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOCACHEABLE, 0 }, 136 137 { ngx_string(&quot;nginx_version&quot;), NULL, ngx_http_variable_nginx_version, 138 0, 0, 0 }, 139 140 { ngx_string(&quot;hostname&quot;), NULL, ngx_http_variable_hostname, 141 0, 0, 0 }, 142 143 { ngx_string(&quot;pid&quot;), NULL, ngx_http_variable_pid, 144 0, 0, 0 }, 145 146 { ngx_null_string, NULL, NULL, 0, 0, 0 } 147 };</pre> <p><strong>????Щ????????£???????£?</strong><br /> &nbsp;</p> <p style="text-indent: 0px"><img title="????????" alt="" width="600" height="604" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/2013331125329732.jpg" /></p> <p style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/2013331125332579.jpg" /></p> <p style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/2013331125334846.jpg" /></p> <p><strong>nginx??DDOS???????????</strong></p> <p>nginx??????з?DDOS????????????ngx_http_limit_req_module??ngx_http_limit_conn_module??</p> <p><strong>???????????</strong></p> <p>1.ngx_http_limit_req_module</p> <p>?????????????</p> <p>????????????????治?key??????????????????????????????????key????variable???????????????????????????????$binary_remote_addr??????IP?key???</p> <pre> limit_req_zone $variable zone=name:size rate=rate;</pre> <p>????????????????????????????????????ж????????????????У????????????????????????????? [Linux??????]Linux????????????????varnish????????ú????? http://www.bqlbd.club//tech/4724.html www.bqlbd.club Linux?????? 2013/3/29 12:47:27 <p>Varnish????????????????????Web ???????????Cache???????????????????к????????????????????????Varnish????????е???????,?????????????? ???? ????</p> <p>???varnish???<br /> ??????????????<br /> 1.???????????????????<br /> 2.????????????????????????<br /> https://www.varnish-cache.org/installation/redhat</p> <p>???????????<br /> 1??????Varnish ??????в???????????????н??????vcl???<br /> <strong>Varnish???????????6082</strong>?????????????????????2000<br /> VARNISH_ADMIN_LISTEN_PORT=2000<br /> <strong>????????????8080???????80</strong><br /> VARNISH_LISTEN_PORT=80<br /> <strong>?????????????·??</strong><br /> VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin<br /> ???????varnish_storage.bin??32λ???????£??????????2G??<br /> ???????????????????????64?Linux??????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/2013329124812908.jpg" /></p> <p><strong>2??????varnish????????????</strong><br /> 3.0????汾???????varnish????????ú???????????????service varnish start???????<br /> 3.0???°汾???????????????????????????<br /> 1?????????汾????????varnish.initr???????<br /> C:/.../varnish-3.0.1/redhat/varnish-3.0.1/redhat/varnish.initrc<br /> 2) ????varnish.initrc?????????????в???<br /> 3) ??????????????????etc/sysconfig/varnish,????????2????<br /> 4) ??varnish.initrc?????varnish<br /> 5) copy varnish ?? /etc/rc.d/init.d/??<br /> 6) ??varnish?????????chmod 700 /etc/rc.d/init.d/varnish<br /> 7) chkconfig --add varnish<br /> <strong>??????Varnish??????</strong><br /> ps -aux|grep varnishd<br /> ???????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/2013329124812719.jpg" /></p> <p>????????top |grep varnishd??<br /> <strong>?????Varnish???</strong><br /> 1?????varnishlog???????????????Щ??????????????-h??ò??????<br /> ??varnishlog -i txurl ???????????ЩURL????????<br /> 2??????????浽????<br /> ??????varnishncsa?????<br /> varnishncsa -w /var/lib/varnish/varnish.log ??varnishlog ??????????????<br /> ??????????????????????<br /> <strong>?塢??Varnish???????</strong><br /> 1?????varnishstat ?????????????????????????????????<br /> &nbsp;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/2013329124812352.jpg" /></p> <p><strong>??????????壺</strong></p> <p>????????????varnish?????????????????????????????????45??0С?11??27??<br /> ??????????????????????????????????????????10??100??1000????????10??100??1000??<br /> ???????????????????????????????????????10????????????100????????????1000???????????<br /> ??????п??????????????4??<br /> ???????????????????????е??????????????????varnishstat?????????????????????????????</p> <p><strong>???м?????????????</strong></p> <p>Client connections accepted?????????????????????????????HTTP???????????<br /> Client requests received????????????????????????????????????HTTP????????????????????????ó?????????????????????Client connections accepted<br /> cache-hit ????????????д???<br /> miss-hit ??????δ???д???<br /> worker threads ????????????????????<br /> expired objects ????????????????<br /> LRU nuked objects ????????????????????????????ò????????????<br /> LRU moved objects ??????LRU????????????????<br /> Total header bytes ?????????????????????С<br /> Total body bytes????????????????????С</p> <p>????????:cache-hit / Client requests received</p> <p><strong>2??????β?varnish????????????????Server???е??鷳</strong><br /> ??????php???????????????????д??γ???????<br /> ???????ο????£?3.0???μ?汾???????Socket?????Varnish??????????stat???????3.0???????stat????<strong>?????????????????</strong></p> <p>&lt;?php&nbsp;<br /> &nbsp;</p> <pre> $outfile=shell_exec(&quot;/usr/bin/varnishstat -x &quot;); $xml=simplexml_load_string($outfile); echo $xml-&gt;getName() . &quot;&lt;br /&gt;&quot;; foreach($xml-&gt;children() as $child) { //$tmpName=&quot;&quot;; foreach($child-&gt;children() as $subChild) { if ($subChild-&gt;getName() ==&quot;name&quot; ) { $tmpName=$subChild; } else if ($subChild-&gt;getName() ==&quot;value&quot; ) { if ($tmpName!=&quot;&quot;) { $arys[&quot;$tmpName&quot;]=$subChild; $tmpName=&quot;&quot;; } } else { continue; } } } function byteReduce($bytes) { if ($bytes&gt;1099511627776) { return round($bytes/1099511627776).&quot;TB&quot;; } else if ($bytes &gt; 1073741824) { return round($bytes/1073741824).&quot;GB&quot;; } else if ($bytes&gt;1048576) { return round($bytes/1048576).&quot;MB&quot;; } else if ($bytes&gt;1024) { return round($bytes/1024).&quot;KB&quot;; } else { return $bytes.&quot;B&quot;; } } echo &quot;client_conn: &quot;.$arys[&quot;client_conn&quot;] . &quot;&lt;br /&gt;&quot;; echo &quot;client_req: &quot;.$arys[&quot;client_req&quot;] . &quot;&lt;br /&gt;&quot;; echo &quot;cache_hit: &quot;.$arys[&quot;cache_hit&quot;] . &quot;&lt;br /&gt;&quot;; echo &quot;cache_miss: &quot;.$arys[&quot;cache_miss&quot;] . &quot;&lt;br /&gt;&quot;; echo &quot;Cache hit rate: &quot;.round(($arys[&quot;cache_hit&quot;]/$arys[&quot;client_req&quot;])*100).&quot; % &lt;br/&gt;&quot;; echo &quot;LRU nuked objects: &quot;.$arys[n_lru_nuked].&quot;&lt;br/&gt;&quot;; echo &quot; &quot;.byteReduce($arys[&quot;s_bodybytes&quot;]+$arys[&quot;s_hdrbytes&quot;]).&quot; Acc Content (&quot;.byteReduce($arys[&quot;s_hdrbytes&quot;]).&quot; header &quot;.byteReduce($arys[&quot;s_bodybytes&quot;]).&quot; Body)&quot;; ?&gt;</pre> <p><strong>???Ч????</strong><br /> &nbsp;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/2013329124812593.jpg" /></p> <p>????????????????????????????html??????</p> <p>??????????????????????catic ?????????????????catic?в?Varnish ??????</p> <p>3.0????汾????????php?????????echo shell_exec(&quot;/usr/bin/varnishstat -x &quot;);???catic???????????</p> [Linux??????]linux????????webbench???????????????????????ip http://www.bqlbd.club//tech/4723.html www.bqlbd.club Linux?????? 2013/3/29 12:01:23 <p>????????????????????????????????????.???????????nginx+mysql+php,?????????????????web???????,web?????????80??????????centos,????????????????????,????????????????,??webbench???????????????????????????????,??????????????????????????????,????????????????,?????????web???????????????,????????mysql????????????,???????,????????????????,????????????ip,???????÷????????ip?????.</p> <p>?????????????,??php??ù??????agent?,<strong>?ж??????webbench????,??????die??</strong>,?????????????,?????Ч,??????????????????,?????????????????????,????????????????????,????????????????,????????????????????????????????,??????????,???????????????:??php??????agent??ж??????webbench???,??????????????????д???shell???,??????????????????IP?????,</p> <p>???????chmod????????????????????????,????cron???????????????,??ip??????,?????????????????????????????,<strong>?????????????????????email?????и???ù?????????</strong>,??????????.</p> <p><strong>??????????????:</strong></p> <p>IF(isSet($_SERVER['HTTP_USER_AGENT']) And Trim($_SERVER['HTTP_USER_AGENT'])!='') {</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;$_SERVER['HTTP_USER_AGENT']=StrToLower($_SERVER['HTTP_USER_AGENT']);</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;IF(StriStr($_SERVER['HTTP_USER_AGENT'],'webbench')!==False) {</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$p='/home/www/webbench.sh';</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$_SERVER['REMOTE_ADDR']=isSet($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : 'unknow';</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span style=&quot;color: #ff0000;&quot;&gt;File_Put_Contents($p,&quot;#!/bin/bash\niptables -I INPUT -s {$_SERVER['REMOTE_ADDR']} -j DROP;\n&quot;,LOCK_EX);</p> <p>&lt;/span&gt;&nbsp;&nbsp;&nbsp;&nbsp; Chmod($p,0755);</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chown($p,'www');</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span style=&quot;color: #ff0000;&quot;&gt;Function sMail($to,$tit,$msg) {</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IF(Filter_var($to,FILTER_VALIDATE_EMAIL)==''){</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;Exception('??????????!');</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$tit='=?UTF-8?B?'.Base64_Encode($tit).'?=';</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$msg&nbsp;= str_replace(&quot;\n.&quot;,&quot;\n..&quot;,$msg);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Windows???????п??????????????????,??????????????????滻?????????</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return Mail($to,$tit,$msg,'From:No-reply@adm.bossadm.com.tw'.&quot;\n&quot;.'Content-Type:text/html;charset=utf-8');</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sMail('see7di@gmail.com','??WebBench??????t??!',date('Y-m-d H:i:s',time()).&quot; {$_SERVER['REMOTE_ADDR']}&quot;);&lt;/span&gt;</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Header('Location:http://127.0.0.1');</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Die();</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;}</p> <p>}</p> <p>??????????????ε???,???email?????д????shell?????,??????php??email,??????????????,<strong>?????????????</strong>:</p> <p>IF(isSet($_SERVER['HTTP_USER_AGENT']) And Trim($_SERVER['HTTP_USER_AGENT'])!='') {</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;$_SERVER['HTTP_USER_AGENT']=StrToLower($_SERVER['HTTP_USER_AGENT']);</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;IF(StriStr($_SERVER['HTTP_USER_AGENT'],'webbench')!==False) {</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$p='/home/www/webbench.sh';</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$_SERVER['REMOTE_ADDR']=isSet($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : 'unknow';</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File_Put_Contents($p,&quot;#!/bin/bash\niptables -I INPUT -s {$_SERVER['REMOTE_ADDR']} -j DROP;\necho \&quot;{$_SERVER['REMOTE_ADDR']} - `date`\&quot; | mail -s \&quot;WebBench-www.bqlbd.club\&quot; see7di@gmail.com\n&quot;,LOCK_EX);</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Chmod($p,0755);</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chown($p,'www');</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Header('Location:http://127.0.0.1');</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Die();</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;}</p> <p>}</p> [Web??????]Windows2003?????IIS6??????asp.net4.0??? http://www.bqlbd.club//tech/4699.html www.bqlbd.club Web?????? 2013/3/14 13:30:41 <p>1????IIS6??????????????????80??????</p> <p>2?????IIS????ASP.NET??2.0?????????&ldquo;????&rdquo;&mdash;&mdash;&ldquo;ASP.NET&rdquo;?????4.0.</p> <p>3????web????????????????????</p> <p align="center"><img title="???????????:?????" border="0" alt="" width="917" height="581" src="/upload/tech/UploadPic/2013-3/2013314133156766.jpg" /></p> <p>3????????????????????????????????????????汨404.??????????????????&ldquo;????&rdquo;?????????????</p> <p align="center"><img title="???????????:?????" border="0" alt="" width="463" height="458" src="/upload/tech/UploadPic/2013-3/2013314133157985.jpg" /></p> <p>4???????????????????????????t???????????????????WINDOWS 7??XP????????????????windows server 2003 ???????С?</p> <p>??????????????</p> <p align="center"><img title="???????????:?????" border="0" alt="" width="1037" height="286" src="/upload/tech/UploadPic/2013-3/2013314133157506.jpg" /></p> <p>5????????????????????????????????????????????????????????????????£?</p> <p>??C??&mdash;&mdash;windows&mdash;&mdash;temp?? ??????&ldquo;????&rdquo;&mdash;&mdash;&ldquo;???&rdquo;???????????NETWORK SERVICE????????????????&ldquo;???????&rdquo;?????????????</p> 魔术兔走势图
组六全包 广西11选5历史号码 玩那个网络游戏能赚钱 新疆十一选五前三组技巧 午托班和早餐店哪个赚钱 甘肃十一选五遗漏一定牛 麻将竹凉席厂赚钱吗 体彩新11选5怎么玩 七星彩17120期规律表 河南快赢481app 重庆幸运农场规律公式 qq彩票自动赚钱 五分彩是骗局吗 教育和医疗哪个赚钱 体彩云南十一选五走势 梦幻西游l3赚不赚钱