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

clint cotchobos
clint cotchobos
6,593 Points

help

We’re building a website for an ice cream shop. The web address for the page that displays a list of all the ice cream flavors should be http://localhost/flavors/. The code for that page is in a file in the root of the htdocs directory called all_flavors.php. In this code challenge, we’ll write the rewrite rule we need to achieve this. I have created a blank .htaccess file and placed it in the root of the htdocs directory. First, write the code in that file that will turn on rewrite rules for this site.

Kevin Snider
seal-mask
.a{fill-rule:evenodd;}techdegree
Kevin Snider
Front End Web Development Techdegree Student 25,275 Points

hey clint cotchobos,

i posted this in your other question but just in case you missed it:

hey clint cotchobos, i think what you are looking for is:

RewriteEngine On

you were really close. in the coding world, "on" and "On" are two different things. hope this helps.

Hey Kevin Snider, you should probably post your responses as an actual answer, rather than a comment, so clint cotchobos can mark them as the best answer and his question as being answered.

Good catch btw!