PDA

View Full Version : Apache First Time Login Help...


a_priebe47
01-20-2004, 10:27 PM
I decided to use Apache as my webserver and got it installed ok, but I'm having problems getting it to open a connection through my router. It works fine through this address:

http://192.168.1.101

But the guy that helped me install it says that I need to be able to go in through my router via this address:

http://192.168.1.1

The problem is, I don't know what the password is. Is there like a default one set or does it use a password from somewhere else? I've tried lots of stuff and none of it seems to work. Any help would be great. Thanks.

gish
01-20-2004, 11:24 PM
are you getting a "windows" login prompt?...if so this is a windows "security" issue. you need to give "anon" user access to the folder where you are serving the web site.

a_priebe47
01-21-2004, 12:00 AM
Where would I be able to give these permissions? I'm running WinXP Home. Oh and another thing, were you able to see the index for the first link? I'm not sure if other computers are able to see the index outside of my network. Thanks.

stuka
01-21-2004, 01:00 AM
I think the guy who helped you was probably confused, or confused you. If your Apache is on 192.168.1.101, then that's the way you'll get to it. Now, if you have a setup like mine, with a D-Link router (or Linksys, they're very similar), you CAN (but don't NEED to) set the router up to do port forwarding, which allows you to have people outside your router/firewall hit the PUBLIC IP of your router, and have that request forwarded to your apache box. The password box you're seeing is probably from your router, and the instructions that shipped with it should contain the default password (which, naturally, you NEED!!! to change).

a_priebe47
01-21-2004, 01:06 AM
Thanks. I'm using a Linksys router. I'll look into it.
Oh btw, were you able to see my index on this link?

http://192.168.1.101

MJPhill
01-21-2004, 04:55 AM
192.168.*.* is the IP range for LAN's, so only you and whoever is on your LAN are going to be able to see your index at that address.

gish
01-21-2004, 03:27 PM
you need to goto the folder properties and assign the web user read/list permissions.....and possibly execute if php/perl or CGI will be used.


Originally posted by gish
are you getting a "windows" login prompt?...if so this is a windows "security" issue. you need to give "anon" user access to the folder where you are serving the web site.

a_priebe47
01-21-2004, 09:26 PM
Ok, I've setup my router for port forwarding and allowing WAN access from other internet connections. (was disabled before) Now, I'm getting a problem when I start Apache. It gives me this error:

(OS 10048)Only one usage of each socket address (protocol/network/address/port) is noramlly permitted. :make_sock could not bind to address 0.0.0.0:80 no listening sockets available, shutting down.
Unable to open logs.

Does that mean that the port it's trying to open on is not listening or is already being used? Thanks.

soccerdudez8
02-03-2004, 09:22 PM
I have the same problem. I can't see yours index on the internet or my index any where but on my lan.

sporaxis
05-02-2005, 04:08 AM
a_priebe47

Just signed up so I could answer and save you some heart ache.

Sorry not a guru at this but I have suffered the same pain as you. Problem is that yo uhave something using port 80 already. Do you have Skype? Skype occupies port 80 and stopped my installation of Apache, with same error as you.


Additionally you can run at the command line netstat -a to see if something is using that port.

I will hunt down what references I have on this and post once I get back from the shops.

Sporaxis