Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7754243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T12:15:30+00:00 2026-06-01T12:15:30+00:00

I am bigginer to php and i was trying to implement Model-View-Controller in php

  • 0

I am bigginer to php and i was trying to implement Model-View-Controller in php i updated allow override to all and created a .htacess file and wrote the following quotes in it,

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php?url=$1 {QSA,L}

but i gave me 500 error and i went straight to apache error log and got these errors:

[Mon Apr 09 01:18:36 2012] [alert] [client ::1] C:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps 

misspelled or defined by a module not included in the server configuration

I googled and googled but cant find it, i just want to pass all the request to index.php file i watched a video on youtube it was working fine in his computer but not on mine, he told i should modify something in php.ini but i don’t know whats that, if i write the following in .htacess:

ErrorDocument 404 /404.php
ErrorDocument 500 /500.php

and goto url that dont exists, then it is controlled by 404.php but it i tried to write the first script then i gives me 500 error every time… Previously i also tried to install zend framework but still there was same error….
I apologize for my language,,,
thanks in advanced… please help…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T12:15:31+00:00Added an answer on June 1, 2026 at 12:15 pm

    Is your rewrite module in apache enabled? You can enable it in httpd.conf file in your installation dir. If you are using windows just uncomment the rewrite module line and restart your apache.

    You can google “enable apache rewrite” for more information.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create a one time download link in php as my
Begginer's question. I'm trying to write small piece of code in Visual Studio (VB.net)
I am just begginer so sorry for my silly question. my model looks like
I get this error in my smtdplugin implementation file , when i try to
I have this code <?php $a = \\u0000; $b = preg_quote($a); echo <br />my
I am just wordering how to solve this. I have this code <?php $test
I'm trying to create a randomized maze in C++, but I can't start because
So I am trying to build this reputation bar for my site which will
I'm trying to convert jquery actions into variables that would eventually be sent off
so i am a begginer and i really need help so i wrote this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.