Author |
|
dilkush
Joined: 03 Dec 2014 Posts: 9 Location: india
|
Posted: Fri 05 Dec '14 12:56 Post subject: How to include my application include files for SSL |
|
|
Hi,
I have configured my application in apache by including my app's conf file at the end of httpd.conf. my app works fine in when i try to access it using HTTP. but the same app does not work when I try to access through HTTPS.
I need help from this forum to guide me where to include my app specific ".conf" file for https? i tried adding include for this conf file at the end of httpd-ssl.conf and it is not helping.
any suggestions are appreciated very much.
Apache version: 2.4.10
regards
Dilkush |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 08 Dec '14 18:18 Post subject: |
|
|
is your app config a vhost config? In doubr post it at http://apaste.info/ |
|
Back to top |
|
dilkush
Joined: 03 Dec 2014 Posts: 9 Location: india
|
Posted: Mon 08 Dec '14 18:52 Post subject: |
|
|
No, I'm not using vhost config.
below is how i have included my app related conf files at the end of httpd.conf
Include conf/extra/httpd-BI41.conf
Include conf/bobj.AdminTools.conf
Include conf/bobj.BOE.conf
Include conf/bobj.BusinessProcessBI.conf
with the above parameters the app works fine with http. but does not work with https. I tried the above similar configuration in httpd-ssl.conf file to no avail.
does any one has an answer to this?
appreciate your help..
cheers.. Dilkush |
|
Back to top |
|
dilkush
Joined: 03 Dec 2014 Posts: 9 Location: india
|
Posted: Tue 09 Dec '14 8:35 Post subject: |
|
|
I get this error when I access my page.
the URL i'm trying to open is https://<hostname>/BOE/CMC
[Mon Dec 08 22:34:09.166116 2014] [autoindex:error] [pid 19300:tid 1236] [client 10.224.200.11:62144] AH01276: Cannot serve directory D:/Apache24/htdocs/BOE/CMC/: No matching DirectoryIndex (default.htm,index.htm,default.html,index.html) found, and server-generated directory index forbidden by Options directive |
|
Back to top |
|
dilkush
Joined: 03 Dec 2014 Posts: 9 Location: india
|
|
Back to top |
|
dilkush
Joined: 03 Dec 2014 Posts: 9 Location: india
|
Posted: Tue 09 Dec '14 11:32 Post subject: |
|
|
I'm getting this error with https.
Forbidden
You don't have permission to access /BOE/CMC/on this server. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 09 Dec '14 12:15 Post subject: |
|
|
So you may have to modify the DirectoryIndex Setting for the default page in /BOE/CMS inside the SSL vhost
admin note:
dilkush made a separate topic about the permission issue, www.apachelounge.com/viewtopic.php?p=29307 |
|
Back to top |
|
dilkush
Joined: 03 Dec 2014 Posts: 9 Location: india
|
Posted: Tue 09 Dec '14 19:44 Post subject: |
|
|
Hi James,
could you please help me how to have both http and https work with below configuration.
I have enabled https also with the below parameters being embed into httpd.conf
Listen 443
SSLEngine on
ServerName abc@xyz.com:443
ServerAdmin admin@example.com
ErrorLog "D:/Apache24/logs/error.log"
TransferLog "D:/Apache24/logs/access.log"
SSLCertificateFile "D:/Apache24/apache_ssl/apache.crt"
SSLCertificateKeyFile "D:/Apache24/apache_ssl/apache.key"
with this configuration, only https works and not http.
could you please help how to get both of them working. for sure, I will assure you its not an index file issue.
regards
Dilkush |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 18 Dec '14 12:12 Post subject: |
|
|
You one vhost for http and another vhost for https |
|
Back to top |
|