بله داخل lxadmin باید وارد دومین بشید بعدش
روی
Lighttpd Rewrite Rule
کلیک کنید
ساختارش خیلی سادست
کانفیگش خیلی شبیه به php هست
خواستی واسه راهنمایی این تبدیل htaccess ماله mybb به lxadmin هست که انجامش دادم
کد:
url.rewrite = (
"^/forum-([0-9]+).html$" =>
"forumdisplay.php?fid=$1",
"^/forum-([0-9]+)-page-([0-9]+).html$" =>
"forumdisplay.php?fid=$1&page=$2",
"^/thread-([0-9]+).html$" =>
"showthread.php?tid=$1",
"^/thread-([0-9]+)-page-([0-9]+).html$" =>
"showthread.php?tid=$1&page=$2",
"^/thread-([0-9]+)-lastpost.html$" =>
"showthread.php?tid=$1&action=lastpost",
"^/thread-([0-9]+)-nextnewest.html$" =>
"showthread.php?tid=$1&action=nextnewest",
"^/thread-([0-9]+)-nextoldest.html$" =>
"showthread.php?tid=$1&action=nextoldest",
"^/thread-([0-9]+)-newpost.html$" =>
"showthread.php?tid=$1&action=newpost",
"^/thread-([0-9]+)-post-([0-9]+).html$" =>
"showthread.php?tid=$1&pid=$2",
"^/post-([0-9]+).html$" =>
"showthread.php?pid=$1",
"^/announcement-([0-9]+).html$" =>
"announcements.php?aid=$1",
"^/user-([0-9]+).html$" =>
"member.php?action=profile&uid=$1",
"^/calendar-([0-9]+).html$" =>
"calendar.php?calendar=$1",
"^/calendar-([0-9]+)-year-([0-9]+).html$" =>
"calendar.php?action=yearview&calendar=$1&year=$2",
"^/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+).html$" =>
"calendar.php?calendar=$1&year=$2&month=$3",
"^/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+).html$" =>
"calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4",
"^/calendar-([0-9]+)-week-(n?[0-9]+).html$" =>
"calendar.php?action=weekview&calendar=$1&week=$2",
"^/event-([0-9]+).html$" =>
"calendar.php?action=event&eid=$1",
)
از نظر مصرف رم واقعا عالیه مخصوصا برای سایتهای پر بازدید حتی از نظر cpu هم خیلی خوبه
خواستید این کد رو هم بزارید خوبه
کد:
compress.cache-dir = "/tmp/"
compress.filetype = ("text/plain", "text/html", "application/x-javascript", "text/css", "text/javascript", "text/xml")