Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: akashyak on May 23, 2008, 12:38:09 PM

Title: Where is my www-root directory ?
Post by: akashyak on May 23, 2008, 12:38:09 PM
Hi.

I'm concerned with phpSANE - a scanner application.

In its installation instructions, it is said that apache is a must. So I installed apache2.

The next step says: 'put the phpSANE directory in your www-root directory'. Now where do I find this www-root directory ? I'm running Kubuntu - the KDE version of Ubuntu.

Kindly tell me location of my www-root. Is it in /etc/apache2/ ?

Thank you.
-- Akash
Title: Re: Where is my www-root directory ?
Post by: aktiwari4u on May 25, 2008, 04:57:42 AM
you can get the exect position from your configuration file in the apache2 folder there will be a file http.conf of default_server.conf . open it and search for the documentroot . this option will be pointing to your www directory .
or even if you want you may alter it and to change it to any directory location and than that directory will work as document root.

some times it may sow like this DocumentRoot "/srv/www/htdocs"
so in this case the wwwroot is htdocs folder.