Support

Admin Tools

#25051 403 error on subdomains

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 Thursday, 02 June 2016 17:20 CDT

angelgt
 After installing Admin Tools I get a 403 error when trying to access all my subdomains but one.

Thanks.

tampe125
Akeeba Staff
Hello Angel,

most likely your subdomains are installed inside another folder of your root site.
You have to add an exception for those folders, namely in the field Allow direct access, including .php files, to these directories. You can find more info here

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

angelgt
That was a quick answer! I'm impressed Davide :)

Yes, my subdomains are actually installed on different folders than the main site. That's true for all of them, but one doesn't yield a 403 error even not having set an exception for it. Do you figure out why all the others do?

Another question: if the subdomains don't have any php and they´re just commom html and css pages, could I add the safer exception of "allow direct access except php files" instead?

Grazie!

tampe125
Akeeba Staff
That was a quick answer! I'm impressed Davide :)
You're welcome!
What's the name of such folder? I suspect it was already excluded by default, maybe you have a redirection in your htaccess file?

If a subdomain of yours contains only static files, you can put such folder inside Allow direct access except php files field, that should do the trick.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

angelgt
Hi again Davide!

The name of the only subdomain that works is the name and surname of a guy. I'm pretty sure it's not excluded by default.

I've added the others both in the Allow direct access including and excepting PHP and I still get the 403. Maybe I'm doing it wrong... What's the path I have to set for a subdomain inside public_html?

Grazie.

tampe125
Akeeba Staff
mhm.. can you please enumerate here all the subdomains you need?
moreover I'd wish to connect to your site to run some tests.

I have made this ticket private so that only you and me can see the information posted here.

Please provide me with the following information:
  1. The URL to your site's administrator login page
  2. Super Administrator username and password
  3. FTP connection information

Please allow up to one business day (GMT+2 timezone) for me to log in to your site and debug this issue. When I'm done I will post back. Once the issue is fixed, you can revoke my access e.g. by changing the Super Administrator and FTP passwords.

IMPORTANT INFORMATION
In order for me to help you fast and accurately, please provide the information by copying the form below, paste it into your reply and fill in the information:

----- Access Information Form -- START -----
Super Administrator access
  • URL to site's administrator page (e.g. http://www.example.com/administrator?foobar):
  • Super Administrator username:
  • Super Administrator password:

FTP connection information
  • FTP methods supported (e.g. FTP, FTPS, SFTP):
  • FTP Hostname:
  • FTP Username:
  • FTP Password:
  • FTP Port (if other than 21 for FTP and 22 for SFTP, ask your host):

----- Access Information Form -- END -----

Please make sure that you have tested the Super Administrator connection using a different browser or machine than the one you are using daily. Double check that logging in is possible and that the user has Super Administrator (Super User) privileges, i.e. it's not a regular Administrator. Make sure that your site does not block whole countries or IP ranges which would make it impossible for me to log in / connect by FTP. Finally, please do make sure that the FTP connection works and that logging in to it I have access to your site's files.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

angelgt
Davide a.k.a. "The thunder" ;)

I've figured it out! I've just had to change in the subdomains the index.htm to index.html. That did the trick right away, with no need to exclude anything. Hopefuly that single working subdomain had a index.html and that got me the idea to test that.

I guess the error happens because the file type .htm is not included in the .htaccess excludes in Admin Tools; only .html is. Maybe you should include it too by default. Please turn this thread public again, so others can see the solution that worked for me.

Thanks a lot for your help, buddy!

tampe125
Akeeba Staff
Great news!
That was indeed something I wanted to check ;)

I'm happy you solved your issue!

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!