Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Running perl scripts in /var/www/blog |
|
Author |
|
guterboyer
Joined: 09 Mar 2007 Posts: 2
|
Posted: Sun 01 Apr '07 13:40 Post subject: Running perl scripts in /var/www/blog |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 02 Apr '07 13:46 Post subject: Re: Running perl scripts in /var/www/blog |
|
|
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 |
|
|
|
|
|
|