🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #885

Jak pogodzić apache2, php i ruby

#885
From: Marcin
Date: Sun, 06 Jan 2008 20:04
25 lines
1439 bytes
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?

-- 
Pozdrawiam,
Marcin
Technical Details
Message-ID: <flrc99$d97$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Marcin <marlej@gazeta.pl>
Newsgroups: pl.comp.lang.ruby
Subject: Jak pogodzić apache2, php i ruby
Date: Sun, 06 Jan 2008 21:04:55 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 25
Message-ID: <flrc99$d97$1@inews.gazeta.pl>
NNTP-Posting-Host: 99-45.echostar.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1199649897 13607 213.156.99.45 (6 Jan 2008 20:04:57 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Sun, 6 Jan 2008 20:04:57 +0000 (UTC)
X-User: marlej
User-Agent: Thunderbird 2.0.0.6 (X11/20071022)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit