Setting method of apmserv pseudo static

web front end six thousand one hundred and fifty-one 7 years ago (2017-03-04)

APMServ, as a one click software for building a PHP environment, facilitates the development and debugging of local PHP programs zblog theme Or use ZBlogPHP In order to support pseudo static during the program, you need to modify the Apache configuration file. The software does not support pseudo static by default, and you need to manually modify it, as follows:

Open the APMServ software (right click the administrator to run it)>Apache Settings>Modify the configuration file. In the httpd.conf file opened, find the following two codes:

 #LoadModule rewrite_module modules/ (Step 1: remove the # in front of this line)
 #APMServ Default Virtual Host NameVirtualHost *:80 <VirtualHost *:80>  ServerName *  DocumentRoot "D:/APMServ5.2.6/www/htdocs" <Directory "D:/APMServ5.2.6/www/htdocs">  Options FollowSymLinks IncludesNOEXEC Indexes  DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.shtml AllowOverride None (Step 2: Change None here to ALL)  Order Deny,Allow  Allow from all </Directory> </VirtualHost>

So far, the modification is complete, and restart the Apache software to take effect.

In the background of zblog plug-in unit Management>Static Management Center, set the pseudo static and rules, and then generate the. htaccess file.