[GH-ISSUE #84] httpd.conf configuration not working #68

Closed
opened 2026-05-05 15:03:42 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @randelski on GitHub (Feb 6, 2024).
Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/84

I'm having an issue wherein after I configured the necessary configurations and copied the sendmailanalyzer in the directory of /usr/lib/systemd/system/

it doesn't open still and also this link
" 4. Browse to http://mta.host.dom/sareport/ to ensure that things are working properly." also appears to be broken.

does this support centos 7?? if so why does it say this?

[root@gracious-hodgkin ~]# systemctl start sendmailanalyzer.service
Failed to start sendmailanalyzer.service: Unit not found.

Even though when I checked the status it says

[root@gracious-hodgkin system]# systemctl status sendmailanalyzer.service
● sendmailanalyzer.service - SendmailAnalyzer a sendmail/postfix log analyzer
Loaded: loaded (/usr/lib/systemd/system/sendmailanalyzer.service; enabled; vendor preset: disabled)
Active: inactive (dead)

edit: also where specifically in the Apache2 configuration directory of should I put this?

  Alias /sareport /usr/local/sendmailanalyzer/www
        <Directory /usr/local/sendmailanalyzer/www>
            Options ExecCGI
            AddHandler cgi-script .cgi
            DirectoryIndex sa_report.cgi
            #-- Some browser might need this line (Chrome, Safari)
            Header always set X-Frame-Options "SAMEORIGIN"
            #-- Apache 2.2
            #Order deny,allow
            #Deny from all
            #Allow from 192.168.1.0/24
            #-- Apache 2.4
            Require all denied
            Require ip 192.168.1.0/24
</Directory>

I used the directory of
cd /etc/httpd/conf
vi httpd.conf

Originally created by @randelski on GitHub (Feb 6, 2024). Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/84 I'm having an issue wherein after I configured the necessary configurations and copied the sendmailanalyzer in the directory of /usr/lib/systemd/system/ it doesn't open still and also this link " 4. Browse to http://mta.host.dom/sareport/ to ensure that things are working properly." also appears to be broken. does this support centos 7?? if so why does it say this? [root@gracious-hodgkin ~]# systemctl start sendmailanalyzer.service Failed to start sendmailanalyzer.service: Unit not found. Even though when I checked the status it says [root@gracious-hodgkin system]# systemctl status sendmailanalyzer.service ● sendmailanalyzer.service - SendmailAnalyzer a sendmail/postfix log analyzer Loaded: loaded (/usr/lib/systemd/system/sendmailanalyzer.service; enabled; vendor preset: disabled) Active: inactive (dead) edit: also where specifically in the Apache2 configuration directory of should I put this? Alias /sareport /usr/local/sendmailanalyzer/www <Directory /usr/local/sendmailanalyzer/www> Options ExecCGI AddHandler cgi-script .cgi DirectoryIndex sa_report.cgi #-- Some browser might need this line (Chrome, Safari) Header always set X-Frame-Options "SAMEORIGIN" #-- Apache 2.2 #Order deny,allow #Deny from all #Allow from 192.168.1.0/24 #-- Apache 2.4 Require all denied Require ip 192.168.1.0/24 </Directory> I used the directory of cd /etc/httpd/conf vi httpd.conf
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/sendmailanalyzer#68
No description provided.