[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Multi Virtual Sites on One IP HELP



Hi Dennis,

Is this what you're asking for? I am using RAQ2. The only thing I change was
the
AddHandler server-parsed .shtml .html .htm
AddType    text/html     .shtml .html .htm

Did I do it right? What I wanted was to make all shtml parse into htm or
html. I wasn't sure if I need to do it for the AddType. Is this the cause of
the problem?

Thanks for the help







NameVirtualHost 216.167.12.217
<VirtualHost 216.167.12.217>
ServerName www.asiagrocery.com
ServerAdmin admin
DocumentRoot /home/sites/site5/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.167.12.217(:80)?$
RewriteCond %{HTTP_HOST}                !^www.asiagrocery.com(:80)?$
RewriteRule ^/(.*)                      http://www.asiagrocery.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site5/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site5/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType    text/html     .shtml
</VirtualHost>
<VirtualHost 216.167.12.217>
ServerName www.hihum.com
ServerAdmin site7
DocumentRoot /home/sites/site7/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.167.12.217(:80)?$
RewriteCond %{HTTP_HOST}                !^www.hihum.com(:80)?$
RewriteRule ^/(.*)                      http://www.hihum.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site7/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site7/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType    text/html     .shtml
</VirtualHost>
<VirtualHost 216.167.12.217>
ServerName www.mraction.com
ServerAdmin admin
DocumentRoot /home/sites/site1/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.167.12.217(:80)?$
RewriteCond %{HTTP_HOST}                !^www.mraction.com(:80)?$
RewriteRule ^/(.*)                      http://www.mraction.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site1/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site1/users/$1/web/$3
</VirtualHost>
<VirtualHost 216.167.12.217>
ServerName www.rpgextreme.com
ServerAdmin admin
DocumentRoot /home/sites/site10/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.167.12.217(:80)?$
RewriteCond %{HTTP_HOST}                !^www.rpgextreme.com(:80)?$
RewriteRule ^/(.*)                      http://www.rpgextreme.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site10/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site10/users/$1/web/$3
</VirtualHost>
<VirtualHost 216.167.12.217>
ServerName www.rpginn.com
ServerAdmin admin
DocumentRoot /home/sites/site9/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.167.12.217(:80)?$
RewriteCond %{HTTP_HOST}                !^www.rpginn.com(:80)?$
RewriteRule ^/(.*)                      http://www.rpginn.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site9/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site9/users/$1/web/$3
</VirtualHost>
<VirtualHost 216.167.12.217>
ServerName www.hihum.net
ServerAdmin admin
DocumentRoot /home/sites/site8/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.167.12.217(:80)?$
RewriteCond %{HTTP_HOST}                !^www.hihum.net(:80)?$
RewriteRule ^/(.*)                      http://www.hihum.net/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site8/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site8/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType    text/html     .shtml
</VirtualHost>
<VirtualHost 216.167.12.217>
ServerName www.countzero.com
ServerAdmin site4
DocumentRoot /home/sites/site4/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.167.12.217(:80)?$
RewriteCond %{HTTP_HOST}                !^www.countzero.com(:80)?$
RewriteRule ^/(.*)                      http://www.countzero.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site4/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site4/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType    text/html     .shtml
</VirtualHost>


LoadModule php3_module        /usr/libexec/apache/mod_php3.so
AddModule mod_php3.c

NameVirtualHost 216.167.12.218
<VirtualHost 216.167.12.218>
ServerName www.dqn.org
ServerAdmin site6
DocumentRoot /home/sites/site6/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.167.12.218(:80)?$
RewriteCond %{HTTP_HOST}                !^www.dqn.org(:80)?$
RewriteRule ^/(.*)                      http://www.dqn.org/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site6/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site6/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml .html .htm
AddType    text/html     .shtml .html .htm
</VirtualHost>









NameVirtualHost 216.167.2.184
<VirtualHost 216.167.2.184>
ServerName ienc.com
ServerAdmin home
DocumentRoot /home/sites/home/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.167.2.184(:80)?$
RewriteCond %{HTTP_HOST}                !^ienc.com(:80)?$
RewriteRule ^/(.*)                      http://ienc.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType    text/html     .shtml
</VirtualHost>