mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/16890] Add rewrite for installer in lighttpd
PHPBB-16890
This commit is contained in:
parent
00d1351e55
commit
42851d0d9f
1 changed files with 13 additions and 12 deletions
|
@ -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.35
|
# Tested with lighttpd 1.4.36
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -37,7 +37,7 @@ $HTTP["host"] == "www.myforums.com" {
|
||||||
accesslog.filename = "/var/log/lighttpd/access-www.myforums.com.log"
|
accesslog.filename = "/var/log/lighttpd/access-www.myforums.com.log"
|
||||||
|
|
||||||
# Deny access to internal phpbb files.
|
# Deny access to internal phpbb files.
|
||||||
$HTTP["url"] =~ "^/(config\.php|common\.php|cache|files|images/avatars/upload|includes|phpbb|store|vendor)" {
|
$HTTP["url"] =~ "^/(config|common\.php|cache|files|images/avatars/upload|includes|phpbb|store|vendor)" {
|
||||||
url.access-deny = ( "" )
|
url.access-deny = ( "" )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,6 +56,7 @@ $HTTP["host"] == "www.myforums.com" {
|
||||||
# by default accessed at /app.php/my/controller, but can also be accessed at
|
# by default accessed at /app.php/my/controller, but can also be accessed at
|
||||||
# /my/controller
|
# /my/controller
|
||||||
url.rewrite-if-not-file = (
|
url.rewrite-if-not-file = (
|
||||||
|
"^/install/(.*)$" => "/install/app.php/$1",
|
||||||
"^/(.*)$" => "/app.php/$1"
|
"^/(.*)$" => "/app.php/$1"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue