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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:22:17+00:00 2026-05-27T18:22:17+00:00

have all ajax in ../ajax directory and all xmlRequest urls starting with a dot,

  • 0

have all ajax in ../ajax directory and all xmlRequest urls starting with a dot, eg,

http://company.com/.call?arg=val

would be rewritten as

../call.php?arg=val

was using handler in php to do the job, but would much rather simply use apache

mod rewrite.load enabled

  • 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-27T18:22:18+00:00Added an answer on May 27, 2026 at 6:22 pm

    You are not quite consistent with what file path you want rewritten to something else. I am going to assume that you have a file, call.php, located in the “ajax” folder (domain.com/ajax/call.php) and you want this to be called with domain.com/.call

    Assuming you have activated the rewrite engine, and know where to put rewrite rules, the appropriate rewrite rule for what you want would look like this:

    RewriteRule ^\.([aA-zZ0-9]+)(.*)$ ajax/$1.php$2
    

    This rewrites anything prefixed with a “.” to the ajax-folder and suffixes it with “.php”. Additionally, arguments are intact.

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

Sidebar

Related Questions

I have this AJAX submission form written with the jQuery validation plugin. It all
I used to have a simple ajax that helped me take all items from
I have a strange error where my jquery ajax request doesn't submit all the
I have all my user uploaded pictures in a directory outside of the public
I have an AJAX controller that handles all of the AJAX related calls on
I have a use control which contains some ajax functionality. I made all necessary
First of all, any suggestions on rewriting my title? Issue: I have an AJAX
I have all the parameters fixed to describe one plot including oma , mar
I have all dates stored as timestamps (int) in the database. how can I
I have all the time zone information that is needed and it saves all

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.