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>
und sites-enabled
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>
und wenn ich apache reestarten möchte zeigt er mir an :
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:
Warning: require_once(/var/www//include/bittorrent.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/xyz/logintracker.php on line 2
Fatal error: require_once() [function.require]: Failed opening required '/var/www//include/bittorrent.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/xyz/logintracker.php on line 2