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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:31:54+00:00 2026-06-06T10:31:54+00:00

Ok, so I have this .htaccess file that contains this <IfModule mod_rewrite.c> RewriteEngine On

  • 0

Ok, so I have this .htaccess file that contains this

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php?p=%{REQUEST_URI}&%{QUERY_STRING} [L]
</IfModule>

Problem is, that in apache 2.2.22, the p and the other query objects don’t come through,
but it works great in apache 2.4.2 .

So basically in apache 2.2.22 it just forwards everything to index.php, but it doesn’t have any get objects.

Any help, thanks.

Update

Ok so I changed the line

RewriteRule . /index.php?p=%{REQUEST_URI}&%{QUERY_STRING} [L]

to

RewriteRule ^(.*) /index.php?p=$1 [L,QSA]
And now on apache 2.2.22 the p GET doesn’t go through, but any specific queries I add go through.

So If I do

http://localhost/index/fun/buns/funds?man=woman

on 2.4.2 I get

array (size=2)
  'p' => string 'index/fun/buns/funds' (length=20)
  'man' => string 'woman' (length=5)

and on 2.2.22 I get

array(1) {
  ["man"]=>
  string(5) "woman"
}

To be clear What’s happening on 2.4.2 is what I want, and 2.2.22 isn’t cooperating.

Another Update Ok so it seems like what is happening is that when I do /index/whatever, it auto assumes index.php, and ignores that, it auto adds the .php to it, when I don’t want it to. Any ideas on how to stop that?

  • 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-06T10:31:55+00:00Added an answer on June 6, 2026 at 10:31 am

    Problem solved: I needed to add -MultiViews to the httpd.conf file.

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

Sidebar

Related Questions

I have this in my .htaccess file: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule !\.(gif|jpg|png|css|js|ico|flv|php|txt)$
Currently my htaccess file contains this rule, to redirect website.org/index.php to website.org/en/home RewriteRule index.php
I have an htaccess file that uses mod_rewrite to redirect /controller to /index.php?controller=%controller% Like
My current .htaccess file contains the following lines: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule
I have this code in my .htaccess: Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule
I have a directory named dollars that contains a file index.php . I would
I have a .htaccess file that looks like this: SetEnv APPLICATION_ENV development RewriteEngine On
in .htaccess I have something like this: RewriteCond %{REQUEST_URI} (\/out\/pictures\/) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond
I have an htaccess file which begins with the regular stuff: RewriteEngine on RewriteBase
I have the following rewrite rule in my .htaccess file: RewriteRule ^([^/]+)/([^/]+)/(tab:([^/]+)/?)?(scope:([^/]+)/?)?(sort:([^/]+)/?)?(p:\d+)/?)?$ web/results.php?view=$1&q=$2&tab=$4&searchscope=$6&sortBy=$8&page=$10 [NC,QSA,L]

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.