List Info

Thread: pylons using CGI




pylons using CGI
user name
2007-12-21 19:01:26
Hi,

I'm trying to get pylons to run with CGI using the tutuorial
here:

http://wi
ki.pylonshq.com/display/pylonscookbook/Installing+and+runnin
g+Pylons+as+plain+CGI+on+a+webhost

I'm getting premature script headers error. Everything
seemed to
install to local copy ok, although I did have to copy over
the include
header files from the main python install for eazy_install
to install
into the local copy of python.

What's needed in the pylons test.ini and/or development.ini
files for
CGI to work via wsgiref, the tutorial doesn't state this
explicitly
and I'm new to pylons so am probably missing something ? Do
I need a
htaccess file to rewrite anything, the tutorial doesn't
mention
anything along those lines.

Thanks in advance.
kromakey

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "pylons-discuss" group.
To post to this group, send email to pylons-discussgooglegroups.com
To unsubscribe from this group, send email to
pylons-discuss-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: pylons using CGI
user name
2007-12-23 06:09:00
Hi Again,

Managed to get this working by using dispatch.cgi,
mod_rewrite
instead.

Cheers
kromakey

On 22 Dec, 01:01, kromakey <recursiv...gmail.com> wrote:
> Hi,
>
> I'm trying to get pylons to run with CGI using the
tutuorial here:
>
> http://wiki.pylonshq.com/display/pylonsc
ookbook/Installing+and+runnin...
>
> I'm getting premature script headers error. Everything
seemed to
> install to local copy ok, although I did have to copy
over the include
> header files from the main python install for
eazy_install to install
> into the local copy of python.
>
> What's needed in the pylons test.ini and/or
development.ini files for
> CGI to work via wsgiref, the tutorial doesn't state
this explicitly
> and I'm new to pylons so am probably missing something
? Do I need a
> htaccess file to rewrite anything, the tutorial doesn't
mention
> anything along those lines.
>
> Thanks in advance.
> kromakey

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "pylons-discuss" group.
To post to this group, send email to pylons-discussgooglegroups.com
To unsubscribe from this group, send email to
pylons-discuss-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )