PDA

View Full Version : httpd.conf template for domain pointer



thuskey
07-08-2004, 06:58 PM
I've found these 4 templates:

virtual_host.conf
virtual_host_secure.conf
virtual_host_secure_sub.conf
virtual_host_sub.conf

Is there one for domain pointers? I need just a little more out of domain pointing other than just a simple Redirect.

thuskey
07-11-2004, 10:30 AM
ok, that answer is obviously no. So my next question would be:

How do I force DA to run a custom script immediately after creating the domain pointer?

of course my script would simply change what DA just created and restart the httpd service, but it would fix my original need.

thuskey
07-12-2004, 09:49 AM
anyone? anyone?

DirectAdmin Support
07-13-2004, 11:44 AM
Hello,

One example in this tutorial should help with adding ServerAliases:
http://help.directadmin.com/item.php?id=3

John

thuskey
07-13-2004, 10:09 PM
Nope, not what I was looking for, guess I'll just build a plugin for it. Is there a how to on plugin designing?

DirectAdmin Support
07-14-2004, 01:09 PM
This is what we currently have. Check otu the sample plugin (hello_world.tar.gz) .. it's quite straightforward and should be simple to figure out.

http://www.directadmin.com/features.php?id=370
http://www.directadmin.com/hello_world.tar.gz

John