안녕하세요..
이번에 cgi를 사용하여 홈피를 보일려고 하는데.....
403 Error이 뜸니다..
Forbidden
You don't have permission to access /~xxx/xxx.cgi on this server.
--------------------------------------------------------------------------------
Apache/1.3.22 Server at xxx.xxx.xxx.xxx Port 8000
물론 디렉토리에 퍼미션을 755로 주었거든요....
제대로 httpd.conf도 cgi 설정되게끔 해꾸요..
어디가 문제인지...
그리고 access_log를 보니 아래와 같은 에러가..
Options ExecCGI is off in this directory: /home/xxx/public_html/xxx.cgi
Options ExecCGI is off in this directory: /home/xxx/public_html/xxx.cgi
Options ExecCGI is off in this directory: /home/xxx/public_html/xxx.cgi
Options ExecCGI is off in this directory: /home/xxx/public_html/xxx.cgi
계혹 웹에서 보면 퍼미션 에러만 나니...
알려주세용
403 과 Options ExecCGI is off 는 해당 디렉토리에서 CGI 실행이 꺼져 있다는 뜻입니다. public_html 디렉토리의 Options 에 ExecCGI 를 추가하거나, .htaccess 를 허용하도록 AllowOverride 를 설정하세요. cgi 파일도 실행 권한이 있어야 합니다.