Two Laptop Bag*
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: 3018
    
  35

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


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
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: 15952
    
  19

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.
 
Don't get me started about those stupid light bulbs.
 
subject: Help me finding root directory of apache.
 
Similar Threads
Installing Tomcat on linux help needed.
Need a little help in running jsp pages(Tomcat server).
Java and ORACLE XE connectivity Problem
Installation Guide (Tomcat on Linux)
Tomcat Installation in Linux