Thanks for reply Bob, not necessary using friendly urls on that install, only what I tried unsuccessful is accessible manager.
On hosting are two domains in folder /www/domains/, domain with MODX 2.5 has path /www/domains/DOMAINWITHMODX.cz/modx-2.5.0-pl/
Normaly I'm using .htaccess on ../modx-2.5.0-pl to remove modx folder after domain url which works on my server, but on that hosting it didnt work, i communicate with them and they solved with
/www/.htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?DOMAINWITHMODX\.cz$
RewriteCond %{REQUEST_URI} !^modx-2\.5\.0-pl/
RewriteCond %{REQUEST_URI} !^/modx-2\.5\.0-pl/
RewriteCond %{REQUEST_URI} !^domains/DOMAINWITHMODX\.cz/modx-2\.5\.0-pl/
RewriteCond %{REQUEST_URI} !^/domains/DOMAINWITHMODX\.cz/modx-2\.5\.0-pl/
RewriteRule (.*) /domains/DOMAINWITHMODX.cz/modx-2.5.0-pl/$1 [L]
# whole domains (aliases)
RewriteCond %{REQUEST_URI} !^domains/
RewriteCond %{REQUEST_URI} !^/domains/
RewriteCond %{HTTP_HOST} ^(www\.)?(.*)$
RewriteCond %{DOCUMENT_ROOT}/domains/%2 -d
RewriteRule (.*) domains/%2/$1 [DPI]
# subdomains (www or non-www)
RewriteCond %{REQUEST_URI} !^subdom/
RewriteCond %{REQUEST_URI} !^/subdom/
RewriteCond %{HTTP_HOST} ^(www\.)?(.*)\.([^\.]*)\.([^\.]*)$
RewriteCond %{DOCUMENT_ROOT}/subdom/%2 -d
RewriteRule (.*) subdom/%2/$1 [DPI]
# aliases - redirect with absent /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^domains/[^/]+/(.+[^/])$ /$1/ [R]
# subdomains - redirect with absent /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^subdom/[^/]+/(.+[^/])$ /$1/ [R]
/www/domains/DOMAINWITHMODX.cz/modx-2.5.0-pl/.htaccess
RewriteEngine On
RewriteCond %{THE_REQUEST} \s/?modx-2.5.0-pl
RewriteRule (.*) http://www.DOMAINWITHMODX.cz/$1 [R=301,L]
After turn off RewriteEngine it logs in (but no sidebar shown and manager is unlogging me after click on menu)
/www/domains/DOMAINWITHMODX.cz/modx-2.5.0-pl/manager/.htaccess
core/config/config.inc.php
if (!defined('MODX_MANAGER_PATH')) {
$modx_manager_path= '/data/web/virtuals/46703/virtual/www/domains/DOMAINWITHMODX.cz/modx-2.5.0-pl/manager/';
// $modx_manager_url= '/domains/DOMAINWITHMODX.cz/modx-2.5.0-pl/manager/';
// change for login to manager
$modx_manager_url= '/modx-2.5.0-pl/manager/';
define('MODX_MANAGER_PATH', $modx_manager_path);
define('MODX_MANAGER_URL', $modx_manager_url);
}
I've tried turn on/off rewrite engine in manager/.htaccess changing paths in config.inc.php but no way, I'm so confused...