in the host server I have a rule set-up to remove the trailing / from all webpages, I use Nginx and have the following rule
#remove trailing slash
rewrite ^/(.*)/$ /$1 permanent;
With the server set up as above with the rule enabled at server level
Click on icon-joomla top left when in the administrator view
The expected page to be loaded is:
/administrator
/administrator/index.php
The page errors out with a reported loop.
due to trying to go between administrator/ and administrator
Joomla 3.4.8
Apache web server with Nginx in front
The only current way around this is to select System - Control Panel which is set up to load /administrator/index.php
The reason I raised it as a bug is it's the only admin url in the back end that doesn't display /index.php whereas System - Control panel is written with /index.php and both point to the same location so the behaviour appears inconsistent.
Your rewrite code is probably incorrect. Try this http://stackoverflow.com/a/9576121.
I have to say we are not very consistent on this.
For Isis icon we use
href="' . $this->baseurl . '"
this gives =>/administrator
For the status module we use
href="' . JURI::base() . '"
this gives => /administrator/
We could easily add index.php in both cases.
OK @infograf768 do you want to do a PR for that - good spot
OK, will do
O guess we can close this as there is a patch (still to be tested)
Thanks @infograf768
Closed - please test #9290
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-03-03 10:52:29 |
Closed_By | ⇒ | brianteeman |
Labels |
Added:
?
|
Dont really think thats a bug that Joomla can deal with as it is specific to your non-standard hosting setup
It is normal on a web server that when you hit a folder then the default page as defined by the webserver will load
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9289.