Integrate wordpress in Ruby-on-rails
I have a RoR application in my machine.Now they want to integrate a wordpress blog.
So my RoR application is running at localhos开发者_开发百科t:3000
,I want to work wordpress as localhost:3000/blog
.
I changed the document root of apache and placed it on /rorapp/public. Now it is working as localhost/blog But i want to do as localhost:3000/blog.
Pls help me.
Try changing your apache config file to listen on :3000 it should be fine.
<VirtualHost *:3000>
DocumentRoot "D:/root/to/site/"
ServerName localhost
# Other directives here
</VirtualHost>
精彩评论