Iis apache shared with 80-port approach

Related Tags:

  Debugging procedures, and apache installed iis not at the same time using 80 ports, a solution is given: 

  Method 1: 

  IIS5, the coexistence of multiple IP, IIS is 192.168.0.1, apache for the original address 192.168.0.2 

  C: \ Inetpub \ Adminscripts 

  Cscript adsutil.vbs set w3svc/disablesocketpooling true 

  Feedback following the order disablesocketpooling: (BOOLEAN) True 

  Restart IIS 

  Inetpub \ AdminScripts> cscript adsutil.vbs set w3svc/disablesocketpooling true 

  As DisableSocketPooling IIS 6.0 yuan in the database structure (MBSchema.xml) was defined as effective attributes, so you can still use the Adsutil.vbs attribute settings, but this kind of non-functional settings.    IIS 6.0 is the function of the new core-level driver HTTP.sys part.    To configure HTTP.sys, you must use Httpcfg.exe 

  Method 2: 

  IIS6, and the coexistence of multiple IP, IIS is 192.168.0.1, apache for the original address 192.168.0.2 

  By 2003 under the support of the CD / tools / Support.cab.    Httpcfg.exe extract a document to windows/system32 COPY / directory, usage can help themselves 

  Command line 

  Bind to a certain IP: httpcfg set iplisten-i 192.168.0.1 

  IIS is the only order the use of eavesdropping designated IP and port 

  Show bind: httpcfg query iplisten 

  Delete bind: httpcfg delete iplisten-i 192.168.0.1 

  Command line 

  Net stop Apache2 

  Net stop iisadmin / y 

  Net START Apache2 

  Net START w3svc 

  Ip iis under the guarantee for the overall default settings, Apache, listen 192.168.0.2:80 httpconf settings, should be able to run two services, mutual conflicts, he said. 

  IIS visit to address http://192.168.0.1, Apache visit to address http://192.168.0.2 

  Method 3: 

  Used the Internet to share a single IP port 80, but not recommended, but the use of Apache's agent, the speed will affect the use of 80 apache as a port, IIS use other ports, such as 81, then apache as IIS agents. 

  Httpd.conf in the inside, the abolition of the Notes following four lines: 

  LoadModule proxy_module modules / mod_proxy.so 

  LoadModule proxy_connect_module modules / mod_proxy_connect.so 

  LoadModule proxy_http_module modules / mod_proxy_http.so 

  LoadModule proxy_ftp_module modules / mod_proxy_ftp.so 

  And the establishment of a virtual console, the domain names to visit all 81 ports. 

  ServerName iloves.vicp.net 

  ProxyPass / http://localhost:81/ 

  ProxyPassReverse / http://localhost:81/ 

  In this way, external can only need one port can be used apache and the function of the IIS 

  By analogy, use the second method, you can configure IIS PHP4, Apache2 configuration in PHP5 only need IIS installed PHP4, php.ini copied to the \ windows directory can be, this would not have said it, Apache2, As long as the php.ini PHP5 on PHP5 installation directory on the line 

  Apache configured to support PHP5: 

  LoadModule php5_module "D: / PHPServer/PHP5/php5apache2.dll" 

  AddType application / x-httpd-php. Php 

  DirectoryIndex index.html index.php 

  PHPIniDir "D: / PHPServer/PHP5" 

  One of the most important one is PHPIniDir, php.ini file to the specified location, PHP5 install directory, the directory of all the attention should be D: / PHPServer/PHP5 this format, rather than D: \ PHPServer \ PHP5, IIS Address visit to http://192.168.0.1, Apache visit to address http://192.168.0.2 

Related articles:

CSS style achieve Show hidden layer
  CSS style achieve Show hidden layer    This method not JavaScript code small, simple, automatic display of links in the code by adding the following pages, links suspended in the mouse "1234567890", the contents of "11111111", the resumption of the mouse left S...
Flash painting skills: Object Rendering thinking [Flash Video Guide]
  The Collected Works of Flash Flash Video Tutorial examples Video Tutorial    Full-screen viewing or download. Swf files  ...
"Gu pull" - the new trend of Web2.0 Demo pull on the line!
  "Gu pull" - Web2.0 lead the new trend of Rafah on the line Demo!    By LaiGuLa "Gu pull" you suddenly pretending to the strange ideas, ideas, garrulous mood and all recorded!    Share with you!    "Gu pull" Twitter go with the line...
Plugin PSD2FLA Psd easily converted to FLA
  PSD2FLA is a PhotoShop for a very useful plug-in, it can help you. PSD documents to the depositors as Flash. FLA file Unfortunately, the highest version of "PSD2FLA v1.0.19 for Photoshop v7.0" only supports PS 7.0.    General complex titles have produced several scenes an...
Do you understand JavaScript implementation of the order?
  Usually state, as an interpretative JavaScript scripts are from the top down implementation of the order, but also allows JavaScript in nested in its statement, which is this:    Document.write ( "<script> alert (t) </ scr," "ipt>");    N...