Posted by:
kab012345
(---.dsl.sfldmi.sbcglobal.net)
Everytime I use .htaccess in the main www folder, it always says
Quote
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
The file I am trying to use is
Options +FollowSymLinks
RewriteEngine On
############################################################################
# Everything Below was written by the script and is written everytime a new forum is created with the
# Multiforums Script
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^AEF_host/test64/(.+)$ /AEF_host/$1 [QSA,L]
Redirect 301 /AEF_host/test64/index.htm [www.localhost]
*The link on Line 8 was shortened like that by the WAMP forums.
The apache error log said that:
Quote
[Sat Apr 12 12:52:03 2008] [alert] [client 127.0.0.1] D:/wamp/www/.htaccess: Invalid command 'RewriteCond', perhaps misspelled or defined by a module not included in the server configuration
[Sat Apr 12 12:52:03 2008] [alert] [client 127.0.0.1] D:/wamp/www/.htaccess: Invalid command 'RewriteCond', perhaps misspelled or defined by a module not included in the server configuration
[Sat Apr 12 12:52:48 2008] [alert] [client 127.0.0.1] D:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Apr 12 12:52:48 2008] [alert] [client 127.0.0.1] D:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Apr 12 12:52:48 2008] [alert] [client 127.0.0.1] D:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Apr 12 12:52:49 2008] [alert] [client 127.0.0.1] D:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Apr 12 12:56:19 2008] [alert] [client 127.0.0.1] D:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Anyone know how I can resolve this? Is it even possible to use .htaccess in WAMP?
Coder