사용자 계정으로 cgi-bin 디렉토리를 사용 하고 싶습니다.
그래서 제가 httpd.conf를 수정해봤는데 왜안돼는지 모르겠습니다..
ScriptAlias /cgi-bin/ "/home/*/public_html/cgi-bin/"
<Directory "/home/*/public_html/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
누가 좀 방법좀 알려주세요...??
사용자 cgi-bin 은 ScriptAlias 를 와일드카드로 쓰면 기대대로 동작하지 않을 수 있습니다. 사용자 홈의 public_html 아래에 cgi-bin 을 두고 Directory 에 ExecCGI 옵션을 주는 방식이 안정적입니다. 설정을 바꾼 뒤 apache 를 재시작하세요.