NeuroPsyche
Regular Pleskian
I have a domain with close to about 30 aliases and am having trouble coding anything in Plesk or Sitebuilder
to use actual paths on the Plesk/Sitebuilder server.
Does anyone know of a work-around to managing hardcoded paths, for example
using the Hyperlink Module, using the FILE:\\ command to display a simple .pdf or .doc file to the
web user...
How does one code the FILE:\\ server\drive\path\file.ext if you want to use the
domain's \HTTPDOCS\ directory and maintain a directory in the root of the domain
ex. http://www.domain.com/<filesdirectory>
...whereas the <filesdirectory> is contained in the Primary domain physical path.
...where the problem occurs is if someone comes in on one of the alias domains. The path actually, if coded
to use the domain root path, will change.
Is there any variable, that anyone knows, which shows the actual Primary Domain Name? Instead of the actual
domain the user is on.
If anyone has any suggestions it would be greatly appreciated!
Thanks!
to use actual paths on the Plesk/Sitebuilder server.
Does anyone know of a work-around to managing hardcoded paths, for example
using the Hyperlink Module, using the FILE:\\ command to display a simple .pdf or .doc file to the
web user...
How does one code the FILE:\\ server\drive\path\file.ext if you want to use the
domain's \HTTPDOCS\ directory and maintain a directory in the root of the domain
ex. http://www.domain.com/<filesdirectory>
...whereas the <filesdirectory> is contained in the Primary domain physical path.
...where the problem occurs is if someone comes in on one of the alias domains. The path actually, if coded
to use the domain root path, will change.
Is there any variable, that anyone knows, which shows the actual Primary Domain Name? Instead of the actual
domain the user is on.
If anyone has any suggestions it would be greatly appreciated!
Thanks!