You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by bkb2u <bk...@yahoo.co.nz> on 2003/05/21 06:31:26 UTC
Configure Apache:asp
HI,
I am trying to run apache:asp under win2k. I have used
Perl-5.8-win32-bin.exe to extract all the required files which
includes mod_perl. The apache webserver is going fine except when I
tried running a simple .asp file, it seemed that the server can not
translate the script. I think there is some directives missing in the
httpd.conf file but since that I am new to this, I do not have enough
knowledge to fix the problem. What am I missing ? If you can help that
would be great.
Thanks
bkb2u
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
Re: Configure Apache:asp
Posted by Josh Chamas <jo...@chamas.com>.
bkb2u wrote:
>
>>
>>After installing this distribution, in Apache2\conf\perl.conf
>>(pulled in via Apache2\conf\httpd.conf) there's directives that
>>have Apache::ASP handle files placed under the Apache2\asp\
>>directory. There should be a sample Apache::ASP script there,
>>printenv.html, accessed as
>> http://localhost/asp/printenv.html
>>which, if working, will print out your environment variables.
>>
>
>
> Yes "http://localhost/asp/printenv.html" works fine. Does that mean
> that I need a specific directives to run my specific .asp file if I
> want to call that file from another directory besides the asp directory?
>
>
Yes, look at conf/httpd.conf for configuring your Apache web server.
--Josh
________________________________________________________________
Josh Chamas, Founder phone:925-552-0128
Chamas Enterprises Inc. http://www.chamas.com
NodeWorks Link Checking http://www.nodeworks.com
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
Re: Configure Apache:asp
Posted by bkb2u <bk...@yahoo.co.nz>.
--- In apache-asp@yahoogroups.com, Randy Kobes <ra...@t...> wrote:
> On Wed, 21 May 2003, bkb2u wrote:
>
> > HI,
> >
> > I am trying to run apache:asp under win2k. I have used
> > Perl-5.8-win32-bin.exe to extract all the required files which
> > includes mod_perl. The apache webserver is going fine except
> > when I tried running a simple .asp file, it seemed that the
> > server can not translate the script. I think there is some
> > directives missing in the httpd.conf file but since that I am
> > new to this, I do not have enough knowledge to fix the problem.
> > What am I missing ? If you can help that would be great.
>
> After installing this distribution, in Apache2\conf\perl.conf
> (pulled in via Apache2\conf\httpd.conf) there's directives that
> have Apache::ASP handle files placed under the Apache2\asp\
> directory. There should be a sample Apache::ASP script there,
> printenv.html, accessed as
> http://localhost/asp/printenv.html
> which, if working, will print out your environment variables.
>
Yes "http://localhost/asp/printenv.html" works fine. Does that mean
that I need a specific directives to run my specific .asp file if I
want to call that file from another directory besides the asp directory?
bkb2u
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
Re: Configure Apache:asp
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Wed, 21 May 2003, bkb2u wrote:
> HI,
>
> I am trying to run apache:asp under win2k. I have used
> Perl-5.8-win32-bin.exe to extract all the required files which
> includes mod_perl. The apache webserver is going fine except
> when I tried running a simple .asp file, it seemed that the
> server can not translate the script. I think there is some
> directives missing in the httpd.conf file but since that I am
> new to this, I do not have enough knowledge to fix the problem.
> What am I missing ? If you can help that would be great.
After installing this distribution, in Apache2\conf\perl.conf
(pulled in via Apache2\conf\httpd.conf) there's directives that
have Apache::ASP handle files placed under the Apache2\asp\
directory. There should be a sample Apache::ASP script there,
printenv.html, accessed as
http://localhost/asp/printenv.html
which, if working, will print out your environment variables.
--
best regards,
randy kobes
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org