Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th July 2013, 06:56
seopower seopower is offline
Junior Member
 
Join Date: Jul 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to stop ISPConfig3 to remove site folders while deleting a site

I have found that whenever you delete/remove a website ISPConfig3 automatically removed the related folder (web1, web2 etc).

I got in trouble when I accidentally deleted a site assuming it website alias and within seconds it deleted the website folder as well, loosing all data.

Now is there any possibility to stop ISPConfig to delete folders automatically ? Any coding change or setting ?
Reply With Quote
Sponsored Links
  #2  
Old 24th July 2013, 12:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

You will have to remove or comment out the code inside the delet function of the apache plugin.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th July 2013, 12:51
seopower seopower is offline
Junior Member
 
Join Date: Jul 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Where can I find that code / file ?

Last edited by seopower; 24th July 2013 at 12:51. Reason: spell
Reply With Quote
  #4  
Old 24th July 2013, 12:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

/usr/local/ispconfig /server/plugins-available/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 24th July 2013, 12:57
seopower seopower is offline
Junior Member
 
Join Date: Jul 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Is it the delete($event_name,$data) function in apache2_plugin_inc.php? But there are many exec lines .... exactly which line I have to comment?
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
Error deleting a site kassie Installation/Configuration 4 10th June 2007 14:24
Site stop working again! cybereatl Installation/Configuration 5 28th February 2007 14:05
ISPConfig stop working after i add a new site xTiNcTion Installation/Configuration 4 5th January 2007 23:55
I erased client and site folders... now I want them back danf.1979 General 3 20th December 2005 13:02
Changing domainname of a site doesn't remove old dns name joostvdl General 1 25th October 2005 16:30


All times are GMT +2. The time now is 03:47.


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