I've added this as http://bugs.caucho.com/view.php?id=1355

-- Scott

On Sep 12, 2006, at 12:56 PM, Andrew Lombardi wrote:

Set apache's ServerName back to www.mysticcoders.com
and used the regexp in the <host> for Resin, still nothing.

Checked the caucho-status and saw this:

Virtual Host: www.mysticcoders.com
Host Active Pooled Connect
Timeout Live
Time Dead
Time
1. 127.0.0.1:6802 (ok) 0 1 2 30 15

web-app url-pattern
/lounge /*
/pastebin /*
/survey /*
/ *.jsp
/ *.jspx
/ *.xtp
/ *.jspa


which all looks okay.  At this point I'm not sure how to debug this, find out what config is not done right.

Thanks for all your help so far, let me know.

On Sep 12, 2006, at 12:33 PM, Scott Ferguson wrote:


On Sep 12, 2006, at 12:27 PM, Andrew Lombardi wrote:

I set the ServerName to *.mysticcoders.com to no avail.

ServerName needs to be "www.mysticcoders.com".  It's not an alias; it's the canonical name for the server.

You should also check /caucho-status to see what it's showing for the mapping.

-- Scott


I've checked because PHP is installed on there, and PHP's $_SERVER['HTTP_HOST'] does show it correctly.

Then I tried the <host regexp=".*\.mysticcoders.com"> but that didn't work either, grabbing the request.getServerName() still returns www.mysticcoders.com :(


On Sep 12, 2006, at 11:27 AM, Scott Ferguson wrote:


On Sep 12, 2006, at 11:26 AM, Andrew Lombardi wrote:

Any idea on the below?  It appears that mod_caucho doesn't pass anything but www.mysticcoders.com through to the Resin server, even if the URL is mysticcoders.com, or *.mysticcoders.com

Can you try setting the ServerName (I think that's the directive) in the httpd.conf.

mod_caucho with then use ServerName as the canonical name for that virtual host.

In theory, you could add a <host regexp=".*\.mysticcoders.com">, but that would be overkill in this situation.

-- Scott


is there something in my config I've screwed up?  is this even possible with Resin under Apache?



On Sep 8, 2006, at 11:33 PM, Andrew Lombardi wrote:

I'm attempting to use wildcard DNS with mod_caucho sitting between  
Apache and Resin, and haven't had much luck yet.  Locally for  
development, we've been using Jetty, and assumed everything would  
transfer just fine.

In the httpd.conf files, we set up the virtual host, and have the  
following for ServerAlias:

ServerAlias *.mysticcoders.com

And in resin.conf I do something similar:

         <host id='www.mysticcoders.com'>

         <host-alias>mysticcoders.com</host-alias>


was trying to add <host-alias>*.mysticcoders.com</host-alias> which  
didn't seem to change anything.

also tried to add it to the host id, but then it picked up nothing.

Any ideas?

_______________________________________________
resin-interest mailing list


To our success!

meAndrew Lombardi: Mystic Coders, LLC - Coding Magic
contact | [EMAIL PROTECTED] - 714-697-8046 | aim - nlpjunke


_______________________________________________
resin-interest mailing list



To our success!

meAndrew Lombardi: Mystic Coders, LLC - Coding Magic
contact | [EMAIL PROTECTED] - 714-697-8046 | aim - nlpjunke





To our success!

meAndrew Lombardi: Mystic Coders, LLC - Coding Magic
contact | [EMAIL PROTECTED] - 714-697-8046 | aim - nlpjunke



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

Reply via email to