Fire the following command to take a backup of apache on your               server:

cp -/etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak

Above is for Centos users

For Ubuntu users ,please refer the following :-

sudo cp /etc/apache2/apache2.conf /etc/apache2/apache2.conf.bak

Hjälpte svaret dig? 56 användare blev hjälpta av detta svar (246 Antal röster)