Paypal and WAM htpass + htaccess...

User 2816703 Photo


Registered User
7 posts

Hallo everyone

I am not sure if anyone out there is using paypal's IPN with their script which requires both htpassword and htaccess files. If so, are you able to use WAM htpass and htaccess files with your paypal script? If so, where would be the best place to place them because the last time i had them in my web default folder i could not access my site until i deleted them.

Your feedback on this will be much appreciated,

Thank you,
User 187934 Photo


Senior Advisor
20,181 posts

Where are you placing your .htaccess file? Don't use it in the root of your site or in the same directory as your IPN.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2816703 Photo


Registered User
7 posts

Hi Eric

Once again thank you for your feedback, the paypal script is in the cgi-bin outside the root folder and i had the htpass and access files in the root folder or html_files folder to be specific. The question is, can i protect individuals files in the same folder where my index file is located or i need to move those files to a different folder and place both the htpass and access files in it?

Again, your feedback will be much appreciated,

Thank you.
User 187934 Photo


Senior Advisor
20,181 posts

Without knowing every bit of what your trying to control I would think it would be easier to keep the protected content in a directory down from the root but you should be able to write your htaccess to only block a certain page within the root or any directory.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.