Re: using google mod_pagespeed apache module

2013-10-03 Thread John Pollard
Ah, ok understood thanks, the relevant http header is there:
Content-Type: text/html; charset=UTF-8
so will follow up Chuck's thread

On 2 Oct 2013, at 15:23, John Huss johnth...@gmail.com wrote:

 The Content-Type matching uses the HTTP header, not the HTML meta tag.
 
 
 On Wed, Oct 2, 2013 at 8:59 AM, John Pollard j...@pollardweb.com wrote:
 Does anyone use the pagespeed apache module with WO apps?
 
 After installing, this fails to trigger my pages:
 
 AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
 
 despite the following being in the generated pages:
 
 meta http-equiv=Content-Type content=text/html; charset=UTF-8
 
 replacing the above with:
 
 SetOutputFilter MOD_PAGESPEED_OUTPUT_FILTER
 
 works ok, but I can't be indiscriminate with what gets passed through 
 pagespeed
 
 I asked a very similar question on this list about a year ago wrt 
 mod_deflate, but the same workaround is not possible this time
 
 Does anyone know why apache (2.2) might not trigger based on the text/html 
 Content-Type directive?
 
 Many thanks
 John
  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-deploy/johnthuss%40gmail.com
 
 This email sent to johnth...@gmail.com
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-deploy/jpollard%40inrax.com
 
 This email sent to jpoll...@inrax.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: using google mod_pagespeed apache module

2013-10-03 Thread John Pollard
Hi Chuck,

Using: sudo apachectl -e debug -k start
I see WebObjects_module is loaded right before pagespeed_module
Yes I am using mod_rewrite

Amazon Linux
in /etc/httpd/conf.d I have both pagespeed.conf and webobjects.conf

In /etc/httpd/conf/httpd.conf I have:
LoadModule WebObjects_module  /usr/lib64/httpd/modules/mod_WebObjects.so
later other wo-related config then finally
Include /etc/httpd/conf.d/webobjects.conf

There is no reference to pagespeed in my /etc/httpd/conf/httpd.conf (though it 
is loading from /etc/httpd/conf.d/pagespeed.conf)

I have just tried loading and placing config for pagespeed earlier which made 
no difference. Presumably an OutputFilter would apply last of all anyway? Still 
I find that SetOutputFilter works but the AddOutputFilterByType doesn't trigger.

Thanks
John

On 2 Oct 2013, at 16:39, Chuck Hill ch...@global-village.net wrote:

 Are you loading it before or after mod_webobjects?  Are you using
 mod_rewrite?
 
 
 
 On 2013-10-02 6:59 AM, John Pollard j...@pollardweb.com wrote:
 
 Does anyone use the pagespeed apache module with WO apps?
 
 After installing, this fails to trigger my pages:
 
 AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
 
 despite the following being in the generated pages:
 
 meta http-equiv=Content-Type content=text/html; charset=UTF-8
 
 replacing the above with:
 
 SetOutputFilter MOD_PAGESPEED_OUTPUT_FILTER
 
 works ok, but I can't be indiscriminate with what gets passed through
 pagespeed
 
 I asked a very similar question on this list about a year ago wrt
 mod_deflate, but the same workaround is not possible this time
 
 Does anyone know why apache (2.2) might not trigger based on the
 text/html Content-Type directive?
 
 Many thanks
 John
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-v
 illage.net
 
 This email sent to ch...@global-village.net
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-deploy/jpollard%40inrax.com
 
 This email sent to jpoll...@inrax.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: using google mod_pagespeed apache module

2013-10-03 Thread Chuck Hill
Hi John,

Do your rewrite rules have [last,passthrough]?  I recall needing to get
the modules to co-operate.  Other than that, I am not sure what to
suggest.  I do recall having module load order issues with Apache at one
point, but it has been a long time since I did any Apache configuration
from scratch.  mod_rewrite has some extensive logging, it may show if it
is or is not involved in the problem.

Chuck


On 2013-10-03 2:06 AM, John Pollard j...@pollardweb.com wrote:

Hi Chuck,

Using: sudo apachectl -e debug -k start
I see WebObjects_module is loaded right before pagespeed_module
Yes I am using mod_rewrite

Amazon Linux
in /etc/httpd/conf.d I have both pagespeed.conf and webobjects.conf

In /etc/httpd/conf/httpd.conf I have:
LoadModule WebObjects_module  /usr/lib64/httpd/modules/mod_WebObjects.so
later other wo-related config then finally
Include /etc/httpd/conf.d/webobjects.conf

There is no reference to pagespeed in my /etc/httpd/conf/httpd.conf
(though it is loading from /etc/httpd/conf.d/pagespeed.conf)

I have just tried loading and placing config for pagespeed earlier which
made no difference. Presumably an OutputFilter would apply last of all
anyway? Still I find that SetOutputFilter works but the
AddOutputFilterByType doesn't trigger.

Thanks
John

On 2 Oct 2013, at 16:39, Chuck Hill ch...@global-village.net wrote:

 Are you loading it before or after mod_webobjects?  Are you using
 mod_rewrite?
 
 
 
 On 2013-10-02 6:59 AM, John Pollard j...@pollardweb.com wrote:
 
 Does anyone use the pagespeed apache module with WO apps?
 
 After installing, this fails to trigger my pages:
 
 AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
 
 despite the following being in the generated pages:
 
 meta http-equiv=Content-Type content=text/html; charset=UTF-8
 
 replacing the above with:
 
 SetOutputFilter MOD_PAGESPEED_OUTPUT_FILTER
 
 works ok, but I can't be indiscriminate with what gets passed through
 pagespeed
 
 I asked a very similar question on this list about a year ago wrt
 mod_deflate, but the same workaround is not possible this time
 
 Does anyone know why apache (2.2) might not trigger based on the
 text/html Content-Type directive?
 
 Many thanks
 John
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 
https://lists.apple.com/mailman/options/webobjects-deploy/chill%40global
-v
 illage.net
 
 This email sent to ch...@global-village.net
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 
https://lists.apple.com/mailman/options/webobjects-deploy/jpollard%40inra
x.com
 
 This email sent to jpoll...@inrax.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-v
illage.net

This email sent to ch...@global-village.net


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: There is no root named

2013-10-03 Thread Timothy Worman
You can create a new project in Eclipse and use the build.xml from the new 
project. You’ll need to manually edit it to have the proper app name properties.

Good luck.

Tim Worman
UCLA

On Oct 3, 2013, at 12:26 PM, Soles, James T terry.so...@verizon.com wrote:

 All,
  
 I will apologize in advance because I know that I have asked this before but 
 I cannot find the response or the link by searching the web.
  
 I am getting the “There is no root named” error when trying to do a build 
 using ant.  We have recently moved to using Java 7 and I seem to remember 
 that the issue was around my build.xml file being a very old version.  I also 
 seem to remember Chuck having a link to a build.xml file that had the correct 
 format.
  
 Could someone point me to the location where there is an example of a current 
 build.xml file for a WebObjects application?
  
 Thanks,
  
 Terry Soles
 214-273-3916
 (v922) 3916
  
  
  
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-deploy/lists%40thetimmy.com
 
 This email sent to li...@thetimmy.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list  (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com