View Single Post
  #4  
Old 15th November 2006, 13:52
nightshade2109 nightshade2109 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default is this correct ?

/etc/bind/pri.exactweb.co.za

TTL 86400
@ IN SOA ct5.ctni.co.za. admin.exactweb.co.za. (
2006111512 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;
NS ct5.ctni.co.za. ; Inet Address of name ser$
NS ns0.xname.org. ; Inet Address of name serv$
;

mail MX 10 exactweb.co.za.

exactweb.co.za. A 196.15.247.77
www A 196.15.247.77
mail A 196.15.247.77


/etc/bind/zones/master_ct5.ctni.co.za

$TTL 3D
@ IN SOA ct5.ctni.co.za. hostmaster.ct5.ctni.co.za. (
199802151 ; serial, todays date + todays serial #
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;
TXT "ct5.ctni.co.za, serving YOUR domain "
NS ct5.ctni.co.za ; Inet Address of name server
NS ns0.xname.org
MX 10 mail ; Primary Mail Exchanger
localhost A 127.0.0.1
ns1 A 196.15.247.77
ns2 A 195.234.42.1
www CNAME ct5
ftp CNAME ct5
mail CNAME ct5

-------------------------------------------------------------------
/nano/etc/apache2/Vhosts_ispconfig.cond

###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 196.15.247.77:80
<VirtualHost 196.15.247.77:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.exactweb.co.za:80
######################################
#
#
<VirtualHost 196.15.247.77:80>
ServerName www.exactweb.co.za:80
ServerAdmin webmaster@exactweb.co.za
DocumentRoot /var/www/web1/web
ServerAlias exactweb.co.za
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $
ScriptAlias /cgi-bin/ /var/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web1/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /error/ "/var/www/web1/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
</VirtualHost>
Reply With Quote