mxu1386
Visitor.
237 views

html rewriting and log


We are using NAM3.2, one of the application that NAM protect got messed
up URL links in one of the page, NAM adds an extra path after the host
name, this is a path name that is different than the path of this
protected application. How do I config NAM log so that I can see what
was returned from the application server and what was added during HTML
rewrite?

Thanks

BTW, the extra path is only added when I put the published DNS name in
the web server host header field, if I put the application server's ip
address in that filed, the problem is gone.

Mark


--
mxu1386
------------------------------------------------------------------------
mxu1386's Profile: https://forums.netiq.com/member.php?userid=1361
View this thread: https://forums.netiq.com/showthread.php?t=54288

0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: html rewriting and log

mxu1386,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.netiq.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.netiq.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.netiq.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your NetIQ Forums Team
http://forums.netiq.com


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: html rewriting and log

mxu1386 wrote:

>
> We are using NAM3.2, one of the application that NAM protect got
> messed up URL links in one of the page, NAM adds an extra path after
> the host name, this is a path name that is different than the path of
> this protected application. How do I config NAM log so that I can see
> what was returned from the application server and what was added
> during HTML rewrite?
>
> Thanks
>
> BTW, the extra path is only added when I put the published DNS name in
> the web server host header field, if I put the application server's ip
> address in that filed, the problem is gone.


Under advanced options configure:

DumpHeaders=on
DumpHeadersFacility user
DumpResponseHeaders=on
DumpResponseHeadersFacility user

If you use the above they'll get written to
/var/log/novell-apache2/error_log. If you want them to a seperate file
you can use local6 as the log facility and then they'll end up in
/var/log/novell-apache2/httpheaders (which might be easier for your
purpose).


--
Cheers,
Edward
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.