Hallo,
ich habe ein kleines Problem. Und zwar will ich ViewVC über den Apache ansprechen. Mit Hilfe der subversion.viewvc.conf in conf.d ist dies auch kein Problem, da läuft es wunderbar.
Jedoch wollte ich es über einen virtuellen Host laufen lassen, und da wird wohl mein
Problem liegen.
Ich habe unter vhosts.d bereits eine viewvc.conf angelegt mit dem folgenden Einträgen:
Jedoch erhalte ich bei der Eingabe im Browser test.tdl nur die folgende Fehlermeldung
Wo liegen meine Fehler???
Danke für eure Hilfe...Gruss Lammbock
ich habe ein kleines Problem. Und zwar will ich ViewVC über den Apache ansprechen. Mit Hilfe der subversion.viewvc.conf in conf.d ist dies auch kein Problem, da läuft es wunderbar.
Jedoch wollte ich es über einen virtuellen Host laufen lassen, und da wird wohl mein
Problem liegen.
Ich habe unter vhosts.d bereits eine viewvc.conf angelegt mit dem folgenden Einträgen:
Code:
#
# VirtualHost ViewVC
# Note: to use the template, rename it to /etc/apache2/vhost.d/yourvhost.conf.
# Files must have the .conf suffix to be loaded.
#
# See /usr/share/doc/packages/apache2/README.QUICKSTART for further hints
# about virtual hosts.
#
# NameVirtualHost statements can be added to /etc/apache2/listen.conf.
#
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost _default_:*>
ServerName default
</VirtualHost>
<VirtualHost *:80>
ServerName test.tdl
ServerAlias *.test.tdl
ServerAdmin admin@test.tdl
#ServerAdmin webmaster@dummy-host.example.com
#ServerName dummy-host.example.com
# DocumentRoot: The directory out of which you will serve your
# documents. By default, al requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#DocumentRoot /srv/www/vhosts/dummy-host.example.com
DocumentRoot /srv/viewvc/bin/cgi
# if not specified, the global error log is used
ErrorLog /var/log/apache2/viewvc-error_log
CustomLog /var/log/apache2/viewvc-access_log combined
# don't loose time with IP address lookups
HostnameLookups Off
# needed for named virtual hosts
UseCanonicalName Off
# configures the footer on server-generated documents
ServerSignature On
# Optionally, include *.conf files from /etc/apache2/conf.d/
#
# For example, to allow execution of PHP scripts:
#
# Include /etc/apache2/conf.d/mod_php4.conf
#
# or, to include all configuration snippets added by packages:
# Include /etc/apache2/conf.d/*.conf
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
# ScriptAlias /cgi-bin/ "/srv/viewvc/bin/cgi"
# "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have one, and where ScriptAlias points to.
#
<Directory "/srv/viewvc/bin/cgi">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
# To disable it, simply remove userdir from the list of modules in APACHE_MODULES
# in /etc/sysconfig/apache2.
#
<IfModule mod_userdir.c>
# Note that the name of the user directory ("public_html") cannot simply be
# changed here, since it is a compile time setting. The apache package
# would have to be rebuilt. You could work around by deleting
# /usr/sbin/suexec, but then all scripts from the directories would be
# executed with the UID of the webserver.
UserDir public_html
# The actual configuration of the directory is in
# /etc/apache2/mod_userdir.conf.
Include /etc/apache2/mod_userdir.conf
# You can, however, change the ~ if you find it awkward, by mapping e.g.
# http://www.example.com/users/karl-heinz/ --> /home/karl-heinz/public_html/
#AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2
</IfModule>
</VirtualHost>
Jedoch erhalte ich bei der Eingabe im Browser test.tdl nur die folgende Fehlermeldung
Code:
The requested URL could not be retrieved
While trying to retrieve the URL: http://test.tdl/
The following error was encountered:
Unable to determine IP address from host name for test.tdl
The dnsserver returned:
Name Error: The domain name does not exist.
This means that:
The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
Your cache administrator is webmaster.
Generated Tue, 16 Jan 2007 15:04:36 GMT by proxyb.b.integrata.de (Squid/2.4.STABLE6)
Wo liegen meine Fehler???
Danke für eure Hilfe...Gruss Lammbock