如何在windows中的apache2.2中解码rails4.2 app?使用mongrel或thin databse是oracle吗?

时间:2016-11-09 12:19:39

标签: ruby-on-rails-4 apache2.2

我安装了apache 2.2和thin gem我做了configeration

ServerAdmin serveradmin.com
DocumentRoot "C:/Sites/Autopk/public/"
ServerName servername.com
ErrorLog "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/thin_error.log"
#LogLevel debug
CustomLog "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/thin_access.log" common
<Directory "C:/Sites/Autopk/public">
    Order allow,deny
    Allow from all
    <Files *.xml>
         ForceType application/vnd.ms-excel
         Header set Content-Disposition attachment
    </Files>
</Directory>
#RewriteLog "logs/rewrite.log"
#RewriteLogLevel 9
RewriteEngine   on
# Pass all non-PHP, non-static-file requests to the Mongrel server on port 3000
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteRule     (.*) http://localhost:3000$1 [P]
ProxyPassReverse / http://localhost:3000/
ProxyPreserveHost On

请帮助我?我怎么知道apchepn配置了rails?

0 个答案:

没有答案