1
vote
1answer
161 views

How can I make apache use PHP over passenger by default?

Here's my setup: I have an apache server running a number of virtual hosts, each of them using PHP. I now have a rails app I want to install to a subdirectory for one of the sites (a subdomain would ...
1
vote
3answers
189 views

How to run two virtual hosts on the same server in apache

I've followed instructions on running two web apps in apache and my current confs are like this: apache2.conf: http://paste.ubuntu.com/1547286/ httpd.conf: http://paste.ubuntu.com/1547288/ ...
1
vote
4answers
79 views

is it possible to have two web servers hosted at different places share the same domain name?

say I have a wordpress site: https://www.foobar.com and I want to have an entry point to a rails app at a certain subdirectory within that same domain: https://www.foobar.com/rails_app I know this ...
0
votes
1answer
346 views

how to use Linode to host multiple web apps - RoR and PHP [closed]

I have a Ruby on Rails application and a couple of PHP projects nearly complete (all using MySQL) that I'd like to host on a Linode server and need some help with what I'd need to install and ...
2
votes
2answers
280 views

How to run rails and LAMP simultaneously on ubuntu?

I just set up a virtual machine running Ubuntu Server, with a LAMP stack and OpenSSH installed. What now would be the best way to enable that server to run both rails and PHP applications? Would it ...
0
votes
1answer
132 views

PHP, Rails 2 and Rails 3 on the same server, on production mode

I am setting up a new web server (ubuntu 10.04 LTS), I want to get run on production mode: PHP, Rails 2.3.X and Rails 3, and each one should be accessible from diferent path, ex: ...
0
votes
1answer
135 views

Wordpress and a Rails app coexisting on the same domain?

We've got wordpress installed on a standard LAMP setup and then a Rails app with Heroku. Is there any way to have them on the same domain? Trying to avoid having the wordpress app (which powers the ...
0
votes
1answer
507 views

Which Linode stackScript is best for PHP and Ruby on Rails production environment?

I'm completely new to setting up a server. Which Linode StackScript is most suited (would require less configuration) for deploying web apps written in PHP as well as in Ruby on Rails?
1
vote
2answers
176 views

Ruby and PHP living together, mass hysteria!

Is this possible to do in apache? I need to have a rails site, with a subdirectory controlled by PHP, or have a PHP site with a subdirectory that is a rails application. Is this possible? I ...
0
votes
1answer
146 views

Nginx PHP MySQL ROR setup on Ubuntu Server

How would I go about installing and setting up nginx, PHP, MySQL and RoR on a Ubuntu Server 10.04.2 machine? I have been through a few tutorials but have never found one which integrates ruby on ...
0
votes
1answer
65 views

Deploying Rails and PHP apps on a server of unknown configuration

Given root access to a server that someone else had set up (and they either have no knowledge of how it's configured or won't tell you), what would be the fastest way to determine: 1) What webserver ...
2
votes
1answer
252 views

lighttpd and mod_proxy with PHP

I am trying to create a rather complex setup using a combination of lighttpd, some custom Ruby proxies, rails/ramaze (running on Thin), and PHP. Currently it is setup like this: A browser issues the ...
0
votes
0answers
416 views

Configuring Nginx for Wordpress and Rails

I'm trying to setup a single website (domain) that contains both a front end Wordpress installation and a single directory Ruby on Rails application. I can get either one to work successfully on their ...
0
votes
2answers
2k views

Why can't I access wp-admin with this Nginx + Ruby On Rails + WordPress setup?

Here's my single Linux VPS setup: A Rails app run by a Thin application server behind Nginx. A WordPress blog run by lighttpd's spawn-fcgi behind the same Nginx server. Here's what I want: ...
1
vote
2answers
1k views

Ruby on Rails and PHP on Same Apache Web Server?

So I am really used to LAMP stacks and have an Apache and PHP setup on my Ubuntu server with about 30 PHP sites. I want to throw a new project up on the site that is built on Ruby on Rails. Is it ...
0
votes
1answer
182 views

access localhost stopped working after I installed MAMP

I had configured my machine all access localhost I need some accessed "http://*.localhost.com:3000," * - I put the names of some projects and instances. I needed to run a PHP server and installed MAMP ...
0
votes
2answers
359 views

Installing Wordpress in Rails /public - missing mysql extension

I'm trying to install Wordpress in my Rails /public folder. I get the following error message: 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' PHP ...
0
votes
4answers
193 views

Redirect folder to different server

Just for clarity, I already posted this on StackOverflow and got advice that this better fits in ServerFault.com so here goes: I know you can redirect subdomains to a different server, but can you do ...
1
vote
1answer
300 views

How many Rails apps can I run with VPS?

I've been playing around with Rails and have developed a few simple apps. I'm considering purchasing a VPS to host these apps and was wondering how much I could expect to put on it. The product I've ...
2
votes
3answers
1k views

CentOS server with nginx, php and Rails with passenger

Hello I'm currently trying to get my server to work with both rails and php. Currently I have Apache2 installed with PHP (Default from the provider) But I'm trying to get rails to work also. We use ...
1
vote
1answer
1k views

Apache: mod_passenger + mod_php

Is it possible to install both modules for PHP and rails passenger? I installed libapache2-mod-php5 first, and when I try to install libapache2-mod-passenger, it tries to remove the php module. Is ...