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: Apache doen't start with mod_fcgid module
Author
cf006al



Joined: 19 Sep 2013
Posts: 3

PostPosted: Thu 19 Sep '13 14:23    Post subject: Apache doen't start with mod_fcgid module Reply with quote

Hello,

I am new on this forum, and also a recent user of Apache.

My system : Windows XP Pro SP2.
My version of Apache : 2.0.64 ( msi file : httpd-2.0.64-win32-x86-openssl-0.9.8o.msi )

I have a local web site developped with perl dancer, which can run in standalone mode. To test it on a server like apache2, I need to use the fastcgi mode.
So, I tried to use the two following modules :

- mod_fastcgi.so, unknown version
- mod_fcgid.so, 2.3.7 version from www.apache.com

To do this, I add the corresponding line in the httpd.conf file :

LoadModule fastcgi_module modules/mod_fastcgi.so for the first.
LoadModule fcgid_module modules/mod_fcgid.so for the second.

In the two situations, the server doesn't start with the message : "The requested operation has failed." in the Error dialog box.
I have also noticed that in these cases, no new informations was written in the error.log file.
Whatelse should be installed on my machine to have a correct configuration ?

Please, can you tell me if it is a known problem or if something's wrong on my computer ?

Thanks.

cf006al
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3093
Location: Hilversum, NL, EU

PostPosted: Thu 19 Sep '13 15:05    Post subject: Reply with quote

Apache 2.0 is not supported anymore is history. Even 2.2 is legacy.

Is there any in the Windows Event Viewer ?

Steffen

ps.
You wrote: mod_fcgid.so, 2.3.7 version from www.apache.com Maybe you can go there also for support.
Back to top
cf006al



Joined: 19 Sep 2013
Posts: 3

PostPosted: Thu 19 Sep '13 20:12    Post subject: Reply with quote

Do you recommand me to install 2.4 version ?

In march 2013 I installed 2.0.64 version because bin files for windows was not available on Apache site.

Today, I can only download the 2.2 version, except if it is possible to get the 2.4 bin files for windows elsewhere ?

cf006al
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Thu 19 Sep '13 20:22    Post subject: Reply with quote

Maybe you overlooked the question: Is there any in the Windows Event Viewer ?

Apache 2.0 should work for you if you have the good mod_fcgid. When you have 2.0.64 from apache.org, then you can download the mod_fcgid from http://apache.hippo.nl/httpd/binaries/win32/

Yep, 2.4 is the only version that is full supported by Apache.

Apache 2.4 you can get it from here. Apache.org is not supplying windows binaries anymore for 2.4, only the source like with linux.


All of us recommending to go for 2.4 !


Steffen
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 19 Sep '13 20:54    Post subject: Reply with quote

apache.org's mod_fcgid/2.3.7 I think is linked against apache.org's 2.2.

If you have to stick to 2.0, at least move to 2.0.65, quite a few vulnerabilities addresses.

2.2 is a rather simple upgrade but it's considered legacy and how long it will be getting support is unknown.

2.4 is current and recommended but there is a learning curve to overcome so be prepared for it.
Back to top
cf006al



Joined: 19 Sep 2013
Posts: 3

PostPosted: Fri 20 Sep '13 12:39    Post subject: Reply with quote

Thanks.

I downloaded a older version of mod_fcgid from http://apache.hippo.nl/httpd/binaries/win32/, the 2.3.6 one.
I have also tested 2.0.65 version, like sugested by glsmith. But the result is always the same "The requested operation has failed."

To sum up :

Apache2 + mod_fcgid => Result

2.0.64 + 2.3.6 => FAILED
2.0.64 + 2.3.6 => FAILED

2.0.65 + 2.3.7 => FAILED
2.0.65 + 2.3.7 => FAILED

Before having a test with 2.2 and 2.4 versions, I wonder if didn't forget some parameter. Is the following enough to hope start the server ?

1) Installation of apache2 (httpd-2.0.6x-win32-x86-openssl-0.9.8y.msi) (x=4;5)
2) Copy of mod_fcgid.so in /Modules
3) Add to httpd.conf the line : LoadModule fcgid_module modules/mod_fcgid.so

When this line is present, should I have to comment this one : LoadModule cgi_module modules/mod_cgi.so ?

glsmith, you said "... but there is a learning curve to overcome so be prepared for it."
Is there a so big difference with previous versions ?

As I am a beginner with Apache, wouldn't I better get involved in the 2.4 version immediately, according to you ?

cf006al
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 20 Sep '13 20:22    Post subject: Reply with quote

Quote:
When this line is present, should I have to comment this one : LoadModule cgi_module modules/mod_cgi.so ?
No
Quote:
glsmith, you said "... but there is a learning curve to overcome so be prepared for it."
Is there a so big difference with previous versions ?
The access & authorization in 2.4 is the big difference and can be difficult to grasp right away. Because of that, most existing configurations will require being rewritten. Many .htaccess files (like come supplied with blog/cms software) will need some modification.

http://httpd.apache.org/docs/2.4/upgrading.html
Give the Run-Time Configuration Changes a look over.

Quote:
As I am a beginner with Apache, wouldn't I better get involved in the 2.4 version immediately, according to you ?
If this is the case ... definitely!
Back to top


Reply to topic   Topic: Apache doen't start with mod_fcgid module View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules