Forum Moderators: phranque
Welcome to WebmasterWorld!
Since you just added the router, try this LinkSys Technical FAQ search [linksys.custhelp.com]. Result #5 seems to be most appropriate.
Jim
i can reach pages using my partial xp pro version of iis
i've put pages in my wwwroot folder of iis and i can access them
This is your problem. You are trying to run Apache on port 80, when there is already IIS on port 80. You cannot have two applications sharing one port. They need to have exclusive access.
You can either run one of the servers on a different port, or shut down IIS and use apache only.
but i changed apache to port 65535 and when i put in my url i access the iis server
You need to specify which port you want to access. E.g. [localhost:65535...]
also what is the difference between upnp and port forwarding
When you use UPNP the computer itself has to issue a command to the router to tell the router what port should be forwarded to itself. This is useful for DHCP setups. It's a bit difficult to setup.
Regular port forwarding just forwards a range of ports to one specific IP address. So if you are using DHCP, the next time you reconnect, you might get a different IP address and forwarding will stop workin.
but my apache config used to accept
Listen 80
so
Listen 65535
surely would be the same
Same what? I don't think you understand the concept of ports. You should read up about it.
Just think logically. If you have two servers listening on the same port and user makes a request. Who would answer the request? Either one of them? They take turns? None? That is why two servers cannot be on the same port, so that such questions do not arise.
Imagine a port being a door into a movie theather room. There is only one screen. Only one movie can be played at the same time. So if you want to show another movie, you need to open up another room and have another door then forward people to that door.
By IANA's rules [iana.org] all browsers know that HTTP protocol is on port 80, thus you don't need to specify the port, but you could if you wanted.
[localhost:80...] is equivalent to [localhost...]
http://www.example.com:80/ is exactly the same as http://www.example.com/
The :80 is ommited, because according to IANA's specifications all servers, by default, run on port 80. If you are running a server on an alternative port, then you must specify it, otherwise the browser cannot know which port you really mean.
In your case, you don't specify a port, and thus you always get IIS answering, because IIS is running on port 80. If you want to talk to apache, you need to tell the browser which door to knock in.
iis is presumably bound to port 80 but it is the iis which is responding
IIS will respond on port 80 if it is listening on port 80, how else do imagine this to happen?
You don't really need to uninstall IIS, you can just disable it's service, then restart.
Start -> Settings -> Control Panel -> Administrative Tools -> Services -> IIS -> Disable
Restart your computer.
Reconfigure apache to run on port 80
Now you can access it without specifying any port numbers.
one curious thing there is an apache icon next to the clock before it had been showing apache not running and if you try and start apache via this i get the error message the requested operation has failed but tonight when i turned the computer on it showed that apache was running and this was when listen 65535 was the directive
now i have restarted the computer it shows not working even though i seem to start it through start > programs > apache
8-)