서브도메인 관련 질문 정보
서브도메인 관련 질문
본문
현재 아래의 세팅으로 서브도메인을 잘 사용중입니다.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^[^.]+\.mydomain\.com$
RewriteRule ^(.+) %{HTTP_HOST}$1 [C]
RewriteRule ^([^.]+)\.mydomain\.com(.*) /root/dir/$1/public_html$2
그런데.....
user1.mydomain.com 과 www.user1.mydomain.com 이 다르게 보입니다.
user1.mydomain.com 은 정상적으로 보이구요.
www.user1.mydomain.com 은 mydomain.com 과 같은 화면으로 표시가 됩니다.
www.mydomain.com 은 페이지가 표시되지 않구요.
힘들게 여기까지는 완성했는데...마지막에 막히네요 ㅠ.ㅠ
어디를 수정해줘야할까요?
미리 감사드립니다.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^[^.]+\.mydomain\.com$
RewriteRule ^(.+) %{HTTP_HOST}$1 [C]
RewriteRule ^([^.]+)\.mydomain\.com(.*) /root/dir/$1/public_html$2
그런데.....
user1.mydomain.com 과 www.user1.mydomain.com 이 다르게 보입니다.
user1.mydomain.com 은 정상적으로 보이구요.
www.user1.mydomain.com 은 mydomain.com 과 같은 화면으로 표시가 됩니다.
www.mydomain.com 은 페이지가 표시되지 않구요.
힘들게 여기까지는 완성했는데...마지막에 막히네요 ㅠ.ㅠ
어디를 수정해줘야할까요?
미리 감사드립니다.
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '184821' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php