Sponsored Content
Full Discussion: apache user dir
Top Forums UNIX for Dummies Questions & Answers apache user dir Post 5850 by Optimus_P on Friday 24th of August 2001 02:43:22 PM
Old 08-24-2001
there is a directive in the httpd.conf file that enables the ~/public_html dir. make sure it is enabled.

Code:
#
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#

UserDir public_html

#
# Port: The port to which the standalone server listens. For
# ports < 1023, you will need httpd to be run as root initially.
#

Port 80


Last edited by Optimus_P; 08-24-2001 at 03:53 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Modify user home dir

I created a new user and assigned a certain home dir to tis user. I've noticed that this home dir (/export/home/test) is already assigned to other users. I really want to create a dedicated home dir for the new user. Can anyone tell me how I can modify this user with a new homedir? Thx for... (4 Replies)
Discussion started by: kris_devis
4 Replies

2. Shell Programming and Scripting

User dir access using ~ in sh

I am writing code to copy file if user dir exists. Code snippet : #!/bin/sh if then cp ~user1/file file else cp ~user2/file file fi This code works if shell is ksh but not if shell is sh. Can anyone suggest how this can work in sh script? Thanks, Ashish (1 Reply)
Discussion started by: Ashishp
1 Replies

3. Solaris

need to restrict user to his home dir

Hello, i need to create a user who's access is restricted only to his home directory and below, i restricted his pty access by adding 'no-pty' to the options of the ssh key in authorized_keys file. However, sftp access still allows this user access to all my file system thanks (5 Replies)
Discussion started by: lidram
5 Replies

4. UNIX for Advanced & Expert Users

user has access only to one dir

Hello i want to ask how can i let a newly created user to access only one directory and not any other directory at all.: (1 Reply)
Discussion started by: learn82
1 Replies

5. UNIX for Dummies Questions & Answers

Specifying read on dir user?

If I have a number of users all in the same group. How do I give read only access to some of them on everyone elses home directory. Is it possible if they are all in the same group?? So user1,2,3,4 can have read/execute on user1-5 home directory, but user5 can only read only have read... (1 Reply)
Discussion started by: sniff
1 Replies

6. UNIX for Advanced & Expert Users

How to know the user who moved the files to other dir

Hi, I want to know the user ID who moved a file from one directory to another Directory. Example: File1 created by user A is present in dirA then some one has moved it to dirB using "mv" command I want to know the user ID who moved the file to dirB. As far as i know "ls -lrt" command... (1 Reply)
Discussion started by: srilaxmi
1 Replies

7. AIX

Not able to mount user home dir from with automount

Hello there Have anyone configured an AIX 5L machine as NIS client? with homedirectories automounted form an NFS share? The NIS server is running Solaris. I am able to configure the AIX machine as client and user is able to login but I have configured the client to use the automountd... (0 Replies)
Discussion started by: balaji_prk
0 Replies

8. Solaris

how to change /export/home/user dir to /home /user in solaris

Hi all i am using solaris 10, i am creating user with useradd -d/home/user -m -s /bin/sh user user is created with in the following path /export/home/user (auto mount) i need the user to be created like this (/home as default home directory ) useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies

9. UNIX for Dummies Questions & Answers

Switching from root to normal user takes me to user's home dir

Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user. How to fix this? (1 Reply)
Discussion started by: syncmaster
1 Replies

10. AIX

Assign read write permission to the user for specific dir and it's sub dir and files in AIX

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies
IC_MOD_PERL(1p) 					User Contributed Perl Documentation					   IC_MOD_PERL(1p)

NAME
ic_mod_perl -- Run Interchange entirely inside Apache/mod_perl SYNOPSIS
# Add to Apache httpd.conf: PerlRequire /usr/lib/interchange/bin/ic_mod_perl PerlChildInitHandler Vend::ModPerl::child_start PerlChildExitHandler Vend::ModPerl::child_end <Location /ic> SetHandler perl-script PerlHandler Vend::ModPerl PerlSendHeader Off PerlSetupEnv On </Location> DESCRIPTION
Benefits o Possibly better stability, especially on non-Linux platforms where Perl signals are often buggy. o Use less memory total; don't have preforked Apache and Interchange daemons. Adds about 8 MB more to a typical Apache/mod_perl child process, for a total of, say, 32 MB per Apache child process. But standalone Interchange usually has 3 processes: an Interchange child process (~24 MB), an httpd child (~24 MB), and a link CGI (~1 MB), so it's actually a decent savings in total memory used. o Speed (ranging from slightly faster to the same on heavy pages, to 10 hits/sec. faster on empty pages). o Debugging -- delve into bowels with Apache::Status. o Easier coexistence with other mod_perl code and libraries. o Can coexist with standalone Interchange codebase without problems. o Administrative ease (for sysadmins who know Apache but not Interchange). Drawbacks o Interchange runs as web server user, which in a standard system is usually apache or www, so you wouldn't want to share that Apache installation with untrusted user CGIs, PHP, etc. as they could read any Interchange files, including DSNs, userdb, etc. o Apache needs to be dedicated, or very closely watched because all mod_perl stuff runs in the same interpreter, and lots of mod_perl code doesn't use Safe. o How do you scale to multiple app servers in this configuration? o Hardware or software port redirector o Tux CGI front-end redirector like tlink o Separate lightweight Apache (no modules) that proxies /ic requests Ideal system setup Use Tux to serve images & static content, and a dedicated Apache for Interchange running under the 'interch' user and with no UserDir, CGI, PHP, etc. enabled and an empty DocRoot. CAVEATS
o Watch out for differing Storable versions in sessions when switching between standalone and mod_perl runs! BUGS
o Haven't yet implemented form/multipart submissions. o Don't yet handle TolerateGet. o Don't yet handle MiniVend 3 style GETs (mv_session_id;mv_arg;mv_pc) o URIs must follow format "/ic/catalogname/page...", where /ic is customizable but must only be one "directory" deep (i.e., no slashes). AUTHOR
Jon Jensen <jon@icdevgroup.org>, March 2002 perl v5.14.2 2012-01-23 IC_MOD_PERL(1p)
All times are GMT -4. The time now is 03:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy