logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Does mod_pagespeed fix HTML errors?
Author
csdude55



Joined: 22 Jan 2023
Posts: 17
Location: USA, Wilkesboro

PostPosted: Thu 28 Dec '23 20:23    Post subject: Does mod_pagespeed fix HTML errors? Reply with quote

My sites are mostly UGC, and I also cURL some RSS feeds. So every once in awhile I'll get HTML errors; some even mess up the whole page!

The most common is when a user copy and pastes something with a left or right accent inside of an anchor tag, and my system converts it to a single or double quote. That can place the entire text inside of an anchor tag with no close :-O

I hadn't seen these errors in a long time and I thought that I'd fixed it. But I recently removed mod_pagespeed because I had a ton of errors in the log from it, and now those HTML errors are back!

Was mod_pagespeed fixing them, and I didn't know?

If so, is there a more stable module that does the same thing? Or should I reinstall mod_pagespeed and just ignore the errors?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Fri 29 Dec '23 17:47    Post subject: Reply with quote

Your software should fix that, not an apache module.

An option might be mod_substitute [1]
For other backends you may use mod_proxy_html [2] it has a ProxyHTMLFixups function


[1] https://httpd.apache.org/docs/2.4/mod/mod_substitute.html
[2] https://httpd.apache.org/docs/2.4/mod/mod_proxy_html.html
Back to top
csdude55



Joined: 22 Jan 2023
Posts: 17
Location: USA, Wilkesboro

PostPosted: Fri 29 Dec '23 20:58    Post subject: Reply with quote

Quote:
Your software should fix that, not an apache module.


Oh yeah, and I do my best! LOL It just never fails that a user copies something from a site with some weird code that I didn't expect. And since I hadn't had a problem in a long time until JUST after I removed mod_pagespeed, I wasn't sure whether it was a coincidence.

Thanks for the module suggestions!
Back to top


Reply to topic   Topic: Does mod_pagespeed fix HTML errors? View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules