Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help me finding root directory of apache.

 
pinga kanave
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 4262
229
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"pinga pingae" please check your private messages regarding an important administrative matter.
 
pinga kanave
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18014
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic