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 8486455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:57:02+00:00 2026-06-10T20:57:02+00:00

I have a local environment working fine. Pasted a test route in .htaccess and

  • 0

I have a local environment working fine. Pasted a test route in .htaccess and it works as expected (re-routes me to google).

RewriteEngine on
RewriteRule testpage\.html http://www.google.com [R]

I pasted the same thing on my development server (Unbutu 12.04) and it simply gives me a Not Found page. When I verify it on the devserver by running:

sudo a2enmod rewrite

It says “Module rewrite already enabled”.

Edit: It also appears in the “loaded modules” section of phpinfo() and I have restarted the apache server several times since it was installed.

Any ideas?

  • 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-10T20:57:04+00:00Added an answer on June 10, 2026 at 8:57 pm

    Most likely it is because mod_rewrite is enabled but .htaccess files are disabled via

    AllowOverride None
    

    which disables checking .htaccess files (which gives You some performance gains but You have to put Your mod_rewrite code directly in apache configuration files)

    Change for Your virtual host to:

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

Sidebar

Related Questions

I have an ASP.NET 2.0 application that is working fine in our local environment.
I have a website that per original developer was working on local environment. I
I have a web application that is working fine under the following environment GWT
I had my website running in django local environment and it was working fine....
The service was working fine on my local system but when I have deployed
I'm working in a team environment where each developer works from their local desktop
I'm working on a project with couple others. We all have local copies of
I would like to update my local working environment to be stricter in an
I am trying to connect lettuce with standard django test. Lettuce works fine when
I am working on a site, and everything is working in my local environment

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.