Home › Forums › Calendar Products › Events Calendar PRO › Calendar prompts for authentication
- This topic has 13 replies, 3 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
April 17, 2013 at 11:25 am #46097AmyParticipant
I just protected my wp-admin folder using htpasswd and now the calendar prompts for authentication for anonymous browsers. Any advice on how I can resolve this?
April 17, 2013 at 11:54 am #46102BarryMemberThe plugin loads some resources from the wp-admin directory (such as the wpspin_light.gif graphic) and so you’d need to either add an exception or use a different means of protecting the wp-admin directory.
April 17, 2013 at 11:59 am #46107BarryMember(Just to elaborate a little on the above) it’s not only the spinner graphic that will cause problems here.
Following WordPress best practices some amount of communication also typically flows through a controller which lives in wp-admin – so this will also be impeded by the use of .htpasswd.
April 17, 2013 at 12:01 pm #46109AmyParticipantThanks for the speedy response. I know how to write the exceptions, so I will just need to figure out which files are being used by the plugin.
April 17, 2013 at 12:39 pm #46115AmyParticipantThanks so much for your help. I figured it out. Here is what I added to my .htaccess file (located in the wp-admin directory):
Order allow,deny
Allow from all
Satisfy anyOrder allow,deny
Allow from all
Satisfy anyApril 17, 2013 at 12:42 pm #46116AmyParticipantI did not realize that the code I posted in the above reply would be stripped out. Sorry about that!
I had to enter exceptions for two files: admin-ajax.php and wpspin_light.gif. This solved the issue.
April 17, 2013 at 2:03 pm #46136BarryMemberNo worries, we’ve got a plan in the works to remedy the problem with posting code in the forum but we haven’t rolled it out yet – until that day it’s best to use Pastebin, Gist or one of the other code sharing services.
… And thank you for posting back with the solution, even if some of it was (unfortunately) stripped out!
April 17, 2013 at 2:06 pm #46138AmyParticipantThis reply is private.
April 17, 2013 at 2:07 pm #46139AmyParticipantThis reply is private.
April 17, 2013 at 2:08 pm #46141AmyParticipantHere is link to the solution on Gist: https://gist.github.com/anonymous/5407769.
I hope that this helps!
April 17, 2013 at 2:08 pm #46142BarryMemberGreat – do you have any objection to me sharing that gist publicly at all?
April 17, 2013 at 2:09 pm #46143BarryMemberOK, posted at the same time there. Thanks again 🙂
April 17, 2013 at 2:09 pm #46144AmyParticipantI wanted to make sure that the link actually worked before I posted it publicly. 🙂
July 7, 2015 at 6:26 am #978951Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Calendar prompts for authentication’ is closed to new replies.