Home > Operation and Maintenance > phpstudy > phpstudy pseudo-static settings

phpstudy pseudo-static settings

王林
Release: 2019-10-21 16:54:58
Original
17984 people have browsed it

phpstudy pseudo-static settings

1. First check whether apache supports turning on pseudo-static. Open the phpstudy control panel, find php extensions and settings

phpstudy pseudo-static settings

2. In the apache extension menu, find the rewrite_module module and enable it. Directly open the httpd.conf file under "/apache/conf/" in the apache configuration file, search for "LoadModule rewrite_module", and delete the "#" in front of it

phpstudy pseudo-static settings

3. Enable phpstudy pseudo-static support, then find the panels in sequence, and open the configuration file httpd-conf

phpstudy pseudo-static settings

##4. It is recommended to edit with a text editor and search for AllowOverride None. Replace with AllowOverride All (there are many settings that need to be replaced) and then save

phpstudy pseudo-static settings

5. After modification, restart the apache service or directly restart phpstudy

phpstudy pseudo-static settings

6. Then write the pseudo-static rules of Rewrite and add the .htacces file. Testing pseudo-static is actually a method of "redirecting" to hide the real address

phpstudy pseudo-static settings

Recommended tutorial:

phpstudy tutorial

The above is the detailed content of phpstudy pseudo-static settings. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template