You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Robert A. Rawlinson" <ra...@cinci.rr.com> on 2007/06/29 20:02:31 UTC
[users@httpd] Problem Getting Apache2 script to run
I have Apache2 set up and running on a system I only use for testing. In
trying to access a script that is an html and only points to a Perl
script. When it reaches the Perl script I get this message:
You have chosen to open filename.pl which is a perl script from -------
What should I do with this file?
Then I get options which are
open with edit
other
I am running Firefox 2.0 to access the apache script.
I am fairly new to Apache and my searches seem not to find an answer. I
am hoping someone here can point me to what is wrong.
Thanks for any help you can offer.
Bob R
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Problem Getting Apache2 script to run
Posted by Sander Temme <sc...@apache.org>.
Robert,
On Jun 29, 2007, at 11:02 AM, Robert A. Rawlinson wrote:
> I have Apache2 set up and running on a system I only use for
> testing. In trying to access a script that is an html and only
> points to a Perl script. When it reaches the Perl script I get this
> message:
> You have chosen to open filename.pl which is a perl script from
> ------- What should I do with this file?
I assume you want the script to Execute on the server, instead of
having the server send it to you as text?
Look at ScriptAlias and Options ExecCGI. Also, make sure that your
#! paths, associations etc. are set correctly on the server. I have
no clue but ActiveState has some good docs on that.
S.
--
Sander Temme
sctemme@apache.org
PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org