Re: Shared hosting with FastCGI, problems

2008-01-14 Thread Michael Hipp
Yes. I finally did get it to work. But my issues weren't database related. Turned out to be something fairly simple with .htaccess as I suspected. (I'm not even up to the point of database access yet. And I'll be using PostgreSQL as that's what I know.) Michael Ralf wrote: > Did you get you

Re: Shared hosting with FastCGI, problems

2008-01-14 Thread Ralf
Did you get your Django site to work? What database are you using? I'm also trying to get Django to work on hostmonster.com, but I'm having trouble with the MySQL backend, it doesn't seem to be installed. I tried manually installing it (copying files), but I get this error: [Mon Jan 14 03:17:20

Re: Shared hosting with FastCGI, problems

2008-01-07 Thread Michael Hipp
Michael Hipp wrote: > Hello, > > I'm hoping to rework my website into Django, but am having trouble at my > shared hosting provider (HostMonster). > > They don't support mod_python, so Hostmonster said to add this to .htaccess > for FastCGI: > >AddHandler fcgid-script .fcgi > > I did tha

Re: Shared hosting with FastCGI, problems

2008-01-07 Thread Michael Hipp
That worked! Thank you! Thank you all! Michael Muchanic wrote: > Try adding the .egg to sys.path explicitly, i.e. > > sys.path.insert(0, "/home/redmulec/python/flup-1.0-py2.4.egg") --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Shared hosting with FastCGI, problems

2008-01-07 Thread Muchanic
Try adding the .egg to sys.path explicitly, i.e. sys.path.insert(0, "/home/redmulec/python/flup-1.0-py2.4.egg") On Jan 8, 6:51 pm, Michael Hipp <[EMAIL PROTECTED]> wrote: > Graham Dumpleton wrote: > > On Jan 8, 2:29 pm, Michael Hipp <[EMAIL PROTECTED]> wrote: > >> Does any of that offer any clu

Re: Shared hosting with FastCGI, problems

2008-01-07 Thread Michael Hipp
Graham Dumpleton wrote: > On Jan 8, 2:29 pm, Michael Hipp <[EMAIL PROTECTED]> wrote: >> Does any of that offer any clues? > > Not really. You really need to do what Milan said back at the > beginning. See if you can get the actual error messages logged in the > Apache error log files for the req

Re: Shared hosting with FastCGI, problems

2008-01-07 Thread Graham Dumpleton
On Jan 8, 2:29 pm, Michael Hipp <[EMAIL PROTECTED]> wrote: > Graham Dumpleton wrote: > >>RewriteRule ^djangosite/(.*)$ mysite.fcgi/$1 [QSA,L] > > >> would only use the fcgi stuff on the urls that resolved to the > >> djangosite directory??? > > > You cannot read the RewriteRule in isolation, t

Re: Shared hosting with FastCGI, problems

2008-01-07 Thread Michael Hipp
Graham Dumpleton wrote: >>RewriteRule ^djangosite/(.*)$ mysite.fcgi/$1 [QSA,L] >> >> would only use the fcgi stuff on the urls that resolved to the >> djangosite directory??? > > You cannot read the RewriteRule in isolation, the RewriteCond on the > line before must be taken into consideratio

Re: Shared hosting with FastCGI, problems

2008-01-06 Thread Graham Dumpleton
On Jan 6, 9:23 pm, kbochert <[EMAIL PROTECTED]> wrote: > On Jan 5, 5:46 pm, Michael Hipp <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > I'm hoping to rework my website into Django, but am having trouble at my > > shared hosting provider (HostMonster). > > > They don't support mod_python, so Hos

Re: Shared hosting with FastCGI, problems

2008-01-06 Thread Michael Hipp
[EMAIL PROTECTED] wrote: >> AddHandler fastcgi-script .fcgi > > Is this the actual name of your fcgi script? Also, there seems to be a > space before ".fcgi", which doesn't seem right. That line came directly from ... http://www.djangobook.com/en/1.0/chapter20/ http://www.djangoproject.

Re: Shared hosting with FastCGI, problems

2008-01-06 Thread kbochert
On Jan 5, 5:46 pm, Michael Hipp <[EMAIL PROTECTED]> wrote: > Hello, > > I'm hoping to rework my website into Django, but am having trouble at my > shared hosting provider (HostMonster). > > They don't support mod_python, so Hostmonster said to add this to .htaccess > for FastCGI: > >AddHandl

Re: Shared hosting with FastCGI, problems

2008-01-06 Thread [EMAIL PROTECTED]
> AddHandler fastcgi-script .fcgi Is this the actual name of your fcgi script? Also, there seems to be a space before ".fcgi", which doesn't seem right. Michael Hipp wrote: > Hello, > > I'm hoping to rework my website into Django, but am having trouble at my > shared hosting provider (HostMons

Re: Shared hosting with FastCGI, problems

2008-01-05 Thread Milan Andric
On Jan 5, 7:46 pm, Michael Hipp <[EMAIL PROTECTED]> wrote: > Hello, > > I'm hoping to rework my website into Django, but am having trouble at my > shared hosting provider (HostMonster). > > They don't support mod_python, so Hostmonster said to add this to .htaccess > for FastCGI: > >AddHandler

Shared hosting with FastCGI, problems

2008-01-05 Thread Michael Hipp
Hello, I'm hoping to rework my website into Django, but am having trouble at my shared hosting provider (HostMonster). They don't support mod_python, so Hostmonster said to add this to .htaccess for FastCGI: AddHandler fcgid-script .fcgi I did that and my html sites still work, but when I