View previous topic :: View next topic |
Author |
Message |
dark_teferi Tux's lil' helper


Joined: 07 Aug 2003 Posts: 138 Location: AZ
|
Posted: Mon Dec 15, 2003 12:07 am Post subject: Another Apache VHosts problem. |
|
|
Hey everyone. I am having trouble with my apache name-based virtual hosts. when i try to go to either of the websites i am trying to host, a little dialog pops up in MozillaFirebird saying that my connection was refused. ( i am using apache 1.3.x)
Here is what my /etc/apache/conf/vhosts/Vhosts.conf looks like. ( - the comments)
Code: |
Port 80
ServerRoot /etc/apache
ResourceConfig /dev/null
AccessConfig /dev/null
NameVirtualHost 130.13.169.101
<VirtualHost 130.13.169.101>
Servername teferi.sytes.net
ServerPath /etc/apache
DocumentRoot /var/www/localhost/htdocs/teferi/
</VirtualHost>
<VirtualHost 130.13.169.101>
Servername ffc.sytes.net
ServerPath /etc/apache
DocumentRoot /var/www/localhost/htdocs/ffc/
</VirtualHost>
|
the documentation i followed was http://httpd.apache.org/docs/vhosts/name-based.html. Does anyone have any ideas?
Thanks. _________________ "Rain from this storm leaves you pinned to the ground like an insect" |
|
Back to top |
|
 |
dice Guru


Joined: 21 Apr 2002 Posts: 577
|
Posted: Mon Dec 15, 2003 12:19 am Post subject: |
|
|
Are you running a firewall? I can't even connect to port 80 on that IP, nor can I get replies to ICMPs. nmap says that port 80 (as well as a bunch of other ones) is filtered. Sorry if portscanning ticks you off  |
|
Back to top |
|
 |
dark_teferi Tux's lil' helper


Joined: 07 Aug 2003 Posts: 138 Location: AZ
|
Posted: Mon Dec 15, 2003 12:25 am Post subject: |
|
|
Ok. It looks like what i want isnt virtual hosting.
What i want to do is host more than one website with one apache daemon.
each one would go to a different DocumentRoot.
Thats all i want, is that not virtual hosting?
for instance.
teferi.sytes.net --> goes to --> /var/www/localhost/htdocs/teferi
ffc.sytes.net --> goes to --> /var/www/localhost/htdocs/ffc
what do i use to do that? _________________ "Rain from this storm leaves you pinned to the ground like an insect" |
|
Back to top |
|
 |
fleed l33t


Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Mon Dec 15, 2003 10:41 am Post subject: |
|
|
That's virtual hosting, mate.
Is apache listening on port 80 (netstat -lnt will show you)? What do /var/log/apache/access.log and error.log say? What happens when you do /etc/init.d/apache start?
Also, it's not much use creating duplicate threads on exactly the same subject, just stick to one and you'll be fine, you won't confuse people and won't piss off the mods. |
|
Back to top |
|
 |
|