Command To Change Apache Working Directory
- Forums
- Apache Hosting
- Command To Change Apache Working Directory
the following command can be use to set the apache working directory for example, lets say i want to change it to: /home/users/myapache i can use this command for changing it [994], Last Updated: Mon Jun 24, 2024
Hostman
Sun Mar 21, 2010
0 Comments
647 Visits
the following command can be use to set the Apache working directory.
for example, lets say i want to change it to: /home/users/myapache i can use this command for changing it:
# httpd -d /home/users/myapache
the -d option sets teh initial value for the ServerRoot directive to server-root, this can be overridden by the serverroot directive in the configuration file. note that the default directory is /etc/httpd