04-20-2012
what error do you see in the apache logs ?
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello Moto
I hope someone can help
We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers..
a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies
2. UNIX for Dummies Questions & Answers
i need to move apache 2.2 from one server over to another server..... my servers are in atlanta and i'm logged in here in florida... what commands do i use ???? somebody mentioned the fetch command... please help.... i'm an idiot when it comes to unix (2 Replies)
Discussion started by: marinob007
2 Replies
3. UNIX for Dummies Questions & Answers
I have a .sh script which was running fine on all the UNIX Servers (AIX, SunSolaris). The script requires two mandatory parameters and many optional parameters. Now at a different client place who are on a Windows Server, when I try to execute the script through MKS Toolkit, there are couple of... (5 Replies)
Discussion started by: madhunk
5 Replies
4. UNIX and Linux Applications
We are using subversion as a version control system in our project. We are connecting to client`s sun Solaris box through check point VPN. Client has installed subversion .
We have created repository and add files to it. Now we want to access the same from our windows machine (through... (0 Replies)
Discussion started by: aasid
0 Replies
5. Shell Programming and Scripting
I'm trying to write a Perl script where a file from a UNIX server box connects to a Windows server box and copies that file into the Window box.
The main problem I have right now is that whenever I try to connect to the Windows box, the connection is refused.
The error message that always pops... (2 Replies)
Discussion started by: kooshi
2 Replies
6. Shell Programming and Scripting
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies
7. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
8. Solaris
I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output.
Is it possible to transfer files from Windows server to unix server through any shell script?
If so can you please help me with the details.
Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies
9. Shell Programming and Scripting
I have two servers linux and windows and i want to compare files which are in unix server that to windows server and find out which are missing
that means i have 50 files with 6000 records in each file on linux server and i want to verify weather these 50 files are present in windows server... (5 Replies)
Discussion started by: sagar_1986
5 Replies
10. Shell Programming and Scripting
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies
LEARN ABOUT DEBIAN
apache2::sitecontrol::user
Apache2::SiteControl::User(3pm) User Contributed Perl Documentation Apache2::SiteControl::User(3pm)
NAME
Apache2::SiteControl::User - User representations
SYNOPSIS
my $user = Apache2::SiteControl->getCurrentUser($r);
# $r is the apache request object
# Checking out the user's name:
if($user->getUsername eq 'sam') { ... }
...
# Working with attributes (session persistent data)
my $ssn = $user->getAttribute('ssn');
$user->setAttribute($r, 'ssn', '333-555-6666');
# Removing/invalidating session for the user
$user->logout($r);
DESCRIPTION
The SiteControl system has a base concept of a user which includes the user's name, persistent attributes (which are persistent via
session), and support for user logout.
It is assumed that you will be working from mod_perl, and some of the methods require an Apache request object. The request object is used
by some methods to coordinate access to the actual session information in the underlying system (for storing attributes and implementing
logout).
User objects are created by a factory (by default Apache2::SiteControl::UserFactory), so if you subclass User, you must understand the
complete interaction between the factory (which is responsible for interfacing with persistence), the SiteControl, etc.
The default implementation of User and UserFactory use AuthCookie to manage the sessions, and Apache::Session::File to store the various
details about a user to disk.
If you are using Apache2::SiteControl::User and Apache::SiteControl::UserFactory (the default and recommended), then you should configure
the following parameters in your apache configuration file:
# This is where the session data files will be stored
SiteControlSessions directory_name
# This is where the locks will be stored
SiteControlLocks directory_name
These two directories should be different, and should be readable and writable by the apache daemon only. They must exist before trying to
use SiteControl.
METHODS
getUsername Get the name that the current user used to log in.
getAttribute($name) Get the value of a previously stored attribute. Returns undef is there is no value.
setAttribute($request, $name, $value) Add an attribute (scalar data only) to the current session. The current apache request object is
required (in order to figure out the session). Future versions may support more complex storage in the session. This attribute will stay
associated with this user until they log out.
logout($request) Log the user out. If you do not pass the current apache request, then this method will log an error to the apache error
logs, and the user's session will continue to exist.
SEE ALSO
Apache2::SiteControl::UserFactory, Apache::SiteControl::ManagerFactory, Apache2::SiteControl::PermissionManager, Apache::SiteControl
AUTHOR
This module was written by Tony Kay, <tkay@uoregon.edu>.
COPYRIGHT AND LICENSE
This modules is covered by the GNU public license.
perl v5.14.2 2006-03-17 Apache2::SiteControl::User(3pm)