sites-available and sites-enabled?
What’s the difference between
I’m having some difficulty getting either
mod_rewrite to work. I’m not sure which bit is failing at the moment.
I been reading two guides
‘How To Use the .htaccess File’ tells me to open
/etc/apache2/**sites-available**/default which is empty (?), according to the guide it shouldn’t be.
And 'How To Set Up mod_rewrite for Apache on Ubuntu 14.04’ tells me to open
Am I supposed to be editing both these files?
Bit confused :)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.