Joomsef (or sh404sef) support lighttpd rewrite?
Posted: Fri Jul 13, 2007 8:20 am
I use Joomsef (or sh404sef) for my website, but Joomsef(or sh404sef) can not support lighhtpd. If we want to use lighttpd, how to config lighttpd in our lighttpd.conf?
Anybody know which SEF extensions can support lighttpd, and know how to configure lighttpd, please tell me, thank you!
Following is our lighttpd.conf. VirtueMart can not rewrite. Can you help me? Thank you!
$HTTP["host"] == "192.168.21.43" {
$HTTP["url"] =~ "^.*(html|php|/).*$" {
magnet.attract-physical-path-to = ("/etc/lighttpd/joomla.lua")
}
server.document-root = "/var/www/php"
# server.error-handler-404 = "/dispatch.fcgi"
fastcgi.server = ( ".php" =>
( "phpapp" =>
( "socket" => "/var/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi",
"max-procs" => 2
)
)
)
url.rewrite-once = (
"^images*.(jpg|jpeg|gif|png)" => "$0",
"^/administrator.*$" => "$0",
"^/mambots.*$" => "$0",
"^/shop/(/|.htm|.php|.html|/[^.]*)$" => "/index.php",
"^/outac-blog/(/|.htm|.php|.html|/[^.]*)$" => "/index.php",
"^/help-with-faq/(/|.htm|.php|.html|/[^.]*)$" => "/index.php",
"^/outac-s-news/(/|.htm|.php|.html|/[^.]*)$" => "/index.php",
"(/|.htm|.php|.html|/[^.]*)$" => "/index.php"
)
}
Anybody know which SEF extensions can support lighttpd, and know how to configure lighttpd, please tell me, thank you!
Following is our lighttpd.conf. VirtueMart can not rewrite. Can you help me? Thank you!
$HTTP["host"] == "192.168.21.43" {
$HTTP["url"] =~ "^.*(html|php|/).*$" {
magnet.attract-physical-path-to = ("/etc/lighttpd/joomla.lua")
}
server.document-root = "/var/www/php"
# server.error-handler-404 = "/dispatch.fcgi"
fastcgi.server = ( ".php" =>
( "phpapp" =>
( "socket" => "/var/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi",
"max-procs" => 2
)
)
)
url.rewrite-once = (
"^images*.(jpg|jpeg|gif|png)" => "$0",
"^/administrator.*$" => "$0",
"^/mambots.*$" => "$0",
"^/shop/(/|.htm|.php|.html|/[^.]*)$" => "/index.php",
"^/outac-blog/(/|.htm|.php|.html|/[^.]*)$" => "/index.php",
"^/help-with-faq/(/|.htm|.php|.html|/[^.]*)$" => "/index.php",
"^/outac-s-news/(/|.htm|.php|.html|/[^.]*)$" => "/index.php",
"(/|.htm|.php|.html|/[^.]*)$" => "/index.php"
)
}