IIS

Install PHP Manager on IIS Manager

1. 개요 IIS 관리자에 PHP Manager를 설치해보자   2. PHP Manger 설치 프로그램 + PHP Manager 1.4 for IIS 10 https://onedrive.live.com/redir?resid=47DF1DC3942D52B3!2357&authkey=!APYPwnsyjJm4zDw&ithint=file%2cmsi + PHP Manager 1.3 for IIS 8-8.5 https://onedrive.live.com/redir?resid=47DF1DC3942D52B3!2356&authkey=!AM3GEwo4u7cUqcI&ithint=file%2cmsi   3. 설치시 오류 발생할 경우 reg 수정 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters + MajorVersion = 9 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp + MajorVersion = 9

Continue Reading
Apache

www 자동으로 붙이기

1. 개요 test.com → www.test.com 자동 변환하는 방법에 대해서 알아보자   2. 환경설정 파일에 추가 sudo vi /etc/apache2/site-available/test.com.conf ; 추가 RewriteEngine on RewriteCond %{HTTP_HOST} !^www.test.com$ RewriteCond %{HTTP_HOST} ^test.com$ RewriteRule ^/(.*) https://test.com/$1 [R,L]  

Continue Reading
Apache

Apply SSL (Let’s Encrypt) on Raspbian 8

1. 적용 환경 Raspbian 8, Apache 2.4.10에 SSL(Let’s Encrypt) 적용   2. Install sudo apt-get update wget https://dl.eff.org/certbot-auto sudo chown root.root certbot-auto sudo chmod a+x certbot-auto sudo mv ./certbot-auto /bin/   3. Make & Apply sudo certbot-auto –authenticator webroot –webroot-path [Document Root] –installer apache -d [도메인] sudo certbot-auto –authenticator webroot –webroot-path /var/www/test.com/ –installer apache -d […]

Continue Reading
Apache

Apply SSL (Let’s Encrypt) on Ubuntu 16.04.3

1. 적용 환경 Ubuntu 16.04.3, Apache 2.4.18에 SSL(LetsEncrypt) 적용   2. Install sudo apt-get update sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-apache   3. Make & Apply : 아래 명령 중 하나만 실행 sudo certbot –apache sudo certbot –authenticator webroot –installer apache sudo certbot –authenticator webroot –webroot-path [Document […]

Continue Reading
Apache

Forwarding

1. index.html 추가 <html> <meta http-equiv=”refresh” content=”0; url=’http://www.forwarding.com'” /> </html>   2. Apache RewriteRule vi /etc/httpd/conf/httpd.conf <VirtualHost *:80> RewriteEngine On RewriteRule / www.forwarding.com </VirtualHost>   3. Apache Redirect vi /etc/httpd/conf/httpd.conf <VirtualHost *:80> ServerName www.original.com Redirect / www.forwarding.com </VirtualHost>  

Continue Reading
Back To Top