nicolas figaro wrote:

...

try to set it to a subdirectory of your DocumentRoot. (check httpd.conf for the DocumentRoot). (/www/root/default_vhost/tmp for example, if /www/root/default_vhost is your DocumentRoot).

NO - DONT EVER DO THIS!!!! tmp/session files should not be stored in a 
directory that
can be [potentially] read via http.

.htaccess directives can be used to block access to the dir BUT I still would 
recommend
keeping 'tmp' outside of the web root.

just make sure 'tmp' is writable by the user the webserver is running as.


N F

httpd = 2.2.2
php = 5.1.4
OS = Fedora 5

Mark Sargent.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to