Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #47825 > unrolled thread

Wrong website loaded when other requested

Started byΝικόλαος Κούρας <support@superhost.gr>
First post2013-06-12 20:33 +0300
Last post2013-06-15 09:48 +0300
Articles 14 on this page of 54 — 20 participants

Back to article view | Back to comp.lang.python


Contents

  Wrong website loaded when other requested Νικόλαος Κούρας <support@superhost.gr> - 2013-06-12 20:33 +0300
    Re: Wrong website loaded when other requested Νικόλαος Κούρας <support@superhost.gr> - 2013-06-12 23:03 +0300
      Re: Wrong website loaded when other requested Nick the Gr33k <support@superhost.gr> - 2013-06-13 21:10 +0300
        Re: Wrong website loaded when other requested Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-13 14:28 -0400
          Re: Wrong website loaded when other requested Nick the Gr33k <support@superhost.gr> - 2013-06-13 21:43 +0300
          Re: Wrong website loaded when other requested Nick the Gr33k <support@superhost.gr> - 2013-06-14 10:40 +0300
        Re: Wrong website loaded when other requested Andreas Perstinger <andipersti@gmail.com> - 2013-06-13 20:37 +0200
          Re: Wrong website loaded when other requested Nick the Gr33k <support@superhost.gr> - 2013-06-13 21:47 +0300
            Re: Wrong website loaded when other requested Grant Edwards <invalid@invalid.invalid> - 2013-06-13 19:31 +0000
              Re: Wrong website loaded when other requested Nick the Gr33k <support@superhost.gr> - 2013-06-14 09:14 +0300
                Re: Wrong website loaded when other requested Chris Angelico <rosuav@gmail.com> - 2013-06-14 17:24 +1000
                Re: Wrong website loaded when other requested Grant Edwards <invalid@invalid.invalid> - 2013-06-14 14:44 +0000
    Re: Wrong website loaded when other requested Chris Angelico <rosuav@gmail.com> - 2013-06-13 06:19 +1000
    Re: Wrong website loaded when other requested Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-12 16:35 -0400
      Re: Wrong website loaded when other requested Νικόλαος Κούρας <support@superhost.gr> - 2013-06-13 09:41 +0300
        Re: Wrong website loaded when other requested Νικόλαος Κούρας <support@superhost.gr> - 2013-06-13 17:23 +0300
          Re: Wrong website loaded when other requested Chris Angelico <rosuav@gmail.com> - 2013-06-14 00:28 +1000
            Re: Wrong website loaded when other requested rusi <rustompmody@gmail.com> - 2013-06-13 09:47 -0700
          Re: Wrong website loaded when other requested Thomas Murphy <thomasmurphymusic@gmail.com> - 2013-06-13 10:48 -0400
          Re: Wrong website loaded when other requested Andreas Perstinger <andipersti@gmail.com> - 2013-06-13 16:54 +0200
            Re: Wrong website loaded when other requested Νικόλαος Κούρας <support@superhost.gr> - 2013-06-13 19:23 +0300
              Re: Wrong website loaded when other requested Chris Angelico <rosuav@gmail.com> - 2013-06-14 02:28 +1000
                Re: Wrong website loaded when other requested Νικόλαος Κούρας <support@superhost.gr> - 2013-06-13 20:03 +0300
          Re: Wrong website loaded when other requested Chris Angelico <rosuav@gmail.com> - 2013-06-14 01:11 +1000
            Re: Wrong website loaded when other requested Νικόλαος Κούρας <support@superhost.gr> - 2013-06-13 19:24 +0300
              RFD: rename comp.lang.python to comp.support.superhost alex23 <wuwei23@gmail.com> - 2013-06-13 20:25 -0700
                Re: RFD: rename comp.lang.python to comp.support.superhost Fábio Santos <fabiosantosart@gmail.com> - 2013-06-14 09:41 +0100
                Re: RFD: rename comp.lang.python to comp.support.superhost Roy Smith <roy@panix.com> - 2013-06-14 08:06 -0400
                  Re: RFD: rename comp.lang.python to comp.support.superhost Gene Heskett <gheskett@wdtv.com> - 2013-06-14 08:47 -0400
                  Re: RFD: rename comp.lang.python to comp.support.superhost Zero Piraeus <schesis@gmail.com> - 2013-06-14 09:06 -0400
                  Re: RFD: rename comp.lang.python to comp.support.superhost Ben Finney <ben+python@benfinney.id.au> - 2013-06-15 10:26 +1000
                Re: RFD: rename comp.lang.python to comp.support.superhost Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-06-15 19:11 +0200
                  Re: RFD: rename comp.lang.python to comp.support.superhost Nick the Gr33k <support@superhost.gr> - 2013-06-15 20:29 +0300
                    Re: RFD: rename comp.lang.python to comp.support.superhost rusi <rustompmody@gmail.com> - 2013-06-15 10:39 -0700
                    Re: RFD: rename comp.lang.python to comp.support.superhost Fábio Santos <fabiosantosart@gmail.com> - 2013-06-15 18:43 +0100
                    Re: RFD: rename comp.lang.python to comp.support.superhost Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-15 18:43 +0100
                      Re: RFD: rename comp.lang.python to comp.support.superhost Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-15 17:51 +0000
                        Re: RFD: rename comp.lang.python to comp.support.superhost Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-15 19:26 +0100
                        Re: RFD: rename comp.lang.python to comp.support.superhost Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-06-16 20:47 +0200
                    Re: RFD: rename comp.lang.python to comp.support.superhost Alister <alister.ware@ntlworld.com> - 2013-06-15 17:52 +0000
                      Re: RFD: rename comp.lang.python to comp.support.superhost Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-06-15 20:07 +0200
                    Re: RFD: rename comp.lang.python to comp.support.superhost Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-06-15 19:55 +0200
          Re: Wrong website loaded when other requested Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-14 10:56 +0100
    Re: Wrong website loaded when other requested Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-13 14:04 +0100
    Re: Wrong website loaded when other requested Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-13 11:35 -0400
      Re: Wrong website loaded when other requested Νικόλαος Κούρας <support@superhost.gr> - 2013-06-13 19:52 +0300
        Re: Wrong website loaded when other requested Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-13 11:04 -0700
          Re: Wrong website loaded when other requested Nick the Gr33k <support@superhost.gr> - 2013-06-14 18:37 +0300
            Re: Wrong website loaded when other requested rusi <rustompmody@gmail.com> - 2013-06-14 08:45 -0700
            Re: Wrong website loaded when other requested Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-14 16:15 +0000
              Re: Wrong website loaded when other requested Nick the Gr33k <support@superhost.gr> - 2013-06-14 19:22 +0300
                Re: Wrong website loaded when other requested Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-14 17:46 +0100
                Re: Wrong website loaded when other requested Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-14 19:45 +0100
                  Re: Wrong website loaded when other requested Nick the Gr33k <support@superhost.gr> - 2013-06-15 09:48 +0300

Page 3 of 3 — ← Prev page 1 2 [3]


#48344 — Re: RFD: rename comp.lang.python to comp.support.superhost

FromChris “Kwpolska” Warrick <kwpolska@gmail.com>
Date2013-06-15 20:07 +0200
SubjectRe: RFD: rename comp.lang.python to comp.support.superhost
Message-ID<mailman.3399.1371319674.3114.python-list@python.org>
In reply to#48340
On Sat, Jun 15, 2013 at 7:52 PM, Alister <alister.ware@ntlworld.com> wrote:
> On Sat, 15 Jun 2013 20:29:09 +0300, Nick the Gr33k wrote:
>
>> On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote:
>>> On Fri, Jun 14, 2013 at 5:25 AM, alex23 <wuwei23@gmail.com> wrote:
>>>> On Jun 14, 2:24 am, Νικόλαος Κούρας <supp...@superhost.gr> wrote:
>>>>> iam researchign a solution to this as we speak.
>>>>
>>>> Spamming endless "ZOMG HELP ME I'M INCOMPETENT" posts isn't
>>>> "research".
>>>> --
>>>> http://mail.python.org/mailman/listinfo/python-list
>>>
>>> BTW: Do we have a Greek around that is not Nikos, who is willing to
>>> report him to the Police for publishing personal data of his clients?
>>> http://superhost.gr/?page=pelatologio.py has PHONE NUMBERS of people
>>> according to Google Translate.  And that doesn’t seem to be legal.  I
>>> have already thrown an e-mail address to the domain registrar.
>>>
>>> --
>>> Kwpolska <http://kwpolska.tk> | GPG KEY: 5EAAEA16 stop html mail
>>>         | always bottom-post http://asciiribbon.org        |
>>> http://caliburn.nl/topposting.html
>>>
>>>
>> How much of a bastard can you be?
>
> Were that my data I would be calling him a hero.
>
> please learn how to secure data before allowing your sites to escape onto
> the internet

Actually, Nikolaos should be happy I didn’t bother to learn Greek and
pony up €6 to actually call those seventeen numbers, as roaming is
friggin’ expensive, and that’s assuming that a minute would be enough
to tell those people what is going on, and not forgetting that I live
in a country where the minimum wage is less than €400, and that the
number includes taxes and such.

--
Kwpolska <http://kwpolska.tk> | GPG KEY: 5EAAEA16
stop html mail                | always bottom-post
http://asciiribbon.org        | http://caliburn.nl/topposting.html

[toc] | [prev] | [next] | [standalone]


#48342 — Re: RFD: rename comp.lang.python to comp.support.superhost

FromChris “Kwpolska” Warrick <kwpolska@gmail.com>
Date2013-06-15 19:55 +0200
SubjectRe: RFD: rename comp.lang.python to comp.support.superhost
Message-ID<mailman.3397.1371318962.3114.python-list@python.org>
In reply to#48328
On Sat, Jun 15, 2013 at 7:29 PM, Nick the Gr33k <support@superhost.gr> wrote:
> On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote:
>>
>> On Fri, Jun 14, 2013 at 5:25 AM, alex23 <wuwei23@gmail.com> wrote:
>>>
>>> On Jun 14, 2:24 am, Νικόλαος Κούρας <supp...@superhost.gr> wrote:
>>>>
>>>> iam researchign a solution to this as we speak.
>>>
>>>
>>> Spamming endless "ZOMG HELP ME I'M INCOMPETENT" posts isn't "research".
>>> --
>>> http://mail.python.org/mailman/listinfo/python-list
>>
>>
>> BTW: Do we have a Greek around that is not Nikos, who is willing to
>> report him to the Police for publishing personal data of his clients?
>> http://superhost.gr/?page=pelatologio.py has PHONE NUMBERS of people
>> according to Google Translate.  And that doesn’t seem to be legal.  I
>> have already thrown an e-mail address to the domain registrar.
>>
>> --
>> Kwpolska <http://kwpolska.tk> | GPG KEY: 5EAAEA16
>> stop html mail                | always bottom-post
>> http://asciiribbon.org        | http://caliburn.nl/topposting.html
>>
>
> How much of a bastard can you be?
>
> --
> What is now proved was at first only imagined!
> --
> http://mail.python.org/mailman/listinfo/python-list

Does saving that page count?

--
Kwpolska <http://kwpolska.tk> | GPG KEY: 5EAAEA16
stop html mail                | always bottom-post
http://asciiribbon.org        | http://caliburn.nl/topposting.html

[toc] | [prev] | [next] | [standalone]


#48107

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-06-14 10:56 +0100
Message-ID<mailman.3284.1371203746.3114.python-list@python.org>
In reply to#47968
On 13/06/2013 15:28, Chris Angelico wrote:
> On Fri, Jun 14, 2013 at 12:23 AM, Νικόλαος Κούρας <support@superhost.gr> 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 Python's Matching Tie and Handerchief, the record's stuck, the 
record's stuck, the record's stuck...

-- 
"Steve is going for the pink ball - and for those of you who are 
watching in black and white, the pink is next to the green." Snooker 
commentator 'Whispering' Ted Lowe.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#47955

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-06-13 14:04 +0100
Message-ID<mailman.3187.1371128671.3114.python-list@python.org>
In reply to#47825
On 12/06/2013 21:19, Chris Angelico wrote:
> On Thu, Jun 13, 2013 at 3:33 AM, Νικόλαος Κούρας <support@superhost.gr> 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 superhost dot greece should be able to sort all this out?

-- 
"Steve is going for the pink ball - and for those of you who are 
watching in black and white, the pink is next to the green." Snooker 
commentator 'Whispering' Ted Lowe.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#47980

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2013-06-13 11:35 -0400
Message-ID<mailman.3208.1371137754.3114.python-list@python.org>
In reply to#47825

[Multipart message — attachments visible in raw view] — view raw

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\\u03c0\\u03ac\\u03c1\\
>
> u03c7\\u03b5\\u03b9 \\u03c4\\u03ad\\u03c4\\u03bf\\u03b9\\u03bf
> \\u03b1\\u03c1\\u03c7\\u03b5\\u03af\\u03bf \\u03ae
> \\u03ba\\u03b1\\u03c4\\u03ac\\u03bb\\u03bf\\u03b3\\u03bf\\u03c2:
> '/home/nikos/public_html//home/dauwin/public_html/index.html', referer:
> http://superhost.gr/
> [/code]
>
DO YOU SEE THIS PART:
 '/home/nikos/public_html//home/dauwin/public_html/index.html', referer:
http://superhost.gr/

Do you see that it prepends your nikos path the your dauwin path and file
name.  It isn't replacing one with the other.  Somewhere in your SFBI mess
of code you perhaps have set the nikos path as the start of a filename.
Check that out


DID YOU READ THIS?  DID YOU THINK ABOUT IT.  Also look up SFBI.  It is a
good name for you

> [/code]
>



On Wed, Jun 12, 2013 at 4:35 PM, Joel Goldstick <joel.goldstick@gmail.com>wrote:

>
>
>
> On Wed, Jun 12, 2013 at 1:33 PM, Νικόλαος Κούρας <support@superhost.gr>wrote:
>
>> ======================
>> 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 ):
>>         # it is an html template
>>         page = file.replace( '/home/dauwin/public_html/', '' )
>> elif page or form.getvalue('show'):
>>         # it is a python script
>>         page = page..replace( '/home/dauwin/public_html/cgi-**bin/', '' )
>> else:
>>         #when everything else fails fallback
>>         page = "index.html"
>>
>> ....
>> ....
>>
>>         if page.endswith('.html'):
>>                 with open( '/home/dauwin/public_html/' + page,
>> encoding='utf-8' ) as f:
>>                         htmlpage = f.read()
>>                 htmlpage = htmlpage % (quote, music)
>>                 template = htmlpage + counter
>>         elif page.endswith('.py'):
>>                 pypage = subprocess.check_output(
>> '/home/dauwin/public_html/cgi-**bin/' + page )
>>                 pypage = pypage.decode('utf-8').**replace(
>> 'Content-type: text/html; charset=utf-8', '' )
>>                 template = pypage + counter
>>
>>         print( template )
>> [/code]
>>
>> Everything as you see point to 'dauwin' username, yet the error still
>> says:
>>
>> [code]
>> [Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173]   File
>> "/home/nikos/public_html/cgi-**bin/metrites.py", line 219, in <module>,
>> referer: http://superhost.gr/
>> [Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173]     with open(
>> '/home/nikos/public_html/' + page, encoding='utf-8' ) as f:, referer:
>> http://superhost.gr/
>> [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\\u03bf \\u03ae
>> \\u03ba\\u03b1\\u03c4\\u03ac\\**u03bb\\u03bf\\u03b3\\u03bf\\**u03c2:
>> '/home/nikos/public_html//**home/dauwin/public_html/index.**html',
>> referer: http://superhost.gr/
>> [/code]
>>
>>
>> Notice that you have the file path you want concatenated to your
> /home/nikos/... stuff in the line above.  Look in your code to find out
> why. Fix that.  Lather, rinse, repeat
>
>> Why is pointing to /home/nikos isntead of /home/dauwin ?
>>
>> this is what a smash my head to the wall to understand.
>> --
>> http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list>
>>
>
>
>
> --
> Joel Goldstick
> http://joelgoldstick.com
>



-- 
Joel Goldstick
http://joelgoldstick.com

[toc] | [prev] | [next] | [standalone]


#47988

FromΝικόλαος Κούρας <support@superhost.gr>
Date2013-06-13 19:52 +0300
Message-ID<kpctcc$21co$5@news.ntua.gr>
In reply to#47980
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\\u03bf \\u03ae
>     \\u03ba\\u03b1\\u03c4\\u03ac\\u03bb\\u03bf\\u03b3\\u03bf\\u03c2:
>     '/home/nikos/public_html//home/dauwin/public_html/index.html',
>     referer: http://superhost.gr/
>     [/code]
>
> DO YOU SEE THIS PART:
>   '/home/nikos/public_html//home/dauwin/public_html/index.html',
> referer: http://superhost.gr/
>
> Do you see that it prepends your nikos path the your dauwin path and
> file name.  It isn't replacing one with the other.  Somewhere in your
> SFBI mess of code you perhaps have set the nikos path as the start of a
> filename.  Check that out

yes i saw your post Joel,

After research i am under the impression that i'am in need for UserDir 
directive as it essentially allows you to use User Home directories as 
web directories...

So after reading this: 
http://centosforge.com/node/how-get-userdir-user-specific-publichtml-working-apache-centos-6
i did this:


<IfModule !mod_ruid2.c>
UserDir public_html
</IfModule>
<IfModule mod_ruid2.c>
#UserDir disabled
UserDir "enabled *"
UserDir "disabled root"
</IfModule>



root@nikos [~]# chmod 711 /home
root@nikos [~]# chmod 711 /home/nikos
root@nikos [~]# chmod 755 /home/nikos/public_html/
root@nikos [~]# chmod o+r /home/nikos/public_html/index.html
root@nikos [~]# chmod 711 /home/dauwin
root@nikos [~]# chmod 755 /home/dauwin/public_html/
root@nikos [~]# chmod o+r /home/dauwin/public_html/index.html
root@nikos [~]#

setsebool -P httpd_enable_homedirs true
chcon -R -t httpd_sys_content_t /home/testuser/public_html
(the last one one failed though)

the i restarted Apache but the problem is still there.

===================
nikos@superhost.gr [~]# [Thu Jun 13 19:50:57 2013] [error] [client 
79.103.41.173] Error in sys.excepthook:
[Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173] ValueError: 
underlying buffer has been detached
[Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173]
[Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173] Original 
exception was:
[Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173] Traceback 
(most recent call last):
[Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173]   File 
"/home/nikos/public_html/cgi-bin/metrites.py", line 213, in <module>
[Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173]     with open( 
'/home/nikos/public_html/' + page, encoding='utf-8' ) as f:
[Thu Jun 13 19:50:57 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\\u03bf \\u03ae 
\\u03ba\\u03b1\\u03c4\\u03ac\\u03bb\\u03bf\\u03b3\\u03bf\\u03c2: 
'/home/nikos/public_html//home/dauwin/public_html/index.html'
========================

[toc] | [prev] | [next] | [standalone]


#48000

FromΝικόλαος Κούρας <nikos.gr33k@gmail.com>
Date2013-06-13 11:04 -0700
Message-ID<65867379-3458-47af-8ce7-749f8cf650be@googlegroups.com>
In reply to#47988
Τη Πέμπτη, 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\\
> 
> >
> 
> >     u03c7\\u03b5\\u03b9 \\u03c4\\u03ad\\u03c4\\u03bf\\u03b9\\u03bf
> 
> >     \\u03b1\\u03c1\\u03c7\\u03b5\\u03af\\u03bf \\u03ae
> 
> >     \\u03ba\\u03b1\\u03c4\\u03ac\\u03bb\\u03bf\\u03b3\\u03bf\\u03c2:
> 
> >     '/home/nikos/public_html//home/dauwin/public_html/index.html',
> 
> >     referer: http://superhost.gr/
> 
> >     [/code]
> 
> >
> 
> > DO YOU SEE THIS PART:
> 
> >   '/home/nikos/public_html//home/dauwin/public_html/index.html',
> 
> > referer: http://superhost.gr/
> 
> >
> 
> > Do you see that it prepends your nikos path the your dauwin path and
> 
> > file name.  It isn't replacing one with the other.  Somewhere in your
> 
> > SFBI mess of code you perhaps have set the nikos path as the start of a
> 
> > filename.  Check that out
> 
> 
> 
> yes i saw your post Joel,
> 
> 
> 
> After research i am under the impression that i'am in need for UserDir 
> 
> directive as it essentially allows you to use User Home directories as 
> 
> web directories...
> 
> 
> 
> So after reading this: 
> 
> http://centosforge.com/node/how-get-userdir-user-specific-publichtml-working-apache-centos-6
> 
> i did this:
> 
> 
> 
> 
> 
> <IfModule !mod_ruid2.c>
> 
> UserDir public_html
> 
> </IfModule>
> 
> <IfModule mod_ruid2.c>
> 
> #UserDir disabled
> 
> UserDir "enabled *"
> 
> UserDir "disabled root"
> 
> </IfModule>
> 
> 
> 
> 
> 
> 
> 
> root@nikos [~]# chmod 711 /home
> 
> root@nikos [~]# chmod 711 /home/nikos
> 
> root@nikos [~]# chmod 755 /home/nikos/public_html/
> 
> root@nikos [~]# chmod o+r /home/nikos/public_html/index.html
> 
> root@nikos [~]# chmod 711 /home/dauwin
> 
> root@nikos [~]# chmod 755 /home/dauwin/public_html/
> 
> root@nikos [~]# chmod o+r /home/dauwin/public_html/index.html
> 
> root@nikos [~]#
> 
> 
> 
> setsebool -P httpd_enable_homedirs true
> 
> chcon -R -t httpd_sys_content_t /home/testuser/public_html
> 
> (the last one one failed though)
> 
> 
> 
> the i restarted Apache but the problem is still there.
> 
> 
> 
> ===================
> 
> nikos@superhost.gr [~]# [Thu Jun 13 19:50:57 2013] [error] [client 
> 
> 79.103.41.173] Error in sys.excepthook:
> 
> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173] ValueError: 
> 
> underlying buffer has been detached
> 
> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173]
> 
> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173] Original 
> 
> exception was:
> 
> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173] Traceback 
> 
> (most recent call last):
> 
> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173]   File 
> 
> "/home/nikos/public_html/cgi-bin/metrites.py", line 213, in <module>
> 
> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173]     with open( 
> 
> '/home/nikos/public_html/' + page, encoding='utf-8' ) as f:
> 
> [Thu Jun 13 19:50:57 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\\u03bf \\u03ae 
> 
> \\u03ba\\u03b1\\u03c4\\u03ac\\u03bb\\u03bf\\u03b3\\u03bf\\u03c2: 
> 
> '/home/nikos/public_html//home/dauwin/public_html/index.html'
> 
> ========================

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.

[toc] | [prev] | [next] | [standalone]


#48166

FromNick the Gr33k <support@superhost.gr>
Date2013-06-14 18:37 +0300
Message-ID<kpfdcd$1sl2$2@news.ntua.gr>
In reply to#48000
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\\u03c0\\u03ac\\u03c1\\
>>
>>>
>>
>>>      u03c7\\u03b5\\u03b9 \\u03c4\\u03ad\\u03c4\\u03bf\\u03b9\\u03bf
>>
>>>      \\u03b1\\u03c1\\u03c7\\u03b5\\u03af\\u03bf \\u03ae
>>
>>>      \\u03ba\\u03b1\\u03c4\\u03ac\\u03bb\\u03bf\\u03b3\\u03bf\\u03c2:
>>
>>>      '/home/nikos/public_html//home/dauwin/public_html/index.html',
>>
>>>      referer: http://superhost.gr/
>>
>>>      [/code]
>>
>>>
>>
>>> DO YOU SEE THIS PART:
>>
>>>    '/home/nikos/public_html//home/dauwin/public_html/index.html',
>>
>>> referer: http://superhost.gr/
>>
>>>
>>
>>> Do you see that it prepends your nikos path the your dauwin path and
>>
>>> file name.  It isn't replacing one with the other.  Somewhere in your
>>
>>> SFBI mess of code you perhaps have set the nikos path as the start of a
>>
>>> filename.  Check that out
>>
>>
>>
>> yes i saw your post Joel,
>>
>>
>>
>> After research i am under the impression that i'am in need for UserDir
>>
>> directive as it essentially allows you to use User Home directories as
>>
>> web directories...
>>
>>
>>
>> So after reading this:
>>
>> http://centosforge.com/node/how-get-userdir-user-specific-publichtml-working-apache-centos-6
>>
>> i did this:
>>
>>
>>
>>
>>
>> <IfModule !mod_ruid2.c>
>>
>> UserDir public_html
>>
>> </IfModule>
>>
>> <IfModule mod_ruid2.c>
>>
>> #UserDir disabled
>>
>> UserDir "enabled *"
>>
>> UserDir "disabled root"
>>
>> </IfModule>
>>
>>
>>
>>
>>
>>
>>
>> root@nikos [~]# chmod 711 /home
>>
>> root@nikos [~]# chmod 711 /home/nikos
>>
>> root@nikos [~]# chmod 755 /home/nikos/public_html/
>>
>> root@nikos [~]# chmod o+r /home/nikos/public_html/index.html
>>
>> root@nikos [~]# chmod 711 /home/dauwin
>>
>> root@nikos [~]# chmod 755 /home/dauwin/public_html/
>>
>> root@nikos [~]# chmod o+r /home/dauwin/public_html/index.html
>>
>> root@nikos [~]#
>>
>>
>>
>> setsebool -P httpd_enable_homedirs true
>>
>> chcon -R -t httpd_sys_content_t /home/testuser/public_html
>>
>> (the last one one failed though)
>>
>>
>>
>> the i restarted Apache but the problem is still there.
>>
>>
>>
>> ===================
>>
>> nikos@superhost.gr [~]# [Thu Jun 13 19:50:57 2013] [error] [client
>>
>> 79.103.41.173] Error in sys.excepthook:
>>
>> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173] ValueError:
>>
>> underlying buffer has been detached
>>
>> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173]
>>
>> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173] Original
>>
>> exception was:
>>
>> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173] Traceback
>>
>> (most recent call last):
>>
>> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173]   File
>>
>> "/home/nikos/public_html/cgi-bin/metrites.py", line 213, in <module>
>>
>> [Thu Jun 13 19:50:57 2013] [error] [client 79.103.41.173]     with open(
>>
>> '/home/nikos/public_html/' + page, encoding='utf-8' ) as f:
>>
>> [Thu Jun 13 19:50:57 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\\u03bf \\u03ae
>>
>> \\u03ba\\u03b1\\u03c4\\u03ac\\u03bb\\u03bf\\u03b3\\u03bf\\u03c2:
>>
>> '/home/nikos/public_html//home/dauwin/public_html/index.html'
>>
>> ========================
>
> 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!

-- 
What is now proved was at first only imagined!

[toc] | [prev] | [next] | [standalone]


#48167

Fromrusi <rustompmody@gmail.com>
Date2013-06-14 08:45 -0700
Message-ID<c253dc07-c220-42c3-b699-06ac2e22cd0e@rh15g2000pbb.googlegroups.com>
In reply to#48166
On Jun 14, 8:37 pm, Nick the Gr33k <supp...@superhost.gr> wrote:
>
> PLEASE SUGGEST SOMETHING!

A lollipop maybe?

[toc] | [prev] | [next] | [standalone]


#48173

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-06-14 16:15 +0000
Message-ID<51bb418a$0$29997$c3e8da3$5496439d@news.astraweb.com>
In reply to#48166
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.

This is not a http.conf group, this is a Python group. The only 
suggestion I have is, find a forum that discusses web config and ask 
there.



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#48175

FromNick the Gr33k <support@superhost.gr>
Date2013-06-14 19:22 +0300
Message-ID<kpfg0a$4rq$1@news.ntua.gr>
In reply to#48173
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 rude. We're not your servants.
>
> This is not a http.conf group, this is a Python group. The only
> suggestion I have is, find a forum that discusses web config and ask
> there.
>
>
>
i did, the problem couldn't resolved there either.

Can you at least help with the files.py ?

you've provided code there that i utilized and alter a bit but the files 
aren't showing.
can you help me run files.py successfully?

-- 
What is now proved was at first only imagined!

[toc] | [prev] | [next] | [standalone]


#48179

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-06-14 17:46 +0100
Message-ID<mailman.3316.1371228420.3114.python-list@python.org>
In reply to#48175
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.
>>>>
>>> PLEASE SUGGEST SOMETHING!
>>
>> Don't shout, it's rude. We're not your servants.
>>
>> This is not a http.conf group, this is a Python group. The only
>> suggestion I have is, find a forum that discusses web config and ask
>> there.
>>
>>
>>
> i did, the problem couldn't resolved there either.
>
> Can you at least help with the files.py ?
>
> you've provided code there that i utilized and alter a bit but the files
> aren't showing.
> can you help me run files.py successfully?
>

Sure, just give me your password.

-- 
"Steve is going for the pink ball - and for those of you who are 
watching in black and white, the pink is next to the green." Snooker 
commentator 'Whispering' Ted Lowe.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#48204

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-06-14 19:45 +0100
Message-ID<mailman.3333.1371235579.3114.python-list@python.org>
In reply to#48175
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 
activities and decides whether or not Greek law has been broken by him 
risking his clients' data.  So Ferrous Cranus, if you feel the weight of 
the law landing on your shoulders, please *DON'T* blame me, just look in 
the mirror and you'll find the real culprit.

-- 
"Steve is going for the pink ball - and for those of you who are 
watching in black and white, the pink is next to the green." Snooker 
commentator 'Whispering' Ted Lowe.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#48258

FromNick the Gr33k <support@superhost.gr>
Date2013-06-15 09:48 +0300
Message-ID<kph2np$29li$1@news.ntua.gr>
In reply to#48204
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.  I've requested that someone looks at his
> activities and decides whether or not Greek law has been broken by him
> risking his clients' data.  So Ferrous Cranus, if you feel the weight of
> the law landing on your shoulders, please *DON'T* blame me, just look in
> the mirror and you'll find the real culprit.

i did not offer you my password for real.
I said that if you state here in the list in front of all that you will 
actually try to solve whats wrong with files.py then i will you the 
password, which i knew you wouldn't state such a thing.


-- 
What is now proved was at first only imagined!

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | comp.lang.python


csiph-web