Concrete5 in Subfolder
Permalink
Hello, I have a problem with C5 in subfolder.
I have my domainhttp://www.example.com
And C5 is installed inhttp://www.example.com/here
So in order to see the website you have to go
http://www.example.com/here
I have a file in here/tools/example.php
When i Send ajax request to it in headers i have this
My problem is that I dodnt get the responses...
I dont have any errors in JS and php...
So the problem is in subdirectory..
I have my domainhttp://www.example.com
And C5 is installed inhttp://www.example.com/here
So in order to see the website you have to go
http://www.example.com/here
I have a file in here/tools/example.php
<script type="text/javascript"> var url = "<?php echo Loader::helper('concrete/urls')->getToolsURL('example'); ?>"; </script>
When i Send ajax request to it in headers i have this
http://www.example.co/here/index.php/tools/example
My problem is that I dodnt get the responses...
I dont have any errors in JS and php...
So the problem is in subdirectory..
Or you could re-point your domain name (using your host control panel) so that example.com pointed to siteroot/here/.
Or you could set up a subdomain (using your host control panel) so that here.example.com pointed to siteroot/here/.
See
http://www.concrete5.org/documentation/how-tos/developers/organise-...