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
- 10-site search engine optimization approach
- Flash8 bitmap rotation after eliminate jagged approach
- Writing Efficient Style Sheets (CSS) approach
- CSS layout in the highly adaptive approach div
- Ajax: A New Approach to Web Applications
- 2005-5-2-AJAX: a new approach to web applications
- A for 3 D flash animation-like approach
- AS3 in the new XML-based approach
- CSS floats to create a three column page layout approach
- Several page insert in the CSS style sheet approach
- Visual recognition skills approach
- Experience: 10 for the web site search engine optimization approach
- Flash background of the basic cycle approach
- CSS page with the mouse to achieve interactive approach
- Iis apache shared with 80-port approach
- Forum website persons to approach Baqiao
- CSS Filter: Color graded [Microsoft's approach]
- Flvplayback solution components do not support the Chinese path approach
- Avoid FLASH cover menu approach
- Headlines Show "..." exceed a certain length of the CSS approach




