Forum Webscript.Ru
Общие => Веб Сервера => Тема начата: Regestor от 14 Сентября 2005, 16:51:42
-
Народ! Кто нибудь работал с этой технологией вообще?
И кто работал именно на Win платформе?
Я хотел бы узнать... как правильно проинсталлировать FastCGI на платформу Win.
Ссылки на всякие там http://fastcgi.com/ мне НЕНУЖНО!
Для начала кто парит в этом просто откликнитесь тогда я смогу дать более правильный вопрос так сказать.
-
Regestor
для каких целей вы собираетесь использовать технологию fast-cgi на вашем сервере?
-
Regestor
кстати на том же fastcgi.com который вы не рекомендовали вам преводить как источник информации содержиться интересное описание:
*** Apache FastCGI Module Installation ***
Notes
=====
See docs/mod_fastcgi.html for configuration information.
This module supports Apache 1.3+. If your server is 1.2 based, either
upgrade or use mod_fastcgi v2.0.18.
mod_fastcgi has not been tested on all of the Apache supported
platforms. These are known to work: SunOS, Solaris, SCO, Linux,
NetBSD (see http://www.netbsd.org/packages/www/ap-fastcgi/), FreeBSD,
Digital Unix, AIX, IRIX, FreeBSD, Windows (NT4 and NT2K), MacOSX
(10.1.4), and QNX (Inet sockets only). If you\'re successful in using
this module on other platforms, please email
fastcgi-developers @ fastcgi.com.
This module is maintained at http://www.fastcgi.com.
See the web page for mailing list information.
Introduction
============
There are three approaches to configure, compile, and install Apache.
o APACI - (Apache 1.3+) described in /INSTALL
o manual - (original) described in /src/INSTALL
o DSO (Dynamic Shared Object) - described in
/htdocs/manual/dso.html
If you have a binary Apache distribution, such as Red Hat\'s Secure
Server (or prefer a DSO based Apache), you have to build mod_fastcgi
as a Dynamic Shared Object (DSO) - see Section 3.
If your on Windows NT, see Section 4.
......................
4) Windows NT
=============
To build mod_fastcgi from the command line:
1. Edit the APACHE_SRC_DIR variable in Makefile.nt.
2. Build the module
> nmake -f Makefile.nt CFG=[debug | release]
To build mod_fastcgi as a project you\'ll need M$ VC++ 6.0:
1. Open the mod_fastcgi project file with the VC++.
2. Edit the Project for your configuration.
a) Select Project->Settings or press .
b) Select "All Configurations" from "Settings For" drop-down menu.
c) Select the "C/C++" tab.
d) Select "Preprocessor" from the "Category" drop-down menu.
e) Edit the path in "Additional include directories" to include your
Apache source header files (e.g. C:\\apache_1.3.12\\src\\include).
f) Select the "Link" tab.
g) Select "General" from the "Category" drop-down menu.
h) Select "Win32 Release" from "Settings For" drop-down menu.
i) Edit the path in "Object/library modules" to include your Apache
Release library (e.g. C:\\apache_1.3.12\\src\\CoreR\\ApacheCore.lib).
j) Select "Win32 Debug" from "Settings For" drop-down menu.
k) Edit the path in "Object/library modules" to include your Apache
Debug library (e.g. C:\\apache_1.3.12\\src\\CoreD\\ApacheCore.lib).
l) Select OK.
3. Select "Set Active Configuration" from the "Build" menu and choose
either a release or debug build.
4. Select "Build mod_fastcgi.dll" from the "Build" menu.
To install mod_fastcgi (built above or retrieved from
http://fastcgi.com/dist/):
1. Copy the mod_fastcgi.dll to the Apache modules directory
(e.g. C:\\Apache\\modules)
2. Edit the httpd configurion file (e.g. C:\\Apache\\conf\\httpd.conf)
and add a line like:
LoadModule fastcgi_module modules/mod_fastcgi.dll
Note that if there\'s a ClearModuleList directive after new entry,
you\'ll have to either move the LoadModule after the ClearModuleList
or add (have a look at how the other modules are handled):
AddModule mod_fastcgi.c
3. Edit the httpd configuration file(s) to enable your FastCGI
application(s). See docs/mod_fastcgi.html for details.
-
commander
не в том была проблема, просто я установил mod_fastcgi и при запуске скрипта мне вылетало окошко про то что по такому то адресу память не может быть Read, и я пдумал кажись чего то я криво поставил или не доставил.. но вскоре решил проблему...
Спасибо...