Looking for a line in httpd.conf won't find it

I was looking the second line in the httpd.conf but I won’t find it is there anyway I can reach it.

I am reading the sitepoint guide on how to re-write url and one of the steps is to ucomment that the second line below but don’t know where it is in the httpd.conf file or where to put it.

http://articles.sitepoint.com/article/guide-url-rewriting

#LoadModule rewrite_module modules/mod_rewrite.so
#AddModule mod_rewrite.c

co,

Those lines are the default in httpd.conf (WinDoze version - it’s apparently in apache2.conf in the Linux version). Look for the

That LoadModule section goes on with common modules listed and the ones the creator of the file didn’t think were important (like mod_rewrite) are commented out with the leading # on the line.

In other words, SEARCH your file for mod_rewrite and you’ll be lead to the correct line (to uncomment).

Don’t forget to restart Apache.

Regards,

DK