Author: Tom C
Date: 15-10-02 18:22
Hello
I am writing this because i have a little problem
with my apache. And I thought that some can help me.
The thing is that I set few webservers
however i do not know how I can get
www.tomcieplinski.com:81 to work . I got to work
tomcieplinski.com:81.
Please have look.
NameVirtualHost 192.168.1.2:81
NameVirtualHost 67.82.35.207:81
<VirtualHost 192.168.1.2:81 67.82.35.207:81>
DocumentRoot /home/www-root/tactech.net
ServerName www.tactech.net
DirectoryIndex index.html welcome.html
</VirtualHost>
This works no problem ! Either www.tactech.net:81 or
tactech.net:81
<VirtualHost 192.168.1.2:81 67.82.35.207:81>
DocumentRoot /usr/share/squirrelmail
ServerName mail.tactech.net
DirectoryIndex index.php
</VirtualHost>
This works fine too.
<VirtualHost 192.168.1.2:81 67.82.35.207:81>
DocumentRoot /home/bsienkiewicz/www-root
ServerName blazej.tactech.net
DirectoryIndex index.html
</VirtualHost>
This does NOT work ----> do not know why .
<VirtualHost 192.168.1.2:81 67.82.35.207:81>
DocumentRoot /home/www-root/slaveofthesysx.com
ServerName www.slaveofthesysx.com
ServerAlias slaveofthesysx.com
DirectoryIndex index.php index.html welcome.html
index.htm index.shtml
</VirtualHost>
This works just fine.
<VirtualHost 192.168.1.2:81 67.82.35.207:81>
DocumentRoot /home/www-root/tomcieplinski.com
ServerName www.tomcieplinski.com
ServerAlias tomcieplinski.com
DirectoryIndex index.html
</VirtualHost>
And here I can only get tomcieplinski.com:81 I do knot
know why when I type in a web browser
www.tomcieplinski.com:81 I get nothing no webpage
whatsoever.
LockFile "/var/lock/httpd.lock"
CoreDumpDirectory "/etc/httpd"
Thank you for Your help.
Tom C
|
|