logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Running perl scripts in /var/www/blog
Author
guterboyer



Joined: 09 Mar 2007
Posts: 2

PostPosted: Sun 01 Apr '07 13:40    Post subject: Running perl scripts in /var/www/blog Reply with quote

I ve installed a blog software on my Debian etch in /var/www. The software package is missing a Howto.

The main index file is named index is a perl script and lives in /var/www/blog.

This is what i have:

Quote:
AddHandler cgi-script .cgi


Quote:
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
RedirectMatch ^/$ /apache2-default/
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>


The problem seems to be the AddHandler directive. I don´t have files with a cgi extension. How can i set up this to work?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Mon 02 Apr '07 13:46    Post subject: Re: Running perl scripts in /var/www/blog Reply with quote

guterboyer wrote:

The problem seems to be the AddHandler directive. I don´t have files with a cgi extension.


Which extension do you file have, if not .cgi ?
Back to top


Reply to topic   Topic: Running perl scripts in /var/www/blog View previous topic :: View next topic
Post new topic   Forum Index -> Apache