Fixing paths for apache error and access logs (#28580)

Paths were saved to:
/var/log/apache2helloapp-error.log
/var/log/apache2helloapp-access.log

Instead, it should be:
/var/log/apache2/helloapp-error.log
/var/log/apache2/helloapp-access.log
pull/28588/head
Selvin Fehric 2023-03-05 21:01:55 +01:00 committed by GitHub
parent 9e938bdb12
commit 20651ef8e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -156,8 +156,8 @@ Create a configuration file, named *helloapp.conf*, for the app:
ProxyPassReverse / http://127.0.0.1:5000/
ServerName www.example.com
ServerAlias *.example.com
ErrorLog ${APACHE_LOG_DIR}helloapp-error.log
CustomLog ${APACHE_LOG_DIR}helloapp-access.log common
ErrorLog ${APACHE_LOG_DIR}/helloapp-error.log
CustomLog ${APACHE_LOG_DIR}/helloapp-access.log common
</VirtualHost>
```