View Single Post
  #1  
Old 05-02-2008, 01:17 AM
pipesportugal's Avatar
pipesportugal pipesportugal is offline
Sergeant Major
 
Join Date: Jul 2007
Location: Oporto - Portugal
Posts: 99
Default Pointer to another folder

Hello everyone,

For the group of companies that I work for I have developed a crm software in php which is hosted at VH with domain name crmpt.com.

I have created several subdomains ex: aaa.crmpt.com, bbb.crmpt.com, one for each company, and cpanel creates a "aaa" and "bbb" folder below the html_public/www folder.

I am forced to have the same php files(they are so many....) on all subdomain folders.

Is it possible to have a "pointer" from each subdomain to the upper folder just like the www and html_public, one of them is pointing to the other right ?

This way I would point all the subdomains to the upper folder and would avoid me having all the same files in every folders.

The subdomain folder would only have the login/configuration file (one file only) for that company.

Also in software updates there would be the great risk that one of the subdomains could be forgotten to update.

I want each company to see in the browser line his own "aaa.crmpt.com" and the other one "bbb.crmpt.com" and so on.

I hope my question/doubt is clear. Is this possible or does anyone recommend something different as solution for my problem ?

Thanks in advance for all the help,
pipesportugal
Reply With Quote