bitnami를 이용하여 wordpress와 redmine를 PC 한대에 설치했다.
bitnami를 이용하다 보니 접속 주소가 localhost/wordpress로 접속이 되었다.
redmine와 비슷하겠지 했으나 wordpress는 파일을 2개 수정해 주어야 했다..
그걸 모르고 엄청 해멨다는거..;;;;;
수정할 파일 1
/opt/wordpress - x.x.x /apps/wordpress/conf 폴더에 있는 wordpress.conf
DocumentRoot "/opt/wordpress - x.x.x /apps/wordpress/htdocs/"
#Alias /wordpress "/opt/wordpress - x.x.x /apps/wordpress/htdocs/"
#Alias /wordpress "/opt/wordpress - x.x.x /apps/wordpress/htdocs/"
...
...
RewriteBase /wordpress => RewriteBase /
RewriteBase . /wordpress/index.php [L] => RewriteBase . /index.php [L]
...
...
#RewriteEngine On
RewriteRule ^/$ / [PT]
수정할 파일 2
/opt/wordpress - x.x.x /apps/wordpress/htdocs 폴더에 있는 wp-config.php
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/wordpress'); define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/wordpress');
수정한후 ./ctlscript.sh restart 해준후 브라우저에서 localhost 로 확인해 본다.
포트번호를 80으로 하지 않았을 경우에는 localhost:포트번호 로 확인한다.
휴~
'공부하기 > Wordpress, redmine, nas 관련' 카테고리의 다른 글
List Category Post (0) | 2012.11.29 |
---|---|
도메인이전시 링크 변경해주기 (1) | 2012.11.26 |
redmine 접속 주소 변경하기 (0) | 2012.11.21 |
redmine을 usb를 이용하여 백업하기 (0) | 2012.11.14 |
bitnami redmine 1.3.x를 2.1.x로 업그레이드 하기. (0) | 2012.11.13 |
댓글