so…install apache2 and get
Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration
no matter what you do to try and compile it in? Try doing make clean, then –enable-rewrite as your parameters to configure. Worked for me, now to configure it…
WITHIN the folder directive (if it never works), put
…
RewriteEngine On
RewriteLog /home/byu_p2pweb/rewritelog
RewriteRule ^(\d+)K\.file.*$ $1K.file [L]
RewriteRule ^go.html$ go2.html [L]
RewriteRule ^page.html$ new_page.html [R,NC,L]