Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Are you referring to DocumentRoot here? Commented Jan 27, 2013 at 20:29
  • To the document root of my apache server. /var/www/ is where all of my php scripts are located Commented Jan 27, 2013 at 20:29
  • 1
    I would grep for it in the httpd_conf and set it automatically. Commented Jan 27, 2013 at 20:30
  • Awesome idea but it differs from dirstro to distro. Some it's in /etc/apache2 and for others it might be in /etc/httpd, any way to dynamically figure out where the httpd.conf or apache2.conf file might be? Commented Jan 27, 2013 at 20:59
  • @djthoms, who says it has to be dynamical? Could edit the script when installing. Commented Jan 28, 2013 at 1:24