Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Enable mod_rewrite logging



Threaded Mode | Print  

 Enable mod_rewrite logging (2 Replies, Read 3359 times)
punchdrunk
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hello,

I am using Mac OS X Yosemite 10.10.2. I installed Slim PHP Framework and I'm having trouble with the rewrites. How do I enable mod_rewrite logging in AMPPS version 3.0?

Thank you.
IP: --   

Enable mod_rewrite logging
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
Hi,

mod_rewrite is enabled by default in AMPPS.

If you want to enable/disable, just open AMPPS Control Center -> Apache Tab -> Configurations and search for line LoadModule rewrite_module modules/mod_rewrite.so and comment/uncomment it by adding/removing hash tag at the beginning of the line. Then restart Apache.
IP: --   

Enable mod_rewrite logging
punchdrunk
Group: Member
Post Group: Newbie
Posts: 2
Status:
Quote From : Rishi_P March 18, 2015, 10:20 am
Hi,

mod_rewrite is enabled by default in AMPPS.

If you want to enable/disable, just open AMPPS Control Center -> Apache Tab -> Configurations and search for line LoadModule rewrite_module modules/mod_rewrite.so and comment/uncomment it by adding/removing hash tag at the beginning of the line. Then restart Apache.


Yes, thank you for the reply, but I'm actually trying to figure out how to capture the mod_rewrite output in a log file. I've tried adding the code below to the end of the apache httpd.conf file using AMPPS Control Center -> Apache Tab -> Configuration, but it doesn't seem to create the log file I need.

<IfModule rewrite_module>
RewriteEngine On
RewriteLog "/logs/rewrite.log"
RewriteLogLevel 3
</IfModule>
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 25, 2024, 4:51 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.041