[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Need help configuring tux and apache to work together for localhost and virtual hosting



Hi all,

I was able to get virtual hosting working so I can see the virtual hosts using both tux and apache (tux-2.2.9-1 and Apache/2.9.40) from both the Linux 9 box using Opera 7.23 and over the lan from the W2K machine running Opera 7.50P3.

I'm using the linux system for website development, so it's not intended to serve the internet. http://www.xenodochy.org/ is expected to take me to the internet, while http://xenodochy.org is expected to take me to my local development copy. That setup is presently working as desired.

But now I have a different problem. I can no longer see the default host on the linux machine. (/var/www/html is no longer accessible from either my linux machine or from my windows machine via the lan.)

It looks like my configuration is still faulty. I could use any help or suggestions.

I have a LAN connection W2K running IIS, with ICS enabled to, Redhat linux 9 running tux and apache. The W2K machine is my gateway to the internet, because my my satellite service is not supported under linux. The W2K machine address is 192.168.0.1. The linux machine address is 192.168.0.2. Tux is the primary server on port 80 with apache as the secondary server on port 8080

After following the instructions at http://www.redhat.com/archives/tux-list/2003-May/msg00011.html, I was able to get virtual hosting to work for my two development domains xenodochy.org and ballroomdances.org

However, I can no longer see the linux local host site from either the linux machine or the W2K machine. Entering http://192.168.0.2/ on the W2K machine simply produces a blank screen after some delay.
Entering http://127.0.0.1/ on the linux machine does the same.

The tux log does not show a GET request corresponding to either of these events. Neither does the apache log.
It looks like the request is not being seen by Tux.

I can read file://localhost and get the root directory of the linux system (from the linux system), but,
http://localhost/ just comes back blank.

Here are some config file info:

/etc/hosts contains:
192.168.0.1     xenodochy       xenodochy
192.168.0.2     linux   linux
127.0.0.1 localhost.localdomain localhost linux.net xenodochy.org ballroomdances.org

\WINNT\system32\drivers\etc\hosts contains:
127.0.0.1     localhost
192.168.0.1	  xenodochy
192.168.0.2	  linux  linux.net xenodochy.org  ballroomdances.org

Per the above URL, httpd.conf has
Listen 127.0.0.1:8080


Any help would be appreciated (I'm still very new to linux).




--
Ralph E. Kenyon, Jr.
http://www.xenodochy.org/ralph.html
191 White Oaks Road
Williamstown, MA 01267-2259
Phone: 413-458-3597 / 2693

Home pages:
http://www.xenodochy.org
http://www.ballroomdances.org
-------------------------------------------------------
FIGHT SPAM http://www.xenodochy.org/diogenes/antispam.html
(If you are thinking about collecting my email address, read the above page first!)
--------------------------------------------------------
Keep our semantic environments and cyberspace clean.
Always report errors discovered while surfing the web.
------------------------------------------------------
My favorite saying (from general semantics):
It's not that seeing is believing, believing is seeing,
and we're much better at believing than we are at seeing.
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/



[Older Fedora Users Mail]     [Home]     [Fedora Legacy]     [Fedora Desktop]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Packaging]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux

Google
  Web www.spinics.net