티스토리 뷰
url.rewrite = (
"^/xe/(layouts|m.layouts)/(.+)/(.+)\.html$" =>; "xe/index.php",
"^/xe/(.+)/files/(member_extra_info|attach|cache|faceOff)/(.*)" =>; "xe/files/$2/$3",
"^/xe/(.+)/(files|modules|common|widgets|widgetStyle|layouts|m.layouts|addons)/(.*)" =>; "xe/$2/$3",
"^(rss|atom)$" =>; "xe/index.php?module=rss&act=$1",
"^([a-zA-Z0-9_]+)/(rss|atom|api)$" =>; "xe/index.php?mid=$1&act=$2",
"^/xe/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/(rss|atom|api)$" =>; "xe/index.php?vid=$1&mid=$2&act=$3",
"^/xe/([0-9]+)/(.+)/trackback$" =>; "xe/index.php?document_srl=$1&key=$2&act=trackback",
"^/xe/([a-zA-Z0-9_]+)/([0-9]+)/(.+)/trackback$" =>; "xe/index.php?vid=$1&document_srl=$2&key=$3&act=trackback",
"^/xe/admin/?$" =>; "xe/index.php?module=admin",
"^/xe/([0-9]+)$" =>; "xe/index.php?document_srl=$1",
"^/xe/([a-zA-Z0-9_]+)/?$" =>; "xe/index.php?mid=$1",
"^/xe/([a-zA-Z0-9_]+)/([0-9]+)$" =>; "xe/index.php?mid=$1&document_srl=$2",
"^/xe/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/?$" =>; "xe/index.php?vid=$1&mid=$2",
"^/xe/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/([0-9]+)$" =>; "xe/index.php?vid=$1&mid=$2&document_srl=$3",
"^/xe/([a-zA-Z0-9_]+)/entry/(.+)$" =>; "xe/index.php?mid=$1&entry=$2",
"^/xe/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/entry/(.+)$" =>; "xe/index.php?vid=$1&mid=$2&entry=$3"
)
요거를 lighttpd.conf에 집어너
우분투는 /etc/lighttpd/lighttpd.conf인데 뭐 어디서 어떻게 쓸건지 모르겠지만 암튼 설정파일 안에다 집어넣는거야
/xe/ 말고 딴데 집어넣었으믄 “xe/”로 찾아서 다 바꿔
server.modules 안에 “mod_rewrite” 없으면 집어넣고 있으면 앞에 # 붙은거 지워
lighttpd 재시작해
다중계정은 어떻게 하냐고?
다중계정은 걍 apache 써.
'Network > PHP' 카테고리의 다른 글
phpBB에 페이스북 Like 버튼 달기 (0) | 2011.07.08 |
---|---|
xe에 mp4를 jwplayer로 재생하기 (0) | 2011.05.08 |
Portable 웹서버 XAMPP (0) | 2011.03.21 |
php 4.3.0 에서 경고구문 해결 (0) | 2011.01.09 |
PHP 주민등록번호 알고리즘 (0) | 2008.03.07 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 나비효과
- C#
- 짤방 및 아이콘
- wallpaper
- diary
- medical
- Linux
- Tech News
- Military
- Life News
- WDB
- Information Processor
- 프리랜서로 살아남는 법
- 3D Engine
- Assembly
- 야마꼬툰
- 막장로그
- Reverse Engineering
- Embedded System
- BadCode
- network
- Network Inspector
- Mabinogi
- cartoon
- USB Lecture
- Web Programming
- Battle
- win32
- console
- humor
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
글 보관함