Hi,
Does anyone know if can install MODx not at the root of web server (but for e.g. in TEST_1 directory) and configure the site address to for e.g. www.mydomain.com.
Thanks and regards,
Wayne.
-
☆ A M B ☆
- 491 Posts
you can install MODx in a directory for sure,
as regards the access from the main address you could use .htaccess to redirect your users,
but I don't know if it may cause some conflicts with friendly url...
Hi tillilab,
Thank you for your reply. I am glad to know I can use the .htaccess for re direction.
I am not sure if I did it correctly. My MODx was installed in www.mydomain.com/TEST_1, what I want to achieve is when people enter www.mydomain.com they will see the content in www.mydomain.com/TEST_1 but the URL on the web browser remains as www.mydomain.com
Thanks and regards,
Wayne.
-
☆ A M B ☆
- 491 Posts
I think that you can do it with the htaccess directive RewriteRule instead of Redirect.
I'm not expert of htaccess and Apache... but you can find a lot of resources online,
best regards,
Alessandro