내일은 소설입니다.
sun's longitude:239 26 39.20 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/server.php:소스보기  
웹호스팅 업체로 이사온 바람에 서버 정보를 보여줄 수가 없군요..
대신, 아래의 내용은 계정 사용자 입장에서 설정한 .htaccsss 파일입니다.

www.linuxchannel.net

## this file is a .htaccess of www.linuxchannel.net
## <san2(at)linuxchannel.net>

#Options Includes ExecCGI
#Options FollowSymLinks +MultiViews -Indexes

DirectoryIndex index.php index.html index.htm index.txt

#ReadmeName README.txt
#HeaderName HEADER.txt
#IndexIgnore .??* *~ *# HEADER* RCS CVS *,v *,t
##LanguagePriority kr en

<FilesMatch "^\.">
    Order allow,deny
    Deny from all
</FilesMatch>

<FilesMatch "\.(ph|inc|lib|htx)$">
    Order allow,deny
    Deny from all
</FilesMatch>

AddType Application/x-ogg .ogg .OGG
AddType application/x-httpd-cgi .cgi
#AddType text/x-server-parsed-html .html

AddType application/x-httpd-php .php .ph .inc .lib .conf .htx .pls .m3u
AddType application/x-httpd-php-source .phps

## *.html *.html force to text/html
## force don't use PHP at *.html *.htm files
##
AddType text/html .html .htm
AddType text/plain .txt .text .rc

## test 2011.02.15
AddType application/force-download .pptx .ppt

BrowserMatchNocase  "WebZIP"      G_OUT
BrowserMatchNocase  "Teleport"    G_OUT
BrowserMatchNocase  "Wget"        G_OUT
#BrowserMatchNocase "ApacheBench" G_OUT
#BrowserMatchNocase "GetRight"    G_OUT
BrowserMatchNocase  "Namo"        G_OUT

Order allow,deny
Allow from all
Deny from env=G_OUT

## ok
Redirect /main.html http://www.linuxchannel.net/

## not work on this server
#RedirectMatch ^/devel/(README|Readme|readme)(.*)$  http://ftp.linuxchannel.net/devel/README.txt
#RedirectMatch ^/devel/(rpmlist|apmsh|sysdump|khttpd|phpinfo)(.*)$  http://ftp.linuxchannel.net/devel/$1/
#RedirectMatch ^/book/(.*)$                                         http://linuxchannel.net/books/$1
#RedirectMatch ^/books/(bookfaq|bookmisp)([^/]+)\.(txt|html)$       http://linuxchannel.net/books/$1/$1$2.$3
#RedirectMatch ^/(dk|darkeden).*$                                   http://ftp.linuxchannel.net/dk/

## not work on this server
#RedirectMatch ^/zz/(?!(|index\.php)).*$   http://linuxchannel.net/

## not work on this server
#RewriteEngine On
#RewriteRule   ^/zz/(?!(|index\.php)).*$   /zz/  [L]

#ErrorDocument 401 /error/?errcode=401
#ErrorDocument 403 /error/?errcode=403
#ErrorDocument 404 /error/?errcode=404
#ErrorDocument 500 /error/?errcode=500
ErrorDocument  401 /error/
ErrorDocument  403 /error/
ErrorDocument  404 /error/

## php configure ####################
##
## http://www.php.net/manual/en/function.ini-set.php
##
## httpd.conf or .htaccess
##   On  --> 1
##   Off --> 0
##
#####################################

## REMOVED as of PHP/7/8
##
## php_value magic_quotes_gpc 1
## php_value magic_quotes_runtime 0
## php_value allow_call_time_pass_reference 1

## system default use
##
#php_value   default_charset euc-kr
#php_value   cgi.fix_pathinfo 1
#php_value   output_buffering 1048576
#php_value   register_globals 1
#php_value   zlib.output_compression 1

## force on or set
##
php_value    memory_limit 30M
php_value    allow_url_fopen 1
php_value    arg_separator.input  &
php_value    arg_separator.output &
php_value    display_errors 1
php_value    max_execution_time 60
php_value    precision 14
php_value    register_argc_argv 1
php_value    short_open_tag 1

php_value    include_path    .:/home1/linuxchannel/public_html
php_value    auto_prepend_file rstime/header.php
php_value    auto_append_file  rstime/footer.php


## default 1, but force 1
#php_value   session.auto_start 0
#php_value   session.cookie_secure ''
#php_value   session.name PHP_SID
#php_value   session.save_path /tmp
php_value    session.use_trans_sid 1
php_value    session.cookie_path /
php_value    session.use_cookies 1

## PHP/5.4+
## error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
##
php_value    error_reporting "E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED"

## Opcache offed on server side
#php_value   opcache.enable 1
#php_value   opcache.validate_timestamps 1
#php_value   opcache.revalidate_freq 0

##
## end ###############################


apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.01(server) + (network) + (browser) seconds