Silverstripe on subdomain in a subfolder not working


#1

4.2.1

I am trying to place silverstrip on a subdomain in a subfolder, for ex:

dev.domain.com/subfolder

But all I get is a 404 not found error, does this even work?


#2

It should work, yes. Can you provide any more information about what you’ve tried, how your environment is configured, etc.?


#3

Hi DorsetDigital, what I use on that subdomain is a login system, that after login redirects to the subfolder.

This is the .htaccess file at the root of the subdomain:

# suppress PHP errors from displaying in the browser
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
# enable PHP error logging
php_flag  log_errors on
php_value error_reporting -1
# prevent access to PHP error log
<Files PHP_errors.log>
Order allow,deny
Deny from all
Satisfy All
</Files>

Probably I am missing something.


#4

I have the same problem?
Fresh install… all put into /silverstripe
i can call /silverstripe/install.php but no styling at all
If i click button re-check requirements it is taken back to the root /install.php so does not go into the silverstripe folder.
What do i wrong?

BTW. ive put into public .htaccess

SetEnv HTTP_MOD_REWRITE On
RewriteEngine On
RewriteBase '/silverstripe/'

#5

sorry guys… decided to rebuild all sites into Wordpress.
If it was the first time i totally had to rebuild the sites after an update ok… but it is not!
Loved SS for years… sorry