apache - foswiki perl configuration shown as plain text in browser -


i trying install foswiki on localhost. when ran configuration file (localhost/wiki/bin/configure), it's shown plain text in browser. i'm sure perl installed @ /usr/bin/perl.

i tried allow apache running scripts, here apache configuration file.

<virtualhost *:80>     serveradmin webmaster@localhost      documentroot /var/www     <directory />             options followsymlinks             allowoverride none     </directory>     <directory /var/www/>             options indexes followsymlinks multiviews             allowoverride none             order allow,deny             allow     </directory>      scriptalias /cgi-bin/ /usr/lib/cgi-bin/     <directory "/usr/lib/cgi-bin">             allowoverride none             options +execcgi -multiviews +symlinksifownermatch             order allow,deny             allow     </directory>      <directory "/opt/lampp/htdocs/wiki/bin">             allowoverride none             options execcgi followsymlinks             sethandler cgi-script             order allow,deny             allow     </directory>  </virtualhost> 

thanks help!

i found answer: need install libapache2-mod-perl package in order let apache execute perl script.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -