search for: httpdmng

Displaying 1 result from an estimated 1 matches for "httpdmng".

Did you mean: http'ing
2011 Nov 15
4
Need some guidance on running shell commands from my app..
...way to do it , here are the steps ( my_domain.com is fixed, only my_subdomain is changing dynamically 1- create: /var/www/vhosts/my_domain.com/subdomains/my_subdomain/conf/ vhost.conf ServerName mysubdomain.mydomain.com .. content is always the same... 2 - run : sudo /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain my_domain.com .. always the same command 3 - run : sudo /etc/init.d/apache2 reload What could be the best option to set/execute such script from my Rails web app ? any links ? thanks for your feedback and guidances [Running Rails 3.1.1/Ruby 1.9.3/ Debian 6 Squeeze] -- Yo...