web root url
Permalink
I am trying to install concrete5 to a godaddy shared hosting account. Since my account hosts multiple websites, I need to install it to a subdirectory.
The subdirectory is called "dev". The "Install concrete5" page loads and renders correctly, but when I click "Continue to Installation" none of the javascript or css loads. Inspecting the page source reveals that concrete5 is attempting to load everything from /dev/path/to/file.js instead of /path/to/file.js. All of these files fail to load of course.
I think I need to modify my .htaccess file or something like that, but so far I haven't been successful. What am I doing wrong?
The URL:
http://dev.thejusticeproject.net/...
Also possibly interesting:
http://dev.thejusticeproject.net/info.php...
The subdirectory is called "dev". The "Install concrete5" page loads and renders correctly, but when I click "Continue to Installation" none of the javascript or css loads. Inspecting the page source reveals that concrete5 is attempting to load everything from /dev/path/to/file.js instead of /path/to/file.js. All of these files fail to load of course.
I think I need to modify my .htaccess file or something like that, but so far I haven't been successful. What am I doing wrong?
The URL:
http://dev.thejusticeproject.net/...
Also possibly interesting:
http://dev.thejusticeproject.net/info.php...
Hi, thanks for your reply. I probably wasn't clear enough describing how things are structured.
I am using a subdomain, dev.thejusticeproject.net. On Godaddy I've set things up so that a DNS lookup on dev.thejusticeproject.net resolves to the subfolder "dev" within my hosting account root. (Andhttp://www.thejusticeproject.net is hosted on a different hosting account by the way, sohttp://thejusticeproject.net/dev... is completely different).
The problem is that concrete5 thinks the webroot is my hosting account root, so all the urls for static files begin with "/dev"
I am using a subdomain, dev.thejusticeproject.net. On Godaddy I've set things up so that a DNS lookup on dev.thejusticeproject.net resolves to the subfolder "dev" within my hosting account root. (Andhttp://www.thejusticeproject.net is hosted on a different hosting account by the way, sohttp://thejusticeproject.net/dev... is completely different).
The problem is that concrete5 thinks the webroot is my hosting account root, so all the urls for static files begin with "/dev"
On my host (HostGator) that RewriteBase works. Notice it matches the name of the subfolder. But if I put a site directly at subdomain.site.com then it would be RewriteBase /. This may be different at GoDaddy.
One last thing it's just a term but what you are using there is a subdomain not a subdirectory. The difference being a subdirectory or subfolder this new site would be at site.com/dev. Now on my server a subdomain is reachable through a subfolder so for example I can reachhttp://goldhat.ca/demo/cobalt/ which is the subdomainhttp://goldhat.ca/demo/cobalt/.... But your server isn't set up that way and so when I go tohttp://thejusticeproject.net/dev... it is not there.