다시한번 답변 감사드립니다. 아래와 같이 따라 하니 잘 되지 않는군요., RedirectMatch ^([^./]+)$ /index.html?id=$1> 이 부분에서 /index.html?id=$1 이 맞는지요?.. check.php?id=$1 이 아닌지.. 이것보다 먼저 RedirectMatch는 아파치의 모듈로 다시 컴파일 해야 하는건가요? 작동을 안 하는것 같아서요,... 아직 초보여서 잘 안되는군요..ㅠ.ㅠ ======================================== > >약간 까다롭군요. > >httpd.conf 설정파일에서 > >club.xxx.com 가상호스트 섹션에 > >RedirectMatch ^([^./]+)$ /index.html?id=$1 > >이렇게 설정하세요. > >이 설정은 > >http://club.xxx.com/aaa -> http://club.xxx.com/check.php?id=aaa >http://club.xxx.com/bbb -> http://club.xxx.com/check.php?id=bbb >http://club.xxx.com/aaa/ -> http://club.xxx.com/aaa/ >http://club.xxx.com/aaa.html -> http://club.xxx.com/aaa.html > >이와 같이 리다이렉트됩니다. > >http://club.xxx.com/check.php > >파일을 만들고 PHP 파일에서 > ><?php >... >$id = $_GET['id']; >....; // mysql 테이블에 존재하는지 체크 >if(존재하면) >{ > header("/index.html?id=$id"); >} >else >{ > echo '존재하지 않은 ID입니다.'; >} >exit; >?> > >이와 같은 방법으로 프로그래밍하면 됩니다. ========================================