This can usually be set at the domain host with a simple forward.

On Wednesday, May 22, 2013 8:54:51 PM UTC-5, Jason Allen wrote:
>
> Hi Guys, 
>
> I'm using OpenBD w/tomcat on Windows 2008. 
>
> I have a domain name ie company.com
>
> Both www.company.com and company.com resolve to the same website. 
>
> I have some jQuery based forms that use jSON via some cfcs. Problem is, if 
> someone goes to www.company.com, that's the url it uses until they click 
> on something (all my links are just 'company.com'). The reason this is a 
> problem is that if they try using any of the forms without hitting any 
> links, their host is 'www.company.com' and all my json queries are 
> referencing 'company.com', which essentially blocks the jSON requests due 
> to ' not allowed by Access-Control-Allow-Origin. ' errors. 
>
> My question is, how can I get a request to www.company.com to actually 
> resolve immediately to company.com in the browser? Can this be done via 
> dns at my provider? Or is there a tomcact/bluedragon setting? 
>
> Thanks!
>
>
>

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to