Jump to content


Photo

ssl isapi apache


  • Please log in to reply
1 reply to this topic

#1 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 675 posts

Posted 13 November 2017 - 04:38 PM

Hi.

 

I open this new topic, linked to http://forums.unigui...encrypt-unigui/

 

I need to access to my apps via https.

 

I have isapi, under apache 2.2 on windows.

 

I´m almost sure this is an apache issue, but need your help, and could be useful for more users to have a guide about how to do this.

 

Thanks in advance


  • 0

#2 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 675 posts

Posted 14 November 2017 - 12:51 PM

Ok.

 

I've got it.

 

Share with you, if you need. (perhaps all of you already know, but ....)

 

Configure ISAPI Modile with Apache 2.2 under windows

 

In my installation:

 

There are 2 configuration files, c:\apache2\conf\httpd..conf and c:\apache2\conf\extra\httpd-ssl.conf

 

In file c:\apache2\conf\httpd..conf, uncomment the lines:

 

LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
 

 

In file c:\apache2\conf\extra\httpd-ssl.conf

<VirtualHost _default_:443>
    ServerAdmin mymail@gmail.com
    DocumentRoot "c:/webapps"
    ServerName localhost
    ServerAlias localhost:443
    ErrorLog "logs/anyFile-error.log"
    CustomLog "logs/anyFile-access.log" common
    SSLEngine on
    SSLCertificateFile C:/apache2/conf/server.crt
    SSLCertificateKeyFile C:/apache2/conf/server.key
</VirtualHost>                                  
 

And be carefull with listen port. Can't be the same in httpd.conf and httpd-ssl.conf.

 

In file c:\apache2\conf\httpd..conf: Listen 8077

In file c:\apache2\conf\extra\httpd-ssl.conf: Listen 443

 

And that's all.

 

This works nice for me.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users