HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   New site default files (http://www.howtoforge.com/forums/showthread.php?t=44408)

Toucan 29th March 2010 00:19

New site default files
 
I'm writing a custom index.html page for new sites. It's ultimate intention is to run a php script for a semi installation of the joomla package. I've modified the index.html page without problem but i need a couple of php pages also to be copied to new sites.

I read a thread in which applied to ispconfig2 here
http://www.howtoforge.com/forums/showthread.php?t=213
but I couldn't seem to find the files in ispconfig3.

How can I achieve the same in ispconfig3?

till 30th March 2010 20:09

You can write a new server plugin and attach it to the website create events. There are several threads about this in the developer forum and take a look at the apache plugin to get some example code.

Toucan 1st April 2010 20:48

Quote:

Originally Posted by till (Post 223792)
You can write a new server plugin and attach it to the website create events. There are several threads about this in the developer forum and take a look at the apache plugin to get some example code.

Thanks, I've been searching around the forum and am struggling to find this. I'm searching using the words 'apache plugin'

Can I edit the default script that tells it to copy the standard index, favicon etc? If i can where would i find this?


All times are GMT +2. The time now is 11:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.