Re: Python web server weirdness SOLVED

2018-06-07 Thread Gregory Ewing
Steven D'Aprano wrote: Never mind -- it turned out I had an "index.html" file in the directory which had been wget'ed from LiveJournal. That's okay, then. The other possibility was that your computer had been recruited into an evil botnet set up by LiveJournal to create backup servers for their

Re: Python web server weirdness

2018-06-07 Thread Steven D'Aprano
On Thu, 07 Jun 2018 13:32:10 +, Steven D'Aprano wrote: > python3.5 -m http.server 8000 [...] Thank you to everyone who responded, pointing out that I should check for an index.html file. That was exactly the problem. And yes, I acknowledge that my original post was lacking in some necessa

Re: Python web server weirdness

2018-06-07 Thread Tim Chase
On 2018-06-07 13:32, Steven D'Aprano wrote: > I'm following the instructions here: > > https://docs.python.org/3/library/http.server.html > > and running this from the command line as a regular unprivileged > user: > > python3.5 -m http.server 8000 > > What I expected was a directory listing of

Re: Python web server weirdness

2018-06-07 Thread Ed Kellett
On 2018-06-07 14:32, Steven D'Aprano wrote: > I'm following the instructions here: > > https://docs.python.org/3/library/http.server.html > > > and running this from the command line as a regular unprivileged user: > > python3.5 -m http.server 8000 > > What I expected was a directory listing o

Re: Python web server weirdness SOLVED

2018-06-07 Thread Steven D'Aprano
On Thu, 07 Jun 2018 13:32:10 +, Steven D'Aprano wrote: [...] > python3.5 -m http.server 8000 > > What I expected was a directory listing of my current directory. > > What I got was Livejournal's front page. Never mind -- it turned out I had an "index.html" file in the directory which had b

Re: Python web server weirdness

2018-06-07 Thread Grant Edwards
On 2018-06-07, Steven D'Aprano wrote: > I'm following the instructions here: > > https://docs.python.org/3/library/http.server.html > > > and running this from the command line as a regular unprivileged user: > > python3.5 -m http.server 8000 > > What I expected was a directory listing of my curre

Re: Python web server weirdness

2018-06-07 Thread Grant Edwards
On 2018-06-07, Steven D'Aprano wrote: > I'm following the instructions here: > > https://docs.python.org/3/library/http.server.html > > > and running this from the command line as a regular unprivileged user: > > python3.5 -m http.server 8000 > > What I expected was a directory listing of my curre

Python web server weirdness

2018-06-07 Thread Steven D'Aprano
I'm following the instructions here: https://docs.python.org/3/library/http.server.html and running this from the command line as a regular unprivileged user: python3.5 -m http.server 8000 What I expected was a directory listing of my current directory. What I got was Livejournal's front page

Re: standalone python web server

2012-02-09 Thread Rita
yes, I would like to use a framework. I like the twisted method the user posted. Are there any examples of it using a framework, get/post, etc..? On Thu, Feb 9, 2012 at 6:28 AM, Thomas Bach wrote: > Rita writes: > > > I am building a small intranet website and I would like to use > > Python. I

Re: standalone python web server

2012-02-09 Thread Thomas Bach
Rita writes: > I am building a small intranet website and I would like to use > Python. I was wondering if there was a easy and medium performance > python based web server available. Are you going to use a framework? Most of these ship with a light web server implementation… You probably want

Re: standalone python web server

2012-02-08 Thread anon hung
>> I am building a small intranet website and I would like to use Python. I >> was wondering if there was a easy and medium performance python based web >> server available. I would like to run it on port :8080 since I wont have >> root access also I prefer something easy to deploy meaning I would

Re: standalone python web server

2012-02-08 Thread Roy Smith
In article , Rodrick Brown wrote: > On Feb 8, 2012, at 11:01 PM, Rita wrote: > > > I am building a small intranet website and I would like to use Python. I > > was wondering if there was a easy and medium performance python based web > > server available. I would like to run it on port :8080

Re: standalone python web server

2012-02-08 Thread Rodrick Brown
On Feb 8, 2012, at 11:01 PM, Rita wrote: > I am building a small intranet website and I would like to use Python. I was > wondering if there was a easy and medium performance python based web server > available. I would like to run it on port :8080 since I wont have root access > also I prefer

standalone python web server

2012-02-08 Thread Rita
I am building a small intranet website and I would like to use Python. I was wondering if there was a easy and medium performance python based web server available. I would like to run it on port :8080 since I wont have root access also I prefer something easy to deploy meaning I would like to move

Re: Local python web server problem

2009-02-10 Thread Farsheed Ashouri
Thanks guys, Really appreciate your help. I am trying to solve the problem and will keep you posted when I found a solution. Farsheed Ashouri, Tehran, Iran -- http://mail.python.org/mailman/listinfo/python-list

Re: Local python web server problem

2009-02-09 Thread Rob
> I run the cherrypy hello world! example and when I visit > 127.0.0.1:8080 > on firefox, a nice "Hello World" appears. I am on ubuntu and my ip in > local network is 192.168.100.18 > but when I visit 192.168.100.18, there is another page: "It Works!". > What is "It Works!"? and when I type 192.168

Re: Local python web server problem

2009-02-09 Thread Gerhard Häring
Farsheed Ashouri wrote: > Hi everyone. I have started to develop a web base software for > renderfarm managing. > I run the cherrypy hello world! example and when I visit > 127.0.0.1:8080 > on firefox, a nice "Hello World" appears. I am on ubuntu and my ip in > local network is 192.168.100.18 > but

Local python web server problem

2009-02-09 Thread Farsheed Ashouri
Hi everyone. I have started to develop a web base software for renderfarm managing. I run the cherrypy hello world! example and when I visit 127.0.0.1:8080 on firefox, a nice "Hello World" appears. I am on ubuntu and my ip in local network is 192.168.100.18 but when I visit 192.168.100.18, there is

Re: standalone python web server

2007-12-27 Thread Jason Earl
eric <[EMAIL PROTECTED]> writes: > Hi all, > > I want to setup simple python web server and I want it to just unzip > and run, without any installation steps (have no right to do it). > > I've tried to write by myself, however, I find I am getting into more > de

Re: standalone python web server

2007-12-27 Thread Markus Gritsch
On 27/12/2007, eric <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to setup simple python web server and I want it to just unzip > and run, without any installation steps (have no right to do it). > > I've tried to write by myself, however, I find I am getting into m

Re: standalone python web server

2007-12-27 Thread Tim Chase
> Actually, I've considered to use django, however it required to run > command (which I don't have right to do it) > python setup.py install > > Btw, is it possible to use without running setup.py ? Yes, it's quite possible...Django is pure Python, so you just have to have its directory in

Re: standalone python web server

2007-12-27 Thread Diez B. Roggisch
eric schrieb: > On Dec 27, 4:52 pm, Panos Laganakos <[EMAIL PROTECTED]> wrote: >> On Dec 27, 7:41 am, eric <[EMAIL PROTECTED]> wrote: >> >>> Hi all, >>> I want to setup simple python web server and I want it to just unzip >>> and run,

Re: standalone python web server

2007-12-27 Thread eric
On Dec 27, 6:22 pm, Bjoern Schliessmann wrote: > eric wrote: > > I want to setup simple python web server and I want it to just > > unzip and run, without any installation steps (have no right to do > > it). > > Which OS? You might run into authorisation problems if

Re: standalone python web server

2007-12-27 Thread eric
On Dec 27, 4:52 pm, Panos Laganakos <[EMAIL PROTECTED]> wrote: > On Dec 27, 7:41 am, eric <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > I want to setup simple python web server and I want it to just unzip > > and run, without any installation steps (have

Re: standalone python web server

2007-12-27 Thread Bjoern Schliessmann
eric wrote: > I want to setup simple python web server and I want it to just > unzip and run, without any installation steps (have no right to do > it). Which OS? You might run into authorisation problems if you want it to listen on port 80 TCP. Regards, Björn -- BOFH excuse #303:

Re: standalone python web server

2007-12-27 Thread Jarek Zgoda
eric napisał(a): > I want to setup simple python web server and I want it to just unzip > and run, without any installation steps (have no right to do it). Look at SimpleHTTPServer in standard library. > I've tried to write by myself, however, I find I am getting into more

Re: standalone python web server

2007-12-27 Thread Panos Laganakos
On Dec 27, 7:41 am, eric <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to setup simple python web server and I want it to just unzip > and run, without any installation steps (have no right to do it). > > I've tried to write by myself, however, I find I am get

Re: standalone python web server

2007-12-26 Thread rishi pathak
See if this helps www.*django*project.com On 12/27/07, eric <[EMAIL PROTECTED]> wrote: > > Hi all, > > I want to setup simple python web server and I want it to just unzip > and run, without any installation steps (have no right to do it). > > I've tried to write

standalone python web server

2007-12-26 Thread eric
Hi all, I want to setup simple python web server and I want it to just unzip and run, without any installation steps (have no right to do it). I've tried to write by myself, however, I find I am getting into more details like processing image file, different file type(like FLV) .. etc

python web server questions

2007-12-17 Thread dalebryan1
I am working on a task to display a wireless network nodes using Google Earth (GE) with KML network links. I am using a simple python webserver (see code below) to serve up the python scripts as KML output to GE for this. import BaseHTTPServer import CGIHTTPServer class Handler(CGIHTTPServer.CGIH

Re: Python web server

2006-06-24 Thread Paul Boddie
arvind wrote: > When I run the script on server,only HTML part gets executed. > But the python code appears as it is on the screen in the text format. > How to run the CGI script on web server using Python2.4.3? We don't have much specific information from you here, but taking a few guesses, it so

Re: Python web server

2006-06-24 Thread Bruno Desthuilliers
arvind wrote: > When I run the script Which one ? And how ? > on server, Which one ? > only HTML part gets executed. HTML executed ??? > But the python code appears as it is on the screen in the text format. > How to run the CGI script on web server using Python2.4.3? Depends on your web ser

Python web server

2006-06-24 Thread arvind
When I run the script on server,only HTML part gets executed. But the python code appears as it is on the screen in the text format. How to run the CGI script on web server using Python2.4.3? -- http://mail.python.org/mailman/listinfo/python-list

Re: Lowest hassle Python web server?

2005-03-23 Thread Gerhard Häring
Larry Bates wrote: [...] You might want to take a look a Medusa. It is the basis for the web server that is bundled in Zope. Medusa is just an asyncore framework, and not something you can develop web apps with. -- Gerhard -- http://mail.python.org/mailman/listinfo/python-list

Re: Lowest hassle Python web server?

2005-03-23 Thread Larry Bates
kanzen wrote: > I keep telling my friends that Python rocks. Now it's time to put my > money where my mouth is. I'm about to start writing a server for a > phone based game. It needs to handle simlpe requests from some Java > code running on the phone at a fairly low transaction rate. There will >

Re: Lowest hassle Python web server?

2005-03-22 Thread kanzen
Okay, thanks for your suggestions. Are there any further recommendations as to what Python framework to use if the web server is Apache with mod_python? -- http://mail.python.org/mailman/listinfo/python-list

Re: Lowest hassle Python web server?

2005-03-21 Thread Neil Benn
- Does threading cause any more of a hassle in Python than Java? Hello, From the python docs, it states that the threading design is loosely based upon the java module. Certainly, coming from Java I had little trouble getting used to python threading. However heres some gotchyas : - Th

Re: Lowest hassle Python web server?

2005-03-20 Thread Gerhard Häring
kanzen wrote: I keep telling my friends that Python rocks. Now it's time to put my money where my mouth is. I'm about to start writing a server for a phone based game. It needs to handle simlpe requests from some Java code running on the phone at a fairly low transaction rate. There will also be a

Re: Lowest hassle Python web server?

2005-03-20 Thread Adonis
kanzen wrote: I keep telling my friends that Python rocks. Now it's time to put my money where my mouth is. I'm about to start writing a server for a phone based game. It needs to handle simlpe requests from some Java code running on the phone at a fairly low transaction rate. There will also be a

Re: Lowest hassle Python web server?

2005-03-20 Thread Peter Hansen
kanzen wrote: - Does threading cause any more of a hassle in Python than Java? What hassles have you had? I thought threads in Java were pretty straightforward. In any case, in Python they are generally very easy to use, provided you have a basic knowledge of thread safety issues and/or provided

Lowest hassle Python web server?

2005-03-20 Thread kanzen
I keep telling my friends that Python rocks. Now it's time to put my money where my mouth is. I'm about to start writing a server for a phone based game. It needs to handle simlpe requests from some Java code running on the phone at a fairly low transaction rate. There will also be a simple web sit