Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

just wondering if anyone can tell me what the default content of the default files in sites-available and sites-enabled in debian.

Thanks

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Look a2ensite, a2dissite man.

a2ensite is a script that enables the specified site (which contains a block) within the apache2 configuration. It does this by creating symlinks within /etc/apache2/sites-enabled. Likewise, a2dissite disables a site by removing those symlinks. It is not an error to enable a site which is already enabled, or to disable one which is already disabled.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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