admin 2014.07.31 samba 한글 깨짐 global 옵션 부분에 아래 내용 추가 unix charset = euc-kr dos charset = cp949 display charset = euc-kr 삼바서버 재시작 Read More..
admin 2014.07.15 apache mod_rpaf 간혹 프락시를 거쳐서 온 아이피는 실제 source ip가 나오지 않고 proxy 아이피가 출력되게 구성된다 이렇게 되는경우 아파치에서 mod_rpaf를 설치하면 source ip를 확인할수 있다 설치 및 다운로드 wget http://www.stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz tar xvfz mod_rpaf-0.6.tar.gz cd mod_rpaf-0.6 apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c vi /usr/local/apache/conf/httpd.conf LoadModule rpaf_module modules/mod_rpaf-2.0.so RPAFenable On RPAFsethostname On RPA... Read More..
admin 2014.07.02 아파차 확장자 없이 이미지 불러 들이는 방법 <Directory “/usr/local/apache2/htdocs/”> # # Possible values for the Options directive are “None”, “All”, # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews Options FollowSymLinks MultiViews # # AllowOverride controls what directives may be placed in .htaccess files. # Options FileInfo AuthConfig Limit AllowOve... Read More..
admin 2014.04.14 mailparse install http://pecl.php.net/get/mailparse-2.1.6.tgz tar xvfz mailparse-2.1.6.tgz cd mailparse-2.1.6 /usr/local/php/bin/phpize ./configure –with-php-config=/usr/local/php/bin/php-config make && make install /usr/local/php/lib/php/extensions/no-debug-zts-20060613/ vi /usr/local/Zend/etc/php.ini extension_dir = “/usr/local/php/lib/php/extensions/no-debug-zts-20060613/” extension = “mailparse.so” Read More..
admin 2014.03.18 checking for cURL in default path… not found yum -y install libcurl libcurl-devl Read More..
admin 2014.03.06 Response body too large modsecurity 설정파일 주석처리 #SecResponseBodyAccess OnSecResponseBodyMimeType (null) text/html text/plain text/xml#SecResponseBodyLimit 524288 Read More..
+ admin 2014.02.11 linux에서 mssql 사용 ( freetds 설치) freetds install 1. 최신 버전 설치 [crayon-6623c59105c56082833602/] 2. PHP 설치 디렉토리를 이동한다 / 만약 처음 설치한 파일이 없다면 해당 버전 PHP 압축을 풀고 진행 [crayon-6623c59105c63719658357/] 3. PHP.INI 파일에 mssql.so 파일 등록 [crayon-6623c59105c6a972178843/] 4. phpinfo 화면에서 ms-sql 이 나오는지 확인 5. freetds.conf 파일에 연결한 ms-sql 서버 정보를 입력한다. [crayon-6623c59105c6f544346230/] 6. 웹상에 소스 파일을 하나 만들어서 ms-sql 파일의 정보를 불러 들이는지 확인해보자 (SQL의 ZIP CODE 상위 ... Read More..
admin 2014.01.23 포트포워딩 iptables -t nat -A PREROUTING -p tcp –dport 80 –syn -j REDIRECT –to-port 8080 8080으로 들어오는 포트를 80으로 포워딩 Read More..