I want to host images on separate sub-domain to avoid sending cookies with HTTP request.
There are two domains:
- mydomain.com - to serve all the content
- static.mydomain.com - to serve images and static content
Both domains are pointing to the same directory hierarchy.
So is there any way to utilize Zend framework feature to:
- In development environment reference to static content locally
- In production environment use full domain name (static.mydomain.com)