it doesn’t really like:
/var/www/html/expressionengine/index.php/mobile
Can a subdomain be sent to a virtual folder using this file?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
July 30, 2009 2:53am
Subscribe [3]#1 / Jul 30, 2009 2:53am
it doesn’t really like:
/var/www/html/expressionengine/index.php/mobile
Can a subdomain be sent to a virtual folder using this file?
#2 / Jul 30, 2009 3:39am
What you have there is a server path, linking to a (non-existent) directory on the server. A subdomain can be sent to a specific template(group), but you need to keep it URL based, as it were.
#3 / Jul 30, 2009 1:32pm
How do I accomplish that?
<VirtualHost 111.22.33.55>
DocumentRoot /www/otherdomain1
ServerName http://www.otherdomain1.tld
...
</VirtualHost>
is the type of setup I’m using now. I don’t think I can stick a URL there.
#4 / Jul 30, 2009 3:18pm
No, you’d probably need some sort of rewrite.
#5 / Aug 23, 2009 10:14pm
No, you’d probably need some sort of rewrite.
hhm. doesn’t quite work for me. i need the same thing ... i’m on engine hosting and can’t quite figure out how to map the subdomain 10kswimmer.thewaterisopen.com to http://www.thewaterisopen.com/10kswimmer (which is an EE template group…). any other thoughts? 😉