[Resin-interest] logging host alias requests

2008-09-18 Thread Alex Sharaz
Hi,
I've got a number of dynamic hosts configured on a single server, some
of which provide the same service. E.g.

www.config.hull.ac.uk/scache.jsp provides a web browser auto proxy
config file for use by our users.

I then changed the url to be slb-config. to reflect the fact that
we're going through a hardware server load balancer. Needless to say our
helpdesk know better and stll put in www.config .. At the moment
I've got 2 dynamic hosts defined for this service. Just to keep both
running.

I've just added a host-aliaswww.config.hull.ac.uk/host-alias
statement to the slb-config dynamic host and deleted the other (dynamic)
server ( trying to reduce the number of identical files I've got to
change). Everything *seems* to be working but in the logs it doesn't
show which host name was used by the user to access the scache.jsp file.

I've tried changing the access log format variable definition in my
host.xml file to display the URI (%U) but it doesn't seem to make a
difference. I'm running 3.1.7a BTW

Alex

*
To view the terms under which this email is distributed, please go to 
http://www.hull.ac.uk/legal/email_disclaimer.html
*___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] logging host alias requests

2008-09-18 Thread Scott Ferguson

On Sep 18, 2008, at 8:13 AM, Alex Sharaz wrote:

 Hi,
 I've got a number of dynamic hosts configured on a single server, some
 of which provide the same service. E.g.

I've added a bug report for this at http://bugs.caucho.com/view.php?id=2949 
.

We'll need to add a code (%v) to Resin to add that information to  
the log.

-- Scott



 www.config.hull.ac.uk/scache.jsp provides a web browser auto proxy
 config file for use by our users.

 I then changed the url to be slb-config. to reflect the fact that
 we're going through a hardware server load balancer. Needless to say  
 our
 helpdesk know better and stll put in www.config .. At the moment
 I've got 2 dynamic hosts defined for this service. Just to keep both
 running.

 I've just added a host-aliaswww.config.hull.ac.uk/host-alias
 statement to the slb-config dynamic host and deleted the other  
 (dynamic)
 server ( trying to reduce the number of identical files I've got to
 change). Everything *seems* to be working but in the logs it doesn't
 show which host name was used by the user to access the scache.jsp  
 file.

 I've tried changing the access log format variable definition in my
 host.xml file to display the URI (%U) but it doesn't seem to make a
 difference. I'm running 3.1.7a BTW

 Alex

 *
 To view the terms under which this email is distributed, please go  
 to http://www.hull.ac.uk/legal/email_disclaimer.html
 *___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest