ホーム > 未分類 > railsアプリのルートURLをhttp://domain/hoge/のようにする。

railsアプリのルートURLをhttp://domain/hoge/のようにする。

rails、mongrel、apache、mod_proxyで、ルートURLをhttp://domain/hoge/のようにする方法。

1.railsアプリをmongrelで起動する。

> mongrel_rails start -p 3000 --prefix /hoge

※prefixオプションをつける。

2.apacheのhttpd.confにmod_proxyの設定を追加する。

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyPass /hoge http://localhost:3000/hoge
ProxyPassReverse /hoge http://localhost:3000/hoge

3.apacheを再起動する。

カテゴリー: 未分類 タグ: ,
  1. 2020 年 5 月 30 日 05:24 | #1

    Nice post. I learn something new and challenging on sites I stumbleupon every day. It will always be helpful to read articles from other authors and use a little something from their web sites.

  2. 2020 年 5 月 30 日 05:48 | #2

    This is a topic which is near to my heart… Best wishes! Where are your contact details though?

  3. 2020 年 5 月 30 日 05:49 | #3

    Pretty! This was an incredibly wonderful article. Thanks for providing these details.

  4. 2020 年 5 月 30 日 06:14 | #4

    You have made some good points there. I looked on the internet to learn more about the issue and found most people will go along with your views on this site.

  5. 2020 年 5 月 30 日 06:18 | #5

    After looking over a few of the articles on your web site, I seriously appreciate your technique of blogging. I book marked it to my bookmark site list and will be checking back soon. Please check out my web site as well and tell me how you feel.

  6. 2020 年 5 月 30 日 06:22 | #6

    Very good article. I will be experiencing many of these issues as well..

  7. 2020 年 5 月 30 日 06:22 | #7

    Pretty! This has been an extremely wonderful post. Many thanks for providing this info.

  8. 2020 年 5 月 30 日 06:30 | #8

    Great post! We will be linking to this particularly great content on our site. Keep up the good writing.

  9. 2020 年 5 月 30 日 06:39 | #9

    hydroxychloroquine tablet price https://hydroxychloroquine1st.com/

  10. 2020 年 5 月 30 日 07:29 | #10

    I’m pretty pleased to uncover this page. I want to to thank you for ones time just for this fantastic read!! I definitely savored every part of it and i also have you saved as a favorite to see new information in your web site.

  11. 2020 年 5 月 30 日 08:14 | #11

    This website really has all of the information and facts I wanted concerning this subject and didn’t know who to ask.

  12. 2020 年 5 月 30 日 08:33 | #12

    Way cool! Some extremely valid points! I appreciate you writing this article plus the rest of the site is also very good.

  13. 2020 年 5 月 30 日 08:36 | #13

    Aw, this was an exceptionally nice post. Finding the time and actual effort to generate a superb article… but what can I say… I procrastinate a lot and don’t seem to get anything done.

  14. 2020 年 5 月 30 日 08:42 | #14

    Spot on with this write-up, I honestly think this web site needs much more attention. I’ll probably be back again to read through more, thanks for the advice!

  15. 2020 年 5 月 30 日 09:21 | #15

    Very good post. I certainly appreciate this site. Thanks!

  16. 2020 年 5 月 30 日 10:05 | #16

    Right here is the perfect site for anyone who really wants to understand this topic. You understand so much its almost hard to argue with you (not that I personally would want to…HaHa). You certainly put a fresh spin on a subject that has been written about for years. Wonderful stuff, just great!

  17. 2020 年 5 月 30 日 10:24 | #17

    I could not refrain from commenting. Exceptionally well written!

  18. 2020 年 5 月 30 日 10:31 | #18

    Very good post. I am dealing with many of these issues as well..

  19. 2020 年 5 月 30 日 11:04 | #19

    When I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on each time a comment is added I receive four emails with the exact same comment. Perhaps there is a way you can remove me from that service? Thank you!

  20. 2020 年 5 月 30 日 11:30 | #20

    This is a topic which is close to my heart… Many thanks! Exactly where are your contact details though?

  21. 2020 年 5 月 30 日 12:15 | #21

    This excellent website truly has all the information I wanted concerning this subject and didn’t know who to ask.

  22. 2020 年 5 月 30 日 12:23 | #22

    Greetings! Very useful advice within this article! It is the little changes that will make the biggest changes. Thanks for sharing!

  23. 2020 年 5 月 30 日 12:41 | #23

    Magnificent beat ! I wish to apprentice even as you amend your web site, how can i subscribe for a weblog website? The account helped me a appropriate deal. I had been a little bit familiar of this your broadcast provided shiny clear concept|

  24. 2020 年 5 月 30 日 12:41 | #24

    An impressive share! I have just forwarded this onto a coworker who has been doing a little homework on this. And he actually ordered me breakfast due to the fact that I found it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanks for spending the time to discuss this subject here on your web page.

  25. 2020 年 5 月 30 日 12:46 | #25

    Everything is very open with a clear explanation of the challenges. It was definitely informative. Your website is very useful. Thank you for sharing!

  26. 2020 年 5 月 30 日 12:47 | #26

    Hello, I do think your site could possibly be having web browser compatibility issues. When I take a look at your blog in Safari, it looks fine however when opening in IE, it’s got some overlapping issues. I merely wanted to provide you with a quick heads up! Other than that, great website!

  27. 2020 年 5 月 30 日 12:52 | #27

    Your style is unique compared to other people I’ve read stuff from. I appreciate you for posting when you’ve got the opportunity, Guess I will just bookmark this site.

  28. 2020 年 5 月 30 日 12:55 | #28

    Greetings! Very useful advice within this article! It’s the little changes which will make the greatest changes. Many thanks for sharing!

  29. 2020 年 5 月 30 日 13:44 | #29

    Rueepw rymhaf cialis generic best price ed pills gnc

  30. 2020 年 5 月 30 日 14:00 | #30

    Excellent article. I’m experiencing some of these issues as well..

  31. 2020 年 5 月 30 日 14:47 | #31

    Great article. I’m facing some of these issues as well..

  32. 2020 年 5 月 30 日 15:02 | #32

    I’m amazed, I have to admit. Rarely do I encounter a blog that’s equally educative and entertaining, and without a doubt, you’ve hit the nail on the head. The problem is something which too few men and women are speaking intelligently about. I’m very happy I came across this in my search for something relating to this.

  33. 2020 年 5 月 30 日 15:10 | #33

    Everything is very open with a very clear explanation of the issues. It was really informative. Your site is extremely helpful. Thank you for sharing!

  34. 2020 年 5 月 30 日 15:13 | #34

    Hi, I do think this is a great blog. I stumbledupon it ;) I will return yet again since i have book marked it. Money and freedom is the greatest way to change, may you be rich and continue to guide other people.

  35. 2020 年 5 月 30 日 15:54 | #35

    I blog quite often and I seriously appreciate your content. The article has really peaked my interest. I am going to book mark your blog and keep checking for new details about once a week. I opted in for your RSS feed too.

  36. 2020 年 5 月 30 日 15:59 | #36

    I just want to mention I am just very new to weblog and absolutely liked your web blog. More than likely I’m likely to bookmark your blog . You absolutely have perfect articles. Appreciate it for revealing your website.

  37. 2020 年 5 月 30 日 16:35 | #37

    This website definitely has all the information and facts I wanted concerning this subject and didn’t know who to ask.

  38. 2020 年 5 月 30 日 16:56 | #38

    Oh my goodness! Incredible article dude! Thanks, However I am having difficulties with your RSS. I don’t know why I can’t join it. Is there anybody having similar RSS issues? Anyone that knows the answer can you kindly respond? Thanks!!

  39. 2020 年 5 月 30 日 16:59 | #39

    You should take part in a contest for one of the greatest websites on the internet. I most certainly will highly recommend this blog!

  40. 2020 年 5 月 30 日 17:01 | #40

    I absolutely love your blog.. Excellent colors & theme. Did you build this web site yourself? Please reply back as I’m wanting to create my very own blog and would love to learn where you got this from or exactly what the theme is called. Cheers!

  41. 2020 年 5 月 30 日 17:02 | #41

    You’re so cool! I do not suppose I’ve truly read anything like this before. So great to find somebody with some genuine thoughts on this topic. Really.. thanks for starting this up. This web site is one thing that’s needed on the internet, someone with some originality!

  42. 2020 年 5 月 30 日 17:09 | #42

    Hi, I think your blog could be having internet browser compatibility problems. When I look at your site in Safari, it looks fine however, when opening in IE, it has some overlapping issues. I merely wanted to give you a quick heads up! Aside from that, wonderful website!

  43. 2020 年 5 月 30 日 18:11 | #43

    This is a topic that is close to my heart… Cheers! Exactly where are your contact details though?

  44. 2020 年 5 月 30 日 18:55 | #44

    I couldn’t refrain from commenting. Very well written!

  45. 2020 年 5 月 30 日 19:12 | #45

    An outstanding share! I have just forwarded this onto a coworker who has been doing a little homework on this. And he actually bought me lunch simply because I found it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanx for spending the time to discuss this matter here on your web site.

  46. 2020 年 5 月 30 日 19:15 | #46

    Good post. I learn something new and challenging on websites I stumbleupon on a daily basis. It will always be helpful to read through content from other writers and practice a little something from other websites.

  47. 2020 年 5 月 30 日 19:15 | #47

    I absolutely love your website.. Pleasant colors & theme. Did you develop this site yourself? Please reply back as I’m attempting to create my own website and would like to know where you got this from or what the theme is called. Many thanks!

  48. 2020 年 5 月 30 日 19:37 | #48

    Way cool! Some extremely valid points! I appreciate you writing this write-up plus the rest of the site is also really good.

  49. 2020 年 5 月 30 日 19:58 | #49

    You’re so awesome! I don’t think I have read through a single thing like this before. So great to discover somebody with genuine thoughts on this topic. Really.. thanks for starting this up. This website is something that’s needed on the web, someone with a little originality!

コメントページ
1 49 50 51 4
  1. 2020 年 4 月 18 日 00:05 | #1
  2. 2020 年 4 月 20 日 14:21 | #2
  3. 2020 年 4 月 22 日 20:17 | #3
  4. 2020 年 4 月 30 日 00:39 | #4
  5. 2020 年 5 月 10 日 01:10 | #5