[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-users
Subject: [users@httpd] VirtualHosts on mysql, now I need to support a certain directive
From: Moreno Gentili <brightsoul () tiscali ! it>
Date: 2012-10-29 9:17:07
Message-ID: 508E4993.60609 () tiscali ! it
[Download RAW message or body]
Hi everybody,
I'm trying to bridge the gap between two apache modules.
* *mod_vhost_dbi* from outoforder.cc, which allows me to store virtual
hosts on a mysql database.
* *apache2-mpm-itk* which allows the assignment of a different
user/group to each virtualhost.
The problem is that /apache2-mpm-itk/ requires a /AssignUserID/
directive in each VirtualHost but /mod_vhost_dbi/ doesn't support custom
configuration directives.
I'm looking at /mod_vhost_dbi/ source code
<http://www.outoforder.cc/projects/httpd/mod_vhost_dbi/> to see if I can
modify it to supply a value for /AssignUserID/ but I'm starting to feel
really lost.
I tried adding the key-value pair to the /request_rec->subprocess_env/
table but it didn't work and I can't really say I know what I'm doing.
Any idea on how I might feed that value to the other module? Which hook
should I handle and which function should I use?
Thank you in advance.
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi everybody,<br>
I'm trying to bridge the gap between two apache modules.<br>
<ul>
<li><b>mod_vhost_dbi</b> from outoforder.cc, which allows me to
store virtual hosts on a mysql database.</li>
<li><b>apache2-mpm-itk</b> which allows the assignment of a
different user/group to each virtualhost.<br>
</li>
</ul>
The problem is that <i>apache2-mpm-itk</i> requires a <i>AssignUserID</i>
directive in each VirtualHost but <i>mod_vhost_dbi</i> doesn't
support custom configuration directives.<br>
I'm looking at <i>mod_vhost_dbi</i> <a
href="http://www.outoforder.cc/projects/httpd/mod_vhost_dbi/">source
code</a> to see if I can modify it to supply a value for <i>AssignUserID</i>
but I'm starting to feel really lost.<br>
I tried adding the key-value pair to the <i>request_rec->subprocess_env</i>
table but it didn't work and I can't really say I know what I'm
doing.<br>
Any idea on how I might feed that value to the other module? Which
hook should I handle and which function should I use?<br>
Thank you in advance.<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic