|
|
| Ligne 2 : |
Ligne 2 : |
| | #BEGIN_MAPPING_v9.0.0_2019/06/12_16_10_57 | | #BEGIN_MAPPING_v9.0.0_2019/06/12_16_10_57 |
| | #DO NOT MODIFY THIS BLOCK. It will be automatically updated. | | #DO NOT MODIFY THIS BLOCK. It will be automatically updated. |
| | + | ServerName mapping-server |
| | Listen 8002 | | Listen 8002 |
| − | NameVirtualHost *:8002
| |
| | <VirtualHost *:8002> | | <VirtualHost *:8002> |
| − | ServerName MAPPING-v9-0-0
| |
| | DocumentRoot "/apps/mapping/MapHTTPServer" | | DocumentRoot "/apps/mapping/MapHTTPServer" |
| − | ScriptAlias "/cgi-bin/ /apps/mapping/MapHTTPServer/cgi-bin/" | + | ScriptAlias /cgi-bin/ "/apps/mapping/MapHTTPServer/cgi-bin/" |
| | <Directory "/apps/mapping/MapHTTPServer"> | | <Directory "/apps/mapping/MapHTTPServer"> |
| | AuthType Basic | | AuthType Basic |
Version actuelle datée du 5 octobre 2023 à 09:21
La section Mapping du fichier httpd.conf devrait alors ressembler à ceci :
#BEGIN_MAPPING_v9.0.0_2019/06/12_16_10_57
#DO NOT MODIFY THIS BLOCK. It will be automatically updated.
ServerName mapping-server
Listen 8002
<VirtualHost *:8002>
DocumentRoot "/apps/mapping/MapHTTPServer"
ScriptAlias /cgi-bin/ "/apps/mapping/MapHTTPServer/cgi-bin/"
<Directory "/apps/mapping/MapHTTPServer">
AuthType Basic
AuthName "Identification"
AuthBasicProvider file
AuthUserFile "/apps/mapping/MapHTTPServer/.htpasswd"
AuthGroupFile "/apps/mapping/MapHTTPServer/.htgroup"
Require valid-user
Options None
</Directory>
</VirtualHost>
#END_MAPPING_v9.0.0_2019/06/12_16_10_57