Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th May 2007, 10:41
the_spy the_spy is offline
Member
 
Join Date: May 2007
Posts: 91
Thanks: 20
Thanked 6 Times in 6 Posts
Default default index.html copy after an user update

with the stable version 2.2.12 on debian etch,

I have just updated (as admin) the quota of one user, and I saw that the default index.html as been copied to the web folder of the website of this user with this update.

Code:
[...]
20.05.2007 - 10:16:16 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1066: cp -fr /root/ispconfig/isp/standard_index.html_fr /var/www/web35/web/index.html
20.05.2007 - 10:16:16 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 257: setquota -g web35 8192000 8193024 0 0 -a &> /dev/null
20.05.2007 - 10:16:16 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 258: setquota -T -g web35 604800 604800 -a &> /dev/null
[...]
I'm not sure why it's doing this ? It could break an online site with a wrong index file.
Reply With Quote
Sponsored Links
  #2  
Old 20th May 2007, 11:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
Default

The default index file is copied if your website does not have any index file at all. e.g. index.html or index.php or index.pl or similar. You can set the list of valid directory index pages on the options tab of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th May 2007, 11:33
the_spy the_spy is offline
Member
 
Join Date: May 2007
Posts: 91
Thanks: 20
Thanked 6 Times in 6 Posts
Default

Yes but for this site, the Options Indexes is used and there is no need of an index.html file.

Ispconfig add this default index file when the website is created and of course it's normal, but then it should not change or add something in the website for a quota change or a password change.
Reply With Quote
  #4  
Old 20th May 2007, 11:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
Default

ISPConfig is working exactly as I described above, add you index file to the list if you do not want that ISPConfig copies the file again. This is the intended behaviour in ISPConfig and it is not a bug and we will not change this.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 20th May 2007, 11:49
the_spy the_spy is offline
Member
 
Join Date: May 2007
Posts: 91
Thanks: 20
Thanked 6 Times in 6 Posts
Default

ok but if I do not have an index file since I only want to use the default directory listing of apache with Options Indexes in the .htaccess ? May be ISPConfig could try to detect this before putting the default index.html file again.

I have tried to remove everything in the "DirectoryIndex" field but it does not change.

Thanks
Reply With Quote
  #6  
Old 20th May 2007, 11:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
 
Default

Ok, I will see if we can detect this in a reliable way.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
the_spy (20th May 2007)
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Default Mail scan settings for new users timehost Installation/Configuration 3 26th October 2007 12:05
log files cruz Technical 3 15th May 2007 14:35
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 17:54


All times are GMT +2. The time now is 21:44.


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