Questions tagged [webfaction]

Webfaction is a hosting company which offers managed shared or dedicated servers.

Webfaction is an hosting company which offers managed shared or dedicated servers. A very popular feature is the one-click installer for various web frameworks (django, ruby et al.) and services (wordpress, drupal et al.) . Their services are based on SoftLayer's data centers in US, Amsterdam and Singapore.

209 questions
0
votes
1 answer

You may need to add 'www.example.com' to ALLOWED_HOSTS (but it is there)

As title shows, I get the You may need to add 'www.example.com' to ALLOWED_HOSTS ... (but it is there) Trying another approach, I simply put ALLOWED_HOSTS = ['*'] which if I am not mistaken allows any host, and should solve the issue for all…
Pipsqweek
  • 404
  • 4
  • 19
0
votes
1 answer

How to install apache2 modules on Linux without sudo

I am trying to install mod_pagespeed for my Apache2 server that I have serving up my Django application. I am using Webfaction as a hosting service, and am in the apache2 directory. I am trying to figure out how to install Apache2 modules as I…
TJB
  • 3,706
  • 9
  • 51
  • 102
0
votes
2 answers

Rails, Passenger and Authlogic

Has anyone figured out how to use authlogic with passenger? On the Github Binary Logic page there is a note that says it does not work, the problem is that when you log out, it does not really log you out -- you continue to be logged in -- I have…
sethg
  • 59
  • 7
0
votes
1 answer

Django Channels error : failed: WebSocket is closed before the connection is established

I am using Django with django channels. I am going off of Andrew Godwins django channels examples the "MultiChat" example. I am using Webfaction and Putty to try and get it going here is the code I got. settings.py redis_host =…
0
votes
2 answers

Is it possible to install pyaudio on a webfaction server without using sudo?

I am trying to install PyAudio inside my webfaction server. It gives me the following error. I got the same error while installing it locally but I read the solution and the sudo command solves it. The problem is webfaction does not allow the…
indexOutOfBounds
  • 541
  • 7
  • 27
0
votes
1 answer

Restarting a apache2 over perticular request in django

I am working a project, that creates an django app over a request. Since the webserver apache needs to be restarted to add new files created. I tried following: 1) Django request_complete Signals: This is not good way because I dont want my server…
Amar
  • 666
  • 5
  • 13
0
votes
2 answers

Server shell backup script (bash)

Name of a script - backup_script.sh Location of a script on server - /home/company_folder/company_site_backups Line added to the cron file: @monthly /home/company_folder/company_site_backups/backup_script.sh…
user5520959
0
votes
0 answers

Django ImportError: No module named although it is already in my python search path

I am solving this for quite a long time already. I print like this. python2.7 -c "import sys; print sys.path" And I saw my module directly there. ['', '/home/khantthulinn/lib/python2.7/pip-8.1.2-py2.7.egg', '/home/khantthulinn/lib/python2.7', …
Khant Thu Linn
  • 5,905
  • 7
  • 52
  • 120
0
votes
1 answer

Magento cron.php throws error when called via Cron or php

I recently hosted my website using Magento, upon setting up my cron.php i get the following output : /home/xxx/webapps/abc/cron.php: line 1: ?php : No such file or directory /home/xxx/webapps/abc/cron.php: line 2: /** : No such file or…
Jeremy
  • 2,516
  • 8
  • 46
  • 80
0
votes
0 answers

Can't add custom domains on my deployed django project

I recently deployed my Django project on Heroku. The deployment was correct but when I tried to add custom domains, the Heroku denies it by asking me to enter the credit card information for validation. I don't have a credit card and I simply want…
0
votes
2 answers

Static Files not served via Apache for Django Application

I have spend the entire day on this. I couldn't get my static files served. My Django application is working fine. I am using: Python 3.4, Django 1.8.13, mod_wsgi 4.5.2. I have solved most of the errors in my httpd.conf using other questions in SO.…
Rk..
  • 753
  • 1
  • 10
  • 27
0
votes
1 answer

Creating a Wordpress multisite inside a subsite directory

I'm using webfaction and I created a wordpress 'app' inside asite.com domain, named "monu". So monu resides in http://asite.com/monu. Now I'd like to create multiple sites within the monu app: http://asite.com/monu/site1,…
Rod0n
  • 1,019
  • 2
  • 14
  • 33
0
votes
1 answer

Running Flask-SocketIO on WebFaction through mod_wsgi

I have deployed a Flask application on Webfaction using mod_wsgi. My application is pretty simple but does implement Flask-SocketIO which is giving me troubles. My code works fine on my localhost but now that it is running on my Webfaction server…
Matt Visco
  • 59
  • 1
  • 7
0
votes
1 answer

Deploying a "working when run locally via pycharm" django app to webfaction

I've been following the steps in the box under "Configuring Django" here to try and get the django app up onto webfaction after getting it to work locally. I zipped my project folder and used scp myproject.zip catubc@web513.webfaction.com to get it…
Frikster
  • 2,755
  • 5
  • 37
  • 71
0
votes
1 answer

migrating django app to apache server: ImportError: No module named registration

Im have been having trouble migrating django project to apache server. I think that python cannot find django registration but it is installed in: /home/user/lib/python2.7/django_registration-2.0.4.dist-info. but i also have python2.7 in:…
Russ
  • 49
  • 1
  • 8