Re: 404 After Setting session.save_path to /tmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux