Jump to content

torels2

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by torels2

  1. Forgot the password for username disgrace, need a new one. Sorry 🤦‍♀️
  2. Hello, My account was hacked some time ago, and I got a new one. The new account's address is torels.heliohost.org I also have a torels.tk domain, but if I set the domain to point to ns1 and ns2, i get sent to my old, suspended account. This happens well over a 24h wait and with a clear browser cache. Any help in fixing that? thanks in advance
  3. Hello! I suspect my account was hacked. It was suspended for having a high resource consumption, and I asked for it to be unsuspended, but I couldn't log in to check what was going on and trying to retrieve my password was impossible because apparently the email address was changed. What can I do now? I had some non backed up files on there, but if they're gone it's not too bad, but I'd want to use my domain name at least. I googled for my password and found it in a table hosted by a website claiming to be Anonymous. Thanks in advance for the help
  4. I just noticed my account may have been hijacked. What can I do now? :/
  5. I am actually confused as to why my site was causing a high server load. I have an owncloud hosted there but I generally upload/download files of about 5MB maximum. I'm running a wallabag, which haven't been usign for quite a while and i'm running no server/client side scripts at the moment. What could that be due to?
  6. a: torels b: Tommy c: torels.tk Sorry, I went through a couple of messy months and totally lost track of my account. If the data is still there it would be great to have it back
  7. Hello! I'm trying to use a bottlepy script Bottlepy is a one-file framework (http://bottlepy.org) This is the hello world example I am trying to get working (straight from documentation, apart from the shebang) #!/usr/local/bin/python2.7 from bottle import route, run @route('/hello') def hello(): return "Hello World!" my bottle.py file is in the same directory (/maxartmod.tk), which is an addon domain as well This is my .htaccess file in that directory Options +ExecCGI AddHandler cgi-script .cgi .py RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.wsgi/$1 [L] the helloworld's name is index.wsgi When I navigate to maxartmod.tk/hello I get an Internal server error How can I solve this problem? Thanks in advance :)/&--#62;
  8. it's a new registration, with her email I'm just doing it for her Can I host it on my account but with another name? my account is reachable through torels.tk Could I make hers reachable through catcompany.tk? EDIT: Just found out the addon domain functionality
  9. Hello, I'm making a website for a friend of mine. When I try to register I always get an error message sying that an error was encountered. Can anybody help? Username: catco email: katharina.hansel@gmx.de domain name: catcompany thanks in advance
  10. But if I try and signup with that username I get an error :/
  11. My account was deleted something like 2 months ago because of inactivity, and I wanted to renew it I used the renew script, but I got this error message "We're sorry, but we either could not find that account in the database, or it is not listed as inactive. Please contact an administrator if you feel this message is in error." thanks in advance Edit: domain: torels.co.cc server: Stevie username: torels
  12. Hello there I was wondering if there is any way to deactivate or change the restriction of at least one access to the Cpanel in a month to prevent your account from being deleted I'm working on a project that basically manages itself through WSGI, so I won't really need to access the panel, if not very rarely Can it be changed in any way? Thanks in advance
  13. don't know... it was there so I left it. I never got to understanding what was going on in .htaccess files >.< ok now it's just not working... with no change at all >.< it just stays on load forever .-.
  14. Hi there. My website (http://torels.co.cc) seems to be very slow when handling wsgi scripts. It loads normal files pretty fast, but wsgi processing takes about 20 seconds. could it be the .htaccess file creating the problem? # -FrontPage- IndexIgnore .htaccess #*/.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName torels.co.cc AuthUserFile /home1/torels/public_html/_vti_pvt/service.pwd AuthGroupFile /home1/torels/public_html/_vti_pvt/service.grp DirectoryIndex index.wsgi index.html AddHandler wsgi-script .wsgi RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /home1/torels/public_html/index.wsgi/$1 [QSA,PT,L] Or is it more likely to be a coding issue that makes the script slow (like a badly coded loop or something)? thanks in advance
  15. I knew it searched for modules in the module dyrectory (the pythonpath) and, if they weren't there, it moved to the directory the script was in and, just then, returned an error if the files weren't there. It works when you run it in local. Anyway it's still not working, and i really can't figure out why I'm still using the last scripts I posted, except for the first two lines I added: import sys sys.path.append("/home/torels/public_html/") I think I will have to make some kind of import function using eval to make it work correctly :/
  16. yeah sorry one is .wsgi and the module is .py How do I add it to the pythonpath? and do i have to do it even if the files are in the same directory?
  17. i'm not using django... It's just 2 plain WSGI files is it the same? :/ they work when I merge them, but not if I separate them and part of it becomes a module
  18. I just realized it's depending on the import statement it happens when I try to import a module from the same direcrory the script is in so I have something like this module whatever.py: a = "whatever" def b(): return "whatever" script: import whatever def application(environ, start_response): status = '200 OK' output = whatever.b() response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))] start_response(status, response_headers) return [output] This won't work and it returns a 500 error :/
  19. nope. the typical Hello World for mod_wsgi is working fine even with a 644 is there any way I can activate a Debug instead of the 500 Error so to check for any errors or what's not working as it should? thanks Edit: this is the error log [Tue Nov 15 16:51:11 2011] [error] [client 217.202.70.69] File "/home1/torels/public_html/index.wsgi", line 2, in <module> [Tue Nov 15 16:51:11 2011] [error] [client 217.202.70.69] mod_wsgi (pid=18981): Exception occurred processing WSGI script '/home1/torels/public_html/index.wsgi'. [Tue Nov 15 16:51:11 2011] [error] [client 217.202.70.69] mod_wsgi (pid=18981): Target WSGI script '/home1/torels/public_html/index.wsgi' cannot be loaded as Python module.
  20. Hi there: I am writing a small wsgi framework on which il will run my website It works on my computer, but when I upload the scripts it's not working Here are the parts that I suppose are breaking it: this is the module class wsgiappl(): def __call__(self, environ, start_response): self.environ = environ # post headers start_response("200 OK", [("Content-type", "text/html")]) path = environ.get("PATH_INFO") urlpostdict = {'url':path, 'post':self.post()} url = self.findurl(path) if url == None: return "Error 404!" try: __ret = getattr(__main__, url)(urlpostdict) except TypeError: __ret = getattr(__main__, url)() return __ret def findurl(self, path): try: return self.urls[path] except KeyError: for k in self.urls: match = re.match(k, path) if match != None and match == path: return self.urls[k] else: return None def post(self): try: length=int(self.environ.get('CONTENT_LENGTH', '0')) except ValueError: length = 0 if length != 0: return self.environ['wsgi.input'].read(length) return "" and this is my index.wsgi import cms urls = {'/':'index'} application = cms.wsgiappl() the server has been configured so it recognises index.wsgi as an index file, and other script work fine both the files are modded 644 I am getting a 500 Error and nothing else Can anybody help? Does anybody know where the Erro Log files are? Edit: The whole problem is caused from the import statement, see last post for more info
  21. now i get a 404 not found... even though I see the file in my cpanel :/
  22. it only happens with WSGI scripts beginning with import web :/ I tried other *.wsgi scripts and the worked flawlessly Can there be any other cause giving a 500 error? Does anybody have a working example of a script using web.py??
  23. import web urls = ( '/(.*)', 'hello' ) app = web.application(urls, globals()) class hello: def GET(self, name): if not name: name = 'World' return 'Hello, ' + name + '!' if __name__ == "__main__": app.run() I tried saving this as "test.wsgi" in the cgi-bin directory and it gave a 500 Internal Server Error The script is working for sure though Am I getting something wrong?
  24. Hi there! Is it possible to add support for web.py? http://webpy.org/ thanks in advance
×
×
  • Create New...