ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   Editing default settings on services Bind & Apache (http://forum.ispsystem.com//showthread.php?t=167)

apryan 03-03-2007 07:29 PM

Editing default settings on services Bind & Apache
 
Currently ispmgr adds web sites as the following:'
Code:

<VirtualHost 123.123.123.123:80>
        ServerName test.com
        DocumentRoot /usr/home/test/data/www/test.com
        SuexecUserGroup test test
        CustomLog /usr/home/test/data/logs/test.com.access.log combined
        ErrorLog /usr/home/test/data/logs/test.com.error.log
</VirtualHost>

and adds domain (dns) sites as the following:
Code:

$TTL    3600
test.com.      IN      SOA    ns1.mydomain.com. dns.mydomain.com. (2007030301 10800 3600 604800 86400)
;
test.com.      IN      NS      ns1.mydomain.com.
test.com.      IN      NS      ns2.mydomain.com.
test.com.      IN      MX      10 mail
test.com.      IN      A      123.123.123.123
www    IN      A      123.123.123.123
ftp    IN      A      123.123.123.123
mail    IN      A      123.123.123.123
test.com.      IN      TXT    "v=spf1 a mx ~all"

Is there a way we can change the layout of how ispmgr adds those in or is that set in stone and un-editable? I do know that some settings are in ispmgr.conf such as the NS name servers and www,ftp,mail as default DNS entries, however i am looking to edit other items as well.

Thanks

Igor 03-04-2007 05:02 AM

Re: Editing default settings on services Bind & Apache
 
Quote:

Originally Posted by apryan
i am looking to edit other items as well.

what items ?

apryan 03-04-2007 05:31 AM

In apache I typically manually add the following for my domains:
Code:

ServerAdmin www@email.com
ScriptAlias /cgi-bin/ /usr/home/user/www/cgi-bin
ErrorDocument 404 http://www.mysite.com
Options Indexes FollowSymLinks MultiViews ExecCGI

For bind i typically prefer keeping things neater... much of this is minor, but it is something that I kind of wish could be modified if you know what I mean.

apryan 03-04-2007 06:30 AM

never mind... I figured out that all I have to do is add it into virtualhost.templ.

thanks.

Igor 03-04-2007 03:47 PM

Yes, great!
You read manual.


All times are GMT +2. The time now is 04:05 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2022, vBulletin Solutions, Inc.