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

  • Home
  • SEARCH
  • 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 8389707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:47:59+00:00 2026-06-09T18:47:59+00:00

I have WAMP v2.2 installed on my Windows 7 machine, with virtual hosts enabled.

  • 0

I have WAMP v2.2 installed on my Windows 7 machine, with virtual hosts enabled.

I’ve successfully installed ExpressionEngine for one of my local sites, and everything works great except when I try to remove index.php from the URL using the approved .htaccess method. I still get a 404 error if index.php is not present, but the page displays fine with index.php in the URL.

I made sure the rewrite module was checked in the Apache menu:
the rewrite module was checked in the Apache menu. I’ve successfully used this method dozens of times on commercial hosts, so I’m stumped.

Update for pvledoux:

<IfModule mod_rewrite.c>
  RewriteEngine On

  # Removes index.php
  RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ /index.php/$1 [L]

  # If 404s, "No Input File" or every URL returns the same thing
  # make it /index.php?/$1 above (add the question mark)
</IfModule>

Note: I tried adding the ? into the rule, but it didn’t work.

The site is at the root of the Virtual Host.

  • 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-09T18:48:00+00:00Added an answer on June 9, 2026 at 6:48 pm

    Got It!

    I needed to add AllowOverride in httpd-vhosts.conf:

    <Directory "C:\Site\Root\Path">
        AllowOverride All
        Order Deny,Allow  
        Allow from all
    </Directory>
    

    A gagillion thanks and a 6-pack of beer goes to @parhamr for helping me out of this pickle.

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

Sidebar

Related Questions

I have installed WAMP version 2.1 on my windows 7 machine. When i browse
1) I have installed 32 bit version wamp 2.2E, on windows XP 32bit. The
I have installed WAMP and running PHP scripts on localhost. I have enabled cURL.
I have just installed wampserver on windows 7 it works fine for me but
I have installed PHP using wamp server in Windows and I have give the
I just installed WAMP on Windows XP. I have a simple PHP file that
I have Windows 7 and WAMP localhost on drive D: . I installed Symfony2
I have started to learn PHP. So installed WAMP server on my windows 7
I have just downloaded the latest xdebug for my windows machine running wamp and
I have Windows 7 (32-bit) installed on laptop. I downloaded WAMP server and installed

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.