Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Cool apache webserver "ServerRoot"?

    sorry if this is a bit of a numpty question, but in the Apache docs it says various tips on making it secure, the first being to secure the "ServerRoot" - it says the default is /usr/local/apache.
    My system hasn't got a directory called /usr/local/apache - does this mean something's wrong?
    output of "ls / -R | grep apache" just returns a few image files, no dirs...

  2. #2

    any ideas?

  3. #3
    check your rpm package or in general if you apache is installed and properlly configured.

    try the following.

    find where is "apachectl" to start|stop|restart your apache

    "service httpd status" < should give you a status of your webserver if it failes it means that there is something wrong with your apache

    both commands work in fedora and redhat.. so you should be fine.

    if you get failures i suggest recompile/reinstall your apache

  4. $spacer_open
  5. #4
    The default ServerRoot is different per each distro anymore. Red Hat generally uses /var/www and Suse uses /srv/htdocs.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts