Mailinglist Archive: opensuse (2955 mails)
| < Previous | Next > |
Re: [opensuse] Apache running perl in userdir, how?
- From: "Joe Morris (NTM)" <Joe_Morris@xxxxxxx>
- Date: Mon, 12 Feb 2007 07:54:49 +0800
- Message-id: <45CFACC9.4080109@xxxxxxx>
Richard Bos wrote:
> Therefor I changed to /srv/www/cgi-bin, as I know that perl is allowed to be
> run from there. And indeed ftree can be run from there. Actually ftree is
> installed in /srv/www/cgi-bin/cgi/ftree.cgi
> The ftree.cgi script refers to pictures with ../graphics/<file>, but these are
> not found. While the files are there (.e.g):
> /srv/www/cgi-bin/graphics/hblank.gif
> Why does ftree.cgi does not see those pictures? Is it
> because /etc/apache2/conf.d/mod_perl.conf specifies:
> ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/" ?
>
>
I can't answer your actual question, but ../graphics/<file> would be in
/srv/www/graphics. To be found as a sub of cgi-bin, it should be
./graphics/<file>. Not sure if it was a typo or the problem.
--
Joe Morris
Registered Linux user 231871 running openSUSE 10.2 x86_64
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> Therefor I changed to /srv/www/cgi-bin, as I know that perl is allowed to be
> run from there. And indeed ftree can be run from there. Actually ftree is
> installed in /srv/www/cgi-bin/cgi/ftree.cgi
> The ftree.cgi script refers to pictures with ../graphics/<file>, but these are
> not found. While the files are there (.e.g):
> /srv/www/cgi-bin/graphics/hblank.gif
> Why does ftree.cgi does not see those pictures? Is it
> because /etc/apache2/conf.d/mod_perl.conf specifies:
> ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/" ?
>
>
I can't answer your actual question, but ../graphics/<file> would be in
/srv/www/graphics. To be found as a sub of cgi-bin, it should be
./graphics/<file>. Not sure if it was a typo or the problem.
--
Joe Morris
Registered Linux user 231871 running openSUSE 10.2 x86_64
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |