Quantcast
Channel: SCN : All Content - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 5139

WebDispatcher - Restrict Access via ModFile

$
0
0

Hi experts,

 

I use the modification rule to limit the access of our websites.

Therefore I made the following entries:

 

if %{HTTP_HOST} regimatch www.dummy.com [and]

if %{PATH} regimatch "^/sap/*"

SetHeader x-sap-webdisp-target-sid <SID> [break]

 

This means, that just www.dummy.com/sap/* pages are allowed.

So, but we also use to redirect www.dummy.com to www.dummy.com/sap/*.

 

But this redirect seams to happen after the modification file, so after the rule.

Because the www.dummy.com is now blocked.

 

So how can I now achieve, that also www.dummy.com is allowed.

BUT! Just www.dummy.com without any directlink at the end.

 

Because if I also add e.g.

if %{HTTP_HOST} regimatch www.dummy.com [and]

if %{PATH} regimatch "^/"

SetHeader x-sap-webdisp-target-sid <SID> [break]

 

Everything is unlocked again (www.dummy.com/<every page>.

 

Thanks for help


Viewing all articles
Browse latest Browse all 5139

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>