Apache question 2. site newer appair

Kernels & Hardware, configuring network, installing services

Apache question 2. site newer appair

Postby mauric » 2020-09-30 12:42

Hello Debain group
Hope you can give me little more help for my question. try to add one more internet site for me little website.
the problem will by appair, that the second link "domain.ch/webalizer" never appair. stay only with the first
website "domain.ch/wordpress"

1)
domain.ch/wordpress
root@r:/etc/apache2/sites-available# cat wordpress-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName domain.ch
ServerAdmin webmaster@example.com
DocumentRoot /var/www/wordpress/
<Directory /var/www/wordpress>
Options FollowSymLinks
AllowOverride Limit Options FileInfo
DirectoryIndex index.php
Require all granted
</Directory>
<Directory /var/www/wordpress/wp-content>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ServerAlias domain.ch
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/domain.ch/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/domain.ch/privkey.pem
</VirtualHost>
</IfModule>

2)
domain.ch/webalizer
root@r:/etc/apache2/sites-available# cat webalizer.conf
<VirtualHost *>
ServerName caloro.ch/webalizer/
DocumentRoot /var/www/webalizer/
<Directory /var/www/webalizer>
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
Order deny,allow
Allow from all
</Directory>
ErrorLog /var/log/apache2/webalizer-error.log
CustomLog /var/log/apache2/webalizer-access.log combined
</VirtualHost>

Thanks
Mauri
mauric
 
Posts: 43
Joined: 2017-07-25 08:50

Return to System configuration

Who is online

Users browsing this forum: No registered users and 18 guests

fashionable