Re: [WebDNA] bring back PORT feature!

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113785
interpreted = N
texte = 1380 --Apple-Mail=_D446A9D4-5437-4971-BE50-EEF831BC9369 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Brian This will work on ANY Apache server independent of WebDNA version: It is a three step process and you will need access to the config of = Apache on your server. 1) Enable =E2=80=9Cmods_headers=E2=80=9D in your Apache config LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so = (apache2 on Ubuntu) 2) Add or amend your .htaccess file to include =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D RewriteEngine on RewriteRule .* - [E=3DINFO_SERVER_PORT:%{SERVER_PORT},NE] RequestHeader set INFO_SERVER_PORT "%{INFO_SERVER_PORT}e=E2=80=9D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D 3) Then in your html: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D [TEXT]SERVERPORT=3D[ListMIMEHeaders = name=3DINFO_SERVER_PORT][NAME]=3D[value][/ListMIMEHeaders][/TEXT] SERVERPORT =3D [SERVERPORT] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@idfk.com.au > On 8 Dec 2017, at 08:35, Brian Harrington = wrote: >=20 > no... tried it. I think I'm running like 6.2 on mac. does it work on = newer versions...? =20 >=20 > On Thu, Dec 7, 2017 at 5:42 PM, Tom Duke > wrote: > Brian, >=20 > Does [thisport] not work for you? >=20 > - Tom >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_D446A9D4-5437-4971-BE50-EEF831BC9369 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Brian

This will work = on ANY Apache server independent of WebDNA = version:

It is = a three step process and you will need access to the config of Apache on = your server.

1) = Enable =E2=80=9Cmods_headers=E2=80=9D in your Apache config

LoadModule = headers_module /usr/lib/apache2/modules/mod_headers.so (apache2 on = Ubuntu)


2)  Add or amend your .htaccess = file to include

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RewriteEngine on
RewriteRule .* - = [E=3DINFO_SERVER_PORT:%{SERVER_PORT},NE]
RequestHeader set INFO_SERVER_PORT = "%{INFO_SERVER_PORT}e=E2=80=9D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


3) = Then in your html:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[TEXT]SERVERPORT=3D[ListMIMEHeaders = name=3DINFO_SERVER_PORT][NAME]=3D[value][/ListMIMEHeaders][/TEXT]
SERVERPORT =3D [SERVERPORT]
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D




Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 8 Dec 2017, at 08:35, Brian Harrington <autoglasswny@gmail.com> wrote:

no... tried it. I think I'm running like 6.2 on mac. does it = work on newer versions...?  

On Thu, = Dec 7, 2017 at 5:42 PM, Tom Duke <tom@revolutionaries.ie> wrote:
Brian,

Does= [thisport] not work for you?

- Tom

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_D446A9D4-5437-4971-BE50-EEF831BC9369-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] bring back PORT feature! (Stuart Tremain 2017)
  2. Re: [WebDNA] bring back PORT feature! (Brian Harrington 2017)
  3. Re: [WebDNA] bring back PORT feature! (Stuart Tremain 2017)
  4. Re: [WebDNA] bring back PORT feature! (Brian Harrington 2017)
  5. Re: [WebDNA] bring back PORT feature! (Tom Duke 2017)
  6. [WebDNA] bring back PORT feature! (Brian Harrington 2017)
1380 --Apple-Mail=_D446A9D4-5437-4971-BE50-EEF831BC9369 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Brian This will work on ANY Apache server independent of WebDNA version: It is a three step process and you will need access to the config of = Apache on your server. 1) Enable =E2=80=9Cmods_headers=E2=80=9D in your Apache config LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so = (apache2 on Ubuntu) 2) Add or amend your .htaccess file to include =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D RewriteEngine on RewriteRule .* - [E=3DINFO_SERVER_PORT:%{SERVER_PORT},NE] RequestHeader set INFO_SERVER_PORT "%{INFO_SERVER_PORT}e=E2=80=9D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D 3) Then in your html: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D [text]SERVERPORT=3D[ListMIMEHeaders = name=3DINFO_SERVER_PORT][NAME]=3D[value][/ListMIMEHeaders][/TEXT] SERVERPORT =3D [SERVERPORT] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@idfk.com.au > On 8 Dec 2017, at 08:35, Brian Harrington = wrote: >=20 > no... tried it. I think I'm running like 6.2 on mac. does it work on = newer versions...? =20 >=20 > On Thu, Dec 7, 2017 at 5:42 PM, Tom Duke > wrote: > Brian, >=20 > Does [thisport] not work for you? >=20 > - Tom >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_D446A9D4-5437-4971-BE50-EEF831BC9369 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Brian

This will work = on ANY Apache server independent of WebDNA = version:

It is = a three step process and you will need access to the config of Apache on = your server.

1) = Enable =E2=80=9Cmods_headers=E2=80=9D in your Apache config

LoadModule = headers_module /usr/lib/apache2/modules/mod_headers.so (apache2 on = Ubuntu)


2)  Add or amend your .htaccess = file to include

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RewriteEngine on
RewriteRule .* - = [E=3DINFO_SERVER_PORT:%{SERVER_PORT},NE]
RequestHeader set INFO_SERVER_PORT = "%{INFO_SERVER_PORT}e=E2=80=9D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


3) = Then in your html:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[text]SERVERPORT=3D[ListMIMEHeaders = name=3DINFO_SERVER_PORT][NAME]=3D[value][/ListMIMEHeaders][/TEXT]
SERVERPORT =3D [SERVERPORT]
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D




Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 8 Dec 2017, at 08:35, Brian Harrington <autoglasswny@gmail.com> wrote:

no... tried it. I think I'm running like 6.2 on mac. does it = work on newer versions...?  

On Thu, = Dec 7, 2017 at 5:42 PM, Tom Duke <tom@revolutionaries.ie> wrote:
Brian,

Does= [thisport] not work for you?

- Tom

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_D446A9D4-5437-4971-BE50-EEF831BC9369-- . Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Access Denied! But why? (1997) [SubTotal] ??? (1998) [Webcat 2]Next (1997) Date search - yes or no (1997) redirect & arguments (2001) Frames and WebCat (1997) Uh...can someone help me out with the b10? (1997) Nested Lookups (1998) Multiple fields on 1 input (1997) show all problem (1997) Post Limits (1998) The word TYPE in search contexts and fields (1998) Deleting Multiple Database Records based on Checkbox (1998) ShowNext truncating passed variable?? (1997) [WebDNA] Lookup serial number of purchase? (2011) duplicate cart numbers - New P3P Rule (2002) MS Access data conversion (2001) f2 download problems (1997) SSL problems (1998) encryption in browser? (1998)