Displaying 1 result from an estimated 1 matches for "usersite".
2006 May 17
1
Apache config: Two different rails apps using same domain name (mod_rewrite issue)
...and the
proper .fcgi replacements were made in the .htaccess files. The following
are the configuration details that I applied to test this scenario:
File System:
Main application (www.mycoolapp.com) at /home/user/apps/mainsite
User application (someuser.mycoolapp.com) at /home/user/apps/usersite
Apache Configuration:
NameVirtualHost *:80
...[other stuff here (e.g FastCgi directives, and etc.)]..
<VirtualHost *:80>
ServerName mycoolapp.com
ServerAlias *.mycoolapp.com
DocumentRoot /home/user/apps/mainsite/public
RewriteEngine On
# If the host requested doesn'&...