GNU nano 2.2.6 File: /etc/apache2/sites-available/default
<VirtualHost *:2255>
ServerAdmin webmaster@localhost
DocumentRoot /var/WWW/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
und
Code:
GNU nano 2.2.6 File: /etc/apache2/ports.conf
# 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
NameVirtualHost *:2255 dies habe ich beim letzten Versuch selber dazu getragen.
Listen 2255
<IfModule ssl_module>
Listen ****
</IfModule>
<IfModule mod_gnutls.c>
Listen ****
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Ich bitte um Hilfe woran es liegen kann.
Installiert ist Debian 8 und das aktuelle IPC welches man mit
Wieos legst du nicht in /etc/apache2/sites-available/ einen neue Datei für den Virtual host an? Meinetwegen ipc.conf
Diese dann mit a2ensite ipc.conf aktivieren und die Konfig dann mit service apache2 reload neuladen.
<VirtualHost *:81>
DocumentRoot /var/www/
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
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>
Hi,
du mußt die Änderung in der "/etc/apache2/sites-enabled/000-default.conf" unter <VirtualHost *:2255>
und in der "/etc/apache2/ports.conf" unter "Listen 2255" vornehmen.
2255 anstatt 80
Danach den Apache2 neu starten. "service apache2 restart"