Forum Moderators: phranque

Message Too Old, No Replies

Links won't work in IIS

must use full url for hyperlinks

         

egurr

2:53 pm on Feb 28, 2006 (gmt 0)

10+ Year Member




I'm working on an IIS server, making some changes to a pretty horrible site. It's hosted with Win2000 server and IIS, dynamic IP address with TZO.
It's a mess. I can't even get a basic link to work (href)unless I put in the entire path, [etc.etc....]
Anyone have any ideas on this?
This would be so much easier with apache.
Posted this on Microsoft OS forum as well, probably the wrong forum but I'm a newbie as far as posting. Sorry about that.

thrasher141

11:19 pm on Mar 2, 2006 (gmt 0)

10+ Year Member



Do you have access to the IIS server? I would browse through the properties for the site in IIS and make sure everything looks good. Is the home directory set up properly? I'm assuming it is if the site works. Very weird.

Bluesplinter

7:14 pm on Mar 14, 2006 (gmt 0)

10+ Year Member



Some things to check:

- For your website in the IIS MMC, select Properties, then the Home Directory tab. Make sure the "A directory located on this computer" option is checked.

- In your html code, in the <head> section, make sure there isn't a BASE tag present that could be overriding your relative links (this is what it sounds like at first glance, BTW).

- Make sure there isn't a URL rewriting filter in place (such as ISAPI_Rewrite).

- Create a basic page (test.html) with nothing but the following code:

<html><head></head><body><a href="test2.html">Test Page 2</a></body></html>

... and make sure there is an existing "test2.html" page on there, of course <g>.

That's about all I can guess at without seeing the pages or site setup.