Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 + mod_perl
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
nico.ahlke
n00b
n00b


Joined: 01 Jan 2005
Posts: 4

PostPosted: Tue Aug 30, 2005 3:08 pm    Post subject: Apache2 + mod_perl Reply with quote

Hallo zusammen,

habe eben eine Webserver mit Apache aufgesetzt. Zusätzlich habe ich das Modul mod_perl installiert um Perl-Skripte auszuführen. Des weiteren habe ich die /etc/apache2/conf/commonapache2.conf etwas angepasst. Den Abschnitt

<Location /cgi-perl/*.pl>
.
.
.
</Location>

durch

<Files *.pl>
SetHandler perl-script
PerlResponseHandler ModPerl::PerlRun
Options +ExecCGI
PerlSendHeader On
</Files>

ersetzt um überall Perl-Skripte auszuführen. Rufe ich ein Skript über den Webbrowser auf, wird mir lediglich die Datei nur zum download angeboten. Weiss jemand woran dies liegen könnte?

Vielen Dank im voraus.

Gruss Nico
Back to top
View user's profile Send private message
name
n00b
n00b


Joined: 27 Apr 2005
Posts: 37
Location: Austria --> Wien

PostPosted: Tue Aug 30, 2005 3:09 pm    Post subject: Reply with quote

Hast du die /etc/conf.d/apache2 editiert?
Back to top
View user's profile Send private message
nico.ahlke
n00b
n00b


Joined: 01 Jan 2005
Posts: 4

PostPosted: Tue Aug 30, 2005 4:33 pm    Post subject: Reply with quote

In der /etc/conf.d/apache habe ich lediglich die Zeile ergänzt sodass da dieses steht: APACHE2_OPTS="-D DEFAULT_VHOST -D PERL -D PHP4"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum