Re: Internal domain aliases yield 404 errors (cake thinks part of domain is a page/controller request?)

2007-03-09 Thread phrygius

I figured it out!

It was Isapi_rewrite at fault here.  I had RewriteCond Host
conditions before my rewrite rules that looked like domain(\.some
\.more\.stuff)?, and it was capturing that bit in parentheses as part
of the rewrite rules below.  By changing the condition to domain|
domain\.some\.more\.stuff, the capture has disappeared.

Thanks,
phrygius

On Mar 8, 3:33 pm, phrygius [EMAIL PROTECTED] wrote:
 Hello,

 I have an application being served on a closed, internal network with
 internal DNS.  I had a DNS entry, we'll call it domain, set up to
 point to my server (Windows server + IIS6).  In DNS, this means that I
 have domain, but I also have domain.some.more.stuff.  I am not
 sure why both exist, probably something to do with the complexity of
 this network (big company).  Either way, I set up IIS to handle both
 at the same web-site.

 When I navigate to http://domain/;, cake behaves wonderfully and as-
 expected, but when I navigate to http://domain.some.more.stuff/;, I
 get a *Cake* 404 error which says: Not found. The requested
 address .some.more.stuff was not found on this server.  I guess it
 begins okay because it gets far enough to get a Cake error message.

 So, is cake confused about the full domain?  Does anybody know why it
 would take part of the full domain this way?

 Thanks,
 phrygius


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Internal domain aliases yield 404 errors (cake thinks part of domain is a page/controller request?)

2007-03-08 Thread phrygius

Hello,

I have an application being served on a closed, internal network with
internal DNS.  I had a DNS entry, we'll call it domain, set up to
point to my server (Windows server + IIS6).  In DNS, this means that I
have domain, but I also have domain.some.more.stuff.  I am not
sure why both exist, probably something to do with the complexity of
this network (big company).  Either way, I set up IIS to handle both
at the same web-site.

When I navigate to http://domain/;, cake behaves wonderfully and as-
expected, but when I navigate to http://domain.some.more.stuff/;, I
get a *Cake* 404 error which says: Not found. The requested
address .some.more.stuff was not found on this server.  I guess it
begins okay because it gets far enough to get a Cake error message.

So, is cake confused about the full domain?  Does anybody know why it
would take part of the full domain this way?

Thanks,
phrygius


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---