in reply to Re^3: Perl, Permission and Browsers
in thread Perl, Permission and Browsers

well, quite frankly this -rwxrwxrwx does not seem to have any impact, I only got that from my ftp-program, I'm aware that the server is on Win NT, but I only have ftp access to it.
the first redirection is in intern.htm, the file contains only
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.lent.ch/intern/cgi-bin/main.cgi"></META +>


the second one is in main.cgi and looks like this:<br> <td> <a href='/../intern/cgi-bin/folder.cgi?intern/$file'> $file </a>< +/td>

so its just a simple html-link, but these don't work with IE. However, if I create a link to a regular html-file (inside the protected folder), this works fine.

Replies are listed 'Best First'.
Re^5: Perl, Permission and Browsers
by polettix (Vicar) on Apr 21, 2005 at 15:46 UTC
    The second URL is suspect. Have you tried to remove the first part, like:
    <a href='/intern/cgi-bin/folder.cgi?intern/$file'>
    This should give you an absolute URL http://www.lent.ch/intern/cgi-bin/folder.cgi?intern/$file which I suspect is what you need. Take also into consideration mangling $file to escape bad characters that may tamper the final URL.

    Flavio (perl -e "print(scalar(reverse('ti.xittelop@oivalf')))")

    Don't fool yourself.