Jump to content
Froxlor Forum
  • 0

Server zeigt Ordnerstruktur


stefjoe

Question

Hallo zusammen,

ich bin gerade dabei meinen vServer einzurichten:

Debian Stretch, Apache 2.4, PHP 7.2

 

Der DocumentRoot ist var/www, dort sollen auch meine Webseiten liegen.

Momentan habe ich 1 Hauptdomain und 1 Subdomain, die in Froxlor den DocumentRoot /var/www/api/public haben.

Leider wird mir hier immer nur die Ordnerstruktur angezeigt, webalizer, html, froxlor und api (Symfony 4.2 Projekt).

Froxlor läuft einwandfrei, aber meine Domains nicht, nur wenn ich auf die Ordner klicke.

 

Die beiden Domains sind mir der IP via A Records verbunden.

Grüße und Danke

Link to comment
Share on other sites

Recommended Posts

21 minutes ago, stefjoe said:

Illegal option MultiViews\xef\xbb\xbf

Dann entferne doch einfach die zusätzlich kopierten Zeichen hinter "MultiViews"....also komm, du kannst doch lesen...siehst du das nicht?

Und jetzt google bitte einfach mal die Fehlermeldung die du von apache erhälst...das ist ziemlich basic...sowas solltest du als Server-Admin schon können, sonst seh ich da nicht viel Sinn dir zu helfen

Link to comment
Share on other sites

Zeichen sind entfernt, aber den 500er erhalte ich trotzdem noch.

 

[Sat Mar 09 11:20:47.902237 2019] [mpm_prefork:notice] [pid 23477] AH00169: caught SIGTERM, shutting down
[Sat Mar 09 11:38:39.936974 2019] [mpm_prefork:notice] [pid 31373] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Sat Mar 09 11:38:39.937052 2019] [core:notice] [pid 31373] AH00094: Command line: '/usr/sbin/apache2'
[Sat Mar 09 11:39:29.126891 2019] [mpm_prefork:notice] [pid 31373] AH00169: caught SIGTERM, shutting down
[Sat Mar 09 11:39:29.235342 2019] [mpm_prefork:notice] [pid 31512] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Sat Mar 09 11:39:29.235405 2019] [core:notice] [pid 31512] AH00094: Command line: '/usr/sbin/apache2'
[Sat Mar 09 11:58:03.826088 2019] [mpm_prefork:notice] [pid 31512] AH00169: caught SIGTERM, shutting down
[Sat Mar 09 11:58:22.369127 2019] [mpm_prefork:notice] [pid 31802] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Sat Mar 09 11:58:22.369182 2019] [core:notice] [pid 31802] AH00094: Command line: '/usr/sbin/apache2'

 

Link to comment
Share on other sites

vor 4 Minuten schrieb irisdina:

Wäre noch hilfreich zu wissen, welche Anwendung du da eig. laufen lassen willst.

Symfony 4.2, eine normale index.php läuft. Das komische ist, dass Symfony auf der Hauptdomain läuft, aber nicht auf der Subdomain

Link to comment
Share on other sites

vor 8 Stunden schrieb irisdina:

Dann poste doch mal die error logs von der domain her.
Aber du weißt, das wir hier im Forum zu Froxlor sind und nicht von irgendwelche andere Webanwendung. 
Aber für symfony gibt es etliche Tut's im Web, bsp auf der Offizielen Seite, https://symfony.com/doc/current/setup.html

Jetzt hab ich es! Es lag an dieser Zeile in der index.php
require __DIR__.'/../vendor/autoload.php';

 

Die habe ich geändert in

dirname(__DIR__).'/../vendor/autoload.php';

 

 

Danke für die Hilfe von euch :-)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...