mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 15:05:43 +02:00
Merge pull request #4460 from marc1706/ticket/14784
[ticket/14784] missing rewrite for lighttpd
This commit is contained in:
commit
d2f95ef875
@ -1,7 +1,7 @@
|
|||||||
# Sample lighttpd configuration file for phpBB.
|
# Sample lighttpd configuration file for phpBB.
|
||||||
# Global settings have been removed, copy them
|
# Global settings have been removed, copy them
|
||||||
# from your system's lighttpd.conf.
|
# from your system's lighttpd.conf.
|
||||||
# Tested with lighttpd 1.4.26
|
# Tested with lighttpd 1.4.35
|
||||||
|
|
||||||
# If you want to use the X-Sendfile feature,
|
# If you want to use the X-Sendfile feature,
|
||||||
# uncomment the 'allow-x-send-file' for the fastcgi
|
# uncomment the 'allow-x-send-file' for the fastcgi
|
||||||
@ -16,6 +16,7 @@
|
|||||||
server.modules += (
|
server.modules += (
|
||||||
"mod_access",
|
"mod_access",
|
||||||
"mod_fastcgi",
|
"mod_fastcgi",
|
||||||
|
"mod_rewrite",
|
||||||
"mod_accesslog"
|
"mod_accesslog"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -50,6 +51,14 @@ $HTTP["host"] == "www.myforums.com" {
|
|||||||
url.access-deny = ( "" )
|
url.access-deny = ( "" )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# The following 3 lines will rewrite URLs passed through the front controller
|
||||||
|
# to not require app.php in the actual URL. In other words, a controller is
|
||||||
|
# by default accessed at /app.php/my/controller, but can also be accessed at
|
||||||
|
# /my/controller
|
||||||
|
url.rewrite-if-not-file = (
|
||||||
|
"^/(.*)$" => "/app.php/$1"
|
||||||
|
)
|
||||||
|
|
||||||
fastcgi.server = ( ".php" =>
|
fastcgi.server = ( ".php" =>
|
||||||
((
|
((
|
||||||
"bin-path" => "/usr/bin/php-cgi",
|
"bin-path" => "/usr/bin/php-cgi",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user