Re: [問題] apache 與 mongrel 連結

看板Ruby作者 (godfat 真常)時間18年前 (2007/09/10 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/6 (看更多)
※ 引述《dream1129 ( 人各有志)》之銘言: : 我重述一下我的問題好了, : 我的情況應該是像, : www.myweb.com/php : www.myweb.com/rails : 我想要在同一個網域下分別運行 php 和 rails, 如果你只是要這樣的話,就是照你原本的 virtual host 上改, 然後 rails 本身的 routes.rb 要注意一下, 不然沒辦法找到正確的 controller 和 action. 不過我現在不太知道你的問題是什麼,是 routes.rb 不會設嗎? 如果你沒要很複雜的方式,其實看著裡面的東西改就可以用了。 再試一次看看吧,這不會做不到的。 -- #!/usr/bin/ruby [露比] /Programming (Kn|N)ight/ 看板《Ruby》 # if a dog nailed extra legs that http://www.ptt.cc/bbs/Ruby/index.html # walks like an octopus, and Welcome ~Ruby@ptt~ # talks like an octopus, then ◢█◣ http://www.ruby-lang.org/ # we are happy to treat it as http://www.ruby-doc.org/ # if it were an octopus. http://www.rubyforge.org/ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.218.90.242
文章代碼(AID): #16vFCENB (Ruby)
文章代碼(AID): #16vFCENB (Ruby)