<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/xslt/rss2.xsl" media="screen"?>
<rss version="2.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Latest from ChinaonRails: superxielei</title>
		<link>http://chinaonrails.com/u/superxielei</link>
		<description>ChinaonRails | ChinaonRails are one of the very few China based web consultancies, who specialize in application development using RubyOnRails/Agile/Ajax.</description>
		<category>Technology</category>
		<language>zh_cn</language>
		<item>
			<title>rails+apache在windows下配置一直不成功!!! ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1837.html</link>
			<comments>http://chinaonrails.com/topic/view/1837.html#reply</comments>
			<dc:creator>superxielei</dc:creator>
			<author>superxielei</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/888.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/888_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/888_n.jpg" type="image/jpeg" />-->
			<category>Ask</category>
			<description>
			apache版本2.2,配置内容如下&lt;br /&gt;
[code="java"]&lt;br /&gt;
ProxyRequests Off&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Proxy *&amp;gt;   &lt;br /&gt;
	Order deny,allow   &lt;br /&gt;
	Allow from all   &lt;br /&gt;
&amp;lt;/Proxy&amp;gt;   &lt;br /&gt;
&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	ServerName www.moyu2.com&lt;br /&gt;
	DocumentRoot D:/xielei/tlshow/public&lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;Directory D:/xielei/tlshow/public&amp;gt;  &lt;br /&gt;
		 Options Indexes FollowSymLinks  &lt;br /&gt;
		 AllowOverride none  &lt;br /&gt;
		 Order allow,deny  &lt;br /&gt;
		 Allow from all  &lt;br /&gt;
	&amp;lt;/Directory&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
	ProxyPass /stylesheets !&lt;br /&gt;
	ProxyPass /javascripts !&lt;br /&gt;
	ProxyPass /images !&lt;br /&gt;
	ProxyPreserveHost on&lt;br /&gt;
	ProxyPass / http://127.0.0.1:3000/&lt;br /&gt;
	ProxyPassReverse / http://127.0.0.1:3000/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
[/code]&lt;br /&gt;
&lt;br /&gt;
使用IP直接访问3000端口一切正常&lt;br /&gt;
http://121.11.81.250:3000&lt;br /&gt;
但是使用域名就乱套了....很多样式不正确..js也不能正确执行...为什么呢?&lt;br /&gt;
http://www.moyu2.com&lt;br /&gt;
ie和firefox显示的效果完全不一样.&lt;br /&gt;
在firefox下.只是样式乱了..脚本可以正常.执行.&lt;br /&gt;
在ie下..不但样式是乱的,连脚本都执行不了..&lt;br /&gt;
&lt;br /&gt;
使用IE点击下边的连接的时候rails有如下异常&lt;br /&gt;
[code="java"]&lt;br /&gt;
&lt;br /&gt;
Processing ApplicationController#index (for 66.249.72.48 at 2008-07-04 22:52:01) [GET]&lt;br /&gt;
  Session ID: abe50a5ae25bf7ca8d009dadf3ee5db2&lt;br /&gt;
  Parameters: {}&lt;br /&gt;
&lt;br /&gt;
ActionController::RoutingError (No route matches "/comment/id=895" with {:method=&amp;gt;:get}):&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel/rails.rb:76:in `process'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `synchronize'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `process'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel.rb:159:in `process_client'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel.rb:158:in `each'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel.rb:158:in `process_client'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel.rb:285:in `run'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel.rb:285:in `initialize'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel.rb:285:in `new'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel.rb:285:in `run'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel.rb:268:in `initialize'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel.rb:268:in `new'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel.rb:268:in `run'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel/configurator.rb:282:in `run'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel/configurator.rb:281:in `each'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel/configurator.rb:281:in `run'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:128:in `run'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel/command.rb:212:in `run'&lt;br /&gt;
    d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:281&lt;br /&gt;
    d:/ruby/bin/mongrel_rails:19:in `load'&lt;br /&gt;
    d:/ruby/bin/mongrel_rails:19&lt;br /&gt;
&lt;br /&gt;
Rendering D:/xielei/tlshow/public/404.html (404 Not Found)&lt;br /&gt;
[/code]
			</description>
			<pubDate>Fri, 04 Jul 2008 22:53:10 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1837.html</guid>
		</item>
	</channel>
</rss>