Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

.htaccess and localhost

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

.htaccess and localhost

Postby PRO » Tue May 07, 2013 2:14 am

Hello i am watching this tutorial and i when i create .htaccess with this code
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

i get 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.

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

How can i fix that?
New php-forum User
New php-forum User
Posts: 1
Joined: Tue May 07, 2013 2:09 am

Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.