htaccess point sub domain to folder
snippet in htaccess

htaccess point sub domain to folder

user5944

RewriteCond %{HTTP_HOST} !^www\.example\.org
RewriteCond %{HTTP_HOST} ^(.*)\.example\.org
RewriteRule ^(.*)$ http://www.example.org/%1/index.php/$1