rewritelog

Can't configure the rewrite log

允我心安 提交于 2019-12-21 03:23:13
问题 I'd like to enable the rewrite log to debug some rewrite rules that are giving me problems. So I added these lines at the end of my httpd.conf file: <IfModule mod_rewrite.c> RewriteLog "/logs/rewrite.log" RewriteLogLevel 4 </IfModule> Next thing I did was restart Apache. It causes an error however, and won't start. This is what I get in the XAMPP Control Panel: 13:14:56 [Apache] Error: Apache shutdown unexpectedly. 13:14:56 [Apache] This may be due to a blocked port, missing dependencies, 13

Can't configure the rewrite log

[亡魂溺海] 提交于 2019-12-03 10:07:11
I'd like to enable the rewrite log to debug some rewrite rules that are giving me problems. So I added these lines at the end of my httpd.conf file: <IfModule mod_rewrite.c> RewriteLog "/logs/rewrite.log" RewriteLogLevel 4 </IfModule> Next thing I did was restart Apache. It causes an error however, and won't start. This is what I get in the XAMPP Control Panel: 13:14:56 [Apache] Error: Apache shutdown unexpectedly. 13:14:56 [Apache] This may be due to a blocked port, missing dependencies, 13:14:56 [Apache] improper privileges, a crash, or a shutdown by another method. 13:14:56 [Apache] Check