>> Edit article
이름
제목
패스워드
: : : 영문메뉴얼 및 여러곳의 설치 방법을 보고 : : : : : : 똑같이 설치를 했는데 잘 안되네요. : : : : : : 브라우저에서 직접 입력을 하면 : : : : : : "http://doamin/cgi-bin/Count.cgi?df=sample.dat" : : : : : : 888888 만 나오고........ : : : : : : html에서 : : : : : : <img src="http://domain/cgi-bin/Count.cgi?df=sample.dat"> : : : : : : 이렇게 하면 그림파일이 없을때 나오는 기본적인 그림있죠? : : : : : : 그거만 나오는데 cgi-bin 디렉토리에서 다른 cgi들은 잘 동작을 합니 다. : : : : : : 어떻게 해결을 해야하나요. : : : : : : 테스트한 시스템은 : : : : : : 알짜 6.2베타 서버 인스톨 : : : 알짜 6.2베타 풀 인스톨 : : : 터보리눅스 서버용 최신버젼 풀 인스톨 : : : : : : 이렇게 세 시스템에서 테스트를 했으나 모두 같은 현상이네요. : : : : : : 저 좀 살려주세요. : : : : : : -- : : : 서명란에는 뭘 써야 하나요. : : ---------------------------------------------------------- : : sample.dat파일대신에 visitor.dat를 넣어주고 : : conf디렉토리로 이동해서 : : count.cfg파일의 설정중에 : : : : [options] : : auto_file_creation=Yes : : strict_mode=No : : allow_rgb_database=Yes : : count_reload=No : : log_error_messages=Yes : : show_error_messages_to_browsers=Yes : : : : 에서 No를 모두 Yes로 바꿔주세요. : : 그리고 /data디렉토리의 퍼미션을 777로 바꿔주시고 : : 다시 접속해 보십시요. : : 그럼 /data디렉토리에 visitor.dat라는 파일이 하나 생성되고 : : 카운터가 1로 되어있을겁니다. : : : : -- : : @->-- : : 답변 감사합니다. : : 님께 시키신대로 했는데도 같은 결과가 나오네요. : : 다른 방법은 없을까요? : : 제 생각에는 data 디렉토리를 못찾는것 같기도 하구요.. : : 다른 방법좀 부탁드립니다. : : -- : 서명란에는 뭘 써야 하나요. ---------------------------------------------------------------- data디렉토리의 퍼미션을 777로 하셨는데도 안된다구요? 위의 사항까지 이상이 없다면 혹시 index.html파일의 카운터 붙이는 부분인 <img src="http://www.domain.com/cgi-bin/Count.cgi?df=visitor.dat&dd=D align='absmiddle'> 에서 카운터이미지(dd=D)를 안쓰신건 아닌지.. 그리고 count.conf파일에서 [authorized] www.domain.com www 211.117.xx.xx bbs.domain.com bbs test.counter.com 이부분을 확인해 보세요. 여기까지 해도 안된다면 설치시에 미스가 있었다는 얘기같은데.. 그럼 다시 설치를 해볼까요? (여기에 나오는 디렉토리는 저의 경우를 예로 든것입니다.) wwwcount.2.5.tar.gz를 받아서 압축을 풀고, #tar xvfz wwwcount.2.5.tar.gz #make config.h 그럼 설명이 죽 나오죠 거기서 Continue [y|n]? y <--yes입력 *cgi-bin directory [/usr/local/etc/httpd/cgi-bin]: /usr/local/apache/ cgi-bin (cgi-bin 디렉토리로 깔면 됩니다. 저같은 경우엔 /usr/local/etc /httpd/cgi-bin 으로 깔았죠) *Base directory [/usr/local/etc/Counter]: /usr/local/etc/Counter (카운터 홈디렉토리 지정) *Config directory [/usr/local/etc/Counter/conf]: /usr/local/etc/Counter /conf (카운터 환경설정 디렉토리 지정) *Name of the configuration file [count.cfg]: count.cfg *Data directory [/usr/local/etc/Counter/data]: /usr/local/etc/Counter/ data (카운터 데이터를 저정할 디렉토리 지정) *Digits directory [/usr/local/etc/Counter/digits]: /usr/local/etc/Coun ter/digits (카운터모양 이미지가 저장될 디렉토리 지정) *Log directory [/usr/local/etc/Counter/logs]: /usr/local/etc/Counter /logs (카운터 로그를 저장할 디렉토리 지정) *Name of the log file [Count2_5.log]: Count2_5.log (로그파일 이름지정) 여기까지 하면 이제까지의 컨피그 내용이 출력됩니다. CgiBinDir=/usr/local/apache/cgi-bin BaseDir=/usr/local/etc/Counter DigitDir=/usr/local/etc/Counter/digits ConfDir=/usr/local/etc/Counter/conf ConfFile=count.cfg DataDir=/usr/local/etc/Counter/data LogDir=/usr/local/etc/Counter/logs LogFile=Count2_5.cfg Everything looks OK [y|n] 이렇게 나올겁니다. 이상이 있으면 n를 입력하고 다시 지정하시고 이상이 없으면 y를 입력하고 다음으로 넘어갑니다. #make all 설명이 주루룩~ #make cfg Continue [y|n]? y <-- yes입력 *Enter your fully qualifiey domain name [no default]: www.domain.com (도메인을 입력합니다.) *Enter your IP address [no default]: 211.117.xx.xx (아이피를 입력합니다.) *Does your host have any nickname (FQDN) [y|n]:? y *Enter your host's nickname (FQDN) [no default]: bbs.domain.com (도메인 닉네임을 지정하는데 아무거나 넣으세요.) *Do you want to allow automatic file creation [y|n]? y *Do you want to the program to run in strict mode [y|n]? y *Do you want to ignore access hits from your own host [y|n]? n *Allow using the rgb.txt file [y|n]? y *Do you want to allow the counter to be reloaded [y|n]? y *Do you want to log error messages [y|n]? y *Do you want to show error messages to browsers [y|n]? y 여기까지 했으면 컨피그는 끝났습니다. #make install 컨피그 내용이 다시한번 출력됩니다. cgi-bin directory = /usr/local/apache/cgi-bin conf directory = /usr/local/etc/Counter/conf conf file to install = count.cfg digit directory = /usr/local/etc/Counter/digits data directory = /usr/local/etc/Counter/data log directory = /usr/local/etc/Counter/logs log file = Count2_5.log RGB file to install = ./data/rgb.txt Continue [y|n]? 이상이 있으면 n를 입력하고 다시설치. 이상이 없으면 y를 입력하고 계속.... *Do you know the user and group id of httpd' child process [y|n]:? n 설명 주루룩~~ 이제 설치가 다 끝났습니다. 다시 한번 확인 해줄것은 count.cgf파일에서 모든 옵션이 Yes가 되어있나를 확인하고 도메인이 제대로 지정되어있나 확인하고 data디렉토리의 퍼미션이 777로 되어있나를 확인하십시요. 그리고 index.html파일에서 <img src="http://www.domain.com/cgi-bin/Count.cgi?df=visitor.dat&dd=D align='absmiddle'> 처럼 카운터 이미지(dd=D)가 지정이 되어있나를 확인 하신다음 브라우저에서 확인해 보십시요. 참, 주의할 사항이 서버의 브라우저에선 확인이 안됩니다. 반드시 로컬에서 확인하십시요. 성공하시길.. 헉헉헉.... -- @->--
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved