Potreboval by som aby sa na urcitu stranku vo /var/www napr. /var/www/stranka pristupovalo zadanm ip:44444.
Do /etc/apache2/apache2.conf som doplnil:
# Include ports listing
Include ports.conf
Listen 80
Listen 44444
<VirtualHost *:44444>
ServerName stranka
DocumentRoot /var/www/stranka
</VirtualHost>
po restarte mi ukazuje tuto chybu:
/etc/init.d/apache2 restart
Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 10.10.10.10 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 10.10.10.10 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:44444
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
VIete poradit? dakujem....