We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development. You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup. If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules
|
||||||
| Anything Goes water cooler |
![]() |
|
|
#1 (permalink) |
|
Unlicensed
Join Date: Mar 2010
Posts: 22
|
Does anyone have an idea of the most effective way to move the configuration.php of joomla 1.5 to a safe directory outside of public_html? I mean I've tried all kinds of instructions out there, but none to any avail.
Also, after moving the configuration.php would it be required to modify the /includes/defines.php and and the /administrator/includes/defines.php to reflect the new path to the configuration? Thanks Last edited by wakawaka; 04-05-2010 at 08:44 AM.. Reason: to indicate the joomla version |
|
|
|
|
#2 (permalink) |
|
Senior Member
|
Hi - Here is some info that may help you: Moving sensitive files outside the web root - Joomla! Documentation
|
|
|
|
|
#3 (permalink) |
|
Unlicensed
Join Date: Mar 2010
Posts: 22
|
Hi, jay, thanks for the quick reply.
I tried to follow the instructions from the link you mentioned, unfortunately, it doesn't do the trick. Since that didn't work, I added the following additional step not mentioned in the link you kindly directed me. Thank you. -modify the /includes/defines.php and /administrator/includes/defines.php files, more precisely, this constant: define( 'JPATH_CONFIGURATION', JPATH_ROOT ); -If, for example you wish to move the file up one level and into a folder named "test" the constant will look like this: define( 'JPATH_CONFIGURATION', JPATH_ROOT.DS.'..'.DS.'test' ); The link to the above additional step is: RSFirewall! User Guide - File and Folder Access Check - Checking if configuration.php is outside of public html Unfortunately, even after modifying these files (I'm using the YouNews Demo install) and try to access the site, I get: "No configuration file found and no installation code available. Exiting..." Questions: I forgot the post where Neo briefly mentioned something about moving configuration.php outside the public_html in his answer to a question, from another club member, pertaining to protecting joomla install. Can I ask what short steps or "magic" you guys do to achieve this? For example protecting or moving the configuration.php of your demo installs. If not, do you know of any other (good) link out there that shows how to move the configuration.php outside the public_html and the respective files to modify? ( Jay, I'm telling you, I've searched everywhere, I'm just hopping your support team or any Youjoomla club member might know of good one I certaintly missed) |
|
|
|
|
#4 (permalink) |
|
Senior Member
|
Hi - I will test the procedure I sent you on a site a little later today.
I also looked for the post from Neo you mentioned, and I could not find it either. Maybe I am just not using the correct search terms. |
|
|
|
|
#5 (permalink) |
|
Unlicensed
Join Date: Feb 2011
Posts: 1
|
public_html is just the standard name for the website root directory aka Document Root. Yours may be called something else. If you don't know what yours is you can get it by viewing the PHP info file. Note that if you log into your website's FTP account, you will not see a folder called public_html because you log directly into that folder to begin with. If your FTP client has an address bar it may read /public_html/ when you first log in to indicate that this is the current directory you are in. If so you simply need to click the button in your client that puts you one directory up. Usually its an arrow button or two dots.
Cheers
__________________
Los mejores hechizos para enamorar ahora al descubierto |
|
|
![]() |
| Tags |
| joomla security, moving configuration.php |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|