Forum Moderators: phranque
On otherdomain.com I have a page which contains a link to mydomain.com/folder/page.html.
Clicking on the link gives a Forbidden error. So does trying to go the to page directly, as it should.
I'm not aware of a method of accomplishing what you desire in mod_access.
#
# Make sure that this directory can only be accessed by other programs on this domain
#
SetEnvIfNoCase Referer my-domain.com internal
#
order Deny,allow
Deny from all
allow from env=internal #
# Make sure that this directory can only be accessed by other programs on this domain
#
SetEnvIfNoCase Referer my-domain.com internal
SetEnvIfNoCase origin my-domain.com internal
#
order Deny,allow
Deny from all
allow from env=internal #
# Make sure that this directory can only be accessed by other programs on this domain
#
SetEnvIfNoCase Referer my-domain.com internal
SetEnvIfNoCase origin my-domain.com internal
#
order Deny,allow
Deny from all
allow from env=internal