Support

Admin Tools

#23061 page loads as code or ask me to download rss/exl file

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 user85353 on Friday, 31 July 2015 02:23 CDT

user85353
 Hi,
I have recently created a new .htaccess file using the instructions in the documentation. I specifically set all the options to no and began to make the file incrementally by turning options on and testing the results, and when I encountered a problem I turned oft that option and retested. After creating this file I have had two instances of the same strange event.
When I try to access the frontend (homepage) I get a dialogue box asking me what I would like to do with a rss/xml file that wants to be downloaded. When I download the file it contains the code for the homepage such as I would expect when I select view source in Chrome or Firefox. If this does not occur all I get is the raw code.
The first time I encountered the problem I thought I had been hacked but I looked through the file directory in the Cpanel and did not find any suspicious files or dated stamps. I reverted to a previous backup which resolved the issue. The second time I went a way for about 30 minutes and when I tried again the site had rectified itself. Could this be a .htaccess setting and if so can you give me some indication which one it could be? If it isn't please let me know.
I have another website in the same webspace and during these timeouts it works fine so I suspect my new htaccess file but I am no expert.

Regards,

Brian

user85353
Hi Sorry title should read rss/xml file.

Regards,

Brian

tampe125
Akeeba Staff
Hello Brian,

can you please zip your .htaccess file and attach it 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!

user85353
Hi Davide,
Please find attached a copy of the htaccess file I created using admin tools. The file name has been amended to reflect the date.

Regards,

Brian

tampe125
Akeeba Staff
Looking at your file, it seems fine; however please try to replace it with Joomla stock one, does it help?
If not please contact your host, I suspect there's something wrong with the Content-disposition header

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!

user85353
Hi Davide,
Thanks for the feedback. I am reluctant to go back to the old file due to the protection it offers. I have another site in the same webspace and will create a .htaccess file using the same rules and see if it happens on that site. I will also do some study before I talk to the ISP.
Regards,

Brian

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!