The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: mod_proxy_wstunnel on win32 not running  (Read 3590 times)

marknen

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
mod_proxy_wstunnel on win32 not running
« on: September 23, 2014, 06:32:47 PM »

Hello there! I've downloaded an Apache Haus distribution (httpd 2.4.10 x86) in order to attempt to get mod_proxy_wstunnel going on Windows.

I installed vcredist_x86.exe as well.

When I try to add LoadModule mod_proxy_wstunnel modules/mod_proxy_wstunnel.so to my config, I get the following error: "Syntax error on line...of...httpd.conf: Cannot load....%1 is not a valid Win32 application."

I am running 64 bit Windows 7, though, so I also tried the 64 bit package (with the vcredist_x64)

But I've also get the exact same error in that case.

Am I missing something here? I'd appreciate any pointers!
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 828
Re: mod_proxy_wstunnel on win32 not running
« Reply #1 on: September 23, 2014, 09:52:35 PM »

try:
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

See the difference from yours? I'll assume that is a typo on this board and not actually in your httpd.conf file for now.

"Syntax error on line...of...httpd.conf: Cannot load....%1 is not a valid Win32 application."
This specific error however usually happens when you try to load a x64 module in a x86 server or vice-verse.

I'll download the packages and install them on my machines and see. Maybe a package got the wrong module but I find that kind of hard since it is all scripted and they are packaged one at a time.

Out of the compiler they all load properly on the various machines I test them on prior to release.
« Last Edit: September 24, 2014, 01:50:01 AM by Gregg »
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 828
Re: mod_proxy_wstunnel on win32 not running
« Reply #2 on: September 23, 2014, 11:17:53 PM »

"Syntax error on line...of...httpd.conf: Cannot load....%1 is not a valid Win32 application."
This specific error however usually happens when you try to load a x64 module in a x86 server or vice-verse.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Final Edit: It has to be this... or some similar mixture of Apache (2.2 vs 2.4), VC versions (11 vs 9) or architecture (x86 vs x64)

Tests, I will add to this as I go during testing.

Checksums ok on both servers.
Checksums ok after download from Site.
Checksums ok after download from DE mirror.

2.4.10 VC11 x86 on Vista x86
Tested ok!
Once I replaced the module with one from the x64 package I got:
httpd: Syntax error on line 150 of C:/Apache24/conf/httpd.conf: Cannot load modules/mod_proxy_wstunn
el.so into server: %1 is not a valid Win32 application.


2.4.10 VC9 x86 on Vista
Tested ok!
Error after replacing module with one from x64 package.

2.4.10 VC11 x64 on Win7 x64
Tested ok!
Same error but with x86 module

2.4.10 VC9 on Win7 x64
Tested ok!
Same error but with x86 module


Virustotal (false positives do happen):
VC9 x86 https://www.virustotal.com/en/file/19ec0bc8542704cb61c7eeff8a4bd041a9488bb790de6394f3c03c5aca659046/analysis/1411507241/
VC9 x64 https://www.virustotal.com/en/file/5211f700b7483d9b57d6c47ef6d0068f11380bc062fa28cd4d70937ab8152404/analysis/1411507636/
VC11 x86 https://www.virustotal.com/en/file/a2ded97b69830cc9a0583b8ce78762748a1c2e7a220079ac424f605bbb215279/analysis/1411507895/
VC11 x64  https://www.virustotal.com/en/file/a1035fb0550399e19f9e3e1eafb7efc80faff1f3e0018feffb3acbee759f05ea/analysis/1411510915/


Checksums:

Code: [Select]
Post Packaging
=======================================================================
httpd-2.4.10-x64-vc11.zip     7ffdc55bbb407acf28f9a6526fc142993bae19df
httpd-2.4.10-x64.zip          7e71affe8156ad9c36042ccb6dc82824be716539
httpd-2.4.10-x86-vc11.zip     bb4441b584858e51a40316edcf56632015461a3a
httpd-2.4.10-x86.zip          759d28dd41577cf61120729b7732a48bd8cdd161

Site Downloads
=======================================================================
httpd-2.4.10-x64-vc11.zip     7ffdc55bbb407acf28f9a6526fc142993bae19df
httpd-2.4.10-x64.zip          7e71affe8156ad9c36042ccb6dc82824be716539
httpd-2.4.10-x86-vc11.zip     bb4441b584858e51a40316edcf56632015461a3a
httpd-2.4.10-x86.zip          759d28dd41577cf61120729b7732a48bd8cdd161

DE Downloads
=======================================================================
httpd-2.4.10-x64-vc11.zip     7ffdc55bbb407acf28f9a6526fc142993bae19df
httpd-2.4.10-x64.zip          7e71affe8156ad9c36042ccb6dc82824be716539
httpd-2.4.10-x86-vc11.zip     bb4441b584858e51a40316edcf56632015461a3a
httpd-2.4.10-x86.zip          759d28dd41577cf61120729b7732a48bd8cdd161

« Last Edit: September 24, 2014, 01:51:31 AM by Gregg »
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13