Автор Тема: Apache + FastCGI  (Прочитано 3400 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Regestor

  • Завсегдатай
  • Новичок
  • *
  • Сообщений: 32
  • +0/-0
  • 0
    • Просмотр профиля
    • http://xsystem.ru/
Apache + FastCGI
« : 14 Сентября 2005, 16:51:42 »
Народ! Кто нибудь работал с этой технологией вообще?
И кто работал именно на Win платформе?

Я хотел бы узнать... как правильно проинсталлировать FastCGI на платформу Win.

Ссылки на всякие там http://fastcgi.com/ мне НЕНУЖНО!
Для начала кто парит в этом просто откликнитесь тогда я смогу дать более правильный вопрос так сказать.

Оффлайн commander

  • Developer
  • Глобальный модератор
  • Ветеран
  • *****
  • Сообщений: 1298
  • +0/-0
  • 2
    • Просмотр профиля
    • http://www.webtips.ru
Apache + FastCGI
« Ответ #1 : 14 Сентября 2005, 17:57:06 »
Regestor
для каких целей вы собираетесь использовать технологию fast-cgi на вашем сервере?
And no religion too...

Оффлайн commander

  • Developer
  • Глобальный модератор
  • Ветеран
  • *****
  • Сообщений: 1298
  • +0/-0
  • 2
    • Просмотр профиля
    • http://www.webtips.ru
Apache + FastCGI
« Ответ #2 : 14 Сентября 2005, 18:00:52 »
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.
And no religion too...

Оффлайн Regestor

  • Завсегдатай
  • Новичок
  • *
  • Сообщений: 32
  • +0/-0
  • 0
    • Просмотр профиля
    • http://xsystem.ru/
Apache + FastCGI
« Ответ #3 : 15 Сентября 2005, 03:24:48 »
commander
не в том была проблема, просто я установил mod_fastcgi и при запуске скрипта мне вылетало окошко про то что по такому то адресу память не может быть Read, и я пдумал кажись чего то я криво поставил или не доставил.. но вскоре решил проблему...

Спасибо...

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28