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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:50:02+00:00 2026-05-20T13:50:02+00:00

I can’t seem to make this work – and I’m pretty sure that the

  • 0

I can’t seem to make this work – and I’m pretty sure that the real problem is that I just starring myself blind on it, so I hope a pair of fresh eyes can help me out.

What I wan’t to do is have several applications attached to my system.
At this time, a website already exists in the root folder, but I wan’t some microsites/powerformats in a CI installation.

My mod_rewrite looks like this:

RewriteCond %{REQUEST_URI} ^/(powerformat1|powerformat2)/?$
RewriteRule ^(.*)$ powerformats/index.php/$1 [L] 

Although, getting the CI index.php correctly, when trying to access example.org/powerformat1 or example.org/powerformat2 gives me CI’s 404 page.

It seems like whatever I try of rewrite rules I either get the 404 page or nothing at all.

Any insights?

— EDIT —

What I believe is my problem is that CI actually gets the ‘powerformat1’ string passed as the first segment. That is what I need to avoid. But can’t that be solved through mod_rewrite?

  • 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-20T13:50:03+00:00Added an answer on May 20, 2026 at 1:50 pm

    You could try link directly to the file with the appropriate query string instead

    RewriteRule ^(.*)$ /powerformats/index.php?somequery=$1 [L]
    (you may have to change the slashes, see below)

    Or it may be this:

    Accessing /powerformat1/
    may be rewriting to
    powerformats/index.php//powerformat1/

    You could try
    RewriteRule ^/(.*)/$ /powerformats/index.php/$1 [L]
    or some other variation with slashes:
    RewriteRule ^/(.*)/$ /powerformats/index.php/$1/ [L]

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

Sidebar

Related Questions

I can't seem to find an answer on this and just want to make
I know it's simple, but I can't seem to make this work. My function
I can't seem to make this work. I'm accessing this method from a seperate
I can't seem to get the right magic combination to make this work: OracleDataSource
I can't seem to make this regex work. The input is as follows. Its
so I'm trying to make this work and I can't seem to know why
I am trying to make this IF statement work, but I can't seem to
Can't seem to figure this out, see code below. Trying to make a GET
I can't seem to find the magic combination to make the HeaderStringFormat work for
I'm trying to make it working for quite some time,but just can't seem to

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.