Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Session problem  (Read 6786 times)

0 Members and 1 Guest are viewing this topic.

NicoBe117

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Session problem
« on: December 03, 2003, 01:34:47 pm »

Hello,

i'm little newbie in php and webserver so my question maybe stupid

I have installed phpBB2.0.4 and Coppermine 1.1.1 Devel on my web provider, everything is working correctly, integration, security, ...

I'm trying to make the self on my own computer, but i lose my session info (i suppose because i'm logged in PHPBB, and when i go on coppermine, coppermine doesn't see me as a known user.

I'have apache 1.3 and php 4.3
I'have the same config as on my website
(except domain name replaced with mycomputer.mydomain.be)

Could someone help ?
Computer is Win2000 Pro

Thank you very much

Here is a part of my php.ini
[PHP]
;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;
; Enable the PHP scripting language engine under Apache.
engine = On
short_open_tag = On
asp_tags = Off
precision    =  12
y2k_compliance = On
output_buffering = Off
;output_handler =
zlib.output_compression = Off
;zlib.output_handler =
implicit_flush = Off
unserialize_callback_func=
serialize_precision = 100
allow_call_time_pass_reference = On
; Safe Mode
;
safe_mode = Off
; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.
safe_mode_gid = Off
; When safe_mode is on, UID/GID checks are bypassed when
; including files from this directory and its subdirectories.
; (directory must also be in include_path or full path must
; be used when including)
safe_mode_include_dir =                                                                
; When safe_mode is on, only executables located in the safe_mode_exec_dir
; will be allowed to be executed via the exec family of functions.
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
; This directive contains a comma-delimited list of environment variables that
; the end user won't be able to change using putenv().  These variables will be
; protected even if safe_mode_allowed_env_vars is set to allow to change them.
safe_mode_protected_env_vars = LD_LIBRARY_PATH
; open_basedir, if set, limits all file operations to the defined directory
; and below.  This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
;open_basedir =
; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
disable_functions =
expose_php = On
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60        ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)

error_reporting  = E_ALL & ~(E_NOTICE | E_USER_NOTICE) ; display all errors and warnings
display_errors = On
display_startup_errors = Off
log_errors = Off
log_errors_max_len = 1024
Logged

NicoBe117

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Follow with a part of my http.conf
« Reply #1 on: December 03, 2003, 01:38:18 pm »

ServerType standalone
ServerRoot "C:/Program Files/Apache Group/Apache"
PidFile logs/httpd.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MaxRequestsPerChild 0
ThreadsPerChild 50
ServerAdmin admin@mydomain.com

ServerName PORT_NICO.mydomain.com
DocumentRoot "C:/My Documents/Project/Php/Site"
<Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
</Directory>

<Directory "C:/My Documents/Project/Php/Site">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options Indexes FollowSymLinks MultiViews
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 14 queries.