>> Edit article
이름
제목
패스워드
안녕하세요... 에휴~ 하다하다 안되어서 질문드립니다.. 문제는 http://domain.net/~id 로 나오는 것들을 자동으로 http://id.domain.net/ 으로 바꾸려구 하는 겁니다.. 선배님들이 올리신 글들을 보구.. 작성해서 해보았는데.. 다음과 같은 에러가 뜹니다.. Syntax error on line 216 of /usr/local/apache/conf/vhosts.conf: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration /usr/local/apache/bin/apachectl start: httpd could not be started 작성한 내용은... 아래와 같습니다.. 208 <VirtualHost 211.211.211.211> 209 ServerAdmin webmaster@domain.com 210 DocumentRoot /home2 211 ServerName www.domain.com 212 ServerAlias domain.com *.domain.com 213 ErrorLog /home2/domain.com-error_log 214 CustomLog /home2/domain.com-access_log common 215 216 RewriteEngine on 217 218 RewriteCond %{HTTP_HOST} !^www.i-mek.com$ 219 RewriteCond %{HTTP_HOST} !^i-mek.com$ 220 RewriteCond %{HTTP_HOST} ^(.+).com$ 221 RewriteRule ^(.+) %{HTTP_HOST}$1 [C] 222 RewriteRule ^([^.]+).i-mek.com(.*) /home2/$1/public_html$2 223 </VirtualHost> 에러를 봐두.. 철자가 틀린거 같지는 않은데.. 도무지 어디에서 틀린건지 알수가 없습니다.. 선배님들 좀 도와주세요~~ ㅠ0ㅠ/--이 곳에 서명을 적어주십시오. 고수되마 쓸께요
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved