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 trialAndrea Alves
441 PointsStuck with .htaccess file
I had a 500 error so I used the rewrite base with the absolute directory. I still get a 505 and can't move forward.
I tried it with the default set up and with base.
.htaccess RewriteEngine On
#RewriteBase /c:/wamp/www/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
MOD: edited to format for readability
1 Answer
Andrea Alves
441 PointsI solved it! If you use Wamp you need to enable mod rewrite in Apache http.config
Goto /c:/wamp/bin/apache/http.config and search mod rewrite and un comment it out and it will work.
Ted Sumner
Courses Plus Student 17,967 PointsTed Sumner
Courses Plus Student 17,967 PointsI formatted your question, but I am not knowledgeable enough on .htaccess to be able to help you at all with your question.