Apache Server configuration support - php_value session.cookie_domain on different port is not working

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > December 2007 > php_value session.cookie_domain on different port is not working





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author php_value session.cookie_domain on different port is not working
cmk128@hotmail.com

2007-12-29, 1:31 pm

Hi
My website is running on a server without a real ip, the connection
is proxypass from another server, and i cannot setup the
session.cookie_domain, it doesn't work. I tried:
php_value session.cookie_domain ".mysite.com" too, but not work.
please tell me how to fix it?

<VirtualHost *:91>
ServerAdmin admin@mysite.com
DocumentRoot /home/mysite/Email
ServerName email.mysite.com
ErrorLog logs/www.mysite.com-error_log
CustomLog logs/www.mysite.com-access_log combined
php_value session.cookie_domain "192.168.100.10"
</VirtualHost>

<VirtualHost *:92>
ServerAdmin admin@mysite.com
DocumentRoot /home/mysite/jobs
ServerName jobs.mysite.com
ErrorLog logs/www.mysite.com-error_log
CustomLog logs/www.mysite.com-access_log combined
php_value session.cookie_domain "192.168.100.10"
</VirtualHost>

thanks
from Peter (cmk128@hotmail.com)
Aaron Gray

2007-12-30, 7:27 pm

<cmk128@hotmail.com> wrote in message
news:3ab256fa-accc-4bc1-9cdc-583d92eb9be2@s19g2000prg.googlegroups.com...
> Hi
> My website is running on a server without a real ip, the connection
> is proxypass from another server, and i cannot setup the
> session.cookie_domain, it doesn't work. I tried:
> php_value session.cookie_domain ".mysite.com" too, but not work.
> please tell me how to fix it?
>
> <VirtualHost *:91>
> ServerAdmin admin@mysite.com
> DocumentRoot /home/mysite/Email
> ServerName email.mysite.com
> ErrorLog logs/www.mysite.com-error_log
> CustomLog logs/www.mysite.com-access_log combined
> php_value session.cookie_domain "192.168.100.10"
> </VirtualHost>
>
> <VirtualHost *:92>
> ServerAdmin admin@mysite.com
> DocumentRoot /home/mysite/jobs
> ServerName jobs.mysite.com
> ErrorLog logs/www.mysite.com-error_log
> CustomLog logs/www.mysite.com-access_log combined
> php_value session.cookie_domain "192.168.100.10"
> </VirtualHost>


Try comp.lang.php newsgroup.

Aaron



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com