This has to exist first...
/usr/local/ispconfig/server/conf-custom/index/
standard_index.html
Thats the new Kickstart.php file.
Then small mod here...
/usr/local/ispconfig/server/plugins-available/
apache2_plugin.inc.php
Quote:
// copy the standard index page
exec("cp /usr/local/ispconfig/server/conf-custom/index/standard_index.html ".escapeshellcmd($data["new"]["document_root"])."/web/index.php");
|
I just changed the index.html to index.php at the end there...
And now all the new sites are created with a custom index.php file.
Recent comments
1 day 9 hours ago
1 day 11 hours ago
1 day 23 hours ago
2 days 2 hours ago
2 days 6 hours ago
2 days 12 hours ago
2 days 22 hours ago
3 days 5 min ago
3 days 8 hours ago
3 days 9 hours ago