Hello all
Im trying to stop people viewing php scripts that have password and stuff in them .
I found this article about it but im not sure which bit is the secure bit ?
------article------
By turning on safe_mode and defining doc_root and user_dir, you can eliminate the nosey user problem by restricting him to files contained in his virtual host document root.
The following is an example of how the php.ini file might look for these three directives:
safe_mode = On
doc_root = /usr/local/apache/htdocs
user_dir = /home/jdoe/htdocs
Do i put my php scripts in /home/jdoe/htdocs or the other one or how does this work ?
Any help or explination would be great
Thanks
Al