Support

Admin Tools

#14288 How to change default J! administrator url on NGINX server?

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Friday, 07 December 2012 09:18 CST

user34219

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.8
PHP version: 5.3.10 ubuntu 
MySQL version: not applicable
Host: not applicable
Admin Tools version: 2.4.3

Description of my issue:

nginx/1.1.19 - fpm-fcgi - APC

Hi

Because I'm moved from Apache to Nginx last days all features based on .htaccess included in "Admin Tools" and other extensions are gone. I do not even think to go back to Apache because Nginx performance in case of my websites is just awesome (smaller cloud cost as well).

I'd like to add small security layer to my Joomla and change  administrator default URL from mysite.com/administrator to something different eg. mysite.com/administrator?23324232 or whatever. 

I would be grateful if anyone has knowledge of how to do it.

 

Regards

 

nicholas
Akeeba Staff
Manager

My test server at the office is an Ubuntu Server 12.04 machine with NginX. That three years old triple-core AMD with the ageing SATA I, slow (5000rpm) hard disk is flying. I know what you mean!

Regarding your question, nothing special is required. Just enable Admin Tools' secret administrator URL parameter. It doesn't use .htaccess. Its PHP code runs through the System - Admin Tools plugin.

Regarding the .htaccess Maker, I am working on an NginX configuration maker in a similar vein. If you're interested to see how the .htaccess features translate to nginx.conf directives, take a look at https://akeeba.assembla.com/code/master-htaccess/git/nodes/master/joomla.nginx.conf This is what the new feature will be based on.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user34219

Thank's Nicholas. It's good to know that you working on it and thanks for the link - awesome! I'll give it try on testing environment. I need to say again that you providing the best and fastest support in Joomla! world :).

I'm moved two Joomla websites from instance with Zend Server Community Edition to... Nginx instance with some performance tweaks and so far so good. It seems that charges for used resources will go down. It's just little bit different to configure it so need to learn little bit. I'll test some various Joomla scenarios with Akeeba Backup and Admin Tools on Nginx during the next few days. 

 

Regards

nicholas
Akeeba Staff
Manager

Thank's Nicholas. It's good to know that you working on it and thanks for the link - awesome! I'll give it try on testing environment.

Great! Please do. I only have a test server with NginX. I'd be more comfortable with my nginx.conf if I knew it's also tested by someone other than me.

I need to say again that you providing the best and fastest support in Joomla! world :).

Thank you :)

I'm moved two Joomla websites from instance with Zend Server Community Edition to... Nginx instance with some performance tweaks and so far so good. It seems that charges for used resources will go down. It's just little bit different to configure it so need to learn little bit. I'll test some various Joomla scenarios with Akeeba Backup and Admin Tools on Nginx during the next few days.

I hear ya! NginX scales much better on high request environments. Fotis (of K2) did a great presentation on the topic of high performance servers in Joomla! Day Greece 2012 and this gave me the incentive to start working on NginX. Damn! It's seriously FAST! Akeeba Backup has no problem on it. The contrary. It is slightly faster (only slightly because the bottleneck is the hard disk). Admin Tools works perfectly, except the .htaccess Maker and administrator directory password protection of course. Yes, configuration is slightly different... but it's so much easier! What requires two long, cryptic lines in Apache only takes a short line in nginx.conf. Once you get the hang of it you start wondering "seriously, what were Apache's mod_rewrite developers thinking?". Yep, NginX is cool.

BTW, NginX also has some interesting security extensions. I have yet to find the time to seriously test them, but judging from what I'm reading they seem to be kicking serious ass out of the box. They even have a "learning mode".

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user34219

Today I'm tested Joomla on Nginx temporarly connected with Cloudflare. Amazon Cloudwatch reporting unbelievable data compared to Zend Server CE with Apache... so no comments. Didn't configured Varnish yet because I think that's not necessary at this point.

Nicholas, I'm already started testing your joomla.nginx.conf on live server Ubuntu 12.04 32 bit with three Joomlas 2.5.8 instances, each one with various extensions:

  • RS Form Pro 04.12.2012 - Rev 45
  • RS TIckets Pro Rev 8
  • RS Seo Rev 16
  • SH404SEF 3.7.0.1485
  • Easydiscus 2.0.3945
  • EasyBog 3.7.13830
  • Widgetkit
  • Komento 1.0.2843
  • Kunena 2.03
  • Jreviews
  • Acymailing
  • Mosets Tree
  • Various newest extensions from Joomlart, Gavick and XTC
  • Admin Tools Pro 3.4.3
  • Akeeba Backup 3.6.9 (unfortunatelly my subscription expired last days so I can't test newest 3.6.10 version till you will share it)

It can take up to two weeks to generate detailed report for you due to my job and free time projects.

I can test for you Joomla 3.0 as well if you wish but for me there is still a lot of bugs with new versions of compatible extensions so I will dfinitelly not reccomend to anybody to use it on production website. I will stay with Joomla 2.5 till Joomla 3.5 with some upgrades will be released and willl be enought tested/stable.

Now I need to know what exactly do you need to be included in report/debug info so it can be useful for you. What debugging tools do you prefer?

 

Best regards

Kamil

 

 

nicholas
Akeeba Staff
Manager

Hi Kamil,

I just want to know if my setup caused any functional issues on your sites. Your extensions mix seems very good. I can see a few extensions that might break (WidgetKit, Kommento) and you'll need to add exceptions for them. I see a few which will prove the not very well tested SEF URL part (RS SEO, sh404SEF). It sounds like a brilliant experiment :)

Regarding Joomla! 2.5 vs 3.0, it really doesn't matter which Joomla! version you use. The rules are designed to work with Joomla! 1.5, 1.6, 1.7, 2.5, 3.0 (and I suspect all 3.* and maybe all 4.* versions of the CMS). As for which one to use on a live site, always stick with the LTS Long Term Suport (.5) releases. All Joomla! .0, .1 and .2 releases are STS Short Term Support releases, not to be used on production sites. I have changed the interface and wording in Admin Tools to make it clear before someone tries to upgrade Joomla!. Better be safe than sorry ;)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!