File tree Expand file tree Collapse file tree 2 files changed +24
-25
lines changed
user_guide_src/source/installation Expand file tree Collapse file tree 2 files changed +24
-25
lines changed Original file line number Diff line number Diff line change @@ -177,3 +177,27 @@ And edit **.htaccess** as follows:
177177 Require all denied
178178 Satisfy All
179179 </FilesMatch>
180+
181+ And remove the redirect settings in **public/.htaccess **:
182+
183+ .. code-block :: diff
184+
185+ --- a/public/.htaccess
186+ +++ b/public/.htaccess
187+ @@ -16,16 +16,6 @@ Options -Indexes
188+ # http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase
189+ # RewriteBase /
190+
191+ - # Redirect Trailing Slashes...
192+ - RewriteCond %{REQUEST_FILENAME} !-d
193+ - RewriteCond %{REQUEST_URI} (.+)/$
194+ - RewriteRule ^ %1 [L,R=301]
195+ -
196+ - # Rewrite "www.example.com -> example.com"
197+ - RewriteCond %{HTTPS} !=on
198+ - RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
199+ - RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
200+ -
201+ # Checks to see if the user is attempting to access a valid file,
202+ # such as an image or css document, if this isn't true it sends the
203+ # request to the front controller, index.php
Original file line number Diff line number Diff line change @@ -497,31 +497,6 @@ Deployment to Shared Hosting Services
497497
498498See :ref: `Deployment <deployment-to-shared-hosting-services >`.
499499
500-
501- And remove the redirect settings in **public/.htaccess **:
502-
503- .. code-block :: diff
504-
505- --- a/public/.htaccess
506- +++ b/public/.htaccess
507- @@ -16,16 +16,6 @@ Options -Indexes
508- # http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase
509- # RewriteBase /
510-
511- - # Redirect Trailing Slashes...
512- - RewriteCond %{REQUEST_FILENAME} !-d
513- - RewriteCond %{REQUEST_URI} (.+)/$
514- - RewriteRule ^ %1 [L,R=301]
515- -
516- - # Rewrite "www.example.com -> example.com"
517- - RewriteCond %{HTTPS} !=on
518- - RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
519- - RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
520- -
521- # Checks to see if the user is attempting to access a valid file,
522- # such as an image or css document, if this isn't true it sends the
523- # request to the front controller, index.php
524-
525500*********************
526501Bootstrapping the App
527502*********************
You can’t perform that action at this time.
0 commit comments