5 messages in ru.sysoev.nginxhttp_sub_module, need help
FromSent OnAttachments
raptiumJan 8, 2009 9:44 pm 
nbubingoJan 8, 2009 11:03 pm 
MerlinJan 9, 2009 1:02 am 
raptiumJan 9, 2009 1:45 am 
nbubingoJan 9, 2009 2:19 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:http_sub_module, need helpActions...
From:raptium (rapt@gmail.com)
Date:Jan 8, 2009 9:44:14 pm
List:ru.sysoev.nginx

I am using nginx as a reverse proxy for IBM Lotus Domino Web Mail. Since there are some internal only URL in email content, I need http_sub_module to modify(add some prefix ) the URL so that user outside intranet can click the link and access through another portal.

I add

sub_filter aaa bbb; sub_filter_types application/json application/x-javascript; sub_filter_once off;

into the nginx.conf and it does not work.'aaa' is not replaced by 'bbb'

However, if I save the web page as html file or generate some json which contains 'aaa'. It can be replace by 'bbb'.

Therefore, it there any other options besides `Content-Type` can prevent http_sub_module replacing the word?

Sorry for my bad English...