Results 1 to 6 of 6

Thread: Delete public_html folder

  1. #1
    Member
    Join Date
    Dec 2008
    Posts
    31

    Default Delete public_html folder

    Hi,

    I wanted to know wether is it fine if I delete the ENTIRE CONTENTS of /home/user/public_html directory of a user
    It contains many folders of _vti_* types.
    Is it fine to Delete those files

    Regards

  2. #2
    Member
    Join Date
    Dec 2008
    Posts
    31

    Default

    Also if I am an root Admin and I want to know the databases of a particular account in a PHP cron job then how should I come to know of it

  3. #3
    Member arunsv84's Avatar
    Join Date
    Oct 2008
    Location
    127.0.0.1
    Posts
    372
    cPanel/WHM Access Level

    Root Administrator

    Default

    Hi,

    If you delete the contents of public_html directory your website will not work anymore.

    I wanted to know wether is it fine if I delete the ENTIRE CONTENTS of /home/user/public_html directory of a user
    It contains many folders of _vti_* types.
    Is it fine to Delete those files
    Yes, its ok to delete the entire contents. As long as you are not using front page extensions its safe to delete _vti_* folders.

    The databases for a particular account is located at

    /var/lib/mysql

    Hope this helps...

    [root@linux ~]$ w
    1:00:01 up 28 years 300 days, 22:00, 1 user, Today's status : Fine

  4. #4
    Member arunsv84's Avatar
    Join Date
    Oct 2008
    Location
    127.0.0.1
    Posts
    372
    cPanel/WHM Access Level

    Root Administrator

    Default

    Hi,

    Use file manager or ssh to remove the frontage extensions folders as sometimes it will throw errors if you try to remove thru ftp. This is because ftp wont display the hidden files inside folders while file manager displays all.
    [root@linux ~]$ w
    1:00:01 up 28 years 300 days, 22:00, 1 user, Today's status : Fine

  5. #5
    Member
    Join Date
    Dec 2008
    Posts
    31

    Default

    Is it ok to remove the .htaccess file as well!

  6. #6
    Member arunsv84's Avatar
    Join Date
    Oct 2008
    Location
    127.0.0.1
    Posts
    372
    cPanel/WHM Access Level

    Root Administrator

    Default

    yes, its ok to remove if you wish to delete the entire website.
    [root@linux ~]$ w
    1:00:01 up 28 years 300 days, 22:00, 1 user, Today's status : Fine

Similar Threads

  1. can't move public_html folder back
    By breakaway in forum Data Protection
    Replies: 3
    Last Post: 04-02-2007, 11:49 AM
  2. Dont delete this folder - folder interal data
    By ozzi4648 in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 06-27-2006, 10:18 AM
  3. Help: deleted public_html folder
    By doulosskm in forum Data Protection
    Replies: 4
    Last Post: 04-18-2006, 10:23 AM
  4. Redirecting from public_html/folder/ to domain.com/
    By PageUp in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 08-15-2004, 06:53 AM
  5. public_html folder missing
    By Markwaugh in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 12-20-2003, 11:01 PM