Jump to content

Krydos

Chief Executive Officer
  • Posts

    24,880
  • Joined

  • Last visited

  • Days Won

    886

Everything posted by Krydos

  1. We recommend you log in at https://heliohost.org/ to make sure your logins are counted. A quick rule of thumb is if you log in on a page that ends with .html such as https://tommy.heliohost.org:2083/frontend/paper_lantern/index.html your login won't be counted because .html files can't update our database.
  2. Your account was suspended for inactivity, because you haven't logged into your account in the last 30 days. To reactivate your account, please visit https://www.heliohost.org/renew. To prevent this from happening in the future please remember to visit https://heliohost.org/ to log into your account at least once every 30 days. If you are still seeing the Account Suspended page after renewing your account, please clear your cache.
  3. Here's an example of browser caching that I use. Just create a .htaccess file in your web root with the contents # Cache ExpiresActive On ExpiresDefault A0 # 1 YEAR - doesn't change often <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$"> ExpiresDefault A31536000 </FilesMatch> # 1 WEEK - possible to be changed, unlikely <FilesMatch "\.(js|css|jpg|jpeg|png|gif|swf)$"> ExpiresDefault A604800 </FilesMatch> # 3 HOUR - core content, changes quickly <FilesMatch "\.(txt|xml)$"> ExpiresDefault A10800 </FilesMatch> # 1 YEAR <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$"> Header set Cache-Control "max-age=31536000, public" </FilesMatch> # 1 WEEK <FilesMatch "\.(js|css|jpg|jpeg|png|gif|swf)$"> Header set Cache-Control "max-age=604800, public" </FilesMatch> # 3 HOUR <FilesMatch "\.(txt|xml)$"> Header set Cache-Control "max-age=10800" </FilesMatch> # NEVER CACHE - notice the extra directives <FilesMatch "\.(html|htm|php|cgi|pl)$"> Header set Cache-Control "max-age=0, private, no-store, no-cache, must-revalidate" </FilesMatch> <FilesMatch ".(js|css)$"> Header append Vary: Accept-Encoding </FilesMatch> Here's a good guide for getting the above the fold content to load faster on your page https://varvy.com/pagespeed/render-blocking.html
  4. It looks like the domain dt22.net was hosted on Stevie. Please see http://www.helionet.org/index/topic/26726-stevie-didnt-boot/ and http://www.helionet.org/index/topic/26915-hard-drive-failed/ etc. We recommend creating an account on Tommy and transferring your latest backup over to get your website back online. Let us know if you need any help.
  5. # gs GPL Ghostscript 9.07 (2013-02-14) Copyright (C) 2012 Artifex Software, Inc. All rights reserved. @codename25, any particular reason why it has to be jpeg? What size should the output be? Also, this might be worth reading https://www.reddit.com/r/explainlikeimfive/comments/t7fhi/eli5_why_the_jpeg_format_is_so_bad_with_text/
  6. The only way to change your username is to delete your account and create a new one.
  7. Long version: These default mail accounts actually predate the internet itself. Even at the beginning of computing in the early 70s unix was designed to be a multi-user system, and before computers could even really communicate with each other users on these old systems could send messages to each other. Bob might send Steve a message "Hey, I installed pine!" and the next time Steve logged in the command line would tell him that he had mail. Eventually clever people began forming networks of computers and the internet rolled into existence. Mail from these early computers was adapted to not only be able to send mail locally, as it had originally been designed on the same physical machine, but send the mails out over the network to another computer. TLDR: The default mail address is part of linux not cpanel.
  8. Awesome! I'm glad it's working for you now.
  9. What I'm suggesting is break your script into parts to test each function individually rather than just trying the whole thing at once. It's a common troubleshooting technique. For instance, if sending email from localhost works, then you could try sending email from gmail. Then if that works you can try having the script just display the data on the screen, and if that works maybe put the whole thing together to send the email, etc. Breaking it into smaller parts allows you to find which part isn't working rather than just seeing that the whole script doesn't work and you have no idea why.
  10. Krydos

    Old Website?

    That domain is currently hosted on webs.com instead of us. If you want to host hotclublinks.com with us set your nameservers to ns1.heliohost.org and ns2.heliohost.org.
  11. I renamed your forum account so you can create an account with the username robev. Let us know when your Tommy account is created and we can change your forum name back.
  12. Have you tried using the local smtp server instead of gmail? Something like #!/usr/bin/python # Import modules for CGI handling import cgi, cgitb # set header for cgi print "Content-Type: text/html\n\n" # Import smtplib for the actual sending function import smtplib sender = 'admin@domain.heliohost.org' receiver = 'email@gmail.com' message = """From: Krydos <{f}> To: Krydos <{t}> Subject: SMTP e-mail test This is a test e-mail message. """.format(f=sender, t=receiver) try: smtpObj = smtplib.SMTP('localhost') smtpObj.sendmail(sender, receiver, message) print "Successfully sent email" except SMTPException: print "Error: unable to send email"
  13. See http://www.helionet.org/index/topic/26726-stevie-didnt-boot/ and http://www.helionet.org/index/topic/26860-stevie-progress/ etc.
  14. Resent.
  15. Which website?
  16. We've been having trouble with the Johnny server over the past couple weeks. We plan to fix him in February when we have an admin going to California to work on the servers. In the meantime we recommend creating an account on Tommy.
  17. Oh, I just assumed you wanted .png since your example was a .png.
  18. Because you hadn't asked for Java or .NET to be installed over https yet.
  19. PHP Version: http://krydos.heliohost.org/54/phpinfo.php Input: http://krydos.heliohost.org/54/pdf-sample.pdf Code: <?php $myurl = "pdf-sample.pdf"; $image = new Imagick($myurl); $image->setResolution(300, 300); $image->setImageFormat("png"); $image->writeImage("pdf-sample.png"); Output:http://krydos.heliohost.org/54/pdf-sample.png I shrank the pdf a bit to make the image and it still looks pretty sharp to me.
  20. There you go https://giteshsshroti.heliohost.org/test.jsp and https://giteshsshroti.heliohost.org/test.aspx
  21. The one or two people who kept data in folders other than public_html lost information because I assumed (and for the sake of speed on the backup script) everyone would keep everything of importance in public_html. Actually, the only people I've seen keep websites anywhere other than public_html other than Nyten are phishers who are trying (and failing) to hide their scam sites...
×
×
  • Create New...