grigory1974
asked on
Joomla 2.5 and .htaccess in LAMP environment
Hello!
Recently I set up a LAMP server for production. I use Joomla 2.5 I used to host my site on 3rd party paid hostings, therefore I never had to worry about it. Normally I used .htaccess to do stuff since on shared hosting I didn't have the access to modify php.ini etc.
Also certain Joomla's web applications like Admin Tools uses .htaccess and passwd to password-protect administration directory in Joomla. It's all nice, but now when I'm my own boss, so to speak, I'm unsure what to do. From what I've read, Ubuntu 14.04 that I'm using by default doesn't enable .htaccess under LAMP. That's probably why Admin Tools doesn't apply the password, though in its admin panel it says that it did apply it. What I personally do is that I add Apache directives into /etc/apache2/apache2.conf file
My question is... What's the best way... Should I enable .htaccess or there's a better way? Okay, I can use apache2.conf, but what about Admin Tools and how would I password protect certain directory then?
And generally speaking, does Joomla 2.5 require .htaccess enabled to properly function?
Recently I set up a LAMP server for production. I use Joomla 2.5 I used to host my site on 3rd party paid hostings, therefore I never had to worry about it. Normally I used .htaccess to do stuff since on shared hosting I didn't have the access to modify php.ini etc.
Also certain Joomla's web applications like Admin Tools uses .htaccess and passwd to password-protect administration directory in Joomla. It's all nice, but now when I'm my own boss, so to speak, I'm unsure what to do. From what I've read, Ubuntu 14.04 that I'm using by default doesn't enable .htaccess under LAMP. That's probably why Admin Tools doesn't apply the password, though in its admin panel it says that it did apply it. What I personally do is that I add Apache directives into /etc/apache2/apache2.conf file
My question is... What's the best way... Should I enable .htaccess or there's a better way? Okay, I can use apache2.conf, but what about Admin Tools and how would I password protect certain directory then?
And generally speaking, does Joomla 2.5 require .htaccess enabled to properly function?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.