.htaccess errors
Posted by: astm (---.238.105.235.tedata.net)
Date: November 15, 2009 04:16PM

hello guys
today i want to type new script using the seo method ( RewriteEngine On ) to change all my php files extensions to .html

and i type this codes in my htaccess file

RewriteEngine On
RewriteRule ^profile/([-_!*$@~:.a-zA-Z0-9-أ]+)$ viewProfile.php?id=$1

when i try to open it in my local host it gives me this error

----------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@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.
----------------------

so i want to know how i can run my htaccess file in my wampserver 2.0

Options: ReplyQuote
Re: .htaccess errors
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: November 15, 2009 06:56PM

Make sure you have enabled mod_rewrite first.

Left click WAMP icon select Apache > apache Modules > make sure mod_rewrite is checked.

Options: ReplyQuote
Re: .htaccess errors
Posted by: ciorici (---.moldtelecom.md)
Date: November 27, 2009 03:45PM

I'm trying to enable mod_rewrite module, but I can't find it in this list. It was in my previous install, but now I switched to Win7, and I don't know how to enable mod_rewrite.

Here is a screenshot - [screensnapr.com]

Any ideas why mod_rewrite is missing from list?

Options: ReplyQuote
Re: .htaccess errors
Posted by: ciorici (---.moldtelecom.md)
Date: November 27, 2009 03:50PM

I've found it already named "rewrite_module" smiling smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.