Jump to content

hawleyal

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by hawleyal

  1. I couldn't get this outgoing ports to work. It seems like they're only allowing 80 (http), 443 (http+ssl), and 25 (smtp). Maybe others, I haven't tested them all. http://alexanderhawley.com/ruby/testports.rb How did you get this to work? Thanks. -AH
  2. It appears as though several outgoing ports (including pop+ssl, imap+ssl) are blocked at the border firewall. I built a script to test these outgoing ports. I am trying to build a script to check all my email for me. http://alexanderhawley.com/ruby/testports.rb The results as of this posting: google.com:80 (http): true google.com:443 (http+ssl): true pop.gmail.com:995 (pop+ssl): false imap.gmail.com:993 (imap+ssl): false smtp.gmail.com:25 (smtp): true smtp.gmail.com:465 (smtp+ssl): false talk.google.com:5223 (jabber): false alexanderhawley.com:80 (http): true alexanderhawley.com:443 (http+ssl): true mail.alexanderhawley.com:110 (pop): true mail.alexanderhawley.com:995 (pop+ssl): true mail.alexanderhawley.com:143 (imap): true mail.alexanderhawley.com:993 (imap+ssl): true mail.alexanderhawley.com:25 (smtp): true mail.alexanderhawley.com:465 (smtp+ssl): true
  3. I keep getting errors when I try to use the ScriptLog directive. Is this now allowed in .htaccess? I've tried: ScriptLog script_log ScriptLog /script_log ScriptLog /public_html/script_log ScriptLog /home/hawleyal/public_html/script_log How in the world are you supposed to debug CGI without ScriptLog? Thoughts? Thanks. -AH
  4. It seems to be working again. Still don't know what's wrong. Thoughts? Thanks. -AH
  5. Okay, so it looks like it should work without adding any handlers. According to the HelioHost feature info. http://heliohost.org/home/features-mainmen...enu/rubyonrails However, "Just create a file" isn't accurate. Perl is the only language that works with any file extension and no file extension. Python works with .cgi and .py extensions and no extension. Ruby works with .cgi extension and no extension. Thoughts? Thanks. -AH
  6. Problem I cannot seem to be able to add the cgi-script handler for ruby scripts (.rb). I can run perl, python, and ruby scripts using the .cgi extension. I can run perl (.pl) and python (.py) scripts without adding any handlers. Interestingly, I can run perl scripts using any file extension without adding any handlers. I cannot run python or ruby scripts using any other extensions, even if I add handlers. Handler Examples I've tried adding it to the cPanel / Apache Handlers: handler: cgi-script extensions: .rb I've also tried adding it to the .htaccess file: http://alexanderhawley.com/cgi-bin/.htaccess AddHandler cgi-script .rb Perl Examples Perl works with extensions .cgi, .pl. No additional handlers needed. http://alexanderhawley.com/cgi-bin/testperl.cgi #!/usr/bin/perl -w print "Content-type: text/html\n\n"; print "perl"; http://alexanderhawley.com/cgi-bin/testperl.pl #!/usr/bin/perl -w print "Content-type: text/html\n\n"; print "perl"; Python Examples Python works with extensions .cgi, .py. No additional handlers needed. http://alexanderhawley.com/cgi-bin/testpython.cgi #!/usr/bin/python print "Content-Type: text/plain\n\n" print "python" http://alexanderhawley.com/cgi-bin/testpython.py #!/usr/bin/python print "Content-Type: text/plain\n\n" print "python" Ruby Examples Ruby only works with .cgi extension. Ruby does not work with .rb extension. http://alexanderhawley.com/cgi-bin/testruby.cgi #!/usr/bin/ruby print "Content-type: text/html\n\n" print "ruby" http://alexanderhawley.com/cgi-bin/testruby.rb #!/usr/bin/ruby print "Content-type: text/html\n\n" print "ruby" Thoughts? Thanks. -AH
  7. I'm having trouble connecting and staying connected to FTP. username: hawleyal@alexanderhawley.com host: ftp.alexanderhawley.com I've tried FTP, SFTP. I've tried Active/Passive mode. I've tried limiting connections. It was working fine this morning. Now I can't connect at all. Thoughts? Thanks. -AH
×
×
  • Create New...