APMServ5.2.0开启Rewrite(伪静态)的方法(经验总结)

1.打开apmservapache2confhttpd.conf
 找到 loadmodule rewrite_module modules/mod_rewrite.so去掉前面的#
 找到Allowoverride None改为 Allowoverride All(不知道哪些要改哪些不要改,所以我全改了)
2.打开apmservapache2confappservvhost.conf
 找到相应虚拟主机下的Allowoverride None改为 Allowoverride All

 重启apache,完毕


( ! ) Warning: Missing argument 1 for cwppos_show_review(), called in /data/www/enjoyphp/wp-content/themes/flat/content-single.php on line 29 and defined in /data/www/enjoyphp/wp-content/plugins/wp-product-review/includes/legacy.php on line 18
Call Stack
#TimeMemoryFunctionLocation
10.0000355048{main}( ).../index.php:0
20.0001355336require( '/data/www/enjoyphp/wp-blog-header.php' ).../index.php:17
30.168510162200require_once( '/data/www/enjoyphp/wp-includes/template-loader.php' ).../wp-blog-header.php:19
40.169610233344include( '/data/www/enjoyphp/wp-content/themes/flat/single.php' ).../template-loader.php:74
50.246210790800get_template_part( ).../single.php:5
60.246210791320locate_template( ).../general-template.php:167
70.246210791416load_template( ).../template.php:643
80.246310791800require( '/data/www/enjoyphp/wp-content/themes/flat/content-single.php' ).../template.php:686
90.251210778296cwppos_show_review( ).../content-single.php:29

发表评论

电子邮件地址不会被公开。 必填项已用*标注