How to deal with different pseudo-static states of multiple php websites under iis

Source: Internet
Author: User
Tags tld
Under iis, different pseudo-static php websites are implemented. in my development environment under iis, now I have implemented the php pseudo-static function. I have installed ISAPI_Rewrite3 on iis to implement the pseudo-static function of a website. However, if my website is uploaded to another virtual space, you need to write an httpd. conf is in the root directory of the website, but how does iis hit this file under each website? So as to implement different pseudo-static functions for multiple websites & implement different pseudo-static functions for multiple php websites under nbs iis
My development environment is under iis. now I have implemented the pseudo-static function of php. I have installed ISAPI_Rewrite3 on iis to implement the pseudo-static function of a website. However, if my website is uploaded to another virtual space, you need to write an httpd. conf is in the root directory of the website, but how does iis hit this file under each website? To implement different pseudo-static functions of multiple websites
You can write a. hpaccess file under apache.

------ Solution --------------------
Go to IT home at www.goithome.com
------ Solution --------------------
Use apache's virtualhost to implement it. For more information, see the manual.

NameVirtualHost *: 80



ServerName www. domain. tld
ServerAlias domain. tld *. domain. tld
DocumentRoot/www/domain





ServerName www. otherdomain. tld
DocumentRoot/www/otherdomain





------ Solution --------------------
The free version of ISAPI_Rewrite3 does not support multiple users. The full version requires $. check whether it is broken. it seems to be called the full version.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.