wood burning stoves*
The moose likes Tomcat and the fly likes Help me finding root directory of apache. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Help me finding root directory of apache." Watch "Help me finding root directory of apache." New topic
Author

Help me finding root directory of apache.

pinga kanave
Greenhorn

Joined: Mar 11, 2010
Posts: 20
Hi guys i m running a linux server with following os.

uname -o
GNU/Linux
lsb_release -a
LSB Version: :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: EnterpriseEnterpriseAS
Description: Enterprise Linux Enterprise Linux AS release 4 (October Update 7)
Release: 4
Codename: OctoberUpdate7


Thanks in advance.
I m running following Apache web server version.

httpd -v
Server version: Apache/2.0.52
Server built: Jun 11 2008 19:01:13


How would i find the root directory of Apache server to put my web pages.
Please help.
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3090
    
  40

"pinga pingae" please check your private messages regarding an important administrative matter.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
pinga kanave
Greenhorn

Joined: Mar 11, 2010
Posts: 20
Devaka Cooray wrote:"pinga pingae" please check your private messages regarding an important administrative matter.

I tried to change it but it seems my password is not changing.i m sorry about my name actually i was in hurry but now when i m trying to change it i m getting an error . Please help me solve my query.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16054
    
  21

The document root directory is /var/www/html and it's defined in /etc/httpd/conf/httpd.conf.

This isn't really the right forum for asking questions about Apache, though. Apache Tomcat isn't the same thing as Apache httpd. It's confusing, since we generally say "Tomcat" for Apache Tomcat, but "Apache" for Apache httpd.

Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help me finding root directory of apache.