Jump to content

Krydos

Chief Executive Officer
  • Posts

    24,608
  • Joined

  • Last visited

  • Days Won

    871

Everything posted by Krydos

  1. Correct. You were getting a 500 error because when you access flask-dev.mabass.heliohost.org your webroot is /home/mabass/public_html/flask-dev/ and since the .htaccess was redirecting with this line RewriteRule ^(.*)$ flask-dev/flask.wsgi/$1 [QSA,PT,L] it was looking for /home/mabass/public_html/flask-dev/flask-dev/flask.wsgi which didn't exist.
  2. That deny,allow stuff, apart from being incredibly confusing, has also been deprecated for years, and was removed entirely in the latest version of Apache. I'm actually surprised it was still working as little as 10 months ago. This is what I use in .htaccess RewriteEngine On RewriteCond %{REMOTE_ADDR} !65.19.143.5 RewriteCond %{REQUEST_URI} !construction.html$ RewriteRule ^(.*)$ https://clstrfck.heliohost.org/construction.html [R=302,L]
  3. There you go https://flask-dev.mabass.heliohost.org/ Here's what I put in your .htaccess to make it work: RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(flask\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ flask.wsgi/$1 [QSA,PT,L]
  4. There you go https://krydos2.heliohost.org/cgi-bin/modules37.py
  5. No problem. Glad you got it working.
  6. Change this <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"> function hideLoader() { $('#loading').hide(); } to this <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> function hideLoader() { $('#loading').hide(); } See how the script tag with a src has a closing tag, and then a new script tag without a src starts the code section?
  7. Post the new url? The link from above is just a directory listing now.
  8. The code you posted above should work as long as you get a real copy of jquery.min.js on your site. Look at the file http://test.dogily.us.to/images/jquery.min.js Here are the first few lines: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> * { box-sizing: border-box; } * {background-color:#ffff; } /* Create three unequal columns that floats next to each other */ .column { float: left; padding: 10px; } That's html not jquery. I have no idea how it got there. This is what that jquery file should look like (the first line and some of the second) /*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,S="sizzle"+1*new Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-
  9. Actually, your jquery.min.js file isn't jquery at all. It's some random html. http://test.dogily.us.to/images/jquery.min.js You need to download an actual jquery file such as https://code.jquery.com/jquery-3.5.1.min.js
  10. Look at the console when you load that page: jquery.min.js:1 Uncaught SyntaxError: Unexpected token '<' Your jquery file is corrupt. You can probably just edit it and remove that '<'.
  11. What is the url?
  12. Unarchived.
  13. Remote access enabled.
  14. Did you include jquery above this code? The jquery code you're using will only work if you load the jquery library before you try to run the code. The code to load jquery will look something like this: <script type="text/javascript" src="jquery.min.js"></script>
  15. I can install lz4 and tex2img but cython is going to be kind of pointless without shell access. I think you need a vps https://www.heliohost.org/vps/
  16. It can take a few minutes to reactivate an account. If you try to login or change the password while it's inactive still it will fail. I'm glad everything is working for you now.
  17. What is your connection string?
  18. Remote access enabled.
  19. Krydos

    Donate

    While the majority of our donations through gofundme have come from people in the US, 37 out of 62 have come from countries other than the US so it definitely works wordlwide. Like Byron said we'll take donations of any form though. We just encourage people to try gofundme because we get the lowest fees from them. It varies depending on the size of the donation, but our effective fee rate on gofundme so far is 3.29%. Paypal is about 9% fees on a $5 donation. Bigger donations have a lower fee percentage though.
  20. Alright, your OS has been reinstalled, and is using the same IP and default password as before. Let me know if you need help with anything else.
  21. Which version of python are you using?
  22. High load can cause the login form to reply with Invalid Login even if your username and password are correct when the server is too slow to respond before the login form times out. We're actually working on upgrading our main website right now, and one of the top priorities on the new version of the website is to give a more meaningful error message than just Invalid Login all the time. Johnny is the most susceptible to high load because he is an experimental server and has the most accounts, but high load can affect Ricky and even Tommy occasionally.
  23. You might be confusing GB with GiB. 1 GB is 1000 MB. 1 GiB is 1024 MiB. cPanel measures diskspace in MB not MiB or GiB. You can see a converter here https://www.google.com/search?q=3000+MB+to+GiB This wikipedia page may also be useful and an interesting read for you https://en.wikipedia.org/wiki/Gibibyte EDIT: Here's what it shows for me in WHM
  24. Your account is active and appears to be working fine. Your last login date is today. Your IP address is not blocked. You should be good to go. The supported way to login to your account is at https://www.heliohost.org/login/ Any other login url may not count your last login date and your account could go inactive because you were logging in at an unsupported url.
×
×
  • Create New...