1. sandstorm871
  2. RO CSVI
  3. Friday, 27 November 2020
  4.  Subscribe via email
Hi Guys,
Hope your all well ;)

I'm struggling to import a basic Joomla content import, due to restrictions set in Akeeba Admin Tool .htaccess & wonder whether you could help at all - or seen this before?

At the last stage of importing a file, I get a 403 error.
Initially, I thought my hosting provider had some security restriction. They checked and pointed me towards the .htaccess.

See screenshots.
If I disable Server > Back End Protection , I can import as normal.
So do you know what I can add to the "Backend directories where file type exceptions are allowed" or "Backend file types allowed in selected directories" to allow the imprt to run AND allow me to leave Server > Back End Protection enabled

Thanks in advance
Andy
Attachments (2)
Accepted Answer
Accepted Answer Pending Moderation
That's great. Thanks for looking into it.

In the 'Server Protection' section of Akeeba Admin Tools .htaccess maker, there are a few exception fields.

Adding the direct file or directory to either of these works;

- Allow direct access to these files
- Allow direct access, including .php files, to these directories
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # Permalink
Accepted Answer Pending Moderation
Hello Andy,
I'm struggling to import a basic Joomla content import, due to restrictions set in Akeeba Admin Tool .htaccess & wonder whether you could help at all - or seen this before?

Yes we have seen few users having this problem before.

If I disable Server > Back End Protection , I can import as normal.
So do you know what I can add to the "Backend directories where file type exceptions are allowed" or "Backend file types allowed in selected directories" to allow the imprt to run AND allow me to leave Server > Back End Protection enabled

It is good to add the extension of the file to be allowed. In "Backend file types allowed in selected directories" option you can enter the extension of your import file. So if you are importing a file with .csv extension, add CSV to the list, save it and then run the import. See if that solves the issue.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Adding 'csv' & 'CSV' to the field 'Backend file types allowed in selected directories' doesn't change anything.

Upon importing still get the 403? Anything else to add in those fine-tuning fields.
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Andy,
Just curious to know, are you having this issue only with RO CSVI?

i am wondering if we need to add php in there as all the backend files have .php as extension. There is a possibility that the admin tools is stopping the access of RO CSVI files and so you see the error. What if you php in the list? Does that work?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Just curious to know, are you having this issue only with RO CSVI?

Only happening with RO CSVi - that I Know of.

What if you php in the list? Does that work?

Admin Tools won't allow creating .htaccess with 'PHP' set within Backend file types allowed in selected directories. Upon saving its removed.

I can import & workaround by temp disabling 'Backend protection' But would good to figure out what's being restricted?
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Andy,
I can import & workaround by temp disabling 'Backend protection' But would good to figure out what's being restricted?

My guess would be the rules written in .htaccess file by admin tools is restricting RO CSVI import. I do not know which rule it is but i am sure that if you run the import with .htaccess file which comes with Joomla you will not see this 403 error and import would finish. That can be another workaround as well.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Would adding a copy of the .htaccess file help?
I haven't set anything fancy, just using the default settings to help boost security/speed.
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello Andy,
Would adding a copy of the .htaccess file help?

You can send it and i will test it in my local site to see how import goes.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Hello Andy,

Did you check with Akeeba? They might be better informed on how this works. There is nothing in your screenshot that gives my an idea of what might need changing. It is also weird that it decides to kill it at the last stage, that would mean the point where you are redirected to the result page, which is just a Joomla URL.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
It is also weird that it decides to kill it at the last stage, that would mean the point where you are redirected to the result page, which is just a Joomla URL.
I add the file for upload, click preview, and then click import. It's at this point the 403 shows inside the pop-up. see attached gif

Did you check with Akeeba?
Not Yet
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Hey Andy,

Can you post the full htaccess file? That way I can check what might be blocking the request.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
Attached it in a zip file ;)
There's nothing fancy in there. Just default settings for the Akeeba Admin Tool .htaccess maker - https://www.akeeba.com/documentation/admin-tools/htaccess-maker.html
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
Hello Andy,

I am able to reproduce the issue and I have a solution although no idea where you do this in Admin Tools. In the htaccess file is a section called ##### Advanced server protection rules exceptions -- BEGIN if you add this line to that part, the import will run. Can you add exceptions in Admin Tools?

RewriteRule ^administrator\/components\/com_csvi/rantai\/rantai\.php$ - [L]
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 12
Accepted Answer Pending Moderation
Hello Andy,

Glad to hear that resolves it. The main reason for the issue here is that the rantai part runs outside of Joomla. All is well that ends well :D
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 13
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!