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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:49:54+00:00 2026-06-15T08:49:54+00:00

I have a .htaccess problem which is slowly destroying my sanity. In my project,

  • 0

I have a .htaccess problem which is slowly destroying my sanity. In my project, I have a root folder with a 404.php in it, and an explicit subdirectory called signup. The subdirectory contains a file called index.php which performs processing. The project is using XAMPP under Windows 7.

The root .htaccess file contains the following:

Options +FollowSymlinks

RewriteEngine On

ErrorDocument 404 /404.php

The .htaccess in the signup physical subdirectory contains:

RewriteEngine On
RewriteOptions inherit

Options +FollowSymlinks
RewriteCond %{REQUEST_URI} ^/signup/page1$ [NC]
RewriteRule (.*) signup/index.php?page=1 [NC,L]

The rewrite log below seems to be deciding that /signup/page1 does not exist before the rewrite module can even check it. Does anyone have any ideas on what might be causing this issue?

10.1.1.201 - - [03/Dec/2012:15:06:58 +1100] [testsite.com/sid#463bd0][rid#4412b10/initial] (1) [perdir C:/workspace/project/public/signup/] pass through C:/workspace/project/public/signup/page1
10.1.1.201 - - [03/Dec/2012:15:06:58 +1100] [testsite.com/sid#463bd0][rid#4500fc0/initial/redir#1] (3) [perdir C:/workspace/project/public/] strip per-dir prefix: C:/workspace/project/public/404.php -> 404.php
10.1.1.201 - - [03/Dec/2012:15:06:58 +1100] [testsite.com/sid#463bd0][rid#4500fc0/initial/redir#1] (3) [perdir C:/workspace/project/public/] applying pattern '(.*)' to uri '404.php'
  • 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-15T08:49:56+00:00Added an answer on June 15, 2026 at 8:49 am

    You must use RewriteBase like this in the .htaccess inside your signup directory:

    RewriteEngine On
    RewriteOptions inherit
    Options +FollowSymlinks
    
    RewriteBase /signup
    
    RewriteRule ^page1$ /signup/index.php?page=1 [NC,L,QSA]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following htaccess file, which hides the php extension and forces all
I think i have a problem with htaccess. I have a subdomain which redirects
I have a webpage, which url looks like this: http://www.mydomain.com/folder/index.php?title=The_title The only problem is
We have in a htaccess file: ErrorDocument 404 /404.shtml Which works to show the
I have an htaccess file which maps http://www.myserver.com/home/ to http://www.myserver.com/index.php?section=home This part works fine.
Hello I have the following problem: I have some pages (php includes) which I
I'm coding in PHP, and have implemented a htaccess code which removes the file
I am facing problem to get variable from query string. I have used htaccess
I have some problem with my .htaccess file. Here I am adding my problem.
I have a problem, surprise ;) I use .htaccess in Apache and have a

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.