Установка asp.net на сервере Apache WAMP останавливает службу Apache - PullRequest
0 голосов
/ 15 февраля 2019

Я пытаюсь установить asp.net в WAMP.Моя версия WAMP 3.1.7 , а версия Apache 2.4.37 .Я также установил mod_aspdotnet-2.2.0.2006-setup-r2.ms по этому пути:

    C:\wamp64\bin\apache\apache2.4.37

И добавьте следующие строки в файл httpd.conf:

    LoadModule aspdotnet_module "C:/wamp64/bin/apache/apache2.4.37/modules/mod_aspdotnet.so"

   <IfModule mod_aspdotnet.cpp>
   # Mount the ASP.NET /ASP application
   AspNetMount /ASP "C:/wamp64/www/ASP"

   # Map all requests for /ASP to the application files
   Alias /ASP "C:/wamp64/www/ASP"

   # Allow asp.net scripts to be executed in the /ASP folder
   <Directory "C:/wamp64/www/ASP">
   # Set asp.net options
   Options Indexes FollowSymLinks Includes +ExecCGI
   # Set asp.net permissions
   Order allow,deny
   Allow from all
   # Set asp.net default index page to .aspx and .htm
   DirectoryIndex index.aspx index.htm
   </Directory>

    # Set aspnet_client files to serve the client-side helper scripts.
    AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
    <Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">
    Options FollowSymlinks
    Order allow,deny
    Allow from all
    </Directory>
    </IfModule>

Теперь, когда я перезапускаю WAMP, служба Apache останавливается.

Я проверяю C: /Windows/Microsoft.NET/Framework/v * / путь и папка ASP.NETClientFiles не существует.Как я могу решить проблему?

...