Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How can I restore configuration files?

Is there an easy way to get default configuration files of a given Ubuntu version? For example where to get the default apache2.conf for Ubuntu 9.10?

share|improve this question
    
Related question: askubuntu.com/questions/66533/… –  Bruno Pereira Feb 3 '12 at 15:04
add comment

marked as duplicate by Alvin Row, Lekensteyn, andrewsomething, htorque, Takkat Feb 3 '12 at 21:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 2 down vote accepted

Alternately you can download the appropriate .deb and extract the file.

http://packages.ubuntu.com/

Download the .deb and extract it with

ar p apache.deb data.tar.gz | tar zx

Then find the configuration file you need in the extracted directory.

I only mention this in the event you are running a server without X ;)

share|improve this answer
    
I'd recommend to download the deb file through apt-get download <package> –  Wolter Hellmund Jul 16 '13 at 16:47
add comment

Start from a live-CD, install apache2, and there you have them. Save them to an USB-stick, for instance, or to the cloud, attach them to an email for yourself.

Or save the current files, uninstall (purge) apache2, and reinstall it.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.