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:

FoundItems Question (1998) Rollovers (1999) Login Page & [Protect] (2001) (1998) Re:Emailer (1998) OrderFile and Cart Crap Again (2000) shipCost formula (1997) contextual shownext (1998) retain raw [cart] submitted value (2004) Running _every_ page through WebCat ? (1997) Possible Bug in 2.0b15.acgi (1997) HTML encoding in URLs (1997) Snake Bites (1997) Plugin or CGI or both (1997) Apple event reply error (-1) (1997) Typo in the Online Docs ... (1997) [WebDNA] ONLY the FIRST continuous run of numeric chars? (2008) taxrate - off by 1 cent (1997) database paths/names, and a typo (1997) RE: Force a number with JavaScript (1998)