Erstellt vor 10 Jahren

Zuletzt geändert vor 8 Jahren

#329 new enhancement

apache needs webif, easy-to-follow setup guide, a fitting apache.conf and an initscript

Erstellt von: fkrueger Verantwortlicher:
Priorität: normal Meilenstein: freetz-future
Komponente: packages Version: devel
Stichworte: apache webif howto apache.conf init Beobachter:
Product Id: 3170 Firmware Version:

Beschreibung

Just as the summary says, apache didn't yet have an easy-to-follow guide for getting started (IMO).

I created a little package containing 2 patches, one for make/apache/conf/apache.conf (fitting for Mini-HowTo), one for make/apache/Config.in (added Mini-HowTo), and a few files (fitting webif file in /usr/lib/cgi-bin, /etc/init.d/rc.apache, and a set of files in /etc/default.apache/, including an apache.conf editor).

It's far from perfect, since I invented $APACHE_DIRBASE and $APACHE_DIR in order to split the path up in a base path and the rest of the path including the usbdevice's dirname. Maybe someone can add this $APACHE_DIRBASE somewhere more global. Used the same thing for a $TRANSMISSION_DIRBASE for the very same reasons.

Enjoy.

Anhänge (2)

apache-2911-patch.tgz (2.2 KB) - hinzugefügt von fkrueger vor 10 Jahren.
initscript_rc_apache_cleared_up__now_returns_status_all_the_time.patch (2.3 KB) - hinzugefügt von fkrueger vor 10 Jahren.

Alle Anhänge herunterladen als: .zip

Änderungshistorie (6)

Geändert vor 10 Jahren durch fkrueger

comment:1 Geändert vor 10 Jahren durch fkrueger

  • Typ von defect nach enhancement geändert

comment:2 Geändert vor 10 Jahren durch fkrueger

The initscript patch is just some clearing up (tabs,spaces,remove debugs,remove commentary) and the status now gets returned all the time.. Dunno from which other initscript I picked up the exclusion of status-reporting when the package is not in autostart.

In any case, enjoy.

comment:3 Geändert vor 9 Jahren durch Whoopie

  • Meilenstein von freetz-1.2 nach freetz-future geändert

comment:4 Geändert vor 8 Jahren durch Spock

Would be nice if the Apache may be included in the Firmware image (for 7270v2(16MB) 7270v3) and external image

It would also be very nice if the Apache can be Startet/Autostarted over WebIf as Service

Hinweis: Hilfe zur Verwendung von Tickets finden Sie in TracTickets.