Last post Apr 07, 2005 12:16 PM by StangFan
Apr 07, 2005 11:34 AM|StangFan|LINK
Now that I have fixed the implied default.aspx problem, I am having a problem getting the logo to load if I don't have either a filename at the end or a /.
http://localhost/communitystarterkit/default.aspx - loads logo correctly
http://localhost/communitystarterkit/ - loads logo correctly
http://localhost/communitystarterkit - shows logo as broken image
When I was debugging, I noticed that the logo didn't even come through as an image request.
Apr 07, 2005 11:38 AM|StangFan|LINK
Here is a little more information...
When I right click for properties, it is showing the file as:
It is cutting out the virtual directory.
Is there an image handler in this project? I am assuming I need to do a similar change to there as I did with the previous implied default.aspx.
Apr 07, 2005 12:16 PM|StangFan|LINK
Armed with the little more information. I decided to test to see how IIS handled the URLs that were entered without the / on the end.
What it does is it will append it on there.
So I changed the implied default.aspx code to redirect to <url>/default.aspx if the / doesn't exist.