Peter Verrill
Verified User
- Joined
- Nov 19, 2003
- Messages
- 46
Hey,
I have recently started offering free hosting supported by ads.
Some users don't seem to listen when I ask them to apply the banner code to their sites so I have implemented mod_layout.
But for mod_layout to work I have to add code to here which is in the user.conf:
<Directory /home/ati/domains/DOMAIN/public_html>
*HERE*
</Directory>
If I use the Httpd.conf Customization feature of DA, it adds the code at the top of the <VirtualHost IP:80> bit and not within the <Directory..> this then breaks apache.
I have gotten this to work by manually adding it to the user.conf but it says at the top:
# Auto generated apache config file by DirectAdmin version 1.22.1
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to his/her website
So is there a way for this to be included in the correct place?
Peter Verrill
I have recently started offering free hosting supported by ads.
Some users don't seem to listen when I ask them to apply the banner code to their sites so I have implemented mod_layout.
But for mod_layout to work I have to add code to here which is in the user.conf:
<Directory /home/ati/domains/DOMAIN/public_html>
*HERE*
</Directory>
If I use the Httpd.conf Customization feature of DA, it adds the code at the top of the <VirtualHost IP:80> bit and not within the <Directory..> this then breaks apache.
I have gotten this to work by manually adding it to the user.conf but it says at the top:
# Auto generated apache config file by DirectAdmin version 1.22.1
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to his/her website
So is there a way for this to be included in the correct place?
Peter Verrill