I must be missing something - it looks like all you have to do is
a) create an "ibay" named "testsite" - this will appear at http:/firstdomain.net/testsite
b) create "secondomain.net" and tell it to use the "testsite" ibay
Everything should work as you want...
Admittedly, the "testsite" folder is not a sub-folder of the "html" folder for "firstdomain.net". Is that a problem?
If the above solution doesn't work for you then you need to
1) figure out exactly what changes you need to make to "httpd.conf" to get the desired effect.
2) figure out which "template fragment" in /etc/e-smith/templates/etc/httpd/conf/httpd.conf would best incorporate your changes. (note: if none of the existing template fragments looks appropriate, you can create your own filename in steps 3 & 4 below - just pick a lead-in number that will cause expand-template to put it in an appropriate place in the final "conf" file - e.g. "98MyTemplateFragment")
3) copy the template fragment you identify in step 2 into /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf (creating this dir if necessary)
4) edit the new copy of the "template fragment" in "templates-custom" to incorporate your changes
5) rebuild the /etc/httpd/conf/httpd.conf using "
expand-template /etc/httpd/conf/httpd.conf"
6) restart the web server using "
/etc/init.d/httpd restart"[/list]
Using template fragments in this manner allows you to edit "httpd.conf" in such a way that
* the configuration is backed up using SME's backup tools
* your configuration changes have a good chance of surviving an upgrade to a new version of SME Server
* if useful, your configuration changes can be shared with the community to benefit others with the same problem.
You *can* edit "httpd.conf" directly, then restart httpd to activate your changes. I do this for testing, then move my changes into a custom template fragement. If you don't move your changes into a custom template fragment they will disappear when you reboot or install SME software updates (or run "expand-template /etc/httpd/conf/httpd.conf")...