diff options
author | David King <imkingdavid@gmail.com> | 2012-11-15 14:59:14 -0500 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-11-16 17:05:47 -0500 |
commit | 91ce6e8b16abb831e1e18b73cf857a257a59e432 (patch) | |
tree | 4f540543003173b592351c6cef99b2e802298794 /phpBB | |
parent | 8e480a87253fd2e42af3fc4daaed2f49b9ae65c5 (diff) | |
download | forums-91ce6e8b16abb831e1e18b73cf857a257a59e432.tar forums-91ce6e8b16abb831e1e18b73cf857a257a59e432.tar.gz forums-91ce6e8b16abb831e1e18b73cf857a257a59e432.tar.bz2 forums-91ce6e8b16abb831e1e18b73cf857a257a59e432.tar.xz forums-91ce6e8b16abb831e1e18b73cf857a257a59e432.zip |
[feature/controller] Turn off URL rewriting by default, add comments for usage
PHPBB3-10864
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/.htaccess | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/phpBB/.htaccess b/phpBB/.htaccess index 68021177f2..1713f8e522 100644 --- a/phpBB/.htaccess +++ b/phpBB/.htaccess @@ -1,7 +1,11 @@ Options +FollowSymLinks <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 @@ -10,9 +14,15 @@ RewriteEngine on # #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^(.*)$ app.php [QSA,L] +# +# Uncomment the following 3 lines if you want to rewrite URLs passed through +# 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> <Files "config.php"> |