Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion mod_caucho + mod_pagespeed
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kishore  
View profile  
 More options May 17 2011, 1:43 pm
From: kishore <ero...@gmail.com>
Date: Tue, 17 May 2011 10:43:38 -0700 (PDT)
Local: Tues, May 17 2011 1:43 pm
Subject: Re: mod_caucho + mod_pagespeed
Shawn,

But Content-Type seems to be 'text/html' only.

Thanks,
Kishore

On May 17, 9:18 pm, Shawn Ligocki <sligo...@google.com> wrote:

> mod_pagespeed only gets called by Apache for files which serve with
> "Content-Type: text/html", do you think these have a different Content-Type?

> The relavent line in pagespeed.conf is:

> AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html

> -Shawn

> On Tue, May 17, 2011 at 6:52 AM, kishore <ero...@gmail.com> wrote:
> > Josh,

> > I upgraded the version to 0.9.17.6 and tried, but still no success.

> > Nothing gets printed in the error logs, when i access the jsp page
> > even after setting the log level to debug.

> > Also i have changed pagespeedallow to "ModPagespeedAllow *.jsp*"

> > Thanks,
> > Kishore

> > On May 17, 6:02 pm, Joshua Marantz <jmara...@google.com> wrote:
> > > I took a look at mod_caucho.c and it seems OK to me.  Can you increase
> > the
> > > logging level?  As of yesterday's release, 0.9.17.6, mod_pagespeed prints
> > > the reason that it skips a rewrite (e.g. content doesn't look like HTML,
> > > content-type is not text/html, content is already gzipped, module is
> > > disabled, etc).  It does this at loglevel 'debug', so just put:

> > >   loglevel debug

> > > in httpd.conf and restart apache.  Refresh your jsp page from your
> > browser
> > > and then take a look at the log.  You don't want to leave it running with
> > > 'loglevel debug' for a long time or the log file will fill your disk.

> > > The log is usually some place like /var/log/apache2/error.log depending
> > on
> > > your distro.

> > > -Josh

> > > On Tue, May 17, 2011 at 5:30 AM, kishore <ero...@gmail.com> wrote:
> > > > Josh,

> > > > Yes you are right m not getting the X-Mod-Pagespeed header for the jsp
> > > > pages.

> > > > I don't find any option to attach mod_caucho.so file, so i have sent
> > > > it to your Email Address.

> > > > Thanks,
> > > > Kishore

> > > > On May 16, 7:18 pm, Joshua Marantz <jmara...@google.com> wrote:
> > > > > Just to clarify, for the '.jsp' pages they are being served without a
> > > > > X-Mod-Pagespeed header?

> > > > > I think your ModPagespeedAllow will not have any effect.  The default
> > > > setup
> > > > > is that nothing is disallowed based on just name.  If it were, your
> > > > > ModPagespeedAllow would not work because the full URL is used for
> > > > comparison
> > > > > and your pattern starts with a "/".  You probably just want
> > > > "ModPagespeedAllow
> > > > > *.jsp*".  But I don't think that's the problem.

> > > > > I think it's more likely that mod_pagespeed is not seeing the pages
> > > > created
> > > > > by mod_caucho at all because of filter ordering. in Apache or some
> > other
> > > > > inter-module compatibility issue.

> > > > > I dug a little deeper looking for mod_caucho.c on the net to figure
> > out
> > > > how
> > > > > it interacts with the Apache filter chain, but all I could find was
> > what
> > > > > looked like a version that was built for Apache 1.*.  If you have the
> > > > Apache
> > > > > 2.* version of of mod_caucho.c handy could you attach it or send a
> > link
> > > > > where I could find it?

> > > > > On Mon, May 16, 2011 at 9:28 AM, kishore <ero...@gmail.com> wrote:
> > > > > > Hi Josh,

> > > > > > Thanks for the quick reply.

> > > > > > Yes mod_pagespeed is enabled in my server, when i access a html
> > page
> > > > > > filters are working properly (collapse_whitespace,remove_comments)
> > and
> > > > > > m able to see X-Mod-Pagespeed: 0.9.16.9-576 header.

> > > > > > But the same is not happening for jsp pages.

> > > > > > I dont use 'ModPagespeedDisallow' and this is the exact text for
> > > > > > ModPagespeedAllow,

> > > > > > ModPagespeedAllow /*.jsp*

> > > > > > Content-Type: text/html

> > > > > > Thanks,
> > > > > > Kishore

> > > > > > On May 16, 5:09 pm, Joshua Marantz <jmara...@google.com> wrote:
> > > > > > > I haven't heard of mod_caucho before but I just took a quick
> > look.
> > > >  Could
> > > > > > > you describe what's not working?  Is mod_pagespeed enabled, the
> > pages
> > > > it
> > > > > > > severs do not have the "X-Mod-Pagespeed" header?

> > > > > > > Can you give the exact text of your 'ModPagespeedAllow'
> > directive,
> > > > along
> > > > > > > with any 'ModPagespeedDisallow' directives you may have added?

> > > > > > > What content-type is served by pages generated by mod_caucho?

> > > > > > > -Josh

> > > > > > > On Mon, May 16, 2011 at 3:34 AM, kishore <ero...@gmail.com>
> > wrote:
> > > > > > > > mod_caucho


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.