ServerAdmin webmaster@domain.com DocumentRoot /home/userid/www ServerName domain.com ServerAlias *.domain.com other.com *.other.com #2차도메인 및 기타 연결도메인 ErrorLog "/home/userid/log/error.log" #로그경로 CustomLog "/home/userid/log/access.log" common #접속로그 php_admin_value upload_max_filesize 10M #업로드한계 AddType application/x-httpd-php .html .htm .php .php3 .php4 .php5 .phtml .cgi .inc #실행스크립트확장자 SSL 사용시 Se..
한대의 서버에 apache1 과 apache2 로 구동중일때 예 : apache1 은 http, apache2 는 https(ssl) 서로간의 세션공유는 각각의 httpd.conf에 User와 Group을 동일하게 함으로서 가능하다. (/tmp/sess_sessionid 파일의 권한을 777로 해도 되나 보안상 문제의 소지가 있다.) 이경우 업로드된 파일의 소유자,그룹도 동일하게 된다 php 상에서 서브도메인 간의 세션공유는 session_set_cookie_params(0,"/",".domain.com"); 으로 가능하다.