apache 出现 Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
如果检查http的错误讯息出现
/home/website/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
请检查 httpd.conf
LoadModule rewrite_module libexec/apache24/mod_rewrite.so
是否有把# 拿掉
重新启动apache 即可生效
apachectl restart
/home/website/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
请检查 httpd.conf
LoadModule rewrite_module libexec/apache24/mod_rewrite.so
是否有把# 拿掉
重新启动apache 即可生效
apachectl restart