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/mod_rewrite.so (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.pl default.pl 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.