Hi!
I use subsite module but SS seems not found my new subsite.
In my apache I write
<Directory "D:/test">
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Alias /test "D:/test"
Alias /subsite.test "D:/test"
So when i create my subsite follow SS indication, I write in domain: server_name/subsite.test
What is wrong? SS create correct my subsite, I can create new page but when I click on public site the url of my newpage is:
http://server_name/subsite.test/test/nuovapage
and is not correct. The message is: page not found, page not exist..
I try this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /test
# Subsite rewrite
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_HOST} ^subsite$
RewriteRule .* sapphire/main.php?url=%1&SubsiteID=3&%{QUERY_STRING} [L]
# Normal SilverStripe page
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>
but don't work..help..