Current time: 05-20-2024, 11:24 PM Hello There, Guest! (LoginRegister)


Post Reply 
mod_autoindex
Author Message
spoxone Offline
Junior Member
*

Posts: 12
Joined: Sep 2011
Reputation: 0
Post: #1
mod_autoindex
hi,

ich versuchte das hier zu machen.

http://blog.is-a-geek.org/apache-file-li...rettyPhoto[g2553]/0/

Aber auf einem webspace, der durch ispcp erstellt würde..wirds nicht gezeigt.

Habs paar mal versucht aber danach startete der apache nicht mehr.

Kennt jemand einen lösung?

mfg
09-12-2011 11:55 AM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: mod_autoindex
da scheind aber nicht ispcp der grund zu sein!
09-12-2011 01:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ShadowJumper Offline
Member
***

Posts: 287
Joined: Sep 2008
Reputation: 2
Post: #3
RE: mod_autoindex
Ich empfehle erst mal das hier.
09-12-2011 07:14 PM
Find all posts by this user Quote this message in a reply
spoxone Offline
Junior Member
*

Posts: 12
Joined: Sep 2011
Reputation: 0
Post: #4
RE: mod_autoindex
Debian 6.0 Squeeze.
Vserver
Ispcp omega v 1.0.7

............

Ich hab die sachen in die "Default" datei eingefügt. Es liegt an ispcp , weil es bestimmt in eine andere config eingetragen werden muss. Aber in welche ist die frage.
09-12-2011 09:05 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: mod_autoindex
Wird ja oft nur für eine Domain benötigt...

also in einer .htaccess im htdocs der Domain das eintragen

Alias /icons/ /var/www/include/icons/ [bzw. Pfad zu den icons]
Alias /include/ /var/www/include/ [bzw. Pfad zum include Verzeichnis]

<IfModule mod_autoindex.c>
Options Indexes FollowSymLinks
IndexOptions +FancyIndexing
IndexOptions +VersionSort
IndexOptions +HTMLTable
IndexOptions +FoldersFirst
IndexOptions +IconsAreLinks
IndexOptions +IgnoreCase
IndexOptions +SuppressDescription
IndexOptions +SuppressHTMLPreamble
IndexOptions +XHTML
IndexOptions +IconWidth=16
IndexOptions +IconHeight=16
IndexOptions +NameWidth=*
IndexOptions +DescriptionWidth=200
IndexOrderDefault Descending Name
HeaderName /include/header.html
ReadmeName /include/footer.html
</ifModule>


ggf. noch den zweiten Block (einzelen Dateitypen) eintragen...

Das sollte eigentlich gehen (wenn mod_autoindex geladen ist)

Gruss J
09-12-2011 09:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
spoxone Offline
Junior Member
*

Posts: 12
Joined: Sep 2011
Reputation: 0
Post: #6
RE: mod_autoindex
Hab jetzt eine .htaccess datei mit dem inhalt erstellt, aber jetzt kommt ein "Error 500 Internal server error"

mod_autoindex is aktiviert
09-12-2011 10:19 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: mod_autoindex
was meinen die logs? bei den 500er Fehlern sollte was in den error logs stehen...
09-12-2011 10:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
spoxone Offline
Junior Member
*

Posts: 12
Joined: Sep 2011
Reputation: 0
Post: #8
RE: mod_autoindex
(09-12-2011 10:44 PM)joximu Wrote:  was meinen die logs? bei den 500er Fehlern sollte was in den error logs stehen...

Code:
[Mon Sep 12 12:17:33 2011] [alert] [client ] /var/www/virtual/gamerzspace.tk/htdocs/.htaccess: Alias not allowed here
[Mon Sep 12 12:17:34 2011] [alert] [client ] /var/www/virtual/gamerzspace.tk/htdocs/.htaccess: Alias not allowed here
[Mon Sep 12 12:17:34 2011] [alert] [client ] /var/www/virtual/gamerzspace.tk/htdocs/.htaccess: Alias not allowed here
[Mon Sep 12 12:17:35 2011] [alert] [client            ] /var/www/virtual/gamerzspace.tk/htdocs/.htaccess: Alias not allowed here
(This post was last modified: 09-12-2011 11:01 PM by spoxone.)
09-12-2011 11:00 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: mod_autoindex
ok - sorry... die Alias Zeilen müssen offenbar in die VirtualHost config.

vielleicht am besten in /etc/apache2/ispcp/domain.conf

Gruss J
09-13-2011 02:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
spoxone Offline
Junior Member
*

Posts: 12
Joined: Sep 2011
Reputation: 0
Post: #10
RE: mod_autoindex
Danke es Funktioniert jetzt.
09-13-2011 07:26 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)