Re: dispatch.fcgi as text

2008-09-02 Thread James Matthews
Also make sure to set the rewrite handle. On my shared host you need to
enable fcgi then have the dispatch.fcgi in your web root.

On Tue, Sep 2, 2008 at 8:31 AM, Milan Andric <[EMAIL PROTECTED]> wrote:

>
> On Mon, Sep 1, 2008 at 7:19 PM, Ronaldo Z. Afonso
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi everybody,
> >
> > I'm running Django on a shared-hosting provider with Apache and I walked
> > through the documentation about FastCGI of the Django website but when I
> > try to access some page of my web site, instead of seen the html
> > rendered I just see the dispatch.fcgi as text. Does anyone can help me?
> >
> > ps) My dispatch.fcgi is executable.
> >
>
> Ronaldo,
>
> You probably don't have the fastcgi module activated.  In your apache
> or .htaccess config make sure you have something like AddHandler
> fastcgi-script .fcgi .  If you have the AddHandler in your .htaccess
> then maybe Apache is overriding that or it's not in your vhost config.
>  AllowOverride All is another important Apache directive that allows
> you to use AddHandler in your .htaccess, you can check that also.
>
> Are you running your own apache or just using a service?  If you are
> using a service then they may have better instructions about setting
> it up.  If you still can't get it to work then post some configuration
> information, like your .htaccess and vhost config.
>
> --
> Milan
>
> >
>


-- 
http://www.goldwatches.com/

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: dispatch.fcgi as text

2008-09-02 Thread Milan Andric

On Mon, Sep 1, 2008 at 7:19 PM, Ronaldo Z. Afonso
<[EMAIL PROTECTED]> wrote:
>
> Hi everybody,
>
> I'm running Django on a shared-hosting provider with Apache and I walked
> through the documentation about FastCGI of the Django website but when I
> try to access some page of my web site, instead of seen the html
> rendered I just see the dispatch.fcgi as text. Does anyone can help me?
>
> ps) My dispatch.fcgi is executable.
>

Ronaldo,

You probably don't have the fastcgi module activated.  In your apache
or .htaccess config make sure you have something like AddHandler
fastcgi-script .fcgi .  If you have the AddHandler in your .htaccess
then maybe Apache is overriding that or it's not in your vhost config.
 AllowOverride All is another important Apache directive that allows
you to use AddHandler in your .htaccess, you can check that also.

Are you running your own apache or just using a service?  If you are
using a service then they may have better instructions about setting
it up.  If you still can't get it to work then post some configuration
information, like your .htaccess and vhost config.

--
Milan

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



dispatch.fcgi as text

2008-09-01 Thread Ronaldo Z. Afonso

Hi everybody,

I'm running Django on a shared-hosting provider with Apache and I walked
through the documentation about FastCGI of the Django website but when I
try to access some page of my web site, instead of seen the html
rendered I just see the dispatch.fcgi as text. Does anyone can help me?

ps) My dispatch.fcgi is executable.

Thanks.
Ronaldo.


--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---