Virtual server setup breaks Rewrite Rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Opinion
|
Low
|
Marc Cluet |
Bug Description
Default setup for Apache2 is with:
<Virtualhost *:80>
...
</Virtualhost>
there are web applications within "/etc/apache2/
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
ProcVersionSign
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
Changed in apache2 (Ubuntu): | |
assignee: | nobody → Marc Cluet (lynxman) |
Changed in apache2 (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in apache2 (Ubuntu): | |
status: | Fix Released → In Progress |
Or
3. Change "<Virtualhost *:80>" to "<Virtualhost _default_:80>".