| | |
Image folder shared between multiple domains.
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2008
Posts: 4
Reputation:
Solved Threads: 0
I'm developing a ecommerce solution in PHP. The ADMIN is stored on one DNA while the stores are hosted on their own unique domains. My problem is that I need the images that are uploaded on the admin domain be available to the client domains without hot linking from the admin domain. I was hoping to do this using either Apache or some custom DNS setting. I am running CPANEL/WHM on the server.
I tried setting up a CNAME pointing "images.storedomain.com" to "admindomain.com" but it does not work. I need each store to be able to pull the images from a url similiar to this: "images.storedomain.com/images/image_name.jpg" and that way I can upload images in one place but have it availble to multiple domains.
Any ideas on how to do this would be greatly appreciated.
Thanks, Nathan -
I tried setting up a CNAME pointing "images.storedomain.com" to "admindomain.com" but it does not work. I need each store to be able to pull the images from a url similiar to this: "images.storedomain.com/images/image_name.jpg" and that way I can upload images in one place but have it availble to multiple domains.
Any ideas on how to do this would be greatly appreciated.
Thanks, Nathan -
•
•
Join Date: Mar 2008
Posts: 154
Reputation:
Solved Threads: 19
Why are you creating an e-commerce application when there are open source ones available (including multiple stores . I know at least two)?
Matti Ressler
Suomedia
Matti Ressler
Suomedia
Last edited by Suomedia; Mar 31st, 2008 at 11:46 pm.
If you want your dreams to come true, the first thing you must do is to wake up....
Suomedia - Dynamic Content Management
Suomedia - Dynamic Content Management
Maybe she just want to create an application by herself and wants to know the processes intensively.And some e-commerce application lacks features needed by the client.
•
•
Join Date: Mar 2008
Posts: 154
Reputation:
Solved Threads: 19
If you want your dreams to come true, the first thing you must do is to wake up....
Suomedia - Dynamic Content Management
Suomedia - Dynamic Content Management
•
•
Join Date: Mar 2008
Posts: 4
Reputation:
Solved Threads: 0
As to why I would develop another ecommerce site when there are so many? Well the answer is simple... "a jack of all trades is a master of none" in ecommerce it is impossible to create a system that works for all applications, and the ones that do become to complicated for the majority of users. I create industry specific solutions that cater to the needs of that industry without needing to bog it down with useless features.
I appreciate all the replys but no one even attempted to answer the question.
How do I setup a shared image folder that can be access across multiple sites??? I know it's possible because I have seen similiar things done... I just figure out how to do.
And lastly... as my name would suggest; I am not a "she".
Thanks, Nathan -
I appreciate all the replys but no one even attempted to answer the question.
How do I setup a shared image folder that can be access across multiple sites??? I know it's possible because I have seen similiar things done... I just figure out how to do.
And lastly... as my name would suggest; I am not a "she".
Thanks, Nathan -
•
•
Join Date: Mar 2008
Posts: 154
Reputation:
Solved Threads: 19
You would need the domains hosted on the same server and serve the images using a proxy. (needs root access). Not my forte so you will need to Google it if nobody else has a solid answer.
Matti Ressler
Suomedia
Matti Ressler
Suomedia
If you want your dreams to come true, the first thing you must do is to wake up....
Suomedia - Dynamic Content Management
Suomedia - Dynamic Content Management
![]() |
Similar Threads
- This Should be Easy for You Guys! (Linux Servers and Apache)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
Other Threads in the PHP Forum
- Previous Thread: problem in displaying the content
- Next Thread: about PHP/MSQL database
| Thread Tools | Search this Thread |
301 apache api array autosuggest beginner binary broken cakephp checkbox class cms code compression cron curl data database date display dropdownlist dynamic echo email eregi error execution file files folder form forms function functions google href htaccess html httppost if...loop image include insert ip javascript joomla jquery key library limit link links login mail md5 menu mlm multiple mysql mysql_real_escape_string oop paypal pdf pdfdownload php phpvotingscript problem query radio random recursion remote screen script search searchbox server session sessions sms sorting source space sql syntax system table tutorial update upload url validator variable video volume votedown web website youtube zend





