Support

Admin Tools

#12302 Error Pages

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 on Saturday, 16 June 2012 18:00 CDT

user1146
Hi,

Been slowly getting my arms around a mystery, and am looking for a little clearer understanding. Searched the forums, read the search related hits in the docs, searched the extension code, etc...

I am trying to figure out what is generating the 403 Forbidden result page when deliberately trying to access a restricted directory.

I found one semi-related forum post, but still not clear enough to resolve mystery.

I had copies of a few common .shtml error pages that reside on the server sent to me, and then compared the specific error page code to the page output, and they don't match.

Next suspect would be ATP, but this does not seem to be an obvious match either by searching the extension code.

So this leads to my question:

Does ATP modify the default server error pages?

Thanks in advance for the guidance.

nicholas
Akeeba Staff
Manager
Admin Tools Professional does not touch your server's error pages. However, if you are using the .htaccess Maker it will overwrite your .htaccess with the one it generates. Most servers let you define custom error pages in your .htaccess file. A good guess would be that the old .htaccess file contained directives (lines starting with ErrorDocument) for the custom error pages and these were lost when the generated file replaced the old one. You can, of course, add these ErrorDocument directives in .htaccess Maker's Custom .htaccess Rules areas.

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!

user1146
Hi,

Thanks for the help, but this remains a mystery. The only htaccess prior to ATP was the !J default and there were no ErrorDocument directives in that .txt file.

Maybe another way to approach this is from a controlled experiment. Prior to installing ATP, how would one purposely generate a 403 error with a fresh !J install?

Thanks again for the guidance.



nicholas
Akeeba Staff
Manager
I believe that you are talking about the design of an error page. Please ask your host about it. I can tell you about how I've set up my test servers and how my host has set up his servers (because I asked them and they told me), but I can't possibly give you that information about your host :)

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!

rkendallc
You may also want to check in your cPanel custom error page area and determine if there was anything set there. If you had done anything through there, it usually writes it to the .htaccess for your root site. There could have been directives in there or they might do it elsewhere. If they don't exist there, then it may remain a mystery.

Generating a 403 error is difficult usually. The best way to generate it is to take Joomla out of the picture altogether. i think you can password protect a directory and then access it without the correct username / password and it will gen a 403 error. If the same page you were seeing previously comes up, then it is an Apache config problem and not Joomla or Admin Tools in the picture at all! That's the best place to start first.

Then, if the error is not there, go with Joomla again. I don't think Joomla throws 403 errors easily from within Joomla itself. Just google "Joomla generate 403 error" and you might find some suggestions of how people did it.

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!