HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   I can't find web root directory. (http://www.howtoforge.com/forums/showthread.php?t=58375)

kaibouzu 24th August 2012 21:40

I can't find web root directory.
 
To hide some files I need to place these before web root directory .
But, I can't find web root directory.

Symbolic link is example.com -> /var/www/clients/client0/web2/.
But, /var/www/clients/client0/web2/web/ is showed when I accessed example.com.
Is it correct that I place security files in /var/www/clients/client0/web2/?

rosehosting 24th August 2012 22:00

basically you need to NOT place your security files in a www accessible directory.

so if your '/var/www/clients/client0/web2/' is not accessible via URL then yes it is safe to place your files there, otherwise you need to put them outside of your webserver's web root directory.


All times are GMT +2. The time now is 10:09.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.