This conversation has been locked due to inactivity. Please create a new post.
 
     
     
    
            
          
This conversation has been locked due to inactivity. Please create a new post.
          
        
I was unable to turn logging on for mod_rewrite.
I tried setting "LogLevel warn rewrite:info" in my_publish.vhost (see core - Apache HTTP Server Version 2.5 ), but my own rewrites would not get logged. On the other hand, default rewrite rules started getting logged with this setting.
Any suggestions?
Thanks,
Leo
Solved! Go to Solution.
Views
Replies
Total Likes
          
        
Try the following configuration if that helps - LogLevel alert rewrite:trace6
Views
Replies
Total Likes
          
        
What if you set the log level to more verbose level e.g. debug ?
Views
Replies
Total Likes
          
        
Mod_rewite is one of the many modules that is installed on apache. You can look at [1] on enabling logging for rewrite module.
[1] https://stackoverflow.com/questions/9632852/how-to-debug-apache-mod-rewrite
Views
Replies
Total Likes
          
        
I tried setting "LogLevel warn rewrite:debug" which did not produce any rewrite rules output either.
Views
Replies
Total Likes
          
        
As for https://stackoverflow.com/questions/9632852/how-to-debug-apache-mod-rewrite, the suggestion is to use LogLevel in Apache 2.4, which I did
Views
Replies
Total Likes
          
        
Try the following configuration if that helps - LogLevel alert rewrite:trace6
Views
Replies
Total Likes
          
        
LogLevel alert rewrite:trace6 produces rewrites in error_log. I did not check error_log initially because it was counter-intuitive to search for debug info in errors
Views
Replies
Total Likes
 
					
				
				
			
		
Views
Likes
Replies