Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

@keating
Last activeDecember 15, 2015 23:58
    • Star(0)You must be signed in to star a gist
    • Fork(0)You must be signed in to fork a gist
    Save keating/5343762 to your computer and use it in GitHub Desktop.
    Centos Apache Rails configuration
    Coping the following codes:
    ```
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    <VirtualHost *:80>
    ServerName www.jobmre.fr
    DocumentRoot /usr/local/pro/future_cadre
    ProxyRequests Off
    ProxyPass / http://your_ip:4000/
    ProxyPassReverse / http://your_ip:4000/
    </VirtualHost>
    ```
    under this line
    ```
    Listen *:80
    ```
    The configuration file is /etc/httpd/conf/httpd.conf
    /etc/rc.d/init.d/httpd start
    /etc/rc.d/init.d/httpd stop
    http://serverfault.com/questions/346559/load-mod-proxy-and-mod-proxy-http-modules-of-apache-in-centos
    Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

    [8]ページ先頭

    ©2009-2025 Movatter.jp