External Access to Apache on Windows Server 2003

This is a discussion on External Access to Apache on Windows Server 2003 within the Apache Web Server forums, part of the Web Server and Related Forums category; I have apache installed on a Windows Server 2003 box. Intranet access is working without a hitch. External access however ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-15-2005
Chad Brekke
 
Posts: n/a
Default External Access to Apache on Windows Server 2003

I have apache installed on a Windows Server 2003 box. Intranet access
is working without a hitch. External access however will not work.

My network administrator has a Cisco Pix firewall configured with a
static list to handle IP translations. We have had no problems with
IIS which we are currently using on a couple of our sites.

I think that the problem is happening with the firewall. My network
admin believes that it is my virtual host configuration.

Why is the web site working internally then? I have 2 sites enabled -
"intranet2" and "www2".

What's going on here??

Any help will be greatly appreciated!

- Chad Brekke

  #2 (permalink)  
Old 11-15-2005
HansH
 
Posts: n/a
Default Re: External Access to Apache on Windows Server 2003

"Chad Brekke" <ChadBrekke@gmail.com> schreef in bericht
news:1132013018.000540.241340@o13g2000cwo.googlegr oups.com...
> I have apache installed on a Windows Server 2003 box. Intranet access
> is working without a hitch. External access however will not work.

It does not work to what extend ...
.... no response, no page, wrong page???
Anything in the logs ??

> My network administrator has a Cisco Pix firewall configured with a
> static list to handle IP translations. We have had no problems with
> IIS which we are currently using on a couple of our sites.

Is Apache sharing the same public IP and port with those sites?

> I think that the problem is happening with the firewall. My network
> admin believes that it is my virtual host configuration.
> Why is the web site working internally then?

If the sites work well on the LAN it's probeably -cann't tell without
seeing- not your vhost setup. However, that does not instantly put the blame
on the firewall ...

> I have 2 sites enabled - "intranet2" and "www2".

Assuming name based virtuals, iow both sites share a single IP and port,
you HAVE to ALWAYS addres them by name -not IP-.
That implies, the sites must be known at public DNS -or listed in a hosts
file-

Just 2ct

HansH


  #3 (permalink)  
Old 11-15-2005
Chad Brekke
 
Posts: n/a
Default Re: External Access to Apache on Windows Server 2003

Message: "The document contains no data."
No external IP's show in the access.log file

The Apache virtual sites are running on a seperate dedicated IP

VHOST Configuration
NameVirtualHost 172.31.1.102:80

<VirtualHost 172.31.1.102:80>
ServerAdmin webmaster@site1.com
DocumentRoot w:/site1.com
ServerName site1.com
ErrorLog logs/site1_error.log
</VirtualHost>

<VirtualHost 172.31.1.102:80>
ServerAdmin webmaster@site2.com
DocumentRoot w:/site2.com
ServerName site2.com
ErrorLog logs/site2_error.log
</VirtualHost>

We configure an on-site DNS. The sites have been added and configured
under the seperate and dedicated IP.

  #4 (permalink)  
Old 11-15-2005
Charles Crume
 
Posts: n/a
Default Re: External Access to Apache on Windows Server 2003

Hi Chad;

I recently set up Apache on a Windows NT4 box. My machine is behind a NAT
router (Netgear) and I had to use * instead of the actual IP address in the
vhost section(s), as in:

NameVirtualHost *:80

<VirtualHost *:80>
...
...
</VirtualHost>

You might try this.

Charles...



"Chad Brekke" <ChadBrekke@gmail.com> wrote in message
news:1132015827.117464.136670@g47g2000cwa.googlegr oups.com...
> Message: "The document contains no data."
> No external IP's show in the access.log file
>
> The Apache virtual sites are running on a seperate dedicated IP
>
> VHOST Configuration
> NameVirtualHost 172.31.1.102:80
>
> <VirtualHost 172.31.1.102:80>
> ServerAdmin webmaster@site1.com
> DocumentRoot w:/site1.com
> ServerName site1.com
> ErrorLog logs/site1_error.log
> </VirtualHost>
>
> <VirtualHost 172.31.1.102:80>
> ServerAdmin webmaster@site2.com
> DocumentRoot w:/site2.com
> ServerName site2.com
> ErrorLog logs/site2_error.log
> </VirtualHost>
>
> We configure an on-site DNS. The sites have been added and configured
> under the seperate and dedicated IP.
>



  #5 (permalink)  
Old 11-15-2005
HansH
 
Posts: n/a
Default Re: External Access to Apache on Windows Server 2003

"Chad Brekke" <ChadBrekke@gmail.com> schreef in bericht
news:1132015827.117464.136670@g47g2000cwa.googlegr oups.com...
> Message: "The document contains no data."
> No external IP's show in the access.log file

Unsure whether logging is complete without any access_log being defined
below

> The Apache virtual sites are running on a seperate dedicated IP

Below shows shared IP ...

> VHOST Configuration
> NameVirtualHost 172.31.1.102:80
>
> <VirtualHost 172.31.1.102:80>
> ServerAdmin webmaster@site1.com
> DocumentRoot w:/site1.com
> ServerName site1.com
> ErrorLog logs/site1_error.log
> </VirtualHost>
>
> <VirtualHost 172.31.1.102:80>
> ServerAdmin webmaster@site2.com
> DocumentRoot w:/site2.com
> ServerName site2.com
> ErrorLog logs/site2_error.log
> </VirtualHost>
>
> We configure an on-site DNS.

Are the site names known in _public_ DNS?

What's the LANside IP of the Cisco router?

HansH


  #6 (permalink)  
Old 11-15-2005
Chad Brekke
 
Posts: n/a
Default Re: External Access to Apache on Windows Server 2003

Unfortunately the *:80 did not work :(

- Chad

  #7 (permalink)  
Old 11-15-2005
Chad Brekke
 
Posts: n/a
Default Re: External Access to Apache on Windows Server 2003

It looks as if the access log file is working OK. Seeing new entries.


Sorry - yes a shared IP.

I will have to talk with the network admin tomorrow about your other
questions regarding the DNS and router's LAN-side IP.

Thank you for your time.

- Chad

  #8 (permalink)  
Old 11-15-2005
Chad Brekke
 
Posts: n/a
Default Re: External Access to Apache on Windows Server 2003

Update...

By using whatismyip.com I was able to find that the IP address listed
was different (last 3 digits) from the entry in our DNS. We changed
the DNS to translate from the new number. I am now able to
SLO-O-O-O-WLY pull in parts of the website externally - not sure why so
slow?? At this point it only works if I enter the IP address and not
the domain name.

There are 2 seperate IPs/Nics on this webserver.
Can this cause a problem when configuring an apache website??

- Chad

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:35 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0