2013-03-04 3 views
1
FastCGI를 통해 모노 3.0을 실행

메신저 ...MONO 3-403 오류

내 htaccess로는 다음과 같이이다 :

Action mono-cgi /home/vamola/public_html/cgi-bin/mono-cgi 
AddHandler mono-cgi .aspx .asmx .ashx .ascx .asax .axd .config .cs 

모노 CGI :

#!/opt/mono-3.0.2/bin/fastcgi-mono-server4 -f 
-connect /tmp/mono-fcgi.sock /home/admin/mono-fcgi 

모노있는 fcgi :

!/

bin/sh 
umask 0077 
exec >>/tmp/mono-fcgi.log 
exec 2>>/tmp/mono-fcgi.err 

echo $(date +"[%F %T]") Starting fastcgi-mono-server2 

cd/
chmod 0700 /tmp/mono-fcgi.sock 
echo $$>/tmp/mono-fcgi.pid 
# stdin is the socket handle 
exec env -i \ 
PATH="/opt/mono-3.0.2/bin:$PATH" \ 
LD_LIBRARY_PATH="/opt/mono-3.0.2/lib:$LD_LIBRARY_PATH" \ 
TMP="/home/username/tmp" \ 
MONO_SHARED_DIR="/tmp" \ 
/opt/mono-3.0.2/bin/fastcgi-mono-server2 \ 
/root=/home/vamola/public_html /applications=/:/home/vamola/public_html 

이 이슈를 얻는 중 404 서버 오류가 발견되지 않았습니다 ... 로그가없고 아무 것도 없습니다 ... 내가 잘못 했나요?

난 또 다른 질문은

... 다음 단계 http://www.mono-project.com/CGI 하나 정확히 한 다음 내 "/opt/mono-3.0.2/bin/fastcgi-mono-server4 경우 테스트 할 수있는 방법이있다 "잘 작동하고 있습니까? http://www.vamola.net/net/test.aspx

[편집] 로그 생성을 강제로 어쨌든 S :

는 표정 PLS을?

ErrorLog /etc/httpd/logs/mono-error.log 
    CustomLog /etc/httpd/logs/mono-access.log combined 

TKS와 최고의 reggards : 나는 아파치 로그에 아무것도 ... 도이와 보지 못할 사촌!

답변

0

apache "Action"지시문에 가상 키워드를 추가 할 수 있습니까?

Action mono-cgi /home/vamola/public_html/cgi-bin/mono-cgi virtual 

파일이 잘못된 디렉토리에 있는지 여부를 확인합니다.

+0

같은 오류 =/... –