Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48002
| From | Nick the Gr33k <support@superhost.gr> |
|---|---|
| Newsgroups | alt.os.linux, comp.lang.python |
| Subject | Re: Wrong website loaded when other requested |
| Date | 2013-06-13 21:10 +0300 |
| Organization | National Technical University of Athens, Greece |
| Message-ID | <kpd1u7$21co$9@news.ntua.gr> (permalink) |
| References | <kpabcm$275g$6@news.ntua.gr> <kpak6u$qvj$3@news.ntua.gr> |
Cross-posted to 2 groups.
Τη Πέμπτη, 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. -- What is now proved was at first only imagined!
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
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
csiph-web