Support

Admin Tools

#15013 Fixed Permissioins but Moodle doesn't load CSS/Template

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 Wednesday, 13 February 2013 09:20 CST

user71441

Hi,

After Admin Tools Professional fixed permissions, Moodle which is in subdirectory in public_html directory does not load CSS/Template. Does Admin Tools Professional fix permissions within each subdirectory, is it possible that fixed permissions in Moodle directory caused this problem?

By the way, I submited review http://extensions.joomla.org/extensions/access-a-security/site-security/site-protection/16363#rev-136366 :D

I apologize, my English is bad.

Thanks in advance!

All the best,

Filip

nicholas
Akeeba Staff
Manager

Hello Filip,

Thank you for your review!

You need to do a small adjustment in your .htaccess Maker. If you tell me which directory Moodle is located in I can give you precise instructions. The general instructions can be found here: https://www.akeebabackup.com/documentation/troubleshooter/atsubdomains.html If you can't follow them, no problem! Just tell me the name of the directory and I'll be able to help you out :)

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!

user71441

Hi,

Moodle is in public_html/portal

I do not want to be boring, but with these small adjustments in .htaccess Maker we will "unfix" permissions for Moodle? Does that mean that Moodle will be more vulnerable? 

nicholas
Akeeba Staff
Manager

Go to .htaccess Maker and append:

portal

to the "Front-end directories where file type exceptions are allowed". Then click on "Save and create .htaccess". This will allow media files (CSS, JS, images, ...) to be accessed under Moodle's directory.

That said, the .htaccess Maker was designed to create a .htaccess tuned to protect Joomla! websites. Each web application has a different folder structure and completely different needs. I can't promise that the generated .htaccess will do anything to protect your Moodle installation or that it won't break it in any way. I am a Joomla! developer who has written and tested a solution for Joomla!. That's all I can help you with within any degree of accuracy :)

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!

user71441

I understand, this is Joomla! extension and was designed to work only on Joomla! sites :)

I did as you wrote, but now when I try to open (visit) Moodle site I got:

403

"Forbidden

You don't have permission to access /portal/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

 

But, I'll search on Google for a solution...

Thank you!

All the best,

Filip

nicholas
Akeeba Staff
Manager

No need to search Google, I can help you. Go to .htaccess Maker and add:

portal

to "Allow direct access, including .php files, to these directories", then click on Save and Create .htaccess.

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!

user71441

That's it! :D
The problem is solved!

Thank you very much Nicholas!

All the best,

Filip

nicholas
Akeeba Staff
Manager

You're welcome, Filip!

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!