![]() |
|
Webserver Fragen zum Apache, MySQL-Einrichtung und was sonst noch mit WebServern zu tun hat |
|
Themen-Optionen | Ansicht |
![]() |
#12 | |||||||||||
Erfahrener Benutzer
Registriert seit: 26.02.2010
Alter: 28
Beitr?ge: 259
Abgegebene Danke: 0
Erhielt 2 Danke für 2 Beiträge
![]() Downloads: 37
Uploads: 0 Nachrichten: 9 Renommee-Modifikator:
0 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
naja hab das so :
sites-available Code:
ServerAdmin webmaster@localhost DocumentRoot /var/www/xyz/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/xyz/> Options Indexes FollowSymLinks MultiViews AllowOverride None 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 Order allow,deny Allow from all </Directory> ErrorLog /dev/null # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /dev/null combine Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost> Code:
ServerAdmin webmaster@localhost DocumentRoot /var/www/xyz/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/xyz/> Options Indexes FollowSymLinks MultiViews AllowOverride None 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 Order allow,deny Allow from all </Directory> ErrorLog /dev/null # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /dev/null combine Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost> Code:
.........:~# /etc/init.d/apache2 restart Restarting web server: apache2We failed to correctly shutdown apache, so we're n ow killing all running apache processes. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now! (warning). ... waiting apache2: Syntax error on line 281 of /etc/apache2/apache2.conf: Syn tax error on line 40 of /etc/apache2/sites-enabled/000-default: </VirtualHost> w ithout matching <VirtualHost> section failed! und bei logintracker dann : PHP-Code:
|
|||||||||||
![]() |
![]() ![]() ![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, G?ste: 1) | |
|
|