Apache Alias - Chiliproject

Posted by asdz on Server Fault See other posts from Server Fault or by asdz
Published on 2014-05-28T03:02:56Z Indexed on 2014/05/28 3:30 UTC
Read the original article Hit count: 158

Filed under:
|

I'm trying to setup Chiliproject (a ruby application for project management) I have setup my Apache already. However I want the Chiliproject to be like http://abc.com/Chiliproject as I want the abc.com to be used for other application. Following is my Chiliproject vhost setting: ServerName abc.com DocumentRoot /var/www/chiliproject/public

Alias /chiliproject /var/www/chiliproject/public

Options -MultiViews AllowOverride all

When I go to abc.com, the Chiliproject page will appear but when I go to abc.com/chiliproject, I will reach the 404 page not found instead. If I change the DocumentRoot to /var/www, the page abc.com will be what I want, but the abc.com/chiliproject will comes to the 'Directory view' of my page.

© Server Fault or respective owner

Related posts about apache-2.2

Related posts about vhosts