Re: Dreamhost for Django hosting.

2014-03-09 Thread Dan Gentry
I've had good luck hosting an app with a Dreamhost shared hosting account. I even wrote a post about it a couple of years ago. (Maybe I should update it for 2014) http://dashdrum.com/blog/2011/08/django-on-dreamhost/ On Saturday, March 8, 2014 11:53:54 PM UTC-5, Chen Xu wrote: > > I am tryin

Re: Dreamhost for Django hosting.

2014-03-08 Thread Ezequiel Bertti
Hi, I use Dreamhost, they don't have a virtualbox on shared server. But you can use your own python environment with pyenv. http://wiki.dreamhost.com/Python https://github.com/yyuu/pyenv-installer https://github.com/yyuu/pyenv On Sun, Mar 9, 2014 at 4:53 AM, Chen Xu wrote: > I am trying to

Re: Dreamhost Virtualenv Question

2011-07-07 Thread Andre Terra
A few more important things to note: Your projects shouldn't live within your virtualenv directory. You can create projects and virtualenvs with the same name (I often do), but it's not mandatory. So here's an example setup ~/virtual/djangotrunk ~/virtual/socialwebzone ~/projects/socialwebzone

Re: Dreamhost Virtualenv Question

2011-07-06 Thread DrBloodmoney
On Wed, Jul 6, 2011 at 3:31 AM, i...@webbricks.co.uk wrote: > oh yeah > http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/ > > that page is my goto reference on building a virtualenv, you might > have already found it, but if not... > > On Jul 5, 10:28 pm, Jeremy wrote:

Re: Dreamhost Virtualenv Question

2011-07-06 Thread i...@webbricks.co.uk
Jeremy, there's a concept you need to understand to progress here. its on that took me while to properly understand, but which i think is natural to someone in a foss development role, which i hadn't previously been. the python path is the all important config item. it defines where python look s

Re: Dreamhost Virtualenv Question

2011-07-06 Thread i...@webbricks.co.uk
oh yeah http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/ that page is my goto reference on building a virtualenv, you might have already found it, but if not... On Jul 5, 10:28 pm, Jeremy wrote: > AHHH, that makes a little more sense.  I'm trying to install apps from

Re: Dreamhost Virtualenv Question

2011-07-05 Thread Jeremy
AHHH, that makes a little more sense. I'm trying to install apps from Github. Things like Pinax, and different individual blogging apps so that I can "plug" them into one Django project to give it multiple bits of social functionality. Obviously I'm having a lot of trouble (some of it being that

Re: Dreamhost Virtualenv Question

2011-07-05 Thread bruno desthuilliers
I can only second Shawn here. FWIW, virtualenv is just a way to have different (more or less) isolated *Python* environments on a same system, and has no notion of a "Django project". -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to th

Re: Dreamhost Virtualenv Question

2011-07-05 Thread Shawn Milochik
On Tue, Jul 5, 2011 at 2:10 PM, Jeremy wrote: > Hello, I'm completely new to Django and the concept of virtualenv. > I'm trying to set up a web site and add in third party applications > such as the zinnia blogging app, but having some issues.  I believe > that I've set up the virtualenv correctly

Re: Dreamhost Virtualenv Question

2011-07-05 Thread Oscar Carballal
Take a look to this article i wrote a couple of months ago blog.oscarcp.com/?p=167 its about installing django 1.3 on dreamhost, it may help you Enviado desde mi HTC El 05/07/2011 20:13, "Jeremy" escribió: > Hello, I'm completely new to Django and the concept of virtualenv. > I'm trying to set up

Re: Dreamhost PS installation problems.

2009-10-22 Thread Daniel Roseman
On Oct 20, 2:04 pm, wonderfullyrich wrote: > I'm trying to use a mix between thehttp://wiki.dreamhost.com/Django#Setup > andhttp://webhostingreal.com/content/view/18/1/(which looks slightly > more recent then the wiki) to setup django on a PS server with > Dreamhost.  I'm stuck at the easy_instal

Re: Dreamhost PS installation problems.

2009-10-22 Thread Richard Jeong
As a follow up, does anyone know of a individual/group that I can pay to help me resolve this error? As this is work related I need to get it resolve and I can't afford to leave dreamhost right now. I'd like to see if I can find someone who can spend an hour or two an help me find out if it's pr

Re: Dreamhost now supports Django

2008-07-17 Thread Malcolm Tredinnick
On Thu, 2008-07-17 at 16:43 -0400, Ned Batchelder wrote: > Here's what I got, I have no idea if I need to do anything unusual to > change the python path or anything: > > nedbat.coke ~> python > Python 2.3.5 (#2, Oct 16 2006, 19:19:48) > [GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2 > Type "help", "

Re: Dreamhost now supports Django

2008-07-17 Thread jake elliott
On Jul 17, 3:15 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Can anybody who is in a position to check this out please look at one > thing in particular: assuming the default database is still MySQL, which > version of the python MySQLdb wrapper are they using? If > >         >>> import M

Re: Dreamhost now supports Django

2008-07-17 Thread Ned Batchelder
Here's what I got, I have no idea if I need to do anything unusual to change the python path or anything: nedbat.coke ~> python Python 2.3.5 (#2, Oct 16 2006, 19:19:48) [GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import MyS

Re: Dreamhost now supports Django

2008-07-17 Thread Ramdas S
Ok this is the mail I recd just now Hey! This is just a note to let you know that the suggestion: "Add support for Django (a python web-development framework)." from the category "New Features" has been marked as completed. So you now have another 4 credit(s) to vote on more suggestio

Re: Dreamhost now supports Django

2008-07-17 Thread Malcolm Tredinnick
On Fri, 2008-07-18 at 01:37 +0530, Ramdas S wrote: > Hi, > > Just recd notice that Dreamhost is officially supporting Django. > Anyone has tried it out lately. I've had extremely bad expeirence with > Fast CGI a year back. Can anybody who is in a position to check this out please look at one th

Re: Dreamhost now supports Django

2008-07-17 Thread Juanjo Conti
Where can I read the notice and get directions? 2008/7/17 Ramdas S <[EMAIL PROTECTED]>: > Hi, > > Just recd notice that Dreamhost is officially supporting Django. Anyone has > tried it out lately. I've had extremely bad expeirence with Fast CGI a year > back. > > Please give feedback > > -- > Ram

Re: Dreamhost now supports Django

2008-07-17 Thread Marinho Brandao
Hi Ramdas, about 1 or 2 years ago, I head some headaches with DH Django's sites, using their FastCGI sollution (the problema wasn't the FastCGI, but the lot of shared accounts in the server). now it is working well, in last months. I don't know what really they changed to annound an official su

Re: Dreamhost Statistics + Django

2007-02-13 Thread chasfs
Eugene, Thanks for the quick reply! That solved the problem. Is this a great group or what? Thanks, -chasfs On Feb 14, 12:05 am, Eugene Lazutkin <[EMAIL PROTECTED]> wrote: > No need to do it in Dkango --- you should add more rewrite rules in > .htaccess (seehttp://wiki.dreamhost.com/index.php

Re: Dreamhost Statistics + Django

2007-02-13 Thread Eugene Lazutkin
No need to do it in Dkango --- you should add more rewrite rules in .htaccess (see http://wiki.dreamhost.com/index.php/Django for details): RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR] RewriteCond %{REQUEST_URI} ^/failed_auth.html$ RewriteRule ^.*$ - [L] It will take care of /stats URL. If you

Re: Dreamhost: admin works, rest doesn't

2006-08-25 Thread Paulo
Go checkout DH's status page < http://status.dreamhost.com/ >. You MySQL DB server might have been knocked offline. If your sites' uptime is important to you get as far away from DH as possible. Granted you get what you pay for so a $12 hosting account with more bells and whistles than you can ev

Re: Re: DreamHost

2006-08-09 Thread Jure Čuhalev
On 8/9/06, george webzary <[EMAIL PROTECTED]> wrote: > I shall record some of the dumb mistakes I made, later as a comment on > jeff's blog. Please also do it in Dreamhost wiki since that is the page I think that most users will check first. regards, Jure Cuhalev --~--~-~--~~---

Re: DreamHost

2006-08-09 Thread george webzary
Guys,Manage to get these things working finally,The problem is that I messed up the spaces between some of regex stuff. Thanks a million for all the help. I think one of us need to keep the .htaccess, django.py and other files on some link where other django users can wget and use it.I shall recor

Re: DreamHost

2006-08-09 Thread Julio Nobrega
Hi George, It says the Mysql connection has gone away or something like that? It happens the first 12 or 16 hours when I add a new domain and Django on Dreamhost. Looks like the DB server isn't synchronized yet, or something like that. Wait one or two hours, try again, it should work 50% o

Re: DreamHost

2006-08-09 Thread george webzary
Also can I wget any working .htaccess files from django dreamhost installation.ThanksGeorgeOn 8/9/06, george webzary < [EMAIL PROTECTED]> wrote:Hi,I am a able to get django.fcgi now to work. Even the admin module is working on http://blog.pythonmag.com/django.fcgi/admin But I am not able to see th

Re: DreamHost

2006-08-09 Thread george webzary
Hi,I am a able to get django.fcgi now to work. Even the admin module is working on http://blog.pythonmag.com/django.fcgi/adminBut I am not able to see the admin welcome page using the blog.pythonmag.com/admin/I think problem is with the .htacess file.I checked again and again, cannot find anything

Re: DreamHost

2006-08-09 Thread george webzary
hi,The hello.fcgi is now working. It just started working. I did not do anything significantI think the solution is  around the corner!But the admin/ is not working. It is throwing an error 500. Nor the domainname.com/django.fcgi/admin working. But it tries to connect to to the server and says that

Re: DreamHost

2006-08-09 Thread Eugene Lazutkin
george webzary wrote: > > I have tried all! > > Just for the records. > > I have followed jeff croft's tutorial first. > No harm in checking on all. > > But I had done this checklist > > 1) I have turned fastcgi Coming back to the original Wiki (http://wiki.dreamhost.com/index.php/Django):

Re: DreamHost

2006-08-09 Thread Eugene Lazutkin
george webzary wrote: > > I have tried all! > > Just for the records. > > I have followed jeff croft's tutorial first. > No harm in checking on all. > > But I had done this checklist > > 1) I have turned fastcgi Coming back to the original Wiki (http://wiki.dreamhost.com/index.php/Django):

Re: DreamHost

2006-08-09 Thread george webzary
I wrote it using vi on the ssh shell!Is it possible of such a thing occuring GeorgeOn 8/9/06, Michael Spencer < [EMAIL PROTECTED]> wrote:george webzary wrote:> simon/eugene, >> I have tried all!>> Just for the records.>> I have followed jeff croft's tutorial first.> No harm in checking on all.>> Bu

Re: DreamHost

2006-08-09 Thread Michael Spencer
george webzary wrote: > simon/eugene, > > I have tried all! > > Just for the records. > > I have followed jeff croft's tutorial first. > No harm in checking on all. > > But I had done this checklist > > 1) I have turned fastcgi > 2) My website is pointing to the rightfolder > 3) My django pro

Re: DreamHost

2006-08-09 Thread Jay Parlar
Could you maybe post your .htaccess and django.fcgi files? Jay P. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscri

Re: DreamHost

2006-08-09 Thread george webzary
One more thing! I have complained to dreamhost folks. I am awaiting their mailsThanks for all the suggestions. Great work , guysGeorgeOn 8/9/06, george webzary <[EMAIL PROTECTED]> wrote: simon/eugene,I have tried all!Just for the records.I have followed jeff croft's tutorial first.No harm in check

Re: DreamHost

2006-08-09 Thread george webzary
simon/eugene,I have tried all!Just for the records.I have followed jeff croft's tutorial first.No harm in checking on all. But I had done this checklist 1) I have turned fastcgi 2) My website is pointing to the rightfolder 3) My django project is all fine 4) I can see my database fields. Entries

Re: DreamHost

2006-08-08 Thread [EMAIL PROTECTED]
Basic question, apologies if you've checked this already. Have you double checked that you turned on fastcgi support for that (sub)domain in the Dreamhost control panel - it's not enabled by default. --~--~-~--~~~---~--~~ You received this message because you are

Re: DreamHost

2006-08-08 Thread Eugene Lazutkin
Rather obvious question: did you try to complain to DreamHost people about your problems? FastCGI is supposed to work. Thanks, Eugene george webzary wrote: > I tried everything. I touched the fcgi files, pkilled python. There is > no problem > as far as django itself is concerned. It is worki

Re: DreamHost

2006-08-08 Thread george webzary
I tried everything. I touched the fcgi files, pkilled python. There is no problemas far as django itself is concerned. It is working very well. I am able to create apps, models, templates, acess the manage.py shell. I can do whatever I can do on my Ubuntu PC The problem is definitely with Fast CGI

Re: DreamHost

2006-08-08 Thread Jure Čuhalev
On 8/8/06, george webzary <[EMAIL PROTECTED]> wrote: > Hi, > > Has anyone set up a web site on DreamHost with Django pre 0,96 lately. I > tried yesterday. It just does not seem to work. I tried Jeff Croft's > tutorial first, then changed the code based on this link > http://www.djangoproject.com/

Re: DreamHost

2006-08-08 Thread Jay Parlar
On 8/8/06, george webzary <[EMAIL PROTECTED]> wrote: > Hi, > > Has anyone set up a web site on DreamHost with Django pre 0,96 lately. I > tried yesterday. It just does not seem to work. I tried Jeff Croft's > tutorial first, then changed the code based on this link > http://www.djangoproject.com/

Re: Dreamhost - does anyone know a better webhosting?

2006-05-16 Thread Jacob Kaplan-Moss
On May 16, 2006, at 4:22 PM, Phil Powell wrote: > I have been hosted with these guys: http://www.bytemark.co.uk/ for > quite some time. I started out with them when they were a young > startup, and I can highly recommend them if you're looking for "full > control" solution. I can also highly rec

Re: Dreamhost - does anyone know a better webhosting?

2006-05-16 Thread Phil Powell
I have been hosted with these guys: http://www.bytemark.co.uk/ for quite some time. I started out with them when they were a young startup, and I can highly recommend them if you're looking for "full control" solution. They are a UK-based company, and they provide a very reliable "Virtual machin

Re: Dreamhost - does anyone know a better webhosting?

2006-05-16 Thread Remi
> I have been using Dreanhost for share webhosting service for a few > months already but I found out it is very unreliable. If there is a > higher traffic my site goes down. From the beginnig I was happy - no > problem - but now when more users come to my site - problems repeat > all over and ov

Re: Dreamhost recommended?

2006-05-03 Thread SmileyChris
I haven't launched anything public on Dreamhost yet, but I haven't had any problems with some test apps I put up. So that's a tentative +1 success, pending a real app launch :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Dreamhost - agh!

2006-03-04 Thread Jan Claeys
Op vr, 03-03-2006 te 11:54 -0600, schreef Eugene Lazutkin: > ...but your own separate physical computer is even better. And for > moderately serious stuff you can use your own collocation facilities > spread around the globe, which can be supplemented by relatively cheap > Akamai offering. :-)

Re: Dreamhost - agh!

2006-03-04 Thread PythonistL
I also use Dreamhost without any problems.I think my Django projects run on avalon server Regards, L. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan

Re: Dreamhost - agh!

2006-03-03 Thread Eugene Lazutkin
Graham King wrote: > > I totally agree too ! The freedom of your own server (VPS) is well > worth it. I've used linode.com for over a year now and I love it. You > end up getting better at system administration skills (setting MySQL, > Apache, etc) and get a much better understanding of how

Re: Dreamhost - agh!

2006-03-03 Thread Graham King
pbx wrote: > Adrian said: >> I've never used Dreamhost, but I'll just toss in my two cents that >> having a dedicated server, with root access, is well worth it. >> ... it's still kinda-sorta affordable in the grand scheme >> of things if you're serious about making Web apps. > > I totally agre

Re: Dreamhost - agh!

2006-03-03 Thread pbx
Adrian said: > I've never used Dreamhost, but I'll just toss in my two cents that > having a dedicated server, with root access, is well worth it. > ... it's still kinda-sorta affordable in the grand scheme > of things if you're serious about making Web apps. I totally agree. It's great to have r

Re: Dreamhost - agh!

2006-03-02 Thread patrick k
again, from one of my many discussions with dreamhost. dreamhost says: "Currently demand for django is not very high. If the demand picks up we will likely add direct support for it. This is why we added Ruby on Rails support." "It (Django) is currently not installed by default, again, because

Re: Dreamhost - agh!

2006-03-02 Thread Adrian Holovaty
On 3/2/06, Jeremy Jones <[EMAIL PROTECTED]> wrote: > I'm starting to think if you want to be one of the cool kids, you need > to find hosting elsewhere. I've been moderately unhappy at times with > my Dreamhost account. I'll have to do some soul-searching when my year > is up as to whether I wan

Re: Dreamhost - agh!

2006-03-02 Thread Eugene Lazutkin
Bryant wrote: > > FastCGI: comm with (dynamic) server > "/home/[username]/[domainname]/django.fcgi" aborted: (first read) idle > timeout (120 sec) > FastCGI: incomplete headers (0 bytes) received from server > "home/[username]/[domainname]/django.fcgi" I didn't see these messages before. > Plea

Re: Dreamhost - agh!

2006-03-02 Thread Jeremy Jones
On Fri, 03 Mar 2006 01:18:42 - "Bryant" <[EMAIL PROTECTED]> wrote: > > I posted once, earlier, about problems I've been having getting Django > to run on a basic Dreamhost account. I've followed the instructions at > http://wiki.dreamhost.com/index.php/Django to the letter, and Django > is r

Re: Dreamhost, Django and MySQL server connection

2006-02-16 Thread Eugene Lazutkin
[EMAIL PROTECTED] wrote: > I have been running this patch for almost 2 days, and I just got my > first "lost connection" So far my "lost connections" could be traced to Dreamhost rebooting servers. I suggest to follow up with them to trace a reason. Thanks, Eugene --~--~-~--~~---

Re: Dreamhost, Django and MySQL server connection

2006-02-16 Thread [EMAIL PROTECTED]
I have been running this patch for almost 2 days, and I just got my first "lost connection" Traceback (most recent call last): File "/home/skabber/python/django/core/handlers/base.py", line 74, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/home/skab

Re: Dreamhost, Django and MySQL server connection

2006-02-15 Thread Eugene Lazutkin
kmh wrote: > > So I tried running this patch on a very low-volume production server > and MySQL (4.1/ Ubuntu Breezy) started chucking some "Too many > connections" errors. :-) But no "lost connections" now? > I'm no expert on RDBMS. I did some googling and discovered the MySQL > "max_connectio

Re: Dreamhost, Django and MySQL server connection

2006-02-15 Thread kmh
Eugene Lazutkin wrote: > kmh wrote: > > Edgars Jekabsons wrote: > >> OK, posted a patch agaist trunk (revision 2307) > >> http://code.djangoproject.com/attachment/ticket/463/mysql_rev2307.diff > >> > >> -- > >> Edgars > > > > Hey thanks Edgars, > > > > I'll run it for a while and post encouragemen

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread Eugene Lazutkin
kmh wrote: Edgars Jekabsons wrote: OK, posted a patch agaist trunk (revision 2307) http://code.djangoproject.com/attachment/ticket/463/mysql_rev2307.diff -- Edgars Hey thanks Edgars, I'll run it for a while and post encouragement to the ticket if I have no problems. Kieran Let me know ho

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread [EMAIL PROTECTED]
I was also experiencing sql disconnect errors with Dreamhost. I have just updated my site http://www.socialistsoftware.com/ to use this patch. We will see how it goes.

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread kmh
Edgars Jekabsons wrote: > OK, posted a patch agaist trunk (revision 2307) > http://code.djangoproject.com/attachment/ticket/463/mysql_rev2307.diff > > -- > Edgars Hey thanks Edgars, I'll run it for a while and post encouragement to the ticket if I have no problems. Kieran

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread Edgars Jekabsons
OK, posted a patch agaist trunk (revision 2307) http://code.djangoproject.com/attachment/ticket/463/mysql_rev2307.diff -- Edgars

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread kmh
Edgars Jekabsons wrote: > Hi Kieran, > > I posted a working patch against Django release 0.91 on the same ticket > http://code.djangoproject.com/ticket/463 Thanks Edgars, Unfortunately your patch can't get committed as-is either because it is against 0.91 and there have been a few changes since

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread Edgars Jekabsons
Hi Kieran, I posted a working patch against Django release 0.91 on the same ticket http://code.djangoproject.com/ticket/463 HTH, Edgars

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread Jeremy Jones
On Mon, 13 Feb 2006 11:12:27 -0800 "Edgars Jekabsons" <[EMAIL PROTECTED]> wrote: > > Does anyone else who uses Dreamhost has problems with MySQL connection > going away? > > The project I suggested hosting there is not even inproduction yet, > but we get MySQL server errorsa lot (a few time

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread kmh
Eugene Lazutkin wrote: > foot wrote: > > We've got our django project hosted over at Site5 and we have a similar > > MySQL problem: A (2006, MySQL server has gone away) error, whenever the > [snip] > > It would be great to get this fixed tho... > > It was fixed 5 months ago but didn't make it to t

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread Eugene Lazutkin
Jamison Roberts wrote: I have nothing but problems with Dreamhost + Django. More specifically Dreamhost + Python. I hate that company and will be switching as soon as my year is up. What "more specifically" was your problem with Python? Can I threadjack and ask for a host recommendation?

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread Eugene Lazutkin
foot wrote: We've got our django project hosted over at Site5 and we have a similar MySQL problem: A (2006, MySQL server has gone away) error, whenever the [snip] It would be great to get this fixed tho... It was fixed 5 months ago but didn't make it to trunk. Please try http://code.djangop

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread Eugene Lazutkin
Edgars Jekabsons wrote: Does anyone else who uses Dreamhost has problems with MySQL connection going away? I use Dreamhost without any problems, because I use MySQL patch (ticket #463 --- http://code.djangoproject.com/ticket/463). Please use the last version by nesh --- it was updated to use

Re: Dreamhost, Django and MySQL server connection

2006-02-13 Thread foot
We've got our django project hosted over at Site5 and we have a similar MySQL problem: A (2006, MySQL server has gone away) error, whenever the site hasn't been accessed in a while. It seems to be related to your mysql interactive timeout setting. There's a bit of a general discussion about this p

Re: Dreamhost, Django and MySQL server connection

2006-02-13 Thread Jamison Roberts
I have nothing but problems with Dreamhost + Django.  More specifically Dreamhost + Python.  I hate that company and will be switching as soon as my year is up.Can I threadjack and ask for a host recommendation? On 2/13/06, Edgars Jekabsons <[EMAIL PROTECTED]> wrote: Does anyone else who uses Dream

Re: Dreamhost - a note for Windows users

2006-01-20 Thread PythonistL
iGL,Thank you for your help. Meanwhile the problem was solved with help of guys from IRC . I had to use symbolick link /home/bmabma/TEMPLATES/Static/ to egsmtrade.com/Media rewrite RewriteRule ^(media/.*)$ - [L] to RewriteRule ^(Media/.*)$ - [L] and use MEDIA_URL = "/Media/"

Re: Dreamhost - a note for Windows users

2006-01-20 Thread iGL
Hi PythonistL, I gues you should either rename the directory /home/bmabma/TEMPLATES/Static/ as /home/bmabma/TEMPLATES/media/ and change in settings.py MEDIA_ROOT = "/home/bmabma/TEMPLATES/Static/" as MEDIA_ROOT = "/home/bmabma/TEMPLATES/media/" or change rewrite rull as RewriteRule ^(S

Re: Dreamhost - a note for Windows users

2006-01-20 Thread PythonistL
Hello iGL, thank you for your help. I corrected the settings.py but I still have a problem with media and admin. As to media,images are not displayed. I have in my settings.py ## MEDIA_ROOT = "/home/bmabma/TEMPLATES/Static/" MEDIA_URL = "http://www.egsmtrade.com"; but when

Re: Dreamhost - a note for Windows users

2006-01-19 Thread iGL
I checked what error is output on your site one more time. There's something interesting: check your settings.py, line 36: 34 # URL that handles the media served from MEDIA_ROOT. 35 # Example: "http://media.lawrence.com"; 36 i --->

Re: Dreamhost - a note for Windows users

2006-01-19 Thread iGL
I checked the output of our web app. The problem seems to be connected with DB settings. The output says that raise ImproperlyConfigured, "Could not load database backend: %s. Is your DATABASE_ENGINE setting (currently, %r) spelled correctly? Available options are: %s" % \ 24 (exc, DAT

Re: Dreamhost - a note for Windows users

2006-01-19 Thread PythonistL
Thank you for your reply My urls.py looks like ### from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^admin/', include('django.contrib.admin.urls.admin')), (r'^Index/$','boardproject.apps.board.views.board.Index'), ) and .htaccess like this ###

Re: Dreamhost - a note for Windows users

2006-01-19 Thread Jeroen Ruigrok van der Werven
On 1/19/06, PythonistL <[EMAIL PROTECTED]> wrote: > After a long time and with a big help of Eugene Lazutkin I figured out > that the problem > was CRLF where Linux expect LF.(I use XP and most files edit on my XP > windows and then upload to Dreamhost server.) So, from now on I know I > must use d

Re: Dreamhost - a note for Windows users

2006-01-19 Thread iGL
And one more thing - the paths (Index, admin, Test) when called without trailing slash return error 404. Again, one has to take a look on url config.

Re: Dreamhost - a note for Windows users

2006-01-19 Thread iGL
Hi PythonistL, When I tried your link with the trailing slash, i.e., http://www.egsmtrade.com/django.fcgi/ I got usual urconf error from django. As you have debug on, I was able to see your paths in url.py. Next I gave several adresses, i.e., Index (why is it in upper case?), Test, but each time I

Re: Dreamhost - problem with Django installation

2006-01-18 Thread iGL
>must be 500 and 'also favicon not found' yes, of course, exactly like that.

Re: Dreamhost - problem with Django installation

2006-01-17 Thread Kenneth Gonsalves
On Wednesday 18 Jan 2006 12:06 pm, Jeroen Ruigrok van der Werven wrote: > > On my local machine, firefox misbihaves when favicon is > > missing, yielding error 500. > > That's odd, since that would/should never yield a 500 but a 404, > since the favicon is just another URL request. must be 500 a

Re: Dreamhost - problem with Django installation

2006-01-17 Thread Jeroen Ruigrok van der Werven
On 1/17/06, iGL <[EMAIL PROTECTED]> wrote: > On my local machine, firefox misbihaves when favicon is missing, > yielding error 500. That's odd, since that would/should never yield a 500 but a 404, since the favicon is just another URL request. You sure the 500 is not the CGI interface going haywi

Re: Dreamhost - problem with Django installation

2006-01-17 Thread iGL
On my local machine, firefox misbihaves when favicon is missing, yielding error 500.

Re: Dreamhost - problem with Django installation

2006-01-17 Thread PythonistL
"Unfortunately", I use IE.So it is not my problem. Is it nescessary to have some standard files in the directory, e.g. robots.txt ? I read that the missing file can cause 500 internal server error.Is it true? rgds, L.

Re: Dreamhost - problem with Django installation

2006-01-17 Thread [EMAIL PROTECTED]
>So, it seems, from command line, working.But not from browser I wasted an hour last week setting up cgi with lighttpd, not getting 'hello world' to appear. It was a Firefox thing- it showed up OK in IE, but Firefox wouldn't show it without the response being properly formed. Derek

Re: Dreamhost - problem with Django installation

2006-01-17 Thread hugo
>FastCGI: incomplete headers (0 bytes) received from server >"/home/bmabma/egsmtrade.com/hello.fcgi" Since the hello.fcgi isn't in any way using something from Django, this sounds more like a Dreamhost problem than a Django problem. Did you ask in the Dreamhost forum? Maybe others there might be

Re: Dreamhost - problem with Django installation

2006-01-17 Thread iGL
and with 'hello.fcgi', did you pkill python before your tests?

Re: Dreamhost - problem with Django installation

2006-01-17 Thread iGL
Hi, Such an output might be caused due to abscence of a package that is needed for your app. Dreamhost probably doesn't have, e.g., MySQLdb in the pytthon's site-packages. Have you made it sure that you have installed every lib required in a custom location somewhere in your home dir? Greetings,

Re: Dreamhost - problem with Django installation

2006-01-17 Thread PythonistL
So I did: 1.I went to DreamHost Control Panel (Domains / Manage Domains) and enabled fast_CGI.(Now FastCGI Support box is checked there) 2.I copied fcgi.py and hello.fcgi file to my Web Directory(egsmtrade.com) 3. I added to fcgi.py and hello.fcgi the first line #!/usr/bin/python 4. I set 755 per

Re: Dreamhost - problem with Django installation

2006-01-16 Thread Eugene Lazutkin
PythonistL wrote: Hello James, I assume it was not a private letter. do you use their service at present? I am hosted with DreamHost: http://lazutkin.com/ I followed the instructions at http://wiki.dreamhost.com/index.php/Django but that did not work for me It worked for me. Did you fo

Re: Dreamhost - problem with Django installation

2006-01-16 Thread [EMAIL PROTECTED]
I can recomment rimuhosting (http://rimuhosting.com) for a VPS setup- that means you can install/run what you like. They will setup most stuff if you put what you want into your order. Support, the few times I've needed it, has been great. I don't have Django on that setup, yet- just got lighttpd

Re: Dreamhost - problem with Django installation

2006-01-16 Thread James Bennett
On 1/16/06, PythonistL <[EMAIL PROTECTED]> wrote: > Hello James, > do you use their service at present? > I followed the instructions at > http://wiki.dreamhost.com/index.php/Django > but that did not work for me No, I'm hosted at TextDrive. I have clients who are on Dreamhost, but none of them u

Re: Dreamhost - problem with Django installation

2006-01-16 Thread PythonistL
Hello James, do you use their service at present? I followed the instructions at http://wiki.dreamhost.com/index.php/Django but that did not work for me So I tried this script from the troubleshooting part there # #!/usr/bin/python2.3 from fcgi import WSGIServer def test_app(environ, start

Re: Dreamhost - problem with Django installation

2006-01-16 Thread tonemcd
Their (DreamHost) prices are ridiculous (ie low), and to keep them low, they can only spend time on things that have an identified market (they say this in their FAQs or KnowledgeBase or whatever its called). It's the main reason they don't provide PostGres. I guess FCGI for Django hasn't hit the

Re: Dreamhost - problem with Django installation

2006-01-16 Thread James Bennett
On 1/16/06, PythonistL <[EMAIL PROTECTED]> wrote: > Does it mean Dreamhost stopped Django support?? Perusing the Django-powered sites that are known to be hosted at Dreamhost, none of them seem to be down, so Django apparently still works just fine on Dreamhost. Most likely their response was mea

Re: Dreamhost - problem with Django installation

2006-01-16 Thread PythonistL
As to my problem with Django installation I received a reply from Dreahost.com support team saying: "At the moment, fastcgi is only enabled for use w/ ruby on rails." Does it mean Dreamhost stopped Django support?? Regards, L.

Re: Dreamhost - problem with Django installation

2006-01-13 Thread Eugene Lazutkin
PythonistL wrote: Patrick, but if the error happens twice a day, as you say, that is very, very bad having hosting with Dreamhost. Or I am wrong? http://status.dreamhost.com/ They had connection problems for 3 days in a row. If you want to host your mission critical app, look for other hosts

Re: Dreamhost - problem with Django installation

2006-01-13 Thread patrick k
> Patrick, but if the error happens twice a day, as you say, that is > very, very bad having hosting with Dreamhost. right now, i don´t suggest hosting with dreamhost. maybe it´s only a temporary problem, maybe it´s only "my" server (who knows). but not being able to work at least twice a day is

Re: Dreamhost - problem with Django installation

2006-01-13 Thread PythonistL
Patrick, but if the error happens twice a day, as you say, that is very, very bad having hosting with Dreamhost. Or I am wrong? The wiky says: To view the admin site, go to http://django.mydomain.com/django.fcgi/admin/ To view the normal site, go to http://django.mydomain.com/django.fcgi/ Should

Re: Dreamhost - problem with Django installation

2006-01-13 Thread patrick kranzlmüller
i also have the error (in error.log) you mentioned when dreamhost has problem with my server - which happens very often lately (about twice a day). besides that, i followed the steps in the wiki and everything works fine. patrick Am 13.01.2006 um 17:00 schrieb PythonistL: I am trying to

  1   2   >