[Bug 820936] [NEW] Virtual server setup breaks Rewrite Rules

Thomas Schweikle 820936 at bugs.launchpad.net
Thu Aug 4 13:52:34 UTC 2011


Public bug reported:

Default setup for Apache2 is with:
<Virtualhost *:80>
   ...
</Virtualhost>

there are web applications within "/etc/apache2/conf.d" any rewrite-
rules given there are ignored, because they are outside the scope for
the virtual server running on port 80.

Two solutions:
1. Move all Location definitions for the default virtual server to some directory to be included within
<Virtualhost *:80>
   include Location definitions
</Virtualhost>

or

2. remove <Virtualhost *:80> </Virtualhost> entirely for the default
server.

It is more than only annoying having various rewrite rules never
touched, just because they not located at the right place!

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apache2 2.2.14-5ubuntu8.4
ProcVersionSignature: Ubuntu 2.6.32-33.71-server 2.6.32.41+drm33.18
Uname: Linux 2.6.32-33-server x86_64
Architecture: amd64
Date: Thu Aug  4 15:38:42 2011
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: apache2

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/820936

Title:
  Virtual server setup breaks Rewrite Rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/820936/+subscriptions



More information about the Ubuntu-server-bugs mailing list