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: I need help with https and setting up access and error log
Author
roki100



Joined: 20 Dec 2018
Posts: 3
Location: Poland

PostPosted: Thu 20 Dec '18 23:38    Post subject: I need help with https and setting up access and error log Reply with quote

Hello!
Apache2
Ubuntu 16.04

My problem is that my https seems to be not fully working, in browser https:// connection works good, but in apps like discord that does embed link
(by embed i mean things like: <meta name="og:site_name" content="texthere">)
and on http:// it does embed but on https:// not, site that does POST request to my webserver works also only on http:// but not https:// it seems something is wrong but i dont know what, can someone help me? (https:// doesnt embed by IP url and DNS url)

And also i need help with configuring error.log and access.log, what i need do to start that logs?

Thanks in advance!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

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

Example for a ssl vhost

Code:

ErrorLog /opt/apache2/logs/ssl.localhost_error.log
   TransferLog /opt/apache2/logs/ssl.localhost_access.log



For a non ssl vhost

Code:

   ErrorLog /opt/apache2/logs/vhost.error.log
   TransferLog /opt/apache2/logs/vhost.access.log
Back to top
roki100



Joined: 20 Dec 2018
Posts: 3
Location: Poland

PostPosted: Fri 28 Dec '18 5:14    Post subject: Reply with quote

James Blond wrote:
Example for a ssl vhost

Code:

ErrorLog /opt/apache2/logs/ssl.localhost_error.log
   TransferLog /opt/apache2/logs/ssl.localhost_access.log



For a non ssl vhost

Code:

   ErrorLog /opt/apache2/logs/vhost.error.log
   TransferLog /opt/apache2/logs/vhost.access.log


if i have ssl and no ssl support in webserver, i need to do that both? and what in this names i need replace?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Fri 04 Jan '19 9:56    Post subject: Reply with quote

See some example vhosts https://gist.github.com/JBlond/5ae987627c4b6b025f1475df0c32f77d

See also https://httpd.apache.org/docs/2.4/logs.html
Back to top
roki100



Joined: 20 Dec 2018
Posts: 3
Location: Poland

PostPosted: Fri 04 Jan '19 15:53    Post subject: Reply with quote

Okay thanks!
Back to top


Reply to topic   Topic: I need help with https and setting up access and error log View previous topic :: View next topic
Post new topic   Forum Index -> Apache