logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to include my application include files for SSL
Author
dilkush



Joined: 03 Dec 2014
Posts: 9
Location: india

PostPosted: Fri 05 Dec '14 12:56    Post subject: How to include my application include files for SSL Reply with quote

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: 7306
Location: Germany, Next to Hamburg

PostPosted: Mon 08 Dec '14 18:18    Post subject: Reply with quote

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

PostPosted: Mon 08 Dec '14 18:52    Post subject: Reply with quote

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

PostPosted: Tue 09 Dec '14 8:35    Post subject: Reply with quote

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

PostPosted: Tue 09 Dec '14 10:25    Post subject: Reply with quote

james,
please check out this link http://apaste.info/sXB
Back to top
dilkush



Joined: 03 Dec 2014
Posts: 9
Location: india

PostPosted: Tue 09 Dec '14 11:32    Post subject: Reply with quote

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: 7306
Location: Germany, Next to Hamburg

PostPosted: Tue 09 Dec '14 12:15    Post subject: Reply with quote

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

PostPosted: Tue 09 Dec '14 19:44    Post subject: Reply with quote

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: 7306
Location: Germany, Next to Hamburg

PostPosted: Thu 18 Dec '14 12:12    Post subject: Reply with quote

You one vhost for http and another vhost for https
Back to top


Reply to topic   Topic: How to include my application include files for SSL View previous topic :: View next topic
Post new topic   Forum Index -> Apache