How to create access to one specific folder on a domain with no access


I have a domain I primarily use for development. I need to generally keep this domain from searchmachines and from indexing.

But I have one folder in the domain that I need to be open to access so that I can use it in an iFrame on another page.

I have a .htaccess file looking like this in the root of this domain:
IndexIgnore *
RewriteEngine On 
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{HTTP_HOST}/$1 [R,L]

Open in new window

My question is how I can create a .htaccess file (or something else) that ensures the needed access to this particular folder,
Peter KromanSenior Proposal SpecialistAsked:
Who is Participating?
Peter KromanSenior Proposal SpecialistAuthor Commented:
Just a little add-on information.

The page I need to include in an iFrame on another page is this:

The domain I need to include it on is

I have included a lot of other pages as iFrames on this domain without problems.

Hope that somebody has the "golden ideas" on this one :)
Peter KromanSenior Proposal SpecialistAuthor Commented:
Forget this question. It turned out to be an application problem.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.