Article View: pl.comp.lang.ruby
Article #889Re: Jak pogodzić apache2, php i ruby
From: Maciej Piechotka
Date: Sun, 06 Jan 2008 21:40
Date: Sun, 06 Jan 2008 21:40
34 lines
2078 bytes
2078 bytes
On Sun, 06 Jan 2008 21:04:55 +0100, Marcin wrote: > Witam, > > Chodzi o Apache2 i mod_ruby. Wiem, jest Mongrel i od biedy WEBRick. > > W przypadku PHP sprawa jest prosta: > > /home/user/public_html/P1/ -> http://localhost/~user/P1/ > /home/user/public_html/P2/ -> http://localhost/~user/P2/ > > Jak to będzie wyglądać w przypadku Ruby oraz Ruby on Rails? > > Chciałbym zrobić (a tak po prawdzie nakłonić mojego admina, abym mógł > strony robić nie tylko w php, ale i w ruby) aby coś takiego działało: > > Dla PHP: > /home/user/public_html/php/ -> http://localhost/~user/php/ Dla Ruby: > /home/user/public_html/ruby/ -> http://localhost/~user/ruby/ > > Jak pogodzić Apache2, PHP i Ruby, aby wszystko ładnie chodziło chodziło > na tym samym porcie? Use CGI Luke. Przykładowy opis(oprócz instalacji programów i/lub ścierzek nie powinno się różnić): http://gentoo-wiki.com/HOWTO_RoR Pozdrawiam -- I've probably left my head... somewhere. Please wait untill I find it. Homepage (pl_PL): http://uzytkownik.jogger.pl/ (GNU/)Linux User: #425935 (see http://counter.li.org/)
Technical Details
Message-ID:
<ufu755-ro4.ln1@router.piechotka.com.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news2.icm.edu.pl!news.prz.edu.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!nnrpd.internetia.plReferences:
<flrc99$d97$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news2.icm.edu.pl!news.prz.edu.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!nnrpd.internetia.pl From: Maciej Piechotka <uzytkownik2@gmail.com> Newsgroups: pl.comp.lang.ruby Subject: Re: Jak pogodzić apache2, php i ruby Date: Sun, 6 Jan 2008 22:40:46 +0100 Organization: Netia S.A. Lines: 35 Message-ID: <ufu755-ro4.ln1@router.piechotka.com.pl> References: <flrc99$d97$1@inews.gazeta.pl> NNTP-Posting-Host: 77-253-115-178.adsl.inetia.pl Mime-Version: 1.0 X-Trace: mx1.internetia.pl 1199656822 32391 77.253.115.178 (6 Jan 2008 22:00:22 GMT) X-Complaints-To: abuse@inetia.pl NNTP-Posting-Date: Sun, 6 Jan 2008 22:00:22 +0000 (UTC) X-Tech-Contact: usenet@internetia.pl X-Orig-Path: router.piechotka.com.pl!news User-Agent: Pan/0.132 (Waxed in Black) X-Server-Info: http://www.internetia.pl/news/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit