You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Frank Costanza <fj...@yahoo.co.uk> on 2006/03/13 10:25:13 UTC

IP address in posted comment

Hi All,
 
 My roller installation is accessed via Apache's mod_proxy module, therefore the IP address shown in the posted comments is that of the host running Apache.
 
 Is there are way to disable the display of the posters IP address?
 
 
 Thanks,
 
 Frank.
 
		
---------------------------------
  Yahoo! Cars NEW - sell your car and browse thousands of new and used cars online search now  
---------------------------------
  

Re: IP address in posted comment

Posted by Anil Gangolli <an...@busybuddha.org>.
If you control all the themes and templates, yes, by modifying the 
comments.vm #showCommentDetails() velocity macro to omit  
$comment.remoteHost display.

If you want to make it inaccessible to templates, there is no 
configuration option to do that.  I think it would mean modifying code 
not to store the remoteHost property when the comment is posted, or you 
might be able to doctor the value in a Valve or Filter before it gets to 
the app.

--a.

Frank Costanza wrote:
> Hi All,
>  
>  My roller installation is accessed via Apache's mod_proxy module, therefore the IP address shown in the posted comments is that of the host running Apache.
>  
>  Is there are way to disable the display of the posters IP address?
>  
>  
>  Thanks,
>  
>  Frank.
>  
> 		
> ---------------------------------
>   Yahoo! Cars NEW - sell your car and browse thousands of new and used cars online search now  
> ---------------------------------
>   
>