Jump to content

[SOLVED] Error in Wamp Server


Recommended Posts

"C:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration"

 

My .htaccess file is located in c:\wamp\www\

 

it is this:

RewriteEngine on

RewriteRule ^page([a-zA-Z0-9]*)/?$ index.php?currentpage=$1	[NC,L]

RewriteRule ^artist/([a-zA-Z0-9-]+)/?$ artist.php?artistNameHash=$1	[NC,L]

RewriteRule ^comments/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ comment.php?artistNameHash=$1&songNameHash=$2	[NC,L]

RewriteRule ^searchPlaylists/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ searchPlaylists.php?artistNameHash=$1&songNameHash=$2	[NC,L]

RewriteRule ^playlist/([a-zA-Z0-9-]+)/([a-zA-Z0-9-_]+)/?$ playlist.php?p_username=$1&nameHash=$2	[NC,L]

RewriteRule ^user/([a-zA-Z0-9-]+)/?$ user.php?u_username=$1	[NC,L]

 

Am I missing a line at the very beginning?

 

I just installed wamp server 5.2.9-2

Is there something you are supposed to change to set it up?

 

 

Link to comment
https://forums.phpfreaks.com/topic/165631-solved-error-in-wamp-server/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.