![]() |
Custom standard files and own shellscript execution after creating a new web
Hey,
i like to change the standard files that are located in a new web. I would run an own shell script that moves the required files from a common folder and sets some links. Is there a global shell script that is executed? (A php script is also possible.) Thanks for your help! Cheers! |
About which ISPConfig version do you talk?
|
I am still using ISPConfig 2.2.
|
Quote:
|
Super! Thank you very much!!
|
Hello, i was wondering if you can help me with something.
im also using version2 with remote framework. my goal: i want to install a script automatically in the new website's directory by uncompressing the files. for example, i have a file called myscript.tar.gz myscript.tar.gz contains files: header.php index.php footer.php in config.lib.php i put this my code after this line: if(!is_dir($web_path."/"."user")) mkdir($web_path."/"."user", $directory_mode); my code is: exec("tar xvfz /var/www/web1/ispconfig/scripts/myscript.tar.gz -C ".$web_path."/") so when the new site is created, i can see my script files in: /var/www/webX/web/ X = new $doc_id so i was wondering if im just re-inventing the wheel here and perhaps there's already a feature in ispconfig that will allow automatic installation of scripts. for example, i have some users who want to start their new blog. so i would like for a way to install wordpress automatically when a new site is created using wordpres.tar.gz and then all i have to do is fopen() the config file and edit to the new sites configs (eg: dbuser, dbpassword, etc..) thanks for your time. |
Quote:
|
For ispconfig versione 3.011 ?
Tk |
No, that feature doesn't exist in ISPConfig 3 either.
|
| All times are GMT +2. The time now is 10:00. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.