On Apr 21, 2007, at 12:41 PM, Mathieu Lue wrote:

> Thanks alot guys. 1.2.1 works like a breeze. The only question I  
> have no
> is that since the ":" character is used to delimit the domain name  
> from
> the slug, is there anyway to forward domains with a specified port? I
> tried x.y.com:3003: <slug> and it didn't work. I totally don't need  
> this
> functionality but I was just curious.

As written, it only distinguishes based on the host and completely  
ignores the port.  So, if you only have one Radiant instance on  
x.y.com, then it doesn't matter what port.  If you want x.y.com:3003  
and x.y.com:80 to be different "domains", you'll need to poke through  
the code to change request.host to request.host_with_port.

And to add it to the YAML config, you'd do something like:

"x.y.com:3003" : slug1

~~ Brian
_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to