Move apache config files
1 answer
This can be done by specifying a parameter -f
when installing apache as a service on Windows.
The parameter -f
takes the location of the configuration file. For example, if your command to install the service was
httpd.exe -k install -n "MyServiceName"
Add -f "c:\files\my.conf"
with your config file for example:
httpd.exe -k install -n "MyServiceName" -f "c: \ files \ my.conf"
See Apache manual for details .
+3
source to share