-
Posts
25,505 -
Joined
-
Last visited
-
Days Won
913
Everything posted by Krydos
-
Php Is There Any Way To Convert From \\r\\n To \r\n
Krydos replied to ridoy's topic in Website Management and Coding
# cat lineendings.txt text\\r\\n this doesn't look right\\r\\n # sed -i 's/\\\\r\\\\n/\\r\\n/g' lineendings.txt # cat lineendings.txt text\r\n this doesn't look right\r\n # The -i flag means "in place" so it overwrites the original file. The comical number of slashes (and backslahes) is because you need to escape each \ in regex. -
The django wiki page http://wiki.helionet.org/Django has an example of two static resources directories: media and admin_media. RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(hello/dispatch\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ hello/hello/dispatch.wsgi/$1 [QSA,PT,L] The [L] means last so when that rule is matched it stop going down the line. Since it stops before it forces everything to be processed through dispatch.wsgi it is served statically. Likewise if your request already has dispatch.wsgi in it it doesn't tack another dispatch.wsgi on there. Finally everything else is forced to go through dispatch.wsgi. To add another static directory just copy the media or admin_media line and replace it with the name of your directory.
-
Did you add the projects directory to the .htaccess file to prevent it from processing it through dispatch.wsgi?
-
Example url?
-
Https versus http shouldn't affect django in the slightest. Most likely you have conflicting .htaccess resulting in an infinite loop like I told you somewhere else on the forums.
-
Does this work better for you? https://www.helionet.org/index/topic/27585-django-on-tommy/?p=126077
-
[Solved] Oparachr Suspended
Krydos replied to chibuik.opara's topic in Suspended and Queued Accounts
Your account is not suspended. If you're seeing the suspended page please clear your cache. -
[Solved] Suspended For Inactivity, User : Chanaka
Krydos replied to chanaka's topic in Escalated Requests
Your account was archived because you haven't logged in for about 4 months. Be sure to log in at least once every 30 days to keep your account active. Unarchiving... Done. You should now be able to log in at https://www.heliohost.org/login/ and your website should start working again within 12 hours. -
Done. You should now be able to log in at https://www.heliohost.org/login/ and your website should start working again within 12 hours.
-
Your account was archived for inactivity since you hadn't logged in for over four months. Unarchiving...
-
2.7.13 was released 2016-12-17, and 3.6.1 was released 2017-03-21 There you go https://krydos2.heliohost.org/cgi-bin/modules36.py
-
After the addon domain appears on your addon domain list it can take up to 12 hours to start working. This is because you picked the Johnny server. On Tommy the addon domain always creates without errors and starts working instantly. On Ricky the addon domain always creates without errors and starts working within 2 hours.
-
Unblocked. Upon closer inspection of the log files it looks like it's the account jasmine.sims that is failing the imap log ins from your ip. Does that help you narrow down where the issue is?
-
[Sat Nov 18 15:41:29.007142 2017] [core:error] [pid 16181:tid 139824572905216] [client x.x.x.x:58347] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://django.area51.bailey.cf/projects/ That probably means you have conflicting .htaccess bouncing you back and forth.
-
It looks like you may have the wrong password saved in your SFTP client. Unblocked.
-
Thanks for letting us know.
-
Create the subdomain pergaminopc.andresgu.heliohost.org.
-
Which shebang are you using? They gave you 3 versions of python on Johnny. /usr/bin/env python = 2.6.6 (too old for new modules) /usr/bin/python = 2.6.6 (too old for new modules) /usr/bin/python2.7 = 2.7.13 /usr/bin/python3.6 = 3.6.1
-
Which version of python are you using?
-
If you login every 29 days your account will not be flagged as inactive.
-
I think someone tripped over Eddie's power cord. Out of the blue for no reason Eddie went offline.
-
You can change your main domain, but in order to change your username you must delete your account and create a new account with the new username. Perhaps a better solution would be to create custom error pages that look more professional. Let us know if you need any help with either path you choose to pursue.
-
For anyone who searches and finds this on the mysql database page down near the bottom you can add mysql users to mysql databases, and on the next screen you select the permissions ie: select, update, delete, etc.
-
Why do you need to send 152 emails within 24 hours of your account being created? Ah, answered my own question: Phishing. We ought to be more careful unsuspending these criminals. Thanks for letting us know about your phishing though. Since you went to the extra effort to try to get us to unsuspend you I went through the extra effort to read your phishing email, find the domain you're using, and contact your hosting provider at bitronictech.net to suspend you there too.
