1
tatzianarose
How can I move folder from document root for security?

Hello!
I see on my xoops admin panel this alert message;

WARNING: Folder /home/riversom/public_html/xoops_data is inside DocumentRoot!
For security considerations it is highly suggested to move it out of DocumentRoot.


In this case can someone tell me how can I move it out of documentroot????

Thanks

2
Anonymous
Re: How can I move folder from document root for security?
  • 2011/3/19 8:13

  • Anonymous

  • Posts: 0

  • Since:


Hi,

For most webhosting packages, your html/php/xoops files will reside in a folder called something like:

xxxxx/home/htdocs

The warning message is saying that, in order to be safer, your xoops_lib and xoops_data folders (and subdirectories) should be in a different directory and preferebly one that can't be read by others, e.g.

xxxxx/home

If you can, move these directories there and edit mainfile.php to reflect the change.

However, with some hosting you are not allowed to access this directory yourself.

3
Mamba
Re: How can I move folder from document root for security?
  • 2011/3/19 15:11

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


In addition to what John already explained, you can also take a look at the "Installation Guide", where it is explained more visually
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

348 user(s) are online (235 user(s) are browsing Support Forums)


Members: 0


Guests: 348


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits