Re: [WebDNA] mod_deflate and webdna
This WebDNA talk-list message is from 2017
It keeps the original formatting.
numero = 113668
interpreted = N
texte = 1263I don=92t know much about the lighthttpd / fastcgi platform (and don=92t =have a system to test)=85 but maybe whatever WebDNA is sending back to =the server is not being seen as type =91text/html=92?..=46rom quick look, it seems that is the main deciding factor of if =mod_deflate enacts on a file.. mimetype.=20>>>>> deflate.mimetypes =3D ("text/html=94,DonovanOn Aug 17, 2017, at 10:24 AM, Donovan Brooke
wrote:> He said it doesn=92t work with webdna-activated .html suffixes as =well.>=20>=20>=20>=20> On Aug 17, 2017, at 4:29 AM, christophe.billiottet@webdna.us wrote:>=20>> The mod_deflate does not involve WebDNA: it is purely a web server =matter. There is either a bug or the config is not the proper one, or =there is a trick to activate it with .dna files.>>=20>> - chris>>=20>>=20>>=20>>> On Aug 17, 2017, at 11:40, Noah Valley wrote:>>>=20>>> Yes, as soon as I add "=93 it does not work (no =matter if .dna or .html)=85>>> So I give up and try again in a few years=85>>>=20>>>=20>>>=20>>>> Am 15.08.2017 um 05:35 schrieb Stuart Tremain :>>>>=20>>>> Noah>>>>=20>>>> If you change the suffix on your .dna pages to .html do you get the =desired result ?>>>>=20>>>> Just change some of your dynamic pages to .html and see if they =work, if they do then the problem is in your settings, if they don=92t =then you have answered your question about dynamic pages.>>>>=20>>>>=20>>>> Kind regards>>>>=20>>>> Stuart Tremain>>>> Pharoah Lane Software>>>> AUSTRALIA>>>> webdna@idfk.com.au>>>>=20>>>>=20>>>>=20>>>>=20>>>>=20>>>>=20>>>>> On 14 Aug 2017, at 19:30, Noah Valley wrote:>>>>>=20>>>>> Yes, we just went full circle.>>>>> Somehow mod_deflate does not make the server compress the =..dna-files but it compresses .html-files...>>>>>=20>>>>> "Either mod_deflate does not work with dynamic pages, or there's =still a bad configuration somewhere=93 - exactly my original question.>>>>> Can someone tell me if mod_deflate does not compress dynamic pages =or help me with my config? What am I missing?>>>>>=20>>>>> **********>>>>> server.modules =3D (>>>>> =85>>>>> =84mod_deflate=93,>>>>> ...>>>>> )>>>>>=20>>>>> ...>>>>>=20>>>>> mimetype.assign =3D (>>>>> =85>>>>> ".dna" =3D> "text/html",>>>>> =85>>>>> )>>>>>=20>>>>> =85>>>>>=20>>>>> deflate.mimetypes =3D ("text/html", "text/plain", "text/css", ="text/javascript", "text/xml")>>>>> deflate.allowed-encodings =3D ( "bzip2", "gzip", "deflate" )>>>>> deflate.max-compress-size =3D 131072>>>>> deflate.min-compress-size =3D 256>>>>> deflate.compression-level =3D 9>>>>> deflate.work-block-size =3D 2048>>>>>=20>>>>> **********>>>>>=20>>>>> Thanks...>>>>>=20>>>>>=20>>>>>> Am 09.08.2017 um 20:45 schrieb Kenneth Grome =:>>>>>>=20>>>>>>> ... both normal 200 response codes.>>>>>>=20>>>>>> My test did not produce a normal 200 response code for test.html.>>>>>> When I compared them, test.html sent these two GET headers which>>>>>> test.dna did not send:>>>>>>=20>>>>>> If-Modified-Since: Wed, 09 Aug 2017 13:31:36 GMT>>>>>> If-None-Match: "3057404114-gzip">>>>>>=20>>>>>> Also the HTTP header for test.html was:>>>>>>=20>>>>>> HTTP/1.1 304 Not Modified>>>>>>=20>>>>>> ... and these other response headers for test.html were absent>>>>>> from test.dna:>>>>>>=20>>>>>> Accept-Ranges: bytes>>>>>>=20>>>>>> Etag: "3057404114-gzip">>>>>>=20>>>>>> Last-Modified: Wed, 09 Aug 2017 13:31:36 GMT>>>>>>=20>>>>>> Vary: Accept-Encoding>>>>>>=20>>>>>> Bottom line: Either mod_deflate does not work with dynamic =pages,>>>>>> or there's still a bad configuration somewhere.>>>>>>=20>>>>>> Regards,>>>>>> Kenneth Grome>>>>>> WebDNA Solutions>>>>>> http://www.webdnasolutions.com>>>>>> Web Database Systems and Linux Server Administration>>=20>>=20>>=20>>=20>>=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>=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 tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
1263I don=92t know much about the lighthttpd / fastcgi platform (and don=92t =have a system to test)=85 but maybe whatever WebDNA is sending back to =the server is not being seen as type =91text/html=92?..=46rom quick look, it seems that is the main deciding factor of if =mod_deflate enacts on a file.. mimetype.=20>>>>> deflate.mimetypes =3D ("text/html=94,DonovanOn Aug 17, 2017, at 10:24 AM, Donovan Brooke wrote:> He said it doesn=92t work with webdna-activated .html suffixes as =well.>=20>=20>=20>=20> On Aug 17, 2017, at 4:29 AM, christophe.billiottet@webdna.us wrote:>=20>> The mod_deflate does not involve WebDNA: it is purely a web server =matter. There is either a bug or the config is not the proper one, or =there is a trick to activate it with .dna files.>>=20>> - chris>>=20>>=20>>=20>>> On Aug 17, 2017, at 11:40, Noah Valley wrote:>>>=20>>> Yes, as soon as I add "=93 it does not work (no =matter if .dna or .html)=85>>> So I give up and try again in a few years=85>>>=20>>>=20>>>=20>>>> Am 15.08.2017 um 05:35 schrieb Stuart Tremain :>>>>=20>>>> Noah>>>>=20>>>> If you change the suffix on your .dna pages to .html do you get the =desired result ?>>>>=20>>>> Just change some of your dynamic pages to .html and see if they =work, if they do then the problem is in your settings, if they don=92t =then you have answered your question about dynamic pages.>>>>=20>>>>=20>>>> Kind regards>>>>=20>>>> Stuart Tremain>>>> Pharoah Lane Software>>>> AUSTRALIA>>>> webdna@idfk.com.au>>>>=20>>>>=20>>>>=20>>>>=20>>>>=20>>>>=20>>>>> On 14 Aug 2017, at 19:30, Noah Valley wrote:>>>>>=20>>>>> Yes, we just went full circle.>>>>> Somehow mod_deflate does not make the server compress the =..dna-files but it compresses .html-files...>>>>>=20>>>>> "Either mod_deflate does not work with dynamic pages, or there's =still a bad configuration somewhere=93 - exactly my original question.>>>>> Can someone tell me if mod_deflate does not compress dynamic pages =or help me with my config? What am I missing?>>>>>=20>>>>> **********>>>>> server.modules =3D (>>>>> =85>>>>> =84mod_deflate=93,>>>>> ...>>>>> )>>>>>=20>>>>> ...>>>>>=20>>>>> mimetype.assign =3D (>>>>> =85>>>>> ".dna" =3D> "text/html",>>>>> =85>>>>> )>>>>>=20>>>>> =85>>>>>=20>>>>> deflate.mimetypes =3D ("text/html", "text/plain", "text/css", ="text/javascript", "text/xml")>>>>> deflate.allowed-encodings =3D ( "bzip2", "gzip", "deflate" )>>>>> deflate.max-compress-size =3D 131072>>>>> deflate.min-compress-size =3D 256>>>>> deflate.compression-level =3D 9>>>>> deflate.work-block-size =3D 2048>>>>>=20>>>>> **********>>>>>=20>>>>> Thanks...>>>>>=20>>>>>=20>>>>>> Am 09.08.2017 um 20:45 schrieb Kenneth Grome =:>>>>>>=20>>>>>>> ... both normal 200 response codes.>>>>>>=20>>>>>> My test did not produce a normal 200 response code for test.html.>>>>>> When I compared them, test.html sent these two GET headers which>>>>>> test.dna did not send:>>>>>>=20>>>>>> If-Modified-Since: Wed, 09 Aug 2017 13:31:36 GMT>>>>>> If-None-Match: "3057404114-gzip">>>>>>=20>>>>>> Also the HTTP header for test.html was:>>>>>>=20>>>>>> HTTP/1.1 304 Not Modified>>>>>>=20>>>>>> ... and these other response headers for test.html were absent>>>>>> from test.dna:>>>>>>=20>>>>>> Accept-Ranges: bytes>>>>>>=20>>>>>> Etag: "3057404114-gzip">>>>>>=20>>>>>> Last-Modified: Wed, 09 Aug 2017 13:31:36 GMT>>>>>>=20>>>>>> Vary: Accept-Encoding>>>>>>=20>>>>>> Bottom line: Either mod_deflate does not work with dynamic =pages,>>>>>> or there's still a bad configuration somewhere.>>>>>>=20>>>>>> Regards,>>>>>> Kenneth Grome>>>>>> WebDNA Solutions>>>>>> http://www.webdnasolutions.com>>>>>> Web Database Systems and Linux Server Administration>>=20>>=20>>=20>>=20>>=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>=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 tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
Donovan Brooke
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:
Credit card types (1997)
Forcing a NEWCART (1997)
Nested tags count question (1997)
Requiring that certain fields be completed (1997)
random random links (1999)
Ampersand (1997)
[movefile] (1999)
Restart of DBserver (1997)
Can GMT be called from the OS ? (2004)
Running _every_ page through WebCat ? (1997)
Been to the SmithMicro site lately??? (2008)
WebCat2b13MacPlugIn - [include] (1997)
Moment of Thanks (1997)
WebCatalog [FoundItems] Problem - LONG - (1997)
Automated FTP from Shell - Update (2004)
Goodbyes (2007)
FAX orders (1996)
Server slowing down. (1997)
WC1.6 to WC2 date formatting -FIXED! (1997)
still facing truncated [texta] problem (2000)