Posts

Showing posts from August, 2021

How to add webpage on lightsail bitnami wordpress aws amazon / 아마존 라이트세일 워드프레스 이미지에 워드프레스 아닌 페이지 추가하기

 I love aws lightsail.  I have set up lightsail wordpress preinstalled image for wordpress blogging.  But, recently, I need to test php site but I don't like to set up another lightsail image for that.  So, I have googled it but there be lots of wordpress multi-sites posts but adding non-wordpress page on wordpress image.  I have checked httpd.conf and found that Alias makes what I am thinking works.  So, I have inserts one Alias setting like below: Alias /test /opt/bitnami/apache/htdocs/test (/opt/bitnami/apache/conf/httd.conf) And restart apache2 server using script.  sudo ./restart.sh (/opt/bitnami/scripts) Then, Ta-da-! I can get non-wordpress site as below: http://wordpresssiteIPaddress/test Now, I can test php site for my study.  ---------------------------------------------------------------------------- 한국어 요약버젼 1. php페이지를 테스트하려고 보니, 워드프레스 페이지만 뜨더라  2. /opt/bitnami/apache/conf/httpd.conf 를 열어보니, Alias 설정을 할 수 있더라 3. Alias /test /opt/bitnami/apache/htdocs/test 로 설정하고 apache