Ask a question about the PHP multisite path
The site structure is as follows
Root
|--images
|--b
|--c
Site master domain Root.com Then there are n domains such as B.Com c.com
B.Com pointing to directory B c.com pointing to directory C
Server Environment Window + IIS
How can the B.Com c.com program be able to invoke the images in the images folder? Exclude the method of enabling a domain name as the resource domain name separately
The server environment can be replaced with the last resort of Window+apache/nginx. The server can be replaced with a Linux system (the cost of replacing the system is very large and can be replaced without replacing it.) Involves a lot of extra development of desk soft issues)
Hope that the master can enlighten. How can you implement the above things. If the master feel simple, only need to give a thought and the relevant learning materials address can ~ not much. Additional points can be added
------Solution--------------------
IIS in IIS Manager all sites right--virtual directory--Create a virtual directory images point to [d]:/root/images
Apache Set up virtual directory
Alias/images "[D]:/root/images"
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.