LinuxFreeBSD

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ LinuxFreeBSD ] in KIDS
글 쓴 이(By): mirme ()
날 짜 (Date): 1999년 9월 30일 목요일 오전 09시 49분 10초
제 목(Title): guestbook 만들기 질문


제가  Matt Wright의 cgi 소스를 받아다  설치했는데 에러가 나요.
씬隔殆� 고수님들이 많으셔서  도움을  얻을까 합니다.
씰┛� 소스 파일들 받아다가   수정한 부분은 다음과 같습니다.
/usr/local/apache/cgi-bin 에 guestbook.cgi를   갖다 놓구요
/usr/local/apache/htdocs/guestbook에  
addguest.html,guestlog.html,guestbook.html를 옮겨놨어요.
--------------guestbook.cgi
#!/usr/bin/perl <----- 제 system에 perl 이  있는path고요.
$guestbookurl = "http://arirang.egr.msu.edu/guestbook/guestbook.html";
$guestbookreal = "./guestbook/guestbook.html"
$guestlog = "http://arirang.egr.msu.edu/guestbook/guestlog.html"; 
$cgiurl = "http://arirang.egr.msu.edu/cgi-bin/guestbook.cgi"; 
$date_command = "/bin/date";<---제 system  path 

$mailprog = '/usr/sbin/sendmail'; <---
$recipient = 'wskim@arirang.egr.msu.edu'; 
-----------guestbook.html
<a href="http://arirang.egr.msu.edu/guestbook/addguest.html">
-----------guestlog.html
변경사항 없음
--------------addguest.html
<form method=POST action="http://arirang.egr.msu.edu/cgi-bin/guestbook.cgi">
<a href="http://arirang.egr.msu.edu/guestbook/guestbook.html">
--------
이상의 제가 변경한  내용입니다.
실행 시키면  초기guestbook 초기 화면 은 제대로  실행되는데 입력을하고 submit을 
하면 Internal Server Error 메시지가 나오구요. 
제 system은 redhat6.0이구 아파치 1.3.9입니다. 참고로  제 httpd.conf에 cgi와 
관련된 내요은 다음과 같이 돼 있구요.
DocumentRoot "/usr/local/apache/htdocs"
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
<Directory "/usr/local/apache/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

긴 글 읽어 주셔서 감사합니다. 
[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.