I am using my own mod_fcgid build with a wrapper so I can execute php scripts on a per-user basis and add a custom phpini if needed.
Now, since it uses a wrapper on a per-user basis, I need to have a file in the public_html directory in order for it to run properly.
So how can I run a script when a new domain or sub-domain is created? I tried searching the forum without luck, anyone have experience with doing this?
(The script I'm going to run is just going to copy the wrapper to the new public_html directory and chown/chmod it to the correct permissions)
Thanks in advance!



LinkBack URL
About LinkBacks
Reply With Quote




