mirror of
https://github.com/darold/sendmailanalyzer.git
synced 2026-05-15 22:02:32 -06:00
[GH-ISSUE #47] Cannot see UI page #38
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/sendmailanalyzer#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kennoosh on GitHub (May 19, 2017).
Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/47
Hi I installed the sendmailanalyzer following the instruction, but when I open the page: https://xx.xx.xx.xx/sareport/; it doesn't give me any UI page, it only show all perl scripts; please review the attached file; do you know why is that?
sareport.txt
Thanks
@kennoosh commented on GitHub (May 19, 2017):
the OS is ubuntu 14; perl is v5.22.1, and I have installed " MIME::Base64"
@darold commented on GitHub (May 19, 2017):
The problem is not related to the perl script but to your Apache configuration. See INSTALLATION in the documentation (README file) and especially the "Post install" chapter and the configuration sample:
@kennoosh commented on GitHub (May 19, 2017):
I added that setting in the apache, but I got 403 forbidden issue:
Alias /sareport /usr/local/sendmailanalyzer/www
<Directory /usr/local/sendmailanalyzer/www>
Options ExecCGI
AddHandler cgi-script .cgi
DirectoryIndex sa_report.cgi
Order deny,allow
Allow from all
# Allow from .example.com
I googled it and someone suggested to use "Require all granted" instead of "Order deny,allow"; so I changed it as:
Alias /sareport /usr/local/sendmailanalyzer/www
<Directory /usr/local/sendmailanalyzer/www>
Options ExecCGI
AddHandler cgi-script .cgi
DirectoryIndex sa_report.cgi
Require all granted
# Allow from .example.com
The I can access it but the response is not UI page, it just show all perl scripts;
@darold commented on GitHub (May 21, 2017):
What is your version of Apache httpd server (output of
apache2 -v) and the version of your operating system?@darold commented on GitHub (May 21, 2017):
Sorry, I just seen your note above: OS is ubuntu 14, I have the same on my laptop and my configuration is:
into /etc/apache2/sites-enabled/000-default.conf default virtual host.
@kennoosh commented on GitHub (May 21, 2017):
Does it work for you ? my apache version is 2.4, and I added it in /etc/apache2/sites-enabled/default-ssl.conf because we disabled the HTTP request; all http request will automatically be rewritten to HTTPS;
@darold commented on GitHub (May 22, 2017):
Yes it works great for me, perhaps you have to enable the cgi module too.
@kennoosh commented on GitHub (May 22, 2017):
yeah, it works, thank you very much