Mod_passenger and mod_php in same virtual host

hey

I would like to use an self-made rails app with a media-wiki in the SAME
virtual host. the routing should work like following:

domain.net/ -> rails app
domain.net/wiki/ -> mediawiki

My vhost configuration looks like:
DocumentRoot /var/www/domain/app/public
Alias /wiki /var/www/domain/domain/httpdocs/w/index.php

see apache rewrites from mediawiki-docs:

http://www.mediawiki.org/wiki/Manual:Short_URL

The alias works correctly. But the php-files aren’t parsed by apache. I
would be very happy if you have any suggestions.

Thank in advance
Benni

Any reason that wiki.domain.net is unacceptable? You’re in for
several less headaches if you just go with that. Plus you can just
create a redirect from domain.com/wiki to wiki.domain.com.

On May 17, 11:04 am, Benjamin M. <ruby-forum-incom…@andreas-

Directories are better SEO wise than subdomains.

I have the same problem too. I was forced to go to a subdomain.

  • Ericson

On 21.5.2008, at 19.42, Ericson S. wrote:

Directories are better SEO wise than subdomains.

Also, if you ever need to use SSL, star (*.domain.com) certificates
tend to be a lot more expensive than normal ones.

//jarkko


Jarkko L.
http://jlaine.net
http://dotherightthing.com
http://www.railsecommerce.com
http://odesign.fi

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs