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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:31:05+00:00 2026-05-15T22:31:05+00:00

My web is dir structured is as follows : moving/       includes/       controllers/       includes/       etc…

  • 0

My web is dir structured is as follows :

moving/
      includes/
      controllers/
      includes/
      etc…

I have the following questions about /moving and all of its sub-diretories:

  1. How can i request any php script without the .php extension?
  2. How can i request ...dir/index.php?q=about as just ...dir/about?
  3. Where woul i place my .htaccess file?

I understand that my first question might be a duplicate, but in order to contextualize my second and third question i had to ask it.

Using WampServer 2.0
Thanks in advance.

  • 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-05-15T22:31:05+00:00Added an answer on May 15, 2026 at 10:31 pm

    apache will not parse your php script if they don’t have the “.php” extention.

    but, you can use mod_rewrite:

    This module uses a rule-based
    rewriting engine (based on a
    regular-expression parser) to rewrite
    requested URLs on the fly. It supports
    an unlimited number of rules and an
    unlimited number of attached rule
    conditions for each rule, to provide a
    really flexible and powerful URL
    manipulation mechanism. The URL
    manipulations can depend on various
    tests, of server variables,
    environment variables, HTTP headers,
    or time stamps. Even external database
    lookups in various formats can be used
    to achieve highly granular URL
    matching.

    This module operates on the full URLs
    (including the path-info part) both in
    per-server context (httpd.conf) and
    per-directory context (.htaccess) and
    can generate query-string parts on
    result. The rewritten result can lead
    to internal sub-processing, external
    request redirection or even to an
    internal proxy throughput.internal proxy throughput.

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

Sidebar

Ask A Question

Stats

  • Questions 486k
  • Answers 486k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You need to move the definition of your struct above… May 16, 2026 at 7:55 am
  • Editorial Team
    Editorial Team added an answer The behavior you're experiencing is the key stroke being mapped… May 16, 2026 at 7:55 am
  • Editorial Team
    Editorial Team added an answer Updatier: The Mene+Shuman fix now is busted with Firefox 30… May 16, 2026 at 7:55 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.