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.