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 -> Apache View previous topic :: View next topic
Reply to topic   Topic: Mod Pagespeed
Author
moncho



Joined: 06 Apr 2015
Posts: 2
Location: Switzerland

PostPosted: Mon 06 Apr '15 10:55    Post subject: Mod Pagespeed Reply with quote

Hello
I'm about to install mod-pagespeed on my webserver. i followed a tutorial but then i got an error message.


Code:
root@vm0247 [~]# /etc/init.d/httpd restart
httpd: Syntax error on line 36 of /usr/local/apache/conf/httpd.conf: Could not open configuration file /usr/local/apache/\xe2\x80\x9c/usr/local/apache/conf/pagespeed.conf\xe2\x80\x9d: No such file or directory
root@vm0247 [~]#



For me it looks like there are some trouble in die filebase with backslashes instead of slashes....is this right? D i have to modify httpd.conf on line 36?

i'm really a newbie in apache......
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Mon 06 Apr '15 11:35    Post subject: Reply with quote

You did not tell what's there in line 36, but it looks like it should be:
Code:
Include conf/pagespeed.conf
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Mon 06 Apr '15 11:44    Post subject: Reply with quote

BTW: \xE2\x80\x9C == LEFT DOUBLE QUOTATION MARK
Remove all single or double quotes.
Back to top
moncho



Joined: 06 Apr 2015
Posts: 2
Location: Switzerland

PostPosted: Mon 06 Apr '15 11:54    Post subject: Reply with quote

Jan-E wrote:
You did not tell what's there in line 36, but it looks like it should be:
Code:
Include conf/pagespeed.conf


you are right. on line 36 is the include of the pagespeed.conf

the tutorial code was:
Code:
Include “/usr/local/apache/conf/pagespeed.conf”


now i changed to
Quote:
Include /usr/local/apache/conf/pagespeed.conf

like you proposed.

it seeme that there was a problem but now i get the following error:


httpd: Syntax error on line 35 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf/pagespeed.conf: Cannot load /usr/local/apache/modules/mod_pagespeed.so into server: /usr/local/apache/modules/mod_pagespeed.so: undefined symbol: unixd_config[/code]
Code:
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Mon 06 Apr '15 13:50    Post subject: Reply with quote

The tutorial was wrong in using the 'curly' quotes in the include line.

And a quick Google search on unixd_config learned that your mod_pagespeed.so is probably compiled for Apache 2.2. The Apache API changed from 2.2 to 2.4, unixd_config was renamed ap_unixd_config. You need a mod_pagespeed.so that is compatible with Apache 2.4.
Back to top


Reply to topic   Topic: Mod Pagespeed View previous topic :: View next topic
Post new topic   Forum Index -> Apache