Page 1 of 1
httpd Special und DirectoryIndex!
Posted: 2009-06-01 16:54
by Anonymous
mein Confixx httpd Special inhalte ist so:
Code: Select all
<Directory "/home/www/##user##/html">
AllowOverride All
Options +Indexes +FollowSymLinks +SymLinksIfOwnerMatch
DirectoryIndex index.html index.htm index.php
</Directory>
so soll all sub-ordner mit index.html index.htm oder index.php normal indext wird. aber bei mir alle sub-ordner in alle webuser werden die inhalte angezeigt, obwohl index.html drin stehen!
und wenn ich in irgendwelche webuser/html ordner ein .htaccess habe dann manuel diese Line
DirectoryIndex index.html index.htm index.php hizufuege. werden alle sub-odrner inhalte nichts angezeigt wenn die index.html index.htm index.php drin haben. bei webuser vhost
/etc/apache2/confixx_vhosts/web32.conf angeschauet steht schon richtig alles drin!
weiss jemand wieso diese Line
DirectoryIndex index.html index.htm index.php funz nichts mit vhost sondern muss manuel in .htaccess file hinzugefuegt werden bei jede webuser?
Danke im Voraus
Re: httpd Special und DirectoryIndex!
Posted: 2009-06-04 17:11
by Anonymous
wenn es keine loesung gibt, dann muss ich als Confixx bug reporten :)
Re: httpd Special und DirectoryIndex!
Posted: 2009-06-04 21:31
by Joe User
Das kannst Du gerne machen, aber ohne die relevanten Auszüge aus der Config und den Logs wird man den Bugreport einfach in die Rundablage verschieben...
Re: httpd Special und DirectoryIndex!
Posted: 2009-06-05 00:02
by Anonymous
das Log und alles sind daoben. das muss irgendwie ein httpd Spezial fuer unter ordner gemacht werden. z.B
Code: Select all
<Directory "/home/www/##user##/html/*">
AllowOverride All
Options +Indexes +FollowSymLinks +SymLinksIfOwnerMatch
DirectoryIndex index.html index.htm index.php
</Directory>
aber leider sowas wird nichts akzeptiert!!
Re: httpd Special und DirectoryIndex!
Posted: 2009-06-06 16:43
by Joe User
Sorry, ich sehe weder die relevante Fehlermeldung im Log, noch die vollständige Config des betroffenen vHost...
Re: httpd Special und DirectoryIndex!
Posted: 2009-06-06 20:21
by Anonymous
was fuer fehler meldungen erwartest du ???
ich hab alles geklaert und ging nichts um fehler meldungen. koennen sie noch mal durch lesen?
httpd Spetzial fuer des Domain ist so
Code: Select all
<Directory "/home/www/##user##/html">
AllowOverride All
Options +Indexes +FollowSymLinks +SymLinksIfOwnerMatch
DirectoryIndex index.html index.htm index.php
</Directory>
da soll alle ordnern mit
index.html index.htm index.php indexieren wird ganz normal wie webuser html/ ordner, aber tut er
nichts sondern zeigt INDEX OF von ganze unterordnern.
aber wenn ich
DirectoryIndex index.html index.htm index.php in eine .htaccess datei schreibe und in webuser html/ hochlade, dann habe ich diese INDEX OF unter ordner nichts mehr und funz ganz normal.
dast ist komplete vhost von diese domain
Code: Select all
<Directory "/home/www/web18/html">
Options -FollowSymLinks -SymLinksIfOwnerMatch
<IfModule mod_access.c>
Allow from all
</IfModule>
<IfModule mod_authz_host.c>
Allow from all
</IfModule>
php_admin_flag engine on
</Directory>
<VirtualHost 89.112.89.160:443>
ServerName web18.webbbserver-2.de
DocumentRoot /home/www/web18/html
SuexecUserGroup web18 web18
ScriptAlias /cgi-bin/ /home/www/web18/html/cgi-bin/
php_admin_value open_basedir /home/www/web18/html/:/home/www/web18/phptmp/:/home/www/web18/files/:/home/www/web18/atd/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /home/www/web18/phptmp/
<IfModule mod_ssl.c>
SSLEngine on
SSLCertificateKeyFile /etc/apache2/ssl.key/admin.key
SSLCertificateFile /etc/apache2/ssl.crt/admin.crt
SetEnvIf User-Agent ".*MSIE.*"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/home/www/web18/html/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</IfModule>
php_admin_flag safe_mode off
<Directory "/home/www/web18/html">
AllowOverride All
Options +Indexes +FollowSymLinks +SymLinksIfOwnerMatch
DirectoryIndex index.html index.htm index.php
php_admin_value open_basedir /home/www/web18/html
php_admin_value session.save_path /home/www/web18/phptmp
</Directory>
</VirtualHost>
<VirtualHost 89.112.89.160:80>
ServerName web18.webbbserver-2.de
ServerAlias mallummm.dewww.mallummm.de
DocumentRoot /home/www/web18/html
SuexecUserGroup web18 web18
ScriptAlias /cgi-bin/ /home/www/web18/html/cgi-bin/
php_admin_value open_basedir /home/www/web18/html/:/home/www/web18/phptmp/:/home/www/web18/files/:/home/www/web18/atd/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /home/www/web18/phptmp/
php_admin_flag safe_mode off
<Directory "/home/www/web18/html">
AllowOverride All
Options +Indexes +FollowSymLinks +SymLinksIfOwnerMatch
DirectoryIndex index.html index.htm index.php
php_admin_value open_basedir /home/www/web18/html
php_admin_value session.save_path /home/www/web18/phptmp
</Directory>
</VirtualHost>
meine frage ist:
wieso diese line
DirectoryIndex index.html index.htm index.php ueber vhost funz nichts fuer
unterordnern aber in eine .htaccess datei und in webuser html/ funz einwandfrei fuer alle unter ordnern!!?