I've been fighting this for many hours now, and I'm very frustrated. Apache just doesn't make sense to me; I'd greatly appreciate any advice. Please read through what I've written, as I've read through dozens of posts and manuals on the subject, and really need specific advice.
I'm trying to accomplish two goals: First, get "Pretty Links" to work on my local Wordpress instance; second, to set up a local domain for the site.
I have a fresh install of Apache 2.4.6 running, and I'll I've done is enable the rewrite and vhost_alias mods.
For the first goal, I understand I need to have AllowOverride set to All. This, I gather, allows .htaccess files within the subsequent directories to alter the apache config. To try one thing at a time, I'm accessing the site from localhost/var/www/dhae/Wordpress (foregoing the domain). I tried altering the 000-default.conf to oblige this: http://pastebin.com/PwMGF9F2 -- all I added was the section. This didn't work, and neither did changing the AllowOverride to All in the apache2.conf.
I wondered if perhaps I needed something more specific to the directory, so I tried using my second goal to accomplish this. I wrote the dhae.conf: http://pastebin.com/trwWVFLW
I've also added the following line to my HOSTS file: 127.0.0.1 dhae.dev
This hasn't worked either. I've tried virtual host config stuff as much as I could find, and I'm just not having any luck. I'm really at a loss, and I need this to work (especially my first goal), so I can continue my normal work.
Lastly, for the domain, I've checked and NameVirtualHost only exists in the dhae.conf file. It's not anywhere else. I'm familiar with that issue, and it's not happening here.