Article View: pl.comp.www.server-side
Article #48751Re: Virtual Host
From: .:Squall:.
Date: Sat, 12 Jul 2003 18:55
Date: Sat, 12 Jul 2003 18:55
31 lines
1655 bytes
1655 bytes
Witam
Mam problem i siedze nad nim pol dnia. Otoz mam na serwku Apacha 2 + PHP
4. Wrzucam sobie stronke do htdocs napisana w PHP i wszystko ladnie sie
wczytuje. Problem sie pojawia kiedy tworze kilka vhostow. Dobrze dzialaja
jednak tylko z dkomunetami html. Nie mam pojecia czemu dokumenty PHP na
zdanym vhoscie nie odpalaja
Wyskakuje taki blad
"
Bad Request
Your browser sent a request that this server could not understand.
"
W czym problem?
vhost wyglada mniej wiecej tak
NameVirtualHost 217.119.33.34
<VirtualHost 217.119.33.34>
DocumentRoot /www/
ServerName admin.afraid.org
</VirtualHost>
<VirtualHost 217.119.33.34>
DocumentRoot /www2/
ServerName squall.afraid.org
</VirtualHost>
pozdr.
Technical Details
Message-ID:
<beplfo$npv$1@atlantis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<beovql$9k9$1@atlantis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: ".:Squall:." <dobmar@o2.pl> Newsgroups: pl.comp.www.server-side Subject: Re: Virtual Host Date: Sat, 12 Jul 2003 20:55:23 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 37 Message-ID: <beplfo$npv$1@atlantis.news.tpi.pl> References: <beovql$9k9$1@atlantis.news.tpi.pl> NNTP-Posting-Host: pa79.krzeszowice.sdi.tpnet.pl X-Trace: atlantis.news.tpi.pl 1058036024 24383 217.99.138.79 (12 Jul 2003 18:53:44 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sat, 12 Jul 2003 18:53:44 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit