You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If symfony detects the subfolder configuration correctly the following is not needed this could e.g. happen if $_SERVER['PHP_SELF'] and $_SERVER['SCRIPT_NAME'] is set correctly:
$_SERVER['PHP_SELF']; // should be something like '/subfolder/index.php'$_SERVER['SCRIPT_NAME']; // should be something like '/subfolder'
Else you need to change the configuration of all routes:
For changing only the admin url have an look at:
https://github.com/sulu/sulu-demo/pull/60/files
For having all in a subfolder:
Currently if you want to run sulu in a subfolder you need to touch the following files:
public/index.php
config/packages/framework_admin.yaml
This file need to be created:
config/packages/sulu_media.yaml
config/webspaces/example.xml
If symfony detects the subfolder configuration correctly the following is not needed this could e.g. happen if $_SERVER['PHP_SELF'] and $_SERVER['SCRIPT_NAME'] is set correctly:
Else you need to change the configuration of all routes:
config/packages/security_admin.yaml
Add prefix to
ALL
security urls:config/packages/fos_rest.yaml
config/routes/*
Add
/subfolder
to all urls all urls and add prefix: /subfolder to all imports.Use following commands to debug:
config/packages/media.yaml
Media routes are configured also in the following config:
Vhost
Based on your webserver you need configure that the
path-to-your-project/public
is running under/subfolder
.The text was updated successfully, but these errors were encountered: