Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've set up an app which builds new websites. I am creating virtual host files automatically when a user signs up.

Is there a "right" way to enable the virtual host and reload apache from the web app or should I delegate that task to a cron job with root privileges? I added www-data to the sudoers folder but I still have a permission denied in my error log.

Ubuntu 11.10 running Apache/Mod_PHP

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Seems like dynamic vhosts are very useful in your situation. You don't need to reload apache in case with vhosts at all.

share|improve this answer
    
You're right, this seems like the best path = ) –  Calvin Froedge Jun 26 '12 at 19:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.