I don't know if this is the right forum for this, please tell me if not.
I have a domain with several subdomains, one for each customer.
Example:
subdomain1.domain.com
subdomain2.domain.com
I have a picture database (mysql) in the root of the domain because I want my customers to access the same same PHP scripts, so when a change is made to a script, every customer get the update.
The idea is to set a path to the picture folder (located in each subdomain) in the index file. The reason is that a customer may have a image with the same filename as another customer, so I can't have one picture folder for all customers. I plan to store the path in a session variable.
The url I get in my browser when I first hit the page is subdomain1.domain.com and that is fine. But when I click the link to get to the index page in the root of my domain I get the following url, subdomain.domain.com/index.html
Is it possible to get rid if the index.html part of this url. Or maybe I can build it in a completely different way. Please let me know what you think.