November 25, 2024, 11:43:49 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Where is my www-root directory ?  (Read 7371 times)

Offline akashyak

  • Tux Awared
  • **
  • Posts: 44
Where is my www-root directory ?
« 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

Offline aktiwari4u

  • LST CareTaker
  • Crescent
  • *****
  • Posts: 161
    • http://aktiwari4u.tk/
Re: Where is my www-root directory ?
« Reply #1 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.