URN Logo
UNIX Resources » Linux » Linux Forum » Linux Web Servers » Page.8 » Apache Document Root Setting
The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
Apache Document Root Setting
Subject: Apache Document Root Setting
Author: dannydy    Posted: 2004-10-10 16:04:57    Length: 300 byte(s)
[Original] [Print] [Top]

My current setting for my apache document is /usr/local/apache/htdocs for default setting. And i like to change it to my user account like /home/dan/public_html. It seem it doesn't work in my document root setting, how do i set it up so that i can do that?

[Original] [Print] [Top]
Subject: Apache Document Root Setting
Author: the_unforgiven    Posted: 2004-10-11 00:41:35    Length: 817 byte(s)
[Original] [Print] [Top]
Where are you trying to set the docroot?
as in, are you trying to configure a virtualhost?
Or you're trying to set the global docroot to your dir.

Also, you might want to read up on the mod_userdir (here is the doc: http://httpd.apache.org/docs-2.0/mod/mod_userdir.html)

Check this for virtualhost documentation:

Check this for the core configuration of Apache:

Go down to "DocumentRoot Directive" section
[span style='font-size:12pt;line-height:100%']The Unforgiven
So I dub thee unforgiven[/span]
Linux User #358564
[Original] [Print] [Top]
« Previous thread
Web Server With Suse Help
Linux Web Servers
Page. 8
Next thread »

Copyright © 2018 UNIX Resources Network, All Rights Reserved.    About URN | Privacy & Legal | Help | Contact us