I've been uncertain about this since I started using Ubuntu, and I haven't found in any config files I've been through a clarification for setting things up.
When you have a config file with blocks commented out, is it usually expected that you uncomment that block, or that you write your own block below it?
The most recent example taht I can think of is this:
Taken from /etc/apache2/apache2.conf:
Quote:
# Alias /error/ "/usr/share/apache2/error/"
#
# <Directory "/usr/share/apache2/error">
# AllowOverride directive-type .htaccess
# Options IncludesNoExec
# AddOutputFilter Includes html
# AddHandler type-map var
# Order allow,deny
# Allow from all
# LanguagePriority en cs de es fr it nl sv pt-br ro#
# ForceLanguagePriority Prefer Fallback
# </Directory>
#
|
As you can see, I want to change AllowOverride to enable .htaccess files (originally AllowOverride None)
Now do I need to change this and leave it commented (althought it would seem to defeat the purpose), uncomment it (which so far has caused an error... syntax?), or simply copy/paste my own version just below this?
This is so basic it's embarassing, but knowing for sure would help me a lot in future troubleshooting.
Thanks,
-SS