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 unter Linux führt keine Perl-Scripte aus

Empfohlene Antworten

Hi Leute,

hab nen kleines Problem:

Habe mir unter openSUSE 10.3 einen Apache installiert und möchte nun, dass er auch perl Dateien verarbeitet, dazu habe ich wie schon in vielen Foren angegeben die httpd.conf bearbeitet, am Ende " AddHandler cgi-script .cgi .pl" angefügt.

Aber trotzdem wird mir bei Aufruf der Perl-Datei diese nur zum Download angeboten. Was habe ich falsch gemacht?

Wäre echt gut, wenn einer von euch Rat weis;)...

Vielen Dank schonmal

Lieben Gruß

Micha

Options +ExecCGI nicht gesetzt? *rat*

s'Amstel

Also folgedes hab ich angefügt: ( Ist noch nen bisschen unrelevantes Zeug dabei, ist für die Buchhaltungsplattform "LX-Office":

AddHandler cgi-script .pl

Alias /lx-erp/ /srv/www/htdocs/lx-erp/

<Directory /srv/www/htdocs/lx-erp/>

Options +ExecCGI +Includes +FollowSymlinks

</Directory>

<Directory /srv/www/htdocs/lx-erp/users/>

Order Deny,Allow

Deny from all

</Directory>

so das wars...

Micha

ich vermisse in der angabe das ScriptAlias; hast du ein cgi-bin-verzeichnis?

s'Amstel

ich vermisse in der angabe das ScriptAlias; hast du ein cgi-bin-verzeichnis?

s'Amstel

Alternativ dazu kannst du auch

SetHandler cgi-script

in den <Directory>-Abschnitt einfuegen. Dann gehts auch ohne ScriptAlias

Also ein cgi-bin verzeichniss habe ich, die Dateien liegen aber in /htdocs/lx-erp/.

Im cgi-bin verzeichniss sind lediglich eine .conf und eine .html Datei > ist das ok so?

den Eintrag SetHandler cgi-script hab ich jetzt auch noch gemacht, nützt aber auch nich:(...

Was kommt denn normal in den cgi-bin ordner rein? < Sry wenn das ne doofe Frage ist, hab da nich soviel ahnung von apache, is eig. mein erster den ich versuche auf die beie zu stellen;)

Micha

ins cgi-bin kommen ausschliesslich die scripte, also .cgi bzw .pl

s'Amstel

Muss ich die Dateien ( ausschlieslich .pl)...dann ich den cgi-bin ordner packen?..

Weil in der Anleitung vom LX Office stand ganz normal in den htdocs ordner....

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.