|
|
|
|
cw.properties
cyber.page.home=/main.jsp
cyber.page.login=/common/login.jsp
cyber.page.header=/inc/header.jsp
cyber.page.footer=/inc/footer.jsp
cyber.page.error.eDefault=/e/e.jsp
cyber.page.error.eBadRequest=/e/e400.jsp
cyber.page.error.eUnauthorized=/e/e401.jsp
cyber.page.error.eForbidden=/e/e403.jsp
cyber.page.error.eNotFound=/e/e404.jsp
cyber.page.error.eInternalServerError=/e/e500.jsp
cyber.page.error.eBadGateway=/e/e502.jsp
cyber.page.error.eServiceUnavailable=/e/e503.jsp
cyber.login.useSingleLogin=false
cyber.login.maxLoginFailure=5
cyber.login.timeout=3600
cyber.debug=true
cyber.debug.passCertCheck=true
cyber.debug.passAccNoCheck=true
|
현재 참여중인 프로젝트는 금융계 사이버창구시스템 개발.
디자인팀에선 아래의 코딩된 화면을 개발팀에게 넘겨줬다ㅋ
시팔새끼들,,
퀄리티가 마치,, 중3 여름방학 과제물 정도의 느낌이랄까.
|
Apache-Commons-Lang의 FastDateFormat으로 대체...
(싱글톤 형태로 보임)
|
Build notes and Tuning tips for Solaris
lighttpd seems to be increasingly popular, so much so that netcraft has started tracking it's use on production websites. I've spent some time building, tuning and running simple performance stress tests on lighttpd 1.4.15 on Solaris and thought I'd share what I learnt.
Building lighttpd
My build of lighttpd uses the openldap library from Cool Stack. I also built and installed pcre-7.1 in /opt/coolstack using the following script :
#!/bin/sh
INSTALLDIR=/opt/coolstack
CFLAGS="-fast -xipo -xtarget=generic"
make distclean
./configure --prefix=$INSTALLDIR CFLAGS="$CFLAGS"
make
make install
And finally, here is a script to build lighttpd using Sun Studio compiler on Solaris :
#!/bin/sh
INSTALLDIR=/opt/coolstack
LDFLAGS="-L$INSTALLDIR/lib -L/usr/sfw/lib -lsendfile -R/usr/sfw/lib"
CFLAGS="-fast -xipo -xtarget=generic"
PCRECONFIG="$INSTALLDIR/bin/pcre-config"
PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:
export PATH
make distclean
./configure --prefix=$INSTALLDIR/lighttpd --with-pic \ --with-openssl=/usr/sfw --with-ldap \
--with-bzip2 --with-pcre=$INSTALLDIR --disable-ipv6 \ CFLAGS="$CFLAGS" \
LDFLAGS="$LDFLAGS" PCRECONFIG="$PCRECONFIG"
make
make install
Tuning lighttpd
By default, lighttpd uses poll as the event handler for Solaris; however it does include support for devpoll which scales better (no support for event ports yet). To use devpoll, add the following to your lighttpd.conf :
server.event-handler = "solaris-devpoll"
By default, lighttpd uses sendfilev to do the writes, but there are several issues in Solaris 10 and opensolaris which cause sendfilev to have performance and stability problems:
6455727 - lighttpd cannot be killed because of hanging in senfilev()
6505740 - TCP does not wake up all waiting threads waiting for TCP zero copy completion notification
6532645 - implement ZCP sendfile for 64-bit apps
5003297 - sendfile/sendfilev should avoid data copy
Some of these issues are already fixed in later Nevada builds, but if you're running on Solaris 10, it's best to use writev by adding the following :
server.network-backend = "writev"
If you're running on a multi-core system, it is necessary to set max-worker as well, as lighttpd by default is single-process and single-threaded. It is best to set the number of workers to two times the number of cores :
server.max-worker = 4
For other generic lighttpd tuning tips, see the lighttpd documentation.
http://blogs.sun.com/shanti/entry/lighttpd_on_solaris
|
유저의 홈 디렉토리에서 /usr 와 같은 시스템 디렉토리로 심볼릭 링크가 걸려있다면 일반 FTP 클라이언트에서는 퍼미션 에러가 뜨게된다. 하드링크를 걸지않을거면 그냥 SFTP를 사용하면 된다. 하지만 서버에서 지원이 안되면 대략 난감... ROOT 권한이 있다면 아래처럼 걍 고고싱
# echo "Subsystem sftp /usr/libexec/openssh/sftp-server" >> /etc/ssh/sshd_config
|
prototype : 굴고 짧은 스크립팅, 버그가 너무 많고 IE에 대한 처리가 미흡하다.
mootools : 항상 길어지는 코드...
|
Microsoft Script Debugger이 몇번 혹은 몇십번 실행되다가 어느 시점에서부터는 실행은 되지만
더이상 에러라인을 보여주지 않을때가 있는데 이때는 작업관리자를 열어서 프로세스 탭에서
mdm.exe 프로세스를 종료시켜주면 된다
IExplorer 재시작 해야함..
|
|
|
|