Internal Server Error (500)

Hi All,

After installing RT 5.0.3 on Centos 7, I appended the following to /etc/httpd/conf/httpd.conf:
<VirtualHost *:80>
ServerAdmin xxx.xxx@xxx.com
AddDefaultCharset UTF-8
ScriptAlias / /opt/rt5/sbin/rt-server.fcgi/
DocumentRoot /opt/rt5/share/html
<Directory “/opt/rt5/share/html”>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted

ServerName rt5.localhost
ErrorLog logs/rt5.localhost-error_log
CustomLog logs/rt5.localhost-access_log common

Require all granted
SetHandler modperl
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt5/sbin/rt-server

#
# use Plack::Handler::Apache2;
# Plack::Handler::Apache2->preload(“/opt/rt5/sbin/rt-server”);
#

and appending vi /opt/rt5/etc/RT_SiteConfig.pm;
Set( $WebDomain, ‘XX.XXX.XXX.XXX’);

I am able to systemctl restart httpd, but when I systemctl status httpd -l, I get:
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2023-04-02 10:02:02 UTC; 31s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 1655 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 1722 (/usr/sbin/httpd)
Status: “Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec”
CGroup: /system.slice/httpd.service
├─1722 /usr/sbin/httpd -DFOREGROUND
├─1723 /usr/sbin/httpd -DFOREGROUND
├─1724 /usr/sbin/httpd -DFOREGROUND
├─1725 /usr/sbin/httpd -DFOREGROUND
├─1726 /usr/sbin/httpd -DFOREGROUND
└─1727 /usr/sbin/httpd -DFOREGROUND

Apr 02 10:02:02 localhost systemd[1]: Starting The Apache HTTP Server…
Apr 02 10:02:02 localhost httpd[1722]: [Sun Apr 02 10:02:02.410409 2023] [so:warn] [pid 1722] AH01574: module perl_module is already loaded, skipping
Apr 02 10:02:02 localhost httpd[1722]: [Sun Apr 02 10:02:02.413223 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/autoindex.conf at line 21 will probably never match because it overlaps an earlier Alias.
Apr 02 10:02:02 localhost httpd[1722]: [Sun Apr 02 10:02:02.413272 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/perl.conf at line 30 will probably never match because it overlaps an earlier Alias.
Apr 02 10:02:02 localhost httpd[1722]: [Sun Apr 02 10:02:02.413310 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 18 will probably never match because it overlaps an earlier Alias.
Apr 02 10:02:02 localhost httpd[1722]: [Sun Apr 02 10:02:02.413316 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 19 will probably never match because it overlaps an earlier Alias.
Apr 02 10:02:02 localhost httpd[1722]: [Sun Apr 02 10:02:02.413320 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 20 will probably never match because it overlaps an earlier Alias.
Apr 02 10:02:02 localhost httpd[1722]: [Sun Apr 02 10:02:02.413324 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 21 will probably never match because it overlaps an earlier Alias.
Apr 02 10:02:02 localhost httpd[1722]: [Sun Apr 02 10:02:02.413328 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 22 will probably never match because it overlaps an earlier Alias.
Apr 02 10:02:02 localhost systemd[1]: Started The Apache HTTP Server.

From a browser, when I http://(server’s public IP Address)/, I get the Internal Server Error (500).

The contents of /var/log/httpd/error_log, are as follows:

[Sun Apr 02 10:00:51.294004 2023] [core:info] [pid 1063] AH00096: removed PID file /run/httpd/httpd.pid (pid=1063)
[Sun Apr 02 10:00:51.294047 2023] [mpm_prefork:notice] [pid 1063] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Apr 02 10:02:02.420531 2023] [suexec:notice] [pid 1722] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 02 10:02:02.437420 2023] [so:warn] [pid 1722] AH01574: module perl_module is already loaded, skipping
[Sun Apr 02 10:02:02.438720 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/autoindex.conf at line 21 will probably never match because it overlaps an earlier Alias.
[Sun Apr 02 10:02:02.438759 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/perl.conf at line 30 will probably never match because it overlaps an earlier Alias.
[Sun Apr 02 10:02:02.438794 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 18 will probably never match because it overlaps an earlier Alias.
[Sun Apr 02 10:02:02.438800 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 19 will probably never match because it overlaps an earlier Alias.
[Sun Apr 02 10:02:02.438804 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 20 will probably never match because it overlaps an earlier Alias.
[Sun Apr 02 10:02:02.438807 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 21 will probably never match because it overlaps an earlier Alias.
[Sun Apr 02 10:02:02.438811 2023] [alias:warn] [pid 1722] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 22 will probably never match because it overlaps an earlier Alias.
[Sun Apr 02 10:02:02.445123 2023] [slotmem_shm:debug] [pid 1722] mod_slotmem_shm.c(448): AH02301: attach looking for /run/httpd/slotmem-shm-mod_heartmonitor.shm
[Sun Apr 02 10:02:02.445143 2023] [lbmethod_heartbeat:notice] [pid 1722] AH02282: No slotmem from mod_heartmonitor
[Sun Apr 02 10:02:02.447840 2023] [mpm_prefork:notice] [pid 1722] AH00163: Apache/2.4.6 (CentOS) mod_perl/2.0.11 Perl/v5.16.3 configured – resuming normal operations
[Sun Apr 02 10:02:02.447862 2023] [mpm_prefork:info] [pid 1722] AH00164: Server built: Jan 27 2023 17:36:29
[Sun Apr 02 10:02:02.447889 2023] [core:notice] [pid 1722] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Sun Apr 02 10:02:02.447905 2023] [mpm_prefork:debug] [pid 1722] prefork.c(1005): AH00165: Accept mutex: sysvsem (default: sysvsem)
[Sun Apr 02 10:02:02.448852 2023] [proxy:debug] [pid 1725] proxy_util.c(1843): AH00925: initializing worker proxy:reverse shared
[Sun Apr 02 10:02:02.448947 2023] [proxy:debug] [pid 1725] proxy_util.c(1888): AH00927: initializing worker proxy:reverse local
[Sun Apr 02 10:02:02.448979 2023] [proxy:debug] [pid 1725] proxy_util.c(1939): AH00931: initialized single connection worker in child 1725 for ()
[Sun Apr 02 10:02:02.449645 2023] [proxy:debug] [pid 1723] proxy_util.c(1843): AH00925: initializing worker proxy:reverse shared
[Sun Apr 02 10:02:02.449711 2023] [proxy:debug] [pid 1723] proxy_util.c(1888): AH00927: initializing worker proxy:reverse local
[Sun Apr 02 10:02:02.449746 2023] [proxy:debug] [pid 1723] proxy_util.c(1939): AH00931: initialized single connection worker in child 1723 for (
)
[Sun Apr 02 10:02:02.450638 2023] [proxy:debug] [pid 1726] proxy_util.c(1843): AH00925: initializing worker proxy:reverse shared
[Sun Apr 02 10:02:02.450704 2023] [proxy:debug] [pid 1726] proxy_util.c(1888): AH00927: initializing worker proxy:reverse local
[Sun Apr 02 10:02:02.450756 2023] [proxy:debug] [pid 1726] proxy_util.c(1939): AH00931: initialized single connection worker in child 1726 for ()
[Sun Apr 02 10:02:02.451367 2023] [proxy:debug] [pid 1724] proxy_util.c(1843): AH00925: initializing worker proxy:reverse shared
[Sun Apr 02 10:02:02.451434 2023] [proxy:debug] [pid 1724] proxy_util.c(1888): AH00927: initializing worker proxy:reverse local
[Sun Apr 02 10:02:02.451465 2023] [proxy:debug] [pid 1724] proxy_util.c(1939): AH00931: initialized single connection worker in child 1724 for (
)
[Sun Apr 02 10:02:02.453206 2023] [proxy:debug] [pid 1727] proxy_util.c(1843): AH00925: initializing worker proxy:reverse shared
[Sun Apr 02 10:02:02.453279 2023] [proxy:debug] [pid 1727] proxy_util.c(1888): AH00927: initializing worker proxy:reverse local
[Sun Apr 02 10:02:02.453322 2023] [proxy:debug] [pid 1727] proxy_util.c(1939): AH00931: initialized single connection worker in child 1727 for (*)

I would appreciate it if someone would please point me in the right direction, as to why I am getting the Internal Server Error.

Thanking you in anticipation.

Is the 500 error logged seems nothing related to trying to run RT is therE?