Concrete5 installed but where has my joomla gone?
Permalink
I published this thread here because I didn't get any answers in the installation forum.
I installed Concrete5 to use it to control my main site,
but at the same time I have (had) joomla installed for a locked private bloog in the background. After the installation I can't access joomla anymore.
Can somebody help me?
Is it actually possible to have two CMS systems on a single domain?
I installed Concrete5 to use it to control my main site,
but at the same time I have (had) joomla installed for a locked private bloog in the background. After the installation I can't access joomla anymore.
Can somebody help me?
Is it actually possible to have two CMS systems on a single domain?
I installed concrete on:
http://www.mydomain.com/
and Joomla was installed on
http://www.mydomain.com/joomla/......
Now when I go to my joomla directory I get the concrete5 page "Page not found"
If I could somehow disable to show this "Page not found" option I could probably get to my joomla.
Is there maybe something to do inside the .htaccess file?
http://www.mydomain.com/
and Joomla was installed on
http://www.mydomain.com/joomla/......
Now when I go to my joomla directory I get the concrete5 page "Page not found"
If I could somehow disable to show this "Page not found" option I could probably get to my joomla.
Is there maybe something to do inside the .htaccess file?
Can you get your Joomla install at:-
http://www.mydomain.com/joomla/index.php...
As far as I know Concrete5's .htaccess won't override if there is a physical file requested.
http://www.mydomain.com/joomla/index.php...
As far as I know Concrete5's .htaccess won't override if there is a physical file requested.
No, I can't get to my joomla with:
http://www.jozebasa.com/joomla/...
or
http://www.jozebasa.com/joomla/index.php...
It wont work. I always get the "Page not found" page.
http://www.jozebasa.com/joomla/...
or
http://www.jozebasa.com/joomla/index.php...
It wont work. I always get the "Page not found" page.
Looks like you're going to have to alter your .htaccess file to exclude the joomla subdirectory.
Add this line in your .htaccess
Works on a local install of mine
Hope that helps
Add this line in your .htaccess
Works on a local install of mine
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # Extra line below RewriteCond %{REQUEST_URI} !^/(joomla|joomla/.*)$ # Extra line above RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule>
Hope that helps
I poked around with this .htaccess file and had some solutions but still not totally. By simply copying your suggestion I didn't get any results :/
But then I copied the .htaccess file from my ./joomla directory to the root ./ and I was sudenly asked to enter my joomla passwords (since my /joomla folder is locked) by browsing the mydomain.com/ site. After entering the password I could get inside my joomla and concrete also.
So the solution is not far. I only need to write my .htaccess so that I'll be asked for my password only when I want to enter my /joomla site not at my root domain.
My root .htaccess
And my /joomla .htaccess
Can you give me the last suggestion?
Thanks!
But then I copied the .htaccess file from my ./joomla directory to the root ./ and I was sudenly asked to enter my joomla passwords (since my /joomla folder is locked) by browsing the mydomain.com/ site. After entering the password I could get inside my joomla and concrete also.
So the solution is not far. I only need to write my .htaccess so that I'll be asked for my password only when I want to enter my /joomla site not at my root domain.
My root .htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # Extra line below RewriteCond %{REQUEST_URI} !^/(joomla|joomla/.*)$ # Extra line above RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule>
And my /joomla .htaccess
Options +FollowSymLinks RewriteEngine On RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) RewriteRule ^(.*)$ index.php [F,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC] RewriteRule (.*) index.php RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] AuthGroupFile /dev/null
Viewing 15 lines of 19 lines. View entire code block.
Can you give me the last suggestion?
Thanks!
Should have mentioned my install is using pretty URIs, is yours, if not switch them on and see if my .htaccess works. It's also worth mentioning that the .htaccess I have givem you is the standard c5 one, if you've tweaked for your hosting you might just want to copy paste the single line in.
I would also temporarilly rename your joomla/.htaccess file. Add an index.htm file and try to accesshttp://yourc5site.com/joomla folder again. If you get to the folder you know the problem here is your joomla htaccess not the C5 one.
I would also temporarilly rename your joomla/.htaccess file. Add an index.htm file and try to accesshttp://yourc5site.com/joomla folder again. If you get to the folder you know the problem here is your joomla htaccess not the C5 one.
Wuhu :)
It worked. But not totally :)
After enabling pretty URLs and deleting the joomla .htaccess I could enter into both CMS systems without a problem.
But then I again went to enter a password for my /joomla directory and that created again the joomla .htaccess file with authorization lines which is apparently creating the problem.
If I have the authorization lines in the joomla .htaccess I'm not asked for the password but get the C5 "Page not found" page instead.
It looks like we found the problem, but it is not the perfect solution yet.
Any ideas how to formulate the .htaccess file to get around this dilemma?
Thanks a lot!
It worked. But not totally :)
After enabling pretty URLs and deleting the joomla .htaccess I could enter into both CMS systems without a problem.
But then I again went to enter a password for my /joomla directory and that created again the joomla .htaccess file with authorization lines which is apparently creating the problem.
If I have the authorization lines in the joomla .htaccess I'm not asked for the password but get the C5 "Page not found" page instead.
It looks like we found the problem, but it is not the perfect solution yet.
Any ideas how to formulate the .htaccess file to get around this dilemma?
Thanks a lot!
Good to hear you're getting there. I'm not very familiar with Joomla these days ;-) but my guess is this is something to do with Joomla running in the subdirectory.
Try setting the rewritebase directive in your joomla .htaccess
Try setting the rewritebase directive in your joomla .htaccess
RewriteBase /joomla
The problem is actually not Joomla,
it is the protected directory option.
When I don't have any .htaccess files in the /joomla directory I can access Joomla right away. But I want to protect this entire folder and that creates the .htaccess file with the authorization code.
Your solution unfortunately didn't work :/
I searched for more answers on the internet and found that this topic was already discussed here at C5 but they didn't find the solution for this password protected directory problem.
The link here:
http://www.concrete5.org/index.php?cID=74342&editmode=...
I now don't know exactly what else to do.
Do you or anybody have any idea?
it is the protected directory option.
When I don't have any .htaccess files in the /joomla directory I can access Joomla right away. But I want to protect this entire folder and that creates the .htaccess file with the authorization code.
Your solution unfortunately didn't work :/
I searched for more answers on the internet and found that this topic was already discussed here at C5 but they didn't find the solution for this password protected directory problem.
The link here:
http://www.concrete5.org/index.php?cID=74342&editmode=...
I now don't know exactly what else to do.
Do you or anybody have any idea?
Maybe try going to Cpanel and remove the protection on the folder.
See if it works
If it does replace the protection back on the folder in Cpanel and test again. Maybe some caching going on
See if it works
If it does replace the protection back on the folder in Cpanel and test again. Maybe some caching going on
Maybe try going to Cpanel and remove the protection on the folder.
See if it works
If it does replace the protection back on the folder in Cpanel and test again. Maybe some caching going on
See if it works
If it does replace the protection back on the folder in Cpanel and test again. Maybe some caching going on
Thanks tiaka for you suggestion!
I have done exactly that.
I've gone to the Cpanel, disabled my password and deleted the joomla .htaccess file then sudenlly I could access my joomla folder again.
But after protecting it again (since I wan't to have it protected) I get the C5 error page "Page not found".
I did cache cleaning all the time, but no success.
The problem is clearly in the directory protection option. I read that other people have the same problem.
I would need to exclude the protected folder from C5 catching it. It works well for non-protected folders.
So where is the catch? :/
I have done exactly that.
I've gone to the Cpanel, disabled my password and deleted the joomla .htaccess file then sudenlly I could access my joomla folder again.
But after protecting it again (since I wan't to have it protected) I get the C5 error page "Page not found".
I did cache cleaning all the time, but no success.
The problem is clearly in the directory protection option. I read that other people have the same problem.
I would need to exclude the protected folder from C5 catching it. It works well for non-protected folders.
So where is the catch? :/
Can you not fall back on joomla's permissions system and dispense with the directory level protection?
Sent from my iPhone
Sent from my iPhone
Hey Ollie,
I'm not sure what you mean :/
I couldn't find any directory level protections in Joomla control panel.
I'm not sure what you mean :/
I couldn't find any directory level protections in Joomla control panel.
I just thought, if you made your joomla permissions admin only, you wouldn't need to use the HTTP:Authorisation? Everything would be private by default?
Just a thought, good luck with it.
Just a thought, good luck with it.
You don't say how you have installed them though.
But, if you have installed them both to the root of your domain you're going to have problems, they'll both be fighting over index.php for a start, and there could be any number of conflicting files.
More info on where you installed them might help.