On Thu, 15 Mar 2007, Michael Folsom <[EMAIL PROTECTED]> wrote:-
>David:
>
>Thanks!
>
>You are right - it works from the cgi-bin directory.
>
>Now why oh why did they ship the mod_perl.conf file that way when they
>had created the directory /srv/www/perl-lib to put perl scripts in?
No idea. I always install any scripts into /cgi-bin/. It makes things
much easier as it "just works".
>The next question is - how do you fix the file to get it to work?
If you really want to use it, it just needs a few of changes.
>Contents of the default mod_perl.conf in OpenSuse 10.2 below -
<Snip>
> Deny from all
Change this to "Allow from all"
<snip>
> ScriptAlias /perl/ "/srv/www/cgi-bin/"
Change this to:
ScriptAlias /perl/ "/srv/www/perl-lib/"
<snip>
> ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/"
And this to:
ScriptAlias /cgi-perl/ "/srv/www/perl-lib/"
Then, after restarting, it should work as you're expecting it to do.
Regards,
David Bolt
--
Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/
RISCOS 3.11 | SUSE 10.0 32bit | SUSE 10.1 32bit | openSUSE 10.2 32bit
RISCOS 3.6 | SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit
TOS 4.02 | SUSE 9.3 32bit | | openSUSE 10.3a1 32bit
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]