Preventing access to certain files via the server process

2002-07-10 Thread Ravindra Jaju
Hi. Consider the following scenario. In directory PRODIR ( short for protected directory ), I have certain files which contain sensitive information ( say, database passwords, embedded in some PHP scripts ). Let's consider passwords.inc The PRODIR is protected with the .htaccess file, so no

Re: Port 80 vs 8080 when not SU.

2002-07-10 Thread Ravindra Jaju
On Wed, Jul 10, 2002 at 07:49:25AM -0700, Joshua Slive wrote: On Wed, 10 Jul 2002 [EMAIL PROTECTED] wrote: In apache 1.3 we had this little trick: if [ x`$aux/getuid.sh` != x0 -a x$port = x ]; then conf_port=8080 fi to make the port 8080 when the user is not root -