Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48075
| From | Nick the Gr33k <support@superhost.gr> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Wrong website loaded when other requested |
| Date | 2013-06-14 10:40 +0300 |
| Organization | National Technical University of Athens, Greece |
| Message-ID | <kpehe9$p37$5@news.ntua.gr> (permalink) |
| References | <kpabcm$275g$6@news.ntua.gr> <kpak6u$qvj$3@news.ntua.gr> <kpd1u7$21co$9@news.ntua.gr> <mailman.3214.1371148092.3114.python-list@python.org> |
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 is the path you want. so, you need to put new batteries
> in your brain, look through your mess and figure out what creates the
> wrong file name for you
Hello Joel and Good Day, here are the virtual host for you to see.
VirtualHost 82.211.30.133:82>
ServerName dauwin.gr
ServerAlias www.dauwin.gr
DocumentRoot /home/dauwin/public_html
ServerAdmin webmaster@dauwin.gr
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/dauwin.gr combined
CustomLog /usr/local/apache/domlogs/dauwin.gr-bytes_log "%{%s}t %I
.\n%{%s}t %O ."
## User dauwin # Needed for Cpanel::ApacheConf
UserDir enabled dauwin
<IfModule mod_suphp.c>
suPHP_UserGroup dauwin dauwin
</IfModule>
<IfModule !mod_disable_suexec.c>
<IfModule !mod_ruid2.c>
SuexecUserGroup dauwin dauwin
</IfModule>
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid dauwin dauwin
</IfModule>
ScriptAlias /cgi-bin/ /home/dauwin/public_html/cgi-bin/
# To customize this VirtualHost use an include file at the
following location
# Include
"/usr/local/apache/conf/userdata/std/2/dauwin/dauwin.gr/*.conf"
</VirtualHost>
Your superhost.gr domain is setup to use the following
Code:
<VirtualHost 82.211.30.133:82>
ServerName superhost.gr
ServerAlias www.superhost.gr
DocumentRoot /home/nikos/public_html
ServerAdmin support@superhost.gr
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/superhost.gr combined
CustomLog /usr/local/apache/domlogs/superhost.gr-bytes_log "%{%s}t
%I .\n%{%s}t %O ."
## User nikos # Needed for Cpanel::ApacheConf
UserDir enabled nikos
<IfModule mod_suphp.c>
suPHP_UserGroup nikos nikos
</IfModule>
<IfModule !mod_disable_suexec.c>
<IfModule !mod_ruid2.c>
SuexecUserGroup nikos nikos
</IfModule>
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid nikos nikos
</IfModule>
ScriptAlias /cgi-bin/ /home/nikos/public_html/cgi-bin/
# To customize this VirtualHost use an include file at the
following location
# Include
"/usr/local/apache/conf/userdata/std/2/nikos/superhost.gr/*.conf"
</VirtualHost>
================================
Yes, if in fact we have registered the domain "dauwin.gr" there would be
no problem, since all web urls would be translated into correct file paths.
But see, we didn't buy dauwin.gr domain and all we have to access the
dauwin website is http://superhost.gr/~dauwwin way to do it.
Please tell me there is still some possible way for when:
'http://superhost.gr/~dauwin' is being browsed for the
'/home/dauwin/public_html' to be associated with.
So now, what?
--
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