View Single Post
  #3  
Old 17th October 2009, 12:31
Kas Kas is offline
Junior Member
 
Join Date: Oct 2009
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

First Domain:



Quote:
<Directory /var/www/bibliotecahentai.net>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

<VirtualHost 213.186.57.137:80>
DocumentRoot /var/www/bibliotecahentai.net/web

ServerName bibliotecahentai.net
ServerAlias www.bibliotecahentai.net
ServerAdmin webmaster@bibliotecahentai.net

ErrorLog /var/log/ispconfig/httpd/bibliotecahentai.net/error.log

ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html

<Directory /var/www/bibliotecahentai.net/web>
Options FollowSymLinks
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client0/web4/web>
Options FollowSymLinks
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
</Directory>

# suexec enabled
SuexecUserGroup web4 client3
# php as fast-cgi enabled
<Directory /var/www/bibliotecahentai.net/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web4/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride all
Order allow,deny
Allow from all
</Directory>


</VirtualHost>
Quote:
ks30935:~# dig bibliotecahentai.net

; <<>> DiG 9.5.1-P3 <<>> bibliotecahentai.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51350
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;bibliotecahentai.net. IN A

;; ANSWER SECTION:
bibliotecahentai.net. 86400 IN A 213.186.57.137

;; AUTHORITY SECTION:
bibliotecahentai.net. 86400 IN NS ks30935.kimsufi.com.
bibliotecahentai.net. 86400 IN NS ns.kimsufi.com.

;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Oct 17 12:27:38 2009
;; MSG SIZE rcvd: 104
Second Domain:



Quote:
<Directory /var/www/imageshentai.com>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

<VirtualHost 213.186.57.137:80>
DocumentRoot /var/www/imageshentai.com/web

ServerName imageshentai.com
ServerAdmin webmaster@imageshentai.com

ErrorLog /var/log/ispconfig/httpd/imageshentai.com/error.log

ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html

<Directory /var/www/imageshentai.com/web>
Options FollowSymLinks
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client0/web5/web>
Options FollowSymLinks
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
</Directory>

# php as fast-cgi enabled
<Directory /var/www/imageshentai.com/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride all
Order allow,deny
Allow from all
</Directory>


</VirtualHost>
Quote:
ks30935:~# dig imageshentai.com

; <<>> DiG 9.5.1-P3 <<>> imageshentai.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52071
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;imageshentai.com. IN A

;; ANSWER SECTION:
imageshentai.com. 86400 IN A 213.186.57.137

;; AUTHORITY SECTION:
imageshentai.com. 86400 IN NS ks30935.kimsufi.com.
imageshentai.com. 86400 IN NS ns.kimsufi.com.

;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Oct 17 12:28:34 2009
;; MSG SIZE rcvd: 97
If you access to www.bibliotecahentai.net dont have problem, but you access to www.imageshentai.com, redirect to www.bibliotecahentai.net
Reply With Quote