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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:08:18+00:00 2026-06-07T06:08:18+00:00

I developed a web app on my Mac using MAMP. The app uses a

  • 0

I developed a web app on my Mac using MAMP. The app uses a .htaccess file, which is contained in the root directory. Everything worked great when testing on my local MAMP environment. However, when I moved to my hosted server (dedicated server running Red Hat Linux), my rewrite rules in the .htaccess file are not working properly. For example, when a user logs in to my site the rewrite rule takes them to http://www.mysite.com/authenticate/login as it should (it appears the rewrite rule in .htaccess worked). However, I get a 404 file not found error. Can anyone see what the problem is? Here is the code in the .htaccess file:

ErrorDocument 404 /index.php
DirectoryIndex index.php
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]
</IfModule>
Options -indexes
  • 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-07T06:08:19+00:00Added an answer on June 7, 2026 at 6:08 am

    Is the AllowOverride directive correctly set on the production server?

    http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride

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

Sidebar

Related Questions

I have developed a web app using a webservice. Everything works fine in the
I have developed a web app in ASP.NET MVC which we are using internally.
I recently developed a web app which used the JavaScript window.location property to redirect
I have a small web application developed using Icefaces 1.8.2 and jsf 1.1 which
My company recently developed a small file management web app for a law firm.
I have an external application uploading a file to my rails web app. (Developed
I am developing Android Web App using JSP with xml parsing. I developed it
I've developed a web app which has some touch handling code built in. On
A few years ago I developed a web app for which we wanted to
I am an iOS developer & developed a web services app which has been

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.