P
PGPS
Hi,
1. I have a perl program which logs user inputs. It was working fine on
Linux system.
2. I moved my entire work onto my home PC with XP-Home/Active
Perl/Apache and running the program as a cgi-script. It was working
fine and was able to perform logs as usual, but I was unable to view
it.
3. Apache woudn't display .html files if they are in cgi-bin directory.
I had to move it out to htdocs and change the path of the file in PERL
program to point to the file in htdocs.
4. With this setup, I get an error "Cannot open file" in the error logs
of Apache. I can view the file on the internet, but the program is not
able to open to save the logs.
Can someone tell me what's going on. And how to fix it. Either at
Apache end (to be able to view .html files in cgi-bin directory) OR on
the PERL end, where I want to be able to make the file world writable
and perform logs.
Thanks.
1. I have a perl program which logs user inputs. It was working fine on
Linux system.
2. I moved my entire work onto my home PC with XP-Home/Active
Perl/Apache and running the program as a cgi-script. It was working
fine and was able to perform logs as usual, but I was unable to view
it.
3. Apache woudn't display .html files if they are in cgi-bin directory.
I had to move it out to htdocs and change the path of the file in PERL
program to point to the file in htdocs.
4. With this setup, I get an error "Cannot open file" in the error logs
of Apache. I can view the file on the internet, but the program is not
able to open to save the logs.
Can someone tell me what's going on. And how to fix it. Either at
Apache end (to be able to view .html files in cgi-bin directory) OR on
the PERL end, where I want to be able to make the file world writable
and perform logs.
Thanks.