Hi all,
I have a problem on my VPS. All non WWW domains are giving me a "Apache is functioning normally" page. I'v already tried a few thing.
Like: https://help.directadmin.com/item.php?id=242 after doing whats explained I do not get: Include /usr/local/directadmin/data/users/username/httpd.conf in my directadmin-vhosts.conf file.
I'm using Apache 2.4.37
Can someone help me out please?
Thanks
I have a problem on my VPS. All non WWW domains are giving me a "Apache is functioning normally" page. I'v already tried a few thing.
Like: https://help.directadmin.com/item.php?id=242 after doing whats explained I do not get: Include /usr/local/directadmin/data/users/username/httpd.conf in my directadmin-vhosts.conf file.
I'm using Apache 2.4.37
Code:
<VirtualHost 37.97.144.29:80 >
ServerName www.domain.com
ServerAlias www.domain.com domain.com
ServerAdmin [email protected]
DocumentRoot /home/domain/domains/domain.com/public_html
ScriptAlias /cgi-bin/ /home/domain/domains/domain.com/public_html/cgi-bin/
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup domain domain
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid domain domain
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/domain.com.bytes bytes
CustomLog /var/log/httpd/domains/domain.com.log combined
ErrorLog /var/log/httpd/domains/domain.com.error.log
<Directory /home/domain/domains/domain.com/public_html>
<FilesMatch "\.(inc|php|phtml|phps|php72)$">
AddHandler "proxy:unix:/usr/local/php72/sockets/domain.sock|fcgi://localhost" .inc .php .phtml .php72
</FilesMatch>
</Directory>
</VirtualHost>
Can someone help me out please?
Thanks