Link für Übergeordnetes Verzeichnis nicht angezeigt

Alles, was den Apache betrifft, kann hier besprochen werden.

Link für Übergeordnetes Verzeichnis nicht angezeigt

Postby djmadmax » 30. November 2004 21:21

Hallo Community,
habe einen Apache 2.0.49 Server am laufen mit Virtual Hosts auf ner SuSE 9.1 Prof installation. Wieso sind keine Links für das Übergeordnete Verzeichnis da? Bzw wie bekomm ich welche hin?

Danke im Vorraus für eure Hilfe

Max
djmadmax
 
Posts: 8
Joined: 30. November 2004 21:05

Postby Wiedmann » 30. November 2004 22:20

Wieso sind keine Links für das Übergeordnete Verzeichnis da? Bzw wie bekomm ich welche hin?

Wie meinen?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby djmadmax » 30. November 2004 22:24

also bei der verzeichnisanzeige im browser gabs bei apache 1 immer über allen dateien und verzeichennissen einen link names parent directory ganz früher .. aber nun gibts nichts von beiden. meine frage ist wie bekommt man das wieder hin?
djmadmax
 
Posts: 8
Joined: 30. November 2004 21:05

Postby Wiedmann » 30. November 2004 22:55

Du meinst beim "mod_autoindex"?

Also wenn man sich nicht grad im Document_Root befindet, sollte das "Parent Directory" vorhanden sein.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby djmadmax » 30. November 2004 22:58

ja glaub schon. bei mir ist es aber leider nicht vorhanden. wie geh ich da vor?
djmadmax
 
Posts: 8
Joined: 30. November 2004 21:05

Postby Wiedmann » 30. November 2004 23:01

ja glaub schon

Was glaubst du?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby djmadmax » 30. November 2004 23:06

ja des es am mod_autoindex liegt, wäre am nähesten dran, ich find aber die einstellung nicht
djmadmax
 
Posts: 8
Joined: 30. November 2004 21:05

Postby Wiedmann » 30. November 2004 23:07

Welche Einstellung?

Im welchen Verzeichnis befindest du dich denn?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby djmadmax » 30. November 2004 23:09

einstellung damit ich Parent Directory sehe in der conf "/etc/apache2/mod_autoindex-defaults.conf"
djmadmax
 
Posts: 8
Joined: 30. November 2004 21:05

Postby Wiedmann » 30. November 2004 23:41

Wiedmann wrote:Im welchen Verzeichnis befindest du dich denn?

Zusatz: ... in dem Moment wo du das "Parent Dir" nicht siehst?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby djmadmax » 04. December 2004 00:23

vom docroot verzeichnis aus gesehen in /irgendeinordner/ komplett würds dann heissen: http://meineaddy/irgendeinordner von daher sollte ja was angezeigt werden weil ich ja net im root bin
djmadmax
 
Posts: 8
Joined: 30. November 2004 21:05

Postby Wiedmann » 04. December 2004 01:18

Das einzigste was mir gerade einfällt um diesen Effekt zu produzieren wäre ein "IndexIgnore .." in der httpd.conf.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby djmadmax » 05. December 2004 14:49

Ja das hatte ich mir auch gedacht. Nur leider war das net der Fall! Sonst noch eine Idee bzw wie ist denn das bei dir (falls du Apache 2.0.49 hast)? Was ich mir noch vorstellen könnte ist, das SuSE das Paket irgendwie so gemodded hat.

Dankeschön im Vorraus und im Nachhinein für deine Hilfe
djmadmax
 
Posts: 8
Joined: 30. November 2004 21:05

Postby deepsurfer » 08. December 2004 14:39

Poste mal deine <VirtualHost> abteillung aus deiner httpd.conf
(namen und IP kannst mit xxxx unkenntlich machen)

Entweder finden wir da direkt den fehler ansonsten wird in der httpd.conf im mittleren Teil die "Option Indexes" Definition für den standard server deklariert.

Aber lieber eins nach dem anderen.

chirio
Deeo
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian

Postby djmadmax » 11. December 2004 10:42

Sorry wenn ich so lang brauch...
Code: Select all
#
# VirtualHost template:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost xxx.xxx.xxx.xxx:xxxxx>
    ServerAdmin meine@email.de
    ServerName mein.server.de

    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot /srv/www-servers/main-server/htdocs/

    # if not specified, the global error log is used
    ErrorLog /srv/www-servers/loglists/main-server-error_log
    CustomLog /srv/www-servers/loglists/main-server-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/www-servers/main-server/htdocs/cgi-bin/"

    # "/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/www-servers/main-server/htdocs/cgi-bin">
        AllowOverride All
        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>


    #
    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory "/srv/www-servers/main-server/htdocs">
   
        #
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        #
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        #
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs-2.0/mod/core.html#options
        # for more information.
        #
        Options All
   
        #
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        #
        AllowOverride All
   
        #
        # Controls who can get stuff from this server.
        #
        Order allow,deny
        Allow from all
               
    </Directory>

</VirtualHost>


So das dürfte reichen...

Gruss mad-max
djmadmax
 
Posts: 8
Joined: 30. November 2004 21:05

Next

Return to Apache

Who is online

Users browsing this forum: No registered users and 7 guests