You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<VirtualHost *:9999>
ServerName tasmoadmin
ServerAdmin webmaster@localhost
DocumentRoot /var/www/tasmoadmin
<Directory /var/www/tasmoadmin>
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
Hit Keys: STRG+X then Y then Enter
Edit ports.conf
sudo vim /etc/apache2/ports.conf
Add "Listen 9999" after "Listen 80", content should look like:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 80
Listen 9999
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Hit Keys: STRG+X then Y then Enter
Enable site and mod
sudo a2ensite tasmoadmin
sudo a2enmod rewrite
Start Apache and check
sudo systemctl reload apache2
then open
https://*youriporhostname*:9999
If you get a PHP version error
Note the PHP version from the error
Disable it with (in this case php8.0 was active) sudo a2dismod php8.0
and enable the correct version with sudo a2enmod php8.2
then sudo systemctl reload apache2