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.

Apache über script neustarten

Empfohlene Antworten

Ich müsste den Apache Server vom Browser aus neustarten.

Hat jemand eine Idee, wie ich das am besten mache?

also ich würde dort ein cgi-script vorschlagen,voraussetzung ist natürlich dass du den server administrierst.

dieses cgi-script (perl) wird mittels sudo eingebunden und über dieses script wird dann der befehl der den apache neustartet ausgeführt.

vllt hilft dir dieser hinweis

  • Autor

Hallo finfin82,

Danke für Deine Antwort.

Der Server wird von mit administriert, sollte also nicht das Problem sein. Cgi Script hatte ich auch schon überlegt, aber ich glaube ich mache das mit einem Aufruf über eine aspx-Seite (benutze asp.net-Modul für Apache). Da könnte ich ja eine Batch-Datei ausführen, die aufruft

"net stop Apache2" und "net start Apache2", oder?

Viele Grüße,

Steel

naja du brauchst zum ausführen dieses befehls root-rechte solltest du einen linux-server haben wird dir das nur mit sudo gelingen

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.