Re: Wrong website loaded when other requested

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 9:45 μμ, Mark Lawrence wrote: On 14/06/2013 17:46, Mark Lawrence wrote: Sure, just give me your password. He actually offered to do just this!!! How stupid can you get? I'm so fed up with his behaviour that I've emailed the Greek Embassy in London pointing out what he's up to.

Re: Wrong website loaded when other requested

2013-06-14 Thread Mark Lawrence
On 14/06/2013 17:46, Mark Lawrence wrote: Sure, just give me your password. He actually offered to do just this!!! How stupid can you get? I'm so fed up with his behaviour that I've emailed the Greek Embassy in London pointing out what he's up to. I've requested that someone looks at his

Re: Wrong website loaded when other requested

2013-06-14 Thread Mark Lawrence
On 14/06/2013 17:22, Nick the Gr33k wrote: On 14/6/2013 7:15 μμ, Steven D'Aprano wrote: On Fri, 14 Jun 2013 18:37:50 +0300, Nick the Gr33k wrote: please take an overall look at my httpd.conf at http://pastebin.com/Pb3VbNC9 in case you want to examine somehting else. Thank you very much. PLE

Re: Wrong website loaded when other requested

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 7:15 μμ, Steven D'Aprano wrote: On Fri, 14 Jun 2013 18:37:50 +0300, Nick the Gr33k wrote: please take an overall look at my httpd.conf at http://pastebin.com/Pb3VbNC9 in case you want to examine somehting else. Thank you very much. PLEASE SUGGEST SOMETHING! Don't shout, it's r

Re: Wrong website loaded when other requested

2013-06-14 Thread Steven D'Aprano
On Fri, 14 Jun 2013 18:37:50 +0300, Nick the Gr33k wrote: >> please take an overall look at my httpd.conf at >> http://pastebin.com/Pb3VbNC9 in case you want to examine somehting >> else. >> >> Thank you very much. >> > PLEASE SUGGEST SOMETHING! Don't shout, it's rude. We're not your servants. T

Re: Wrong website loaded when other requested

2013-06-14 Thread rusi
On Jun 14, 8:37 pm, Nick the Gr33k wrote: > > PLEASE SUGGEST SOMETHING! A lollipop maybe? -- http://mail.python.org/mailman/listinfo/python-list

Re: Wrong website loaded when other requested

2013-06-14 Thread Nick the Gr33k
On 13/6/2013 9:04 μμ, Νικόλαος Κούρας wrote: Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος Κούρας έγραψε: On 13/6/2013 6:35 μμ, Joel Goldstick wrote: [Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173] FileNotFoundError: [Errno 2] \\u0394\\u03b5\\u03bd \\u03c5\\

Re: Wrong website loaded when other requested

2013-06-14 Thread Grant Edwards
On 2013-06-14, Nick the Gr33k wrote: > On 13/6/2013 10:31 , Grant Edwards wrote: >> On 2013-06-13, Nick the Gr33k wrote: >>> On 13/6/2013 9:37 , Andreas Perstinger wrote: On 13.06.2013 20:10, Nick the Gr33k wrote: [nothing new] Could you please stop spamming the whole

Re: Wrong website loaded when other requested

2013-06-14 Thread Mark Lawrence
On 13/06/2013 15:28, Chris Angelico wrote: On Fri, Jun 14, 2013 at 12:23 AM, Νικόλαος Κούρας wrote: Please suggest something of why this happnes. You remind me of George. http://www.chroniclesofgeorge.com/ ChrisA George reminds me of the late Joyce Grenfell. The OP reminds me of Monty

Re: Wrong website loaded when other requested

2013-06-14 Thread Nick the Gr33k
On 13/6/2013 9:28 μμ, Joel Goldstick wrote: your code is not finding a file named this: '/home/nikos/public_html//home/dauwin/public_html/index.html' The first part of this file path is:'/home/nikos/public_html After that are TWO forward slashes which remind me of http:// and following that

Re: Wrong website loaded when other requested

2013-06-14 Thread Chris Angelico
On Fri, Jun 14, 2013 at 4:14 PM, Nick the Gr33k wrote: > And surely i'm not bothering you, since you never care to reply for anything > i ask. Non sequitur. > And if you do not like my posts, just don't read them. Be careful what you wish for. ChrisA -- http://mail.python.org/mailman/listinfo

Re: Wrong website loaded when other requested

2013-06-13 Thread Nick the Gr33k
On 13/6/2013 10:31 μμ, Grant Edwards wrote: On 2013-06-13, Nick the Gr33k wrote: On 13/6/2013 9:37 , Andreas Perstinger wrote: On 13.06.2013 20:10, Nick the Gr33k wrote: [nothing new] Could you please stop spamming the whole internet with your problems. Not only that you've posted two sim

Re: Wrong website loaded when other requested

2013-06-13 Thread Grant Edwards
On 2013-06-13, Nick the Gr33k wrote: > On 13/6/2013 9:37 , Andreas Perstinger wrote: >> On 13.06.2013 20:10, Nick the Gr33k wrote: >> [nothing new] >> >> Could you please stop spamming the whole internet with your problems. >> Not only that you've posted two similar offtopic messages within on

Re: Wrong website loaded when other requested

2013-06-13 Thread Nick the Gr33k
On 13/6/2013 9:37 μμ, Andreas Perstinger wrote: On 13.06.2013 20:10, Nick the Gr33k wrote: [nothing new] Could you please stop spamming the whole internet with your problems. Not only that you've posted two similar offtopic messages within only 6 minutes to this list, you've also crossposted to

Re: Wrong website loaded when other requested

2013-06-13 Thread Nick the Gr33k
On 13/6/2013 9:28 μμ, Joel Goldstick wrote: On Thu, Jun 13, 2013 at 2:10 PM, Nick the Gr33k mailto:supp...@superhost.gr>> wrote: Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος Κούρας έγραψε: > On 13/6/2013 6:35 μμ, Joel Goldstick wrote: > >> [Tue Ju

Re: Wrong website loaded when other requested

2013-06-13 Thread Andreas Perstinger
On 13.06.2013 20:10, Nick the Gr33k wrote: [nothing new] Could you please stop spamming the whole internet with your problems. Not only that you've posted two similar offtopic messages within only 6 minutes to this list, you've also crossposted to alt.os.linux (where it is offtopic too) and to

Re: Wrong website loaded when other requested

2013-06-13 Thread Joel Goldstick
On Thu, Jun 13, 2013 at 2:10 PM, Nick the Gr33k wrote: > > > Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος Κούρας > έγραψε: > > On 13/6/2013 6:35 μμ, Joel Goldstick wrote: > > > >> [Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173] > > > >> FileNotFoundError: [Errno 2] \

Re: Wrong website loaded when other requested

2013-06-13 Thread Nick the Gr33k
Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος Κούρας έγραψε: > On 13/6/2013 6:35 μμ, Joel Goldstick wrote: > >> [Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173] > >> FileNotFoundError: [Errno 2] \\u0394\\u03b5\\u03bd > >> \\u03c5\\u03c0\\u03ac\\u03c1\\ > >> > >>

Re: Wrong website loaded when other requested

2013-06-13 Thread Νικόλαος Κούρας
Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος Κούρας έγραψε: > On 13/6/2013 6:35 μμ, Joel Goldstick wrote: > > > [Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173] > > > FileNotFoundError: [Errno 2] \\u0394\\u03b5\\u03bd > > > \\u03c5\\u03c0\\u03ac\\u03c1\\ > > > > >

Re: Wrong website loaded when other requested

2013-06-13 Thread Νικόλαος Κούρας
On 13/6/2013 7:28 μμ, Chris Angelico wrote: On Fri, Jun 14, 2013 at 2:23 AM, �� wrote: Oh my God, i'll find an httpd.conf directive ot .htaccess directive that prohibits display of source code of cgi scripts please tell me if you know of such a directive. Yes. This will majorly

Re: Wrong website loaded when other requested

2013-06-13 Thread Νικόλαος Κούρας
On 13/6/2013 6:35 μμ, Joel Goldstick wrote: [Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173] FileNotFoundError: [Errno 2] \\u0394\\u03b5\\u03bd \\u03c5\\u03c0\\u03ac\\u03c1\\ u03c7\\u03b5\\u03b9 \\u03c4\\u03ad\\u03c4\\u03bf\\u03b9\\u03bf \\u03b1\\u03c1\\u03c7\\u03b5\\u03af\\u03b

Re: Wrong website loaded when other requested

2013-06-13 Thread rusi
On Jun 13, 7:28 pm, Chris Angelico wrote: > On Fri, Jun 14, 2013 at 12:23 AM, Íéêüëáïò Êïýñáò > wrote: > > Please suggest something of why this happnes. > > You remind me of George. > > http://www.chroniclesofgeorge.com/ > > ChrisA HA! You are evil -- Chris! -- http://mail.python.org/mailman/l

Re: Wrong website loaded when other requested

2013-06-13 Thread Νικόλαος Κούρας
On 13/6/2013 6:11 μμ, Chris Angelico wrote: On Fri, Jun 14, 2013 at 12:54 AM, Andreas Perstinger wrote: On 13.06.2013 16:23, �� wrote: Please suggest something of why this happnes. That's not a Python problem. BTW both scripts at http://superhost.gr/~dauwin/metrites.py and at

Re: Wrong website loaded when other requested

2013-06-13 Thread Chris Angelico
On Fri, Jun 14, 2013 at 2:23 AM, Νικόλαος Κούρας wrote: > Oh my God, i'll find an httpd.conf directive ot .htaccess directive that > prohibits display of source code of cgi scripts > > please tell me if you know of such a directive. Yes. This will majorly improve your security. It goes in your ht

Re: Wrong website loaded when other requested

2013-06-13 Thread Νικόλαος Κούρας
On 13/6/2013 5:54 μμ, Andreas Perstinger wrote: That's not a Python problem. BTW both scripts at http://superhost.gr/~dauwin/metrites.py and at http://superhost.gr/~dauwin/cgi-bin/metrites.py show the world the passwords to your databases in plain text. Oh my God, i'll find an httpd.conf dire

Re: Wrong website loaded when other requested

2013-06-13 Thread Joel Goldstick
So Nick, I am top posting because I don't think you read your replies. I replied yesterday. Read this line below. Read the line below. READ it. READ IT.. each letter. READ it: [Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173] FileNotFoundError: [Errno 2] \\u0394\\u03b5\\u03bd \\u03c5

Re: Wrong website loaded when other requested

2013-06-13 Thread Chris Angelico
On Fri, Jun 14, 2013 at 12:54 AM, Andreas Perstinger wrote: > On 13.06.2013 16:23, Νικόλαος Κούρας wrote: >> >> Please suggest something of why this happnes. > > > That's not a Python problem. > > BTW both scripts at > http://superhost.gr/~dauwin/metrites.py > and at > http://superhost.gr/~dauwin/

Re: Wrong website loaded when other requested

2013-06-13 Thread Andreas Perstinger
On 13.06.2013 16:23, Νικόλαος Κούρας wrote: Please suggest something of why this happnes. That's not a Python problem. BTW both scripts at http://superhost.gr/~dauwin/metrites.py and at http://superhost.gr/~dauwin/cgi-bin/metrites.py show the world the passwords to your databases in plain text

Re: Wrong website loaded when other requested

2013-06-13 Thread Thomas Murphy
Chris, I had never encountered George before today, and now my life is a little bit better. This and "help vampires" in one morning, today's shaping up well! (now if this JSON would serialize with this #*@$ing angularJS Controller, but that's for another list) On Thu, Jun 13, 2013 at 10:28 AM,

Re: Wrong website loaded when other requested

2013-06-13 Thread Chris Angelico
On Fri, Jun 14, 2013 at 12:23 AM, Νικόλαος Κούρας wrote: > Please suggest something of why this happnes. You remind me of George. http://www.chroniclesofgeorge.com/ ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: Wrong website loaded when other requested

2013-06-13 Thread Νικόλαος Κούρας
On 13/6/2013 9:41 πμ, Νικόλαος Κούρας wrote: On 12/6/2013 11:35 μμ, Joel Goldstick wrote: On Wed, Jun 12, 2013 at 1:33 PM, Νικόλαος Κούρας mailto:supp...@superhost.gr>> wrote: == RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^/?(.+\.html)

Re: Wrong website loaded when other requested

2013-06-13 Thread Mark Lawrence
On 12/06/2013 21:19, Chris Angelico wrote: On Thu, Jun 13, 2013 at 3:33 AM, Νικόλαος Κούρας wrote: Why is pointing to /home/nikos isntead of /home/dauwin ? Why is question pointing to python-list@python.org isntead [sic] of your home town and some paid support? ChrisA Surely support at su

Re: Wrong website loaded when other requested

2013-06-12 Thread Νικόλαος Κούρας
On 12/6/2013 11:35 μμ, Joel Goldstick wrote: On Wed, Jun 12, 2013 at 1:33 PM, Νικόλαος Κούρας mailto:supp...@superhost.gr>> wrote: == RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^/?(.+\.html) /cgi-bin/metrites.py?file=%{__REQUEST_FIL

Re: Wrong website loaded when other requested

2013-06-12 Thread Joel Goldstick
On Wed, Jun 12, 2013 at 1:33 PM, Νικόλαος Κούρας wrote: > == > RewriteEngine Off > RewriteCond %{REQUEST_FILENAME} -f > RewriteRule ^/?(.+\.html) /cgi-bin/metrites.py?file=%{**REQUEST_FILENAME} > [L,PT,QSA] > == > > [code] > file = form.getvalue('file') > pa

Re: Wrong website loaded when other requested

2013-06-12 Thread Chris Angelico
On Thu, Jun 13, 2013 at 3:33 AM, Νικόλαος Κούρας wrote: > Why is pointing to /home/nikos isntead of /home/dauwin ? Why is question pointing to python-list@python.org isntead [sic] of your home town and some paid support? ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: Wrong website loaded when other requested

2013-06-12 Thread Νικόλαος Κούρας
What i mean is the the python.cgi script supposed to be executed was "/home/dauwin/public_html/cgi-bin/metrites.py" but instead for this to load for some reason File "/home/nikos/public_html/cgi-bin/metrites.py" But this is crazy. I hit to the browser 'http://superhost.gr/~dauwin' and not 'h

Wrong website loaded when other requested

2013-06-12 Thread Νικόλαος Κούρας
== RewriteEngine Off RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^/?(.+\.html) /cgi-bin/metrites.py?file=%{REQUEST_FILENAME} [L,PT,QSA] == [code] file = form.getvalue('file') page = form.getvalue('page') if not page and os.path.exists( file ):