Jump to content

Byron

Moderators
  • Posts

    9,153
  • Joined

  • Last visited

  • Days Won

    146

Everything posted by Byron

  1. For all of those who are familiar with .htaccess. Here's a way to protect ALL files on your site that begin with 'private'. Add the code below to your root directory's .htaccess file. AuthType Basic AuthName "Restricted Access" AuthUserFile "/home/user/.htpasswds/public_html/passwd" <Files ~ "^(private).*$"> require valid-user </Files> # protect another file called info.php <Files "info.php"> require valid-user </Files> Here's a way to protect multible files: <FilesMatch "^(exec|env|private|phpinfo).*$"> AuthName "Restricted Access" AuthType basic AuthUserFile "/home/user/.htpasswds/public_html/passwd" Require valid-user </FilesMatch> The easiest way to set this up is to use the cpanel option to protect your public_html folder for password protection and then go back and edit the code to what I posted so all of your public_html folder doesn't reqire a password. Cheers, Byron
  2. Here's a script that will search and destroy (unlink) any files you search for. I use it now to look for core files and delete them really quickly. What I do is enter core in the File: form and click Submit and see what comes up. If I'm happy with deleting those files I then hit my back button and check the check box and click Submit again and they're gone. http://byrondallas.heliohost.org/temp/serch-n-destroy.txt Oh and yea we were down this morning and afternoon.
  3. Didn't work for me either and I uncommented the line in the congig file that allowed for scanning .txt files. This is what it said: Clean: /home/byron/public_html/test/eicar.com.txt and this is the fake virus http://byrondallas.heliohost.org/test/eicar.com.txt Maybe it knows it's fake?
  4. It happens when the php goes down and someone makes a request for a php file on your site. It seems to be getting better lately. Just delete them when it happens. Cheers, Byron
  5. Sure, I'm interested, btw, this should be a way to test it. http://www.eicar.org/anti_virus_test_file.htm I tried his test on an old host I was on a few years ago that had a virus scan as a cpanel option and it worked then.
  6. This problem seems to be getting better. If you want your site to email you when this happens or when you have any 500 error read this topic. http://www.helionet.org/index/index.php?showtopic=4140
  7. I see were back up and running again after http failed. I was hoping the imagick class would get built back into the php, but alas it didn't Is there anyway you could restore the imagick class djbob? My site use allot of imagick. http://byrondallas.heliohost.org/php/tools/index.php Thanks, Byron
  8. Byron

    I'm back

    We are all anxiously awaiting your second coming (back) djbob! Cheers, Byron
  9. The Imagick Class is down, may I have it back? http://byrondallas.heliohost.org/php/countdown-summer.php Thanks, Byron
  10. I just tried to install a small template and got this error myself: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24 bytes) in /usr/local/cpanel/3rdparty/fantastico//includes/enc_check.inc.php on line 378 It doesn't have anything to do with your site or anything you did. Take this issue over to djbob in Customer Service. Cheers
  11. I don't think running it in the user directory would have effected Fantastico anyway because it seems to only get installed after you go to it from cpanel. Do you always get the same error "Allowed memory size of 134217728 bytes exhausted" on any program you try to install? Go to your cpanel and look at what the "Disk Space Usage" says.
  12. As far as I know there isn't anything in the public_html directory that as anything to do with Fantastico. Did you run that script inside your user directory by any chance? Have you tried installing a smaller program to see if it will install?
  13. I think they're (MX Records) located in your user directory inside the etc folder but I'm not 100% sure. I really don't think they are located inside the public_html folder which is where all of your public files are. The script below will recursively go through all of your public_html directories and remove every file and leave the directories only. You will need to set the correct path at the bottom of the script to the path on your site. If you want to remove folders too then let me know. http://byrondallas.heliohost.org/temp/recu...emove_files.txt EDIT: Forgot to tell you to upload that file to your root directory and give it a php extension.
  14. I'm not familiar with MX records but are they located in your user directory or the public_html directory? And are the files that you want to delete in your public_html directory?
  15. Are all of your email records in a seperate folder?
  16. As of 4/19/2009 people using php need to check your sites again for multiple core files that need to be deleted. If your site seems to get overloaded with huge core files during these down times, you can add this to your root .htaccess file and redirect all php requests to another page like your 500 Error page. RedirectMatch 302 ".php$" http://your_site.heliohost.org/files/500.cgi When things return back to normal, just comment out that line like so # RedirectMatch 302 ".php$" http://your_site.heliohost.org/files/500.cgi It will keep your site from filling up with huge core files. Cheers
  17. I get this message at my cron page: It seems cron jobs are still running ok, but I thought you might need to know this? Cheers, Byron
  18. People who use php on thier sites need to check for core files that need to be deleted. If you want to be emailed when this happens I wrote a simple perl script that will email you on the first 500 error and log any other 500 errors onto a text file. http://byrondallas.heliohost.org/scripts/perl_500_error.txt Upload this file to any directory and call it 500.cgi and chmod 755. This script will create a plain text file in the same directory it is run in called 500_list.txt and log the pages that give you errors. This line goes inside your root .htaccess file: ErrorDocument 500 http://your-site.com/path_to_script/500.cgi This script will email you the first time anybody on your site receives a 500 Error. Any other errors will be logged inside the 500_list.txt To start the script over again (to email you) just delete the 500_list.txt file You need to change the two email addresses to your own email addresses and add your own html. Cheers, Byron
  19. When you go to your cpanel does it show that domain as being created? If it doesn't then try to create it again.
  20. PHP went down today so all you people who use php on your sites check for huge core files that need to be deleted. Cheers, Byron
  21. Byron

    co.cc domain

    The administrator is back and if he doesn't see this thread and post to it than address the issue in this thread here because this has definetly been a problem around here: http://www.helionet.org/index/index.php?sh...4&st=0&
  22. Byron

    Page not showing

    Did your site ever come back after you posted about it here? http://www.helionet.org/index/index.php?sh...mp;p=40213&
  23. Byron

    I'm back

    Glad your back djbob! I definetly think getting rid of dead accounts is the first place to start so that you can reopen signups again. All of these ideas below sound great to me if not all of them. Try to prune enough existing accounts to reopen signups. Reinstate account auto-deletion script (was taken off due to some problems with the script).Shorten inactivity period required for deletion from three months to one month.Force all existing account holders to request that their account be preserved. Kill all accounts that are not requested to be kept within a month. I can go along with this if it keeps the ads off of my pages. Place more intrusive ads on the HelioHost home page.Place more intrusive ads on users' cPanel pages.Ask users to complete surveys when signing up, the profit from which would go to HelioHost.Ask users to join a mailing list when signing up, which would solicit them with offers and advertising. The profits would go to HelioHost. Whatever it takes to keep heliohost going and keep it the great free service that it is, I'm all for it. Cheers, Byron
  24. Byron

    co.cc domain

    You could try doing a refresh if you haven't already and then if that doesn't work then go from there.
  25. Byron

    co.cc domain

    Because you made the comment: and it sounded like you hadn't seen your site yet. As far as what your suggesting to try, I'm not exactly sure I understand what you mean but if it works for you and everybody else then go for it. I really don't have any other suggestions for you.
×
×
  • Create New...