#1  
Old 7th August 2005, 19:51
hagel hagel is offline
Member
 
Join Date: Aug 2005
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default Change default web-template

Exactly which directory is used when creating new websites? I'd like to alter the default index.html which appears in newly created websites.

Cheers
Reply With Quote
Sponsored Links
  #2  
Old 7th August 2005, 21:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,484 Times in 4,316 Posts
Default

Quote:
Originally Posted by hagel
Exactly which directory is used when creating new websites? I'd like to alter the default index.html which appears in newly created websites.

Cheers
The standard index pages are in the directory:

Code:
/root/ispconfig/isp/
Reply With Quote
  #3  
Old 7th August 2005, 23:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by till
The standard index pages are in the directory:

Code:
/root/ispconfig/isp/
That's where all the template files are, you can modify them. But you can also use the ISPConfig web interface to create individual index pages: Management -> Server -> Settings -> Other.
Also each reseller can define individual index pages: ISP Manager -> [a reseller] -> Other.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 16th August 2005, 17:04
ajajaj ajajaj is offline
Junior Member
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How about adding extra files?

We want to offer some PHP scripts pre-installed for selected customers, how do we have them get added when a new client is installed?

for example, I want to install a directory called admin somewhere /root/ispconfig/isp/admin ??? and have it's contents copied to the web/admin folder of a new site.

kinda like /etc/skel gets copied for new users in a standard debian system...

hrm - could we use /etc/skel? will that work for the web#_username users?
Reply With Quote
  #5  
Old 16th August 2005, 17:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by ajajaj
We want to offer some PHP scripts pre-installed for selected customers, how do we have them get added when a new client is installed?

for example, I want to install a directory called admin somewhere /root/ispconfig/isp/admin ??? and have it's contents copied to the web/admin folder of a new site.

kinda like /etc/skel gets copied for new users in a standard debian system...

hrm - could we use /etc/skel? will that work for the web#_username users?
You can customize /root/ispconfig/scripts/lib/config.lib.php (function web_insert()) to achieve this.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 31st July 2006, 17:52
t.roijers t.roijers is offline
Member
 
Join Date: Feb 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default Copy default index.php and folder

Hi,

I would like to copy a default index.php and image folder to the new created website.

I would like to edit config.lib.php something like:

exec("cp -R /var/www/template/* /var/www/$wichvar");

Now, as you can guess i would like to know the exact var for $wichvar
Also any suggestions where (line) to put it?

Regards,
Tim
Reply With Quote
  #7  
Old 28th March 2010, 01:59
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 40 Times in 34 Posts
Default

Quote:
Originally Posted by falko View Post
You can customize /root/ispconfig/scripts/lib/config.lib.php (function web_insert()) to achieve this.
Where do i find this file on ispconfig3?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change the default port 81 ? Jugernaut Installation/Configuration 12 10th February 2010 14:09
Change keymap under Debian fernando Technical 3 15th June 2006 16:28
Change from https to http after install hagel Installation/Configuration 4 22nd August 2005 17:14
Changing default settings for mail accounts morphinex General 7 12th August 2005 12:12
my default webserver failed Venkatesh.S General 1 25th July 2005 10:11


All times are GMT +2. The time now is 06:39.


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