Changes between Initial Version and Version 1 of OSGeo4W_fr/pkg-apache


Ignore:
Timestamp:
Apr 5, 2010, 1:17:45 AM (14 years ago)
Author:
yjacolin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OSGeo4W_fr/pkg-apache

    v1 v1  
     1[[TOC]]
     2
     3[[wiki:OSGeo4W_fr Retour]]
     4
     5= Paquet Apache sur OSGeo4W =
     6
     7== Version ==
     8
     9 * Apache 2.x
     10 * you can also browse the exact versions available for OSGeo4W [http://download.osgeo.org/osgeo4w/release/apache/ here]
     11 * the source is available at [http://httpd.apache.org/ apache.org]
     12
     13== Installation ==
     14
     15=== Automatic Install/Start (Windows 7 and beyond) ===
     16
     17 * the installer will create and start the Apache service during installation automatically
     18   * available since Apache package version 2.2.14-2
     19
     20=== Installation/Démarrage manuel (XP et Vista) ===
     21
     22 * Apache is not automatically installed as a service for WindowsXP & Vista
     23 * to install the Apache service:
     24   * click on the "OSGeo4w" shortcut on your desktop
     25   * the OSGeo4W command window will open
     26   * type the following command:
     27     {{{
     28       apache-install.bat
     29     }}}
     30   * you should see a message such as:
     31     {{{
     32       Installing the Apache OSGeo4W Web Server service
     33       The Apache OSGeo4W Web Server service is successfully installed.
     34       Testing httpd.conf....
     35       Errors reported here must be corrected before the service can be started.
     36       The Apache OSGeo4W Web Server service is starting.
     37       The Apache OSGeo4W Web Server service was started successfully.
     38     }}}
     39 * The ''apache-uninstall.bat'' and ''apache-restart.bat'' commands are also available to uninstall the service, or restart the server.
     40
     41=== Note sur les privilèges administrateurs ===
     42
     43If you are using Vista or more recent, you may receive an error when trying to install the Apache service, such as:
     44{{{
     45  >apache-install.bat
     46  Installing the Apache OSGeo4W Web Server service
     47  (OS 5)Access is denied.  : Failed to open the WinNT service manager
     48  The service name is invalid.
     49
     50  More help is available by typing NET HELPMSG 2185.
     51}}}
     52
     53Starting with Vista, Windows made changes so that you must allow commands to run as administrator.  To get around this, you should:
     54 * right-click on the "OSGeo4W" shortcut on your desktop
     55 * click on "Run as Administrator"
     56[[Image(ticket:145:runas.gif, nolink,title="")]]
     57
     58=== Verifying that Apache is installed as a Service ===
     59
     60 * goto Start Menu/Control Panel/Administrative Tools/Services
     61 * look for the Apache OSGeo4W web server" listed there
     62
     63[[Image(ticket:145:services.PNG, nolink,title="")]]
     64
     65== Port ==
     66
     67 * Currently hardcoded to run on port 80.
     68 * If you wish to have Apache use a different port:
     69   * open ''/osgeo4w/apache/conf/httpd.conf'' in a text editor
     70   * search for "Listen 80" (around line 46)
     71   * change the "80" into another value (such as "8080")
     72   * restart the "Apache OSGeo4W web server" service
     73
     74     Note: if you are having problems with ports, you can use [http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx TCPView] to get a list of active ports
     75
     76== Démarrer ==
     77
     78Once Apache is installed, you can now open an Internet browser (Firefox or Internet Explorer) and goto http://localhost
     79
     80[[Image(ticket:145:localhost.gif, nolink,title="")]]
     81
     82== Maintaineurs ==
     83
     84 * Yewondwossen Assefa
     85 * [http://wiki.osgeo.org/wiki/User:Jmckenna Jeff McKenna]
     86