Under SS 2.2.x I was able to install a subdomain on a site and have it work separately from SS by modifying the .htaccess file to read:
### SILVERSTRIPE START ###
RewriteEngine On
RewriteRule ^subdomaindirectory$ - [L]
RewriteRule ^subdomaindirectory/.* - [L]
RewriteBase /
RewriteCond %{REQUEST_URI} !(^$)|(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ###
With the advents of 2.3 when I add a subdomain I receive the following message.
The requested URL /sapphire/main.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
If I attempt to modify the .htaccess to include the following code as I did under 2.2 outlined above, this does not work.
RewriteRule ^subdomaindirectory$ - [L]
RewriteRule ^subdomaindirectory/.* - [L]
Any help would be appreciated. I really need to get this subdomain up and running!
Thanks!