Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96963
| From | alister <alister.nospam.ware@ntlworld.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Problem configuring apache to run python cgi on Ubuntu 14.04 |
| Date | 2015-09-21 20:29 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mtppbd$uks$1@speranza.aioe.org> (permalink) |
| References | <44e870a7-9567-40ba-8a65-d6b52a8c5d25@googlegroups.com> <mtpmgq$sfa$1@reader1.panix.com> <e47b58e6-54a7-47d8-8d83-0490c12a3c44@googlegroups.com> <65b9162f-45e0-4ad8-82e9-e4813045c1cd@googlegroups.com> |
On Mon, 21 Sep 2015 12:51:09 -0700, tropical.dude.net wrote:
> On Monday, September 21, 2015 at 9:47:33 PM UTC+2, tropical...@gmail.com
> wrote:
>> On Monday, September 21, 2015 at 9:41:29 PM UTC+2, John Gordon wrote:
>> > In <44e870a7-9567-40ba-8a65-d6b52a8c5d25@googlegroups.com>
>> > tropical.dude.net@gmail.com writes:
>> >
>> > > print("Content-Type: text/html;charset=utf-8")
>> > > print("Hello World!")
>> >
>> > As I recall, you must have a blank line between the headers and the
>> > content.
>> >
>> > But that may or may not be your problem, as you haven't told us
>> > exactly what is going wrong.
>> >
>> > --
>> > John Gordon A is for Amy, who fell down the stairs
>> > gordon@panix.com B is for Basil, assaulted by bears
>> > -- Edward Gorey, "The Gashlycrumb
>> > Tinies"
>>
>> I am new to Ubuntu, is there a command so I can find out what the
>> problem is?
>
> The only error I can see right now is forbedden, you don't have
> permission to access /index.py on this server.
this is not a linux permissions error it is an error with the apache
configuration you need to check roe acache config files
(you may also want to investigate WSGI as CGI is outdated)
--
Perfection is acheived only on the point of collapse.
- C. N. Parkinson
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problem configuring apache to run python cgi on Ubuntu 14.04 tropical.dude.net@gmail.com - 2015-09-21 11:41 -0700
Re: Problem configuring apache to run python cgi on Ubuntu 14.04 sohcahtoa82@gmail.com - 2015-09-21 12:19 -0700
Re: Problem configuring apache to run python cgi on Ubuntu 14.04 tropical.dude.net@gmail.com - 2015-09-21 12:39 -0700
Re: Problem configuring apache to run python cgi on Ubuntu 14.04 "Albert Visser" <albert.visser@gmail.com> - 2015-09-21 21:28 +0200
Re: Problem configuring apache to run python cgi on Ubuntu 14.04 tropical.dude.net@gmail.com - 2015-09-21 12:44 -0700
Re: Problem configuring apache to run python cgi on Ubuntu 14.04 John Gordon <gordon@panix.com> - 2015-09-21 19:41 +0000
Re: Problem configuring apache to run python cgi on Ubuntu 14.04 tropical.dude.net@gmail.com - 2015-09-21 12:47 -0700
Re: Problem configuring apache to run python cgi on Ubuntu 14.04 tropical.dude.net@gmail.com - 2015-09-21 12:51 -0700
Re: Problem configuring apache to run python cgi on Ubuntu 14.04 alister <alister.nospam.ware@ntlworld.com> - 2015-09-21 20:29 +0000
Re: Problem configuring apache to run python cgi on Ubuntu 14.04 tropical.dude.net@gmail.com - 2015-09-21 14:36 -0700
Re: Problem configuring apache to run python cgi on Ubuntu 14.04 Chris Angelico <rosuav@gmail.com> - 2015-09-22 08:36 +1000
csiph-web