Page 1 of 1

PDF Report Fail To Create

Posted: Wed Nov 18, 2020 1:08 pm
by wlessard
When we create a PDF to download. We get a page stating

Not Found
The requested URL %/nagiosxi/components/capacityplanning/capacityplanning.php

I do see that it exists
-rw-r--r-- 1 nagios nagios 343985 Oct 27 13:53 /usr/local/nagiosxi/html/includes/components/capacityplanning/capacityplanning.php

From the httpd/error.log when creating a pdf report
Loading pages (1/6)
Warning: SSL error ignored
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
Exit with code 1 due to network error: ContentNotFoundError

Not sure where esle to look. Thanks in advanced for all help.

Re: PDF Report Fail To Create

Posted: Wed Nov 18, 2020 9:48 pm
by wlessard
Please close this. I resolved it.

Some how in the ssl.conf file on the redirect to https there was a % in the url before $1

RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]

Re: PDF Report Fail To Create

Posted: Thu Nov 19, 2020 2:34 pm
by benjaminsmith
HI,

Sounds good. Thanks for following up your solution.