mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/controller] Turn off URL rewriting by default, add comments for usage
PHPBB3-10864
This commit is contained in:
parent
8e480a8725
commit
91ce6e8b16
1 changed files with 14 additions and 4 deletions
|
@ -1,7 +1,11 @@
|
||||||
Options +FollowSymLinks
|
Options +FollowSymLinks
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
#
|
||||||
|
# Uncomment the following line if you will be using any of the URL
|
||||||
|
# rewriting below.
|
||||||
|
#
|
||||||
|
#RewriteEngine on
|
||||||
|
|
||||||
#
|
#
|
||||||
# Uncomment the statement below if you want to make use of
|
# Uncomment the statement below if you want to make use of
|
||||||
|
@ -10,9 +14,15 @@ RewriteEngine on
|
||||||
#
|
#
|
||||||
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
|
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
#
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
# Uncomment the following 3 lines if you want to rewrite URLs passed through
|
||||||
RewriteRule ^(.*)$ app.php [QSA,L]
|
# the front controller to not use app.php in the actual URL. In other words,
|
||||||
|
# an controller that would by default be accessed at /app.php/my/controller
|
||||||
|
# can now be accessed at /my/controller directly.
|
||||||
|
#
|
||||||
|
#RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
#RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
#RewriteRule ^(.*)$ app.php [QSA,L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<Files "config.php">
|
<Files "config.php">
|
||||||
|
|
Loading…
Add table
Reference in a new issue