Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Ubuntu 12.xx LTS -- FIX FOR APACHE REWRITES (FR/GOOG SEARCH)

I tried to override my default apache settings to allow htaccess & it crashed my server (wasted 1/2 hour)

APPLIED CHANGE HERE IN APACHE CONFIG W SUDO GEDIT <Directory /var/www > ... AllowOverride All #was None ...

any suggestions for ubuntu forums?

THIS DIRECTORY /etc/apache2/sites-available/default

I found the answer if anyone is interested. https://drupal.org/node/134439

have to run some arcane function from cmd sudo a2enmod rewrite

If treehouse could add this to the comments it would be nice. I'm running ubuntu 12.04lts as my machine came with win8 & is running IIS8 for ASP.NET dev, which conflicts with WAMP/XAMPP. I don't want to spend the time to try to figure out config for running them both so I run ubu & win8 off same disk. Lots of people prob trying to figure out howto admin ubu/linux for shared hosting

a bit frustrating to have apache fail at all bc u never know when it's going to completely fail & require a fresh reinstal