Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-28-2008, 01:50 PM   #1
LQ Newbie
Registered: Jun 2008
Posts: 21

Rep: Reputation: 15
Apache path

Generally apache default path is /var/www/html, but i need the path like this /var/siva/apache ,how to accomplish that in apache....

Thanks in advance....
Old 06-28-2008, 03:29 PM   #2
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
default dir in apache

are you trying to add a virtual server ? or are you trying to just change dir , either way it can be accomplished with the apache2.conf file or httpd.conf depending on your system most of the time its located in /etc/apache2/apache2.conf

Old 06-28-2008, 04:33 PM   #3
Registered: Jan 2008
Location: Dunn Loring, VA
Distribution: Slackware 12.0, Ubuntu 8.04
Posts: 47

Rep: Reputation: 15
find: DocumentRoot in httpd.conf and change the value to what ever you want. When you change DocumentRoot you also have to change this:
# This should be changed to whatever you set DocumentRoot to.
<Directory "/usr/local/apache2/htdocs">

Hope this is what you were looking for.


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
Changing Apache Path veeraa2003 Linux - Server 1 01-23-2007 06:39 AM
apache path rickylim Linux - Software 4 04-18-2006 11:37 PM
Apache path and kde path questions darkraider Debian 1 11-12-2005 06:07 AM
Apache path help Sandman71 Linux - Software 6 10-08-2003 04:48 PM
Apache 2.0.40 and document path Drogo Linux - Software 11 06-27-2003 11:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:31 PM.

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