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: SSL on Apache works Partially !!
Author
K3tone



Joined: 25 Apr 2014
Posts: 2
Location: India

PostPosted: Mon 12 May '14 7:05    Post subject: SSL on Apache works Partially !! Reply with quote

Dear Experts,

I am trying to make Apache SSL work on my SAP BO Environment. I have implemented SSL parameters and conf and now when i access:

http://localhost:<portno>/index.html - It Works !!
https://localhost:<sslPortNo>/index.html - It Works !!

BUT, when i try to login to

http://localhost:<portno>/BOE/BI -- It works !!
https://localhost:<sslPortNo>/BOE/BI -- It DOES NOT work.

It gives me 403 and 404 error... I have checked the logs, it says ..

*************************************
[Wed Apr 30 07:39:29.026297 2014] [mpm_winnt:notice] [pid 8352:tid 352] AH00364: Child: All worker threads have exited.
[Wed Apr 30 07:39:29.041922 2014] [mpm_winnt:notice] [pid 9528:tid 412] AH00430: Parent: Child process 8352 exited successfully.
[Wed Apr 30 07:39:44.745148 2014] [mpm_winnt:notice] [pid 2264:tid 412] AH00455: Apache/2.4.9 (Win64) OpenSSL/1.0.1g mod_jk/1.2.40 configured -- resuming normal operations
[Wed Apr 30 07:39:44.745148 2014] [mpm_winnt:notice] [pid 2264:tid 412] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Wed Apr 30 07:39:44.745148 2014] [core:notice] [pid 2264:tid 412] AH00094: Command line: 'D:\\Apache24\\bin\\httpd.exe -d D:/Apache24'
[Wed Apr 30 07:39:44.745148 2014] [mpm_winnt:notice] [pid 2264:tid 412] AH00418: Parent: Created child process 3116
[Wed Apr 30 07:39:45.713904 2014] [mpm_winnt:notice] [pid 3116:tid 352] AH00354: Child: Starting 64 worker threads.
[Wed Apr 30 07:40:29.057931 2014] [autoindex:error] [pid 3116:tid 944] [client ::1:58834] 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
***************************************

Can you please help me, I dont know what the error means...
Back to top
daniel1975



Joined: 05 Feb 2006
Posts: 24
Location: RO, Bucharest

PostPosted: Tue 13 May '14 18:02    Post subject: Re: SSL on Apache works Partially !! Reply with quote

The very last line from the log file is precious into finding the solution.
It tells you that a certain files like "default.htm" or "index.htm" or "default.html" or "index.html" are expected to be loaded.
From here, in your in your Apache .conf file, usually found at D:\Apache24\conf\httpd.conf, look for a line with "Options ..." referring to your document root folder when using the SSL port and compare it with similar line for document root when a non SSL port is used, align them and restart Apache.
Best of luck!
Back to top
K3tone



Joined: 25 Apr 2014
Posts: 2
Location: India

PostPosted: Sun 18 May '14 14:12    Post subject: Reply with quote

Hi,

I have checked httpd.conf and httpd-ssl.conf, both have same directories postion.

http://prntscr.com/3kayqd

Can you please suggest something else ?
Back to top
daniel1975



Joined: 05 Feb 2006
Posts: 24
Location: RO, Bucharest

PostPosted: Mon 19 May '14 8:52    Post subject: Reply with quote

K3tone wrote:
Hi,

I have checked httpd.conf and httpd-ssl.conf, both have same directories postion.

http://prntscr.com/3kayqd

Can you please suggest something else ?


A combination of 403 and 404 would suggest a .htdocs present with mod_rewrite rules in it which is triggered on secured protocol or customized port...
Back to top


Reply to topic   Topic: SSL on Apache works Partially !! View previous topic :: View next topic
Post new topic   Forum Index -> Apache