The problem solved now.
It is again(for me) selinux. When i disabled it - all began to work fine.
It is freaking me out at work, when we began to install linuxe`s with kernel
version 2.6(selinux was built in kernel from 2.6) or more i had big problems
with this new software...
> It drives me crazy
2009/12/21 David Taiaroa
> Hi Alexander,
>
> Is the LWP module in the same directory as the CGI module, and does it have
> permissions 644?
>
Yes, folders CGI and LWP are in /usr/lib/perl5/vendor_perl/5.10.0 and
permissions are 644.
>
> Hi Alexander,
>
> Since both scripts work on our server, and not yours, all I can think of is
> that it's something specific to your server environment.
>
I think that too, but can`t understand where is the problem :(.
2009/12/19 David Taiaroa
> Does something simple like this work for you?
So it is time for an easy example script.
i wrote this little example maybe it will be clearly describe my problem. I
did not use any files or something for no more possible problems with
permissions.
*#!/usr/bin/perl
use CGI ;
use strict;
use warnings;
use Data::Dumper;
use CGI::Carp 'fatalsToBrow
2009/12/19 David Taiaroa
>
> When you run a script from shell it's probably as user 'you'.
> When the script runs from a browser, it will be as user 'www' or something
> similar, with restricted permissions. Your shell user will have more
> permissions, so you might want to look at file permission
Hi,
When you run a script from shell it's probably as user 'you'.
When the script runs from a browser, it will be as user 'www' or something
similar, with restricted permissions. Your shell user will have more
permissions, so you might want to look at file permissions.
Also, you want to check