How do I make a backup of the httpd.conf file?
I have an MBP OSX 10.5.6 Leopard and the free version of MAMP
I want to serve up multiple sites on the single server in MAMP but before I attempt this I want to make a backup of the httpd.conf file. How do I make a backup of the httpd.conf file? I will need step by step instructions as I am new to this. I would greatly appreciate any help with this. Thanks. |
Copy it somewhere?
|
I don't have a mac in front of me, but I used to work on them. Bring up a terminal window.
Do: locate httpd.conf cp <file from locate> ~ That will copy httpd.conf to your home directory. Then, open up your home directory and check if it's there. (copy down the location for later in case you need it). |
to be more explicit
$ cd /etc/apache2 $ sudo cp -p httpd.conf httpd.conf.bak I'm assuming you are an administrative user. You indicated you had 10.5.6, so if you see threads talking about /etc/httpd, that's older versions of MacOSX. And, yes, $ locate httpd.conf will generate a list of files that it finds. Note that /etc, which I use, is a symlink to /private/etc. |
Thanks everyone I'm going to to what you've suggested
|
All times are GMT -5. The time now is 01:35 AM. |