How do I configure the pseudo-static state of a local multi-port multi-site?

Source: Internet
Author: User
How do I configure the pseudo-static state of a local multi-port multi-site? What should I do if port 80 is not used?


Reply to discussion (solution)

Put. htaccess separately to solve the problem. today, I learned about pseudo-static data.
RewriteRule ^ p ([0-9]?) \. Html $ list. php? Parent_id = $1
In fact, I want to write it like this, but I cannot find it.
RewriteRule ^ a \. html \? P = ([0-9]?) $ List. php? Parent_id = $1

Okay. I have solved the problem. I will pick up the score for myself.

Listen to the port you need in the apache configuration file, such as listen 8000. the port usually has its own value range, configure its own virtual host, and point it to its project directory, you can use a local ip address: Port to access the server, for example, 192.168.10.1: 8000. if you do not understand it, configure the Baidu apache virtual host.

Related Article

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.