Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

.htaccess and php save session path

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Click bots  
Author Message
spam54

External


Since: Nov 04, 2004
Posts: 2



(Msg. 1) Posted: Thu Dec 02, 2004 7:35 am
Post subject: .htaccess and php save session path
Archived from groups: alt>apache>configuration (more info?)

Hi!

I have AllowOverride setting on my /var/www/html/ directory.
I have /var/www/html/site1 folder wich contains an .htaccess file with the
following statements

DirectoryIndex index
<Files "index">
ForceType application/x-httpd-php
AcceptPathInfo On
</Files>
php_flag short_open_tag on
php_flag implicit_flush off
php_flag display_errors off
php_flag log_errors on
php_value error_log phpErrors.txt
php_flag register_globals off
php_flag magic_quotes_gpc on
php_value default_mimetype text/html
php_value default_charset iso-8859-1
php_value include_path .:../php/includes
php_value session.save_path ../php/sessions
php_value session.use_cookies 1
php_value session.name userid
php_value session.auto_start 0
php_value session.cookie_lifetime 0
php_value session.gc_maxlifetime 28800
php_value session.cache_limiter none
php_value session.cache_expire 480



For some reason a site in /var/www/html/site2 starts to save its php
sessions in folder ../php/sessions despite the fact that php.ini says it
should be /tmp

Any help appreciated!

Thanx!

 >> Stay informed about: .htaccess and php save session path 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Serving pages from a different path using .htaccess - If the root of one domain (http://second _domain.com/) is /home/my_username/public_html/secondary_domains/second_domain.com/ is it possible to serve /home/my_username/public_html/directory/test.htm in response to a request for http://second..

Get .htaccess to access local path - I want to make an ErrorDocument 404 in a .htaccess to a local path. I've tried like this: ErrorDocument 404 </var/www/[domain]/404.php> My public_html is /var/www/[domain]/public_html/ I just keep getting a 500 internal server error etc...bla b...

Problem with SAVE! Please help... - Hi, I'm saving some data from HTML form on user's PC. In JS it's like function saveToFile( filePath, content) { <font color=purple> ; var fso, ts;</font> <font color=purple> ; var ForWrite = 2; </font> <font c...

How to implement a save-proof video ? - I am creating WMV video files for web downloading, and I want to make them so that Media Player will not allow the recipient to save them (e.g. disabling the "Save" menu items). How can I do this ? I am using Apache on RH9 Linux. Is streaming...

Is it save to use Apache 2 with PHP as a production server? - Hello, I have to use the latest php, perl, mysql versions installed on a Redhat 9.0 box. The available rpm's are all older versions. I was also reading on the php website that they don't recommend apache 2 with php in a production environment. Why is..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]