Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Apache2 Reinfolge der Index Dateien

Empfohlene Antworten

Moin,

ich versuch hier grad Krampfhaft meinem Apache beizubringen das er erst die index.html laden soll falls vorhanden, leider ignoriert er das und läd munter zuerst die index.php.

cat mods-enabled/dir.conf

<IfModule mod_dir.c>

DirectoryIndex index.htm index.html index.cgi index.pl index.php index.xhtml

</IfModule>

Jemand ne Idee? :)

Jemand ne Idee? :)

3 ideen, von deinen eine die richtige sein könnte:

- du verwendest eine version von apache 2.x.x, bei welcher mod_dir buggy ist.

- in der php.ini bzw. php.conf ist die direktive DirectoryIndex angegeben, und diese hat mehr relevanz als die in der httpd.conf.

- du verwendest eine andere direktive (evtl. aus mod_rewrite), welche das filehandling von mod_dir beeinflusst.

s'Amstel

- du verwendest eine version von apache 2.x.x, bei welcher mod_dir buggy ist.

- in der php.ini bzw. php.conf ist die direktive DirectoryIndex angegeben, und diese hat mehr relevanz als die in der httpd.conf.

- du verwendest eine andere direktive (evtl. aus mod_rewrite), welche das filehandling von mod_dir beeinflusst.

s'Amstel

Um das erste auszuschließen hab ich die Zeile mal gequotet, er berücksichtigt sie also auf jedenfall weil danach hab ich nen schönes Dir-Listing bekommen anstatt der Index Datei ^^

In /etc/php5/apache2/php.ini steht auch nichts mit index drin.

mod_rewrite wird doch über ne .htaccess angesprochen oder nicht? Oder halt in der Config der Domäne, was beides nicht der Fall ist.

*grml* ^^

Ach ja so als Info, Ubunuto 8.04 läuft auf dem Server.

Hab jetzt noch nen bissel rum probiert, unter anderem das Ganze mal in nem leeren Verzeichniss getestet wo es einwandfrei funktioniert hat und siehe da, in der betroffenen Präsenz war wirklich ne .htaccess wo die Indexes angegeben wurden - funzt jetzt wie es soll ^^

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.