Hello,
I have been manually editing the httpd.conf file for the reseller accounts httpd.conf file each time it gets overwritten. I was wanting to add this to the template, so that it will keep it there each time. I am having a hard time doing it. This is what I have written so far in the Httpd.conf Customization page:
However, when I issue:
And wait a few minutes, the changes to my subdomain do not occur.
I am obviously not understanding the correct way to accomplish this. Can you use subdomains in the if DOMAIN="" statement?
Thanks!
I have been manually editing the httpd.conf file for the reseller accounts httpd.conf file each time it gets overwritten. I was wanting to add this to the template, so that it will keep it there each time. I am having a hard time doing it. This is what I have written so far in the Httpd.conf Customization page:
Code:
|*if DOMAIN="mysub.mydomain.com"|
ProxyPass / http://127.0.0.1:7777/
ProxyPassReverse / http://127.0.0.1:7777/
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
|*endif|
However, when I issue:
Code:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
And wait a few minutes, the changes to my subdomain do not occur.
I am obviously not understanding the correct way to accomplish this. Can you use subdomains in the if DOMAIN="" statement?
Thanks!