Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Website on apache not working over internet |
|
Author |
|
Alok
Joined: 02 Jun 2010 Posts: 1
|
Posted: Wed 02 Jun '10 16:13 Post subject: Website on apache not working over internet |
|
|
I have installed Apache Server over Windows 2003 server.. I am running my apps greenstone on port no 8080. What is happeneing now if i access greenstone directly on the server giving the command "http://localhost:8080/gsdl/cgi-bin/library.cgi The application runs perfectly.
I dont have a domain name set for this currently but have a live IP address.. When i try to access the apache server using the IP Address I am not being able to access the website..I get the error "The connection has timed out"..The address that i am giving is htttp://ipaddress:8080/gsdl/cgi-bin/library.cgi.
Can u pls guide me if any extra settings have to be set for the Apache server in order to access it remotely.
If i give the address on the local server http://localhost:8080/ i get a Text It Works!! on the web page
If i give the address as http://ipaddress:8080 on the local serveri get the error Page cannot be displayed..
I guess it ssome configuration problem on the apache..Could u pls guide me further on it
thx |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 04 Jun '10 11:31 Post subject: |
|
|
Do you use a router or a firewall? It sound more like a portforwarding issue. Or did you set the Listen to a specific IP? |
|
Back to top |
|
velocity
Joined: 14 Apr 2010 Posts: 21
|
Posted: Mon 14 Jun '10 8:49 Post subject: |
|
|
I think you need to configure a vhost for your site like this
Create a virtualhost (which will be your default site served )
Code: |
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:8080
ProxyPassReverse / http://localhost:8080
|
Also try to log which vhost is serving the the application by adding
to your vhost
Code: |
CustomLog /var/log/apache2/site-resp_log some_name
LogFormat "%t %{X-Forwarded-For}i %v %h %a{can I put} %A" some_name
|
Try to see in log files if the request http://%{Live IP}:8080
is actually reaching your website or not.
You can use httplive a firefox addon to find the Location Headers as where from the site is being served. |
|
Back to top |
|
|
|
|
|
|