471,338 Members | 1,275 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

Is hostmonster any good for hosting python?

According to hostmonster's list of features, they do support python.
Does anybody have any experience with hostmonster?

Oct 10 '07 #1
4 5087
On Oct 10, 1:27 pm, walterbyrd <walterb...@iname.comwrote:
According to hostmonster's list of features, they do support python.
Does anybody have any experience with hostmonster?
I'm using host monster to run my html-only site. However, I want to
add some python cgi, and I'd prefer to extend that to the Django
framework. I've had some issues getting cgi support. I've IM'd with a
tech rep and all they could tell me is that "yes, they do support
python cgi." From what I've seen, they don't have the mod_python
module installed for Apache. Without mod_python, I don't think you can
install Django. Not sure about other pythonic web frameworks.

Outside of the cgi support, host monster has been pretty good to work
with. They have a pretty slick control panel. Also, they use CentOs 4
and an older version of python.

HTH,
J

Oct 11 '07 #2
>According to hostmonster's list of features, they do support python.
>Does anybody have any experience with hostmonster?

I'm using host monster to run my html-only site. However, I want to
add some python cgi, and I'd prefer to extend that to the Django
framework. I've had some issues getting cgi support. I've IM'd with a
tech rep and all they could tell me is that "yes, they do support
python cgi." From what I've seen, they don't have the mod_python
module installed for Apache. Without mod_python, I don't think you can
install Django. Not sure about other pythonic web frameworks.
While vanilla CGI is a really bad idea for Django, in addition to
mod_python, Django supports FastCGI for deployment if your
hosting service doesn't give you mod_python access.

-tkc

Oct 11 '07 #3
I should have mentioned, I am thinking about using a python framework,
either django, turbogears, or pylons.

I think these frameworks require a newer version of python, maybe 2.4.
Also, I think some of them require a newer version of Apache - 2.0 or
better. I also think these python frameworks all work with fastcgi,
which - I think - is possible with hostmonster. Although fastcgi is
acceptable, it is generally not the preferred solution.

I do not think you will get reasonable performance with CGI, even if
factcgi/mod_python/wsgi are not officially required.

Also, I doubt you will find mod_python on any "standard" shared
hosting. To get mod_python you will need 1) a host that speciallizes
in python - like webfaction. 2) a virtual host 3) something like
hcoop.net, which may be sort-of like a virtual host. BTW: hccoop.net
has a long-running freeze on new memberships.

Please correct me if I'm wrong about any of this.

Oct 11 '07 #4
I should have mentioned, I am thinking about using a python framework,
either django, turbogears, or pylons.

I think these frameworks require a newer version of python, maybe 2.4.
I can't speak for the others, but I know Django can be deployed
with 2.3+ (though they offer some nicities if using 2.4).
Also, I think some of them require a newer version of Apache - 2.0 or
mod_python requires Apache 2.x so if you're deploying with
mod_python, yes. However, if you deploy with lighty+fastcgi,
it's moot what version of Apache you have. :)
better. I also think these python frameworks all work with fastcgi,
which - I think - is possible with hostmonster. Although fastcgi is
acceptable, it is generally not the preferred solution.
The preferred Django deployment environments are

- Apache + mod_python
- Apache + FastCGI
- lighttpd + FastCGI
I do not think you will get reasonable performance with CGI, even if
factcgi/mod_python/wsgi are not officially required.
No...with plain-ol'-CGI, performance is abysmal...the entire
framework would be reloaded for each request. Possibly feasible
for development if you're patient and have nothing better, but
CGI is a generally bad idea.
Also, I doubt you will find mod_python on any "standard" shared
hosting.
To get a python-framework environment, you usually have to get a
better hosting service as the need for mod_python or fastcgi
limits you to these hosting services. That means no
bottom-of-the-barrel priced hosting services (which usually just
offer static pages, basic CGI, or PHP).

If one *must* use python in a CGI environment, I'll plug WebStack
(the author lurks here on c.l.p, IIRC) which does a nice job of
abstracting deployment environments so you can deploy to a
variety of targets with minimal fuss. I have several projects in
the wild that use WebStack, before I found Django.

-tkc

Oct 11 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Nick Mudge | last post: by
2 posts views Thread by BadJake | last post: by
1 post views Thread by Bruno Desthuilliers | last post: by
2 posts views Thread by Eric | last post: by
12 posts views Thread by MJR | last post: by
158 posts views Thread by Giovanni Bajo | last post: by
3 posts views Thread by Steve Holden | last post: by
4 posts views Thread by K | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.