Multiple httpd.conf files attached to different plans?

Rewt

Verified User
Joined
Aug 19, 2005
Messages
22
Location
Orlando
I am needing a way to attach different httpd.conf files to particular hosting plans... (just one per plan)... is there any way to do this?

Thanks.
 
An entire htpd.conf file? Or a domain container httpd.conf file?

If the former; no, Apache requires one master httpd.conf file.

If the latter, well, yes and no...

You could probably write a post creation script which could make limited changes to the user httpd.conf file. But as far as making wholesale changes is concerned, not through DA, and you need to be careful that DA won't overwrite any changes you do make.

Jeff
 
...

Here's what I am trying to do:

I have a customer who bascially sells two different hosting solutions. One is a replicated site solution, so all domain names would point to the same vhost folder. The other is a normal hosting package.

Right now, DA creates the vhost paths for both, and for the replicated, that is simply not needed.

At the moment, I am having to manually edit the .conf file to adjust for the replicated sites.
 
I still don't understand what exactly you're trying to do.

I suppose you could write scripts to change the file just as you now change it by hand.

Are you sure that DA won't attempt to change it later?

Jeff
 
Still have this issue.

Right now, I have to go in and rename the custom folder, then create the "normal" plan... then rename the custom folder back in order to create ther "other" plans.

Just wondering if I can bind the custom httpd.conf file to one of the plans, and the normal one to the other...
 
Back
Top