Help - Search - Members - Calendar
Full Version: Adding UTM files to every new domain
The Planet Forums > Control Panels > Urchin
protitude
Can someone tell me how to make it so everytime I create a new domain the following two files get copied into the /var/www/html/ directory of the new domain:
/usr/local/urchin/util/utm/__utm.gif
/usr/local/urchin/util/utm/__utm.js


Thanks in Advance,

Miles
protitude
I'm running on Ensim Pro by the way....
Ropey
I have put both files in:

/etc/virtualhosting/templates/apache/var/www/html/__utm.js
and
/etc/virtualhosting/templates/apache/var/www/html/__utm.gif

this will copy those file to all new sites and put the root rights on it, so people can't delete them as well.
Ropey
protitude
Great Thanks!!
dennism220
QUOTE
Can someone tell me how to make it so everytime I create a new domain the following two files get copied into the /var/www/html/ directory of the new domain


Is there a way to do this on plesk?

Thanks,
Den
Ropey
i don't know anything about plesk, but just find the templates folder plesk uses to install a website for your user (find the directory of the files he copies to the users directory)

ropey
protitude
OK so after looking in to this I noticed I already had the files copied into the right directory and it still isn't copying them into any new sites I create. This used to work before I upgraded to Ensim Pro... Is there a file or something that I need to list these files in?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.