LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-09-2004, 04:58 AM   #1
varala_kanth
Member
 
Registered: Feb 2004
Posts: 51

Rep: Reputation: 15
default web dir for user


hello freinds,

iam root user to the system

i added a user "a"

what will be default web dir for the user "a:

with regards
rama kanth
 
Old 06-09-2004, 05:05 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If "mod_userdir" is enabled, it should be in ~/pub_html by default(so for user "a" its /home/a/pub_html), and it can be accessed with the url "http://yourserver/~a" .
 
Old 06-09-2004, 05:09 AM   #3
varala_kanth
Member
 
Registered: Feb 2004
Posts: 51

Original Poster
Rep: Reputation: 15
what is mod_usedir?

as iam new bie

how to know mod_usedir is enabled or not

if not enabled how to enable it and

what is that basically
 
Old 06-09-2004, 05:59 AM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:

how to know mod_usedir is enabled or not

if not enabled how to enable it and

put something like this in your apache config file(remove it after you're done with this):
Code:
<Location /server-info>
        SetHandler server-info
        Order allow,deny
        Allow from all
</Location>
restart apache, take a look at http://localhost/server-info and see if mod_userdir is there, if its not this is what you can add to the config file to enable it:
Code:
LoadModule userdir_module                modules/mod_userdir.so
<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>
Quote:

what is that basically

its just an Apache module that provides user specific directories which can be accessed by using http://example.com/~user/

Last edited by Demonbane; 06-09-2004 at 06:03 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user home dir doesn't create when new user add dev_mohamed Linux - Software 3 01-12-2007 02:08 AM
Details about default web Browser & default Email client sudhasmyle Linux - Software 4 06-15-2006 12:45 PM
Default install dir? hongman Linux - Newbie 4 02-20-2005 02:07 PM
what is the default package data dir? cheesetastic Linux - Newbie 8 04-12-2004 10:34 AM
Adding default Dir to New user Accounts Joshsawyer77 Linux - General 2 01-25-2003 03:38 PM


All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration