Í
Íßêïò
Tonigth i chnages the scheme of my perl webpage
instead of having index.html redirect to cgi-bin\index.pl
i set in httpd.conf DirectoryIndex index.html cgi-bin/index.pl
but all links to other ple scripts inside my index.pl not workign any
more cause thye y were relative.
Then i changed them alla links to files an folders to absolute
startinf with a leading / (d:\www which is my DocumentRoor)
Now script can work but
but statements like :
my @files = glob "/data/text/*.txt";
and
my @tips;
open FILE, "/data/text/tips.txt" or die $!;
@tips = <FILE>;
close FILE;
arent opening files or loading them into arrays.
The paths though to files ae correct.
I just dont see the error.
instead of having index.html redirect to cgi-bin\index.pl
i set in httpd.conf DirectoryIndex index.html cgi-bin/index.pl
but all links to other ple scripts inside my index.pl not workign any
more cause thye y were relative.
Then i changed them alla links to files an folders to absolute
startinf with a leading / (d:\www which is my DocumentRoor)
Now script can work but
but statements like :
my @files = glob "/data/text/*.txt";
and
my @tips;
open FILE, "/data/text/tips.txt" or die $!;
@tips = <FILE>;
close FILE;
arent opening files or loading them into arrays.
The paths though to files ae correct.
I just dont see the error.