franks
-
Joined
-
Last visited
Posts posted by franks
-
-
Ich habe das Composer Package von OpenAI installiert.
Nun kann ich auf der Console ein Script fehlerfrei aufrufen.
Gerne möchte ich über ein PHP Script auf einer Website ein Script aufrufen aber habe das Problem dass bei den originalen Zeilenrequire __DIR__ . '/vendor/autoload.php'; // remove this line if you use a PHP Framework.Den Fehler Warning: require(/var/customers/webs/xxx/xxx.com/vendor/autoload.php): failed to open stream: No such file or directory
bringt undrequire '/root/vendor/autoload.php';Warning: require(): open_basedir restriction in effect. File(/root/vendor/autoload.php) is not within the allowed path(s):
Am Rande möchte ich erwähnen dass ich unglaublich finde wie ChatPGT performt.
Wenn man z.B. Wie installiere ich Froxlor auf Debian 10 eingebe dann erhalte ich direkt eine Anleitung.
Die Antworten sind zwar nicht immer korrekt aber sehr hilfreich. -
-
-
-
-
Darf ich höflich fragen ob die Zeile
chmod(/var/www/html/froxlor//bin/froxlor-cli, 0755);im Masterchronjob eventuell falsch ist?
Ich erhalte beim manuellem Aufruf folgende Meldung:
PHP Parse error: syntax error, unexpected token "/" in /var/www/html/froxlor/scripts/froxlor_master_cronjob.php on line 2 -
Ich habe meine Debian 10 von Froxlor 2.0.3. auf 2.0.8 upgedatet.
Dabei ist folgende Fehlermeldung gekommen:
Uncaught exception 0 Undefined constant "PHO_EOL" #0 /var/www/html/froxlor/install/updatesql.php(56): include_once() #1 /var/www/html/froxlor/admin_updates.php(53): include_once('/var/www/html/f...') #2 {main} -
-
-
joo, das wars.
ich habe immer nur die vhost einträge geändert.
Lösung:
Eintrag in SSL Vhost
QuoteProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
<Proxy *>
Require all granted
Options none
</Proxy>und "Nicht-SSL vHost-Einstellungen in SSL-vHost inkludieren:" auswählen.
-
<VirtualHost xx.xx.xx.20:443> ServerName stream.xxx.info ServerAdmin xxx SSLEngine On SSLProtocol -ALL +TLSv1 +TLSv1.2 SSLCompression Off SSLSessionTickets on SSLHonorCipherOrder off SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA$ SSLVerifyDepth 10 SSLCertificateFile /etc/ssl/froxlor-custom/stream.xxx.info.crt SSLCertificateKeyFile /etc/ssl/froxlor-custom/stream.xxx.info.key SSLCACertificateFile /etc/ssl/froxlor-custom/stream.xxx.info_CA.pem SSLCertificateChainFile /etc/ssl/froxlor-custom/stream.xxx.info_chain.pem <IfModule mod_headers.c> Header always set Strict-Transport-Security "max-age=0" </IfModule> DocumentRoot "/var/customers/webs/franks/xxx.com" FcgidIdleTimeout 30 SuexecUserGroup "franks" "franks" <Directory "/var/customers/webs/franks/xxx.com/"> <FilesMatch "\.(php|html)$"> SetHandler fcgid-script FcgidWrapper /var/www/php-fcgi-scripts/franks/stream.xxx.info/php-fcgi-starter .php FcgidWrapper /var/www/php-fcgi-scripts/franks/stream.xxx.info/php-fcgi-starter .html Options +ExecCGI </FilesMatch> Require all granted AllowOverride All </Directory> Alias /webalizer "/var/customers/webs/franks/webalizer" LogLevel warn ErrorLog "/var/customers/logs/franks-error.log" CustomLog "/var/customers/logs/franks-access.log" combined </VirtualHost>
Müssten die Einstellungen hier mit drinnen stehen?
-
-
-
ProxyPass /service1 http://localhost:8080/service1 ProxyPassReverse /service1 http://localhost:8080/service1 <Proxy http://localhost:8080/service1> Require all granted Options none </Proxy>ich habe den von dir oben beschriebenen eintrag in die vhost gemacht und nun erhalte ich wenn ich auf
www.domain.com funktioniert das SSL Zerifikat aber lande im Verzeichnis von einer Website
www.domain.com:8080/service1 dann geht Restreamer mit ungültigem SSL Zerifikat
www.domain.com/service1 gehe Restreamer mit ungültigem SSL Zerifikat (Restreamer antwortet {"code":404,"message":"File not found","details":["/service1/ui"]})Beim versuch
ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ <Proxy http://localhost:8080/> Require all granted Options none </Proxy>www.domain.com funktioniert das SSL Zerifikat aber Lande im Verzeichnis von einer Website
www.domain.com:8080/ dann geht Restreamer mit ungültigem SSL Zerifikat -
ja, oder dass der dienst unter https://public-domain.tld:8181 abrufbar ist.
Mir ist noch aufgefallen dass der Docker auf den Ports 8080 und 8181 hört jedoch wenn ich einen Open Port Check mache dann scheint nur 8080 offen zu sein.
Kann das sein? -
-
In den Einstellungen von Restreamer kann man Zertifikate erstellen lassen.
http://stream.xxx.com:8080 funktioniert auch
https://stream.xxx.com:8181 funktioniert nicht (ERR_CONNECTION_REFUSED)
http://stream.xxx.com wird auf die Loging Seite von Froxlor umgeleitet
-
-
ProxyPass / http://localhost:8181/ ProxyPassReverse / http://localhost:8181/ <Proxy http://localhost:8181/> Require all granted Options none </Proxy>
Ich möchte dass die Domain https://deine-domain.tld/ unter dem port 8181 erreichbar ist.
Was mache ich hier falsch?
mod_proxy_http ist aktiviert. -
Hallo,
ich habe Restream (Open Source Streaming Server ⇒ Selfhosting Video Server / datarhei ⇒ Open Source Video Streaming Server Software) installiert.
Nun kann ich per ip:8080 den Streamingserver erreichen.In der Anleitung steht:
Vergessen Sie nicht die Portweiterleitung des öffentlichen Ports für HTTPS: 443 auf Ihren internen Restreamer IP Standardport: 8181wie kann ich das machen?
-
-
-
-
Open_Base
in German / Deutsch
Oh, jetzt verstehe ich es. Klappt nun ganz gut.