Jump to content

App compile with Apache Module cannot run in local host


Recommended Posts

1. compiled ess.dll using Apache module and copied to c:\webapp\ess

2. 

Alias /ess "c:/webapps/ess/"

<Directory "c:/webapps/ess/">
    Options Indexes FollowSymLinks MultiViews
  AllowOverride all
  <ifDefine APACHE24>
        Require local
    </ifDefine>
    <ifDefine !APACHE24>
        Order Deny,Allow
    Deny from all
    Allow from localhost ::1 127.0.0.1
    </ifDefine>
</Directory>
 

// httpd.conf entries:
//

 LoadModule webbroker_module modules/mod_webbroker.dll

 <Location /ess>
    SetHandler mod_webbroker-handler
 </Location>
//

Nb. Apache 2.4 was stopped before editing  httpd.conf & could be started.


 

3. Tried running in localhost/ess/ess.dll

This localhost page can’t be found

No webpage was found for the web address: http://localhost/ess/ess.dll

HTTP ERROR 404
 
What am I doing wrong?

 

 

 

Forbidden

You don't have permission to access /ess.dll on this server.


Apache/2.4.23 (Win64) PHP/7.0.10 Server at localhost Port 8080
 
After I tried localhost:8080/ess.dll

 

Link to post
Share on other sites
  • 4 weeks later...

In httpd.conf you need the isapi and mime modules, as well as mime setup for dll files.

Quote

 

LoadModule isapi_module modules/mod_isapi.so
LoadModule mime_module modules/mod_mime.so

<IfModule mime_module>
    AddHandler isapi-handler .dll
</IfModule>

 

 

Link to post
Share on other sites
×
×
  • Create New...