Converting from classic to pasoe

Posted by goo on 26-Aug-2019 12:53

12.0

http://nnn.nnn.nnn.nnn:3030/web/workshop.p

I can see the shape of the workshop, but geting a rejected page in each of the workshop frames. What could be the problem? Could it be a firewall issue?

//Geir Otto

All Replies

Posted by ssouthwe on 10-Oct-2019 05:56

Hi Geir.  Here's how you fix that:

In your app's WEB-INF/spring folder, you have some files like formLoginModel.xml and anonymousLoginModel.xml.

1. Go into those files and look for a section like this:

<headers defaults-disabled="false"
disabled="false" />

2. Replace it with one like this:

<headers defaults-disabled="false"
disabled="false" >
<frame-options policy="SAMEORIGIN"/>
<hsts disabled="true"/>
</headers>

In formLoginModel.xml, you want to hit the one that is in the <http pattern="/web/**" section only.

3. Now go grab a copy of your $DLC/webspeed directory and plop it into your application's static directory.

4. You may need to check your app's oeablSecurity.csv file and add a line like this:

"/static/webspeed/**","GET","permitAll()"

5. After syncronizing your changes to your PAS instance, stop and restart it.

6. Hit the workshop URL for your app, and you should be in business.

Note: You shouldn't do any of this on a production server.

Posted by goo on 10-Oct-2019 07:24

Thanks, I will check it.

Sendt fra min iPhone

10. okt. 2019 kl. 07:58 skrev ssouthwe <bounce-ssouthwe@community.progress.com>:

<ProgressEmailLogo-png_2D00_150x42x2-png> Update from Progress Community
ssouthwe

Hi Geir.  Here's how you fix that:

In your app's WEB-INF/spring folder, you have some files like formLoginModel.xml and anonymousLoginModel.xml.

1. Go into those files and look for a section like this:

<headers defaults-disabled="false"
disabled="false" />

2. Replace it with one like this:

<headers defaults-disabled="false"
disabled="false" >
<frame-options policy="SAMEORIGIN"/>
<hsts disabled="true"/>
</headers>

In formLoginModel.xml, you want to hit the one that is in the <http pattern="/web/**" section only.

3. Now go grab a copy of your $DLC/webspeed directory and plop it into your application's static directory.

4. You may need to check your app's oeablSecurity.csv file and add a line like this:

"/static/webspeed/**","GET","permitAll()"

5. After syncronizing your changes to your PAS instance, stop and restart it.

6. Hit the workshop URL for your app, and you should be in business.

Note: You shouldn't do any of this on a production server.

View online

 

You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

Flag this post as spam/abuse.

This thread is closed