You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Camilla Lumme <ca...@saunalahti.fi> on 2002/04/24 12:28:08 UTC
httpd.conf in apache 2
Okay, now I tested to add a <files> section with asp directives for
Apache::ASP in the conf file:
<Files ~ (\.asp)>
SetHandler perl-script
PerlModule Apache::ASP
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>
Now apache says that "PerlModule not allowed here" whereever i put it. I
removed PerlModule directive and get a server internal error. Is there any
other directives to be used for apache2 and mod_perl 2, or is the only thing
I can do go back to 1.30 and wait.
I saw that lots of people had problems installing mod_perl on apache 2. I
tried to install it, and cgi works, perl works and the localhost default
index that came in htdocs says it is installed so i guess it is. If to
theres anything about the installation I can help you with, I'll do my best.
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org
Re: httpd.conf in apache 2
Posted by Owen Boyle <ob...@bourse.ch>.
Camilla Lumme wrote:
>
> THank you.. but what command is that? I have the windows version. Tried
> apache httpd -1 and mod_perl sure wasnt listed there... But I suppose that
> was the wrong way...
Read carefully... That is a letter "l" in the switch - not a figure "1".
I mean to execute the apache binary on the DOS command line - don't you
just type "httpd -l"?
Rgds,
owen Boyle.
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org
RE: httpd.conf in apache 2
Posted by Camilla Lumme <ca...@saunalahti.fi>.
THank you.. but what command is that? I have the windows version. Tried
apache httpd -1 and mod_perl sure wasnt listed there... But I suppose that
was the wrong way...
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org
Re: httpd.conf in apache 2
Posted by Owen Boyle <ob...@bourse.ch>.
Camilla Lumme wrote:
>
> Okay, now I tested to add a <files> section with asp directives for
> Apache::ASP in the conf file:
> <Files ~ (\.asp)>
> SetHandler perl-script
> PerlModule Apache::ASP
> PerlHandler Apache::ASP
> PerlSetVar Global .
> PerlSetVar StateDir /tmp/asp
> </Files>
> Now apache says that "PerlModule not allowed here" whereever i put it. I
> removed PerlModule directive and get a server internal error. Is there any
> other directives to be used for apache2 and mod_perl 2, or is the only thing
> I can do go back to 1.30 and wait.
> I saw that lots of people had problems installing mod_perl on apache 2. I
> tried to install it, and cgi works, perl works and the localhost default
> index that came in htdocs says it is installed so i guess it is. If to
> theres anything about the installation I can help you with, I'll do my best.
I haven't used apache 2.0 yet so this is just a wild guess:
I suspect that your apache binary does not have mod_perl installed. This
is a prerequisite for apache ASP. Check your binary with "httpd -l" and
see if mod_perl is listed. If not, get a binary with it installed
(http://perl.apache.org/distributions.html).
Rgds,
Owen Boyle.
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org