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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:13:59+00:00 2026-05-20T05:13:59+00:00

i have Apache 2.2 and 3 virtual hosts on it and a mod_rewrite infinite

  • 0

i have Apache 2.2 and 3 virtual hosts on it and a mod_rewrite infinite lopp isssue i cannot resolve. Apache is in my company LAN on the 192.168.1.228 IP address. 2 virtual hosts work perfectly. The third makes problems. My network admin created a subdomain to point to that 192.168.1.228. The Virtual Host is configured this way:

<VirtualHost 192.168.1.228>
   DocumentRoot "C:/Apache/htdocs/stansrodowiska"
   ServerName giostube.mycompany.local

  LimitInternalRecursion 1000

  <Directory "C:/Apache/htdocs/stansrodowiska">
      Options Indexes FollowSymLinks Includes
      AllowOverride None
      Order allow,deny
      Allow from all

      RewriteEngine on

      RewriteCond $1 !^(index\.php|images|upload|css|download|assets|js|nfos|robots\.txt)
      RewriteRule ^(.*)$ /stansrodowiska/index.php/$1 [L]

  </Directory>

</VirtualHost> 

If i access this website from my lan over the address: http://giostube.mycompany.local/ i get an

403 Forbidden

You don't have permission to access /stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php......... on this server

The /stansrodowiska/index.php/ is of course repeated much more often i think to around 2048 chars which is the HTTP POST maximum.
Strange thing is that exactly the same mod_rewrite rules work on an other preconfigured WAMP environment (Vertrigo).
Underneath there is a Codeigniter 1.7.2 application.

Is the error within the mod_rewrite rules or do i have to search elsewhere?

  • 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-20T05:14:00+00:00Added an answer on May 20, 2026 at 5:14 am

    Change this line:

    RewriteRule ^(.*)$ /stansrodowiska/index.php/$1 [L]
    

    To:

    RewriteRule ^(.*)$ /index.php/$1 [L]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On one Linux Server running Apache and PHP 5, we have multiple Virtual Hosts
I have Apache with 2 virtual hosts, each having a Django site attached using
I have a virtual host setup on Apache 2 like so (simplified): <VirtualHost *>
I have Apache with mod_rewrite, and whenever I enter a URI with an accented
I have configured Apache virtual hosting on port 8080 to point to my magento
I have a web site with many virtual hosts and each registered with several
Apache lets you set php.ini values for virtual hosts with the php_value directive. Does
I've got a large Django app. It has two Apache virtual hosts pointing to
I have a Django based CMS that uses Django's sites framework and Nginx/Apache/mod_wsgi virtual
Using apache 2, I have a simple virtual host container: <VirtualHost 127.0.0.1> ServerName developmentServer

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.