So, I was up late last night upgrading my personal websites from AOLserver 3.5 to 4.1 (current HEAD in CVS) ... and had to switch from nsunix/nsvhr to using the in-process Host-header virtual hosting in 4.x. After a bit of frustrating gyrations and configuration bingo, I finally got things working ... except ...
Accessing a virtual host via http://foo.com/ vs. http://www.foo.com/ (when mapping "foo.com", "foo.com:80", "www.foo.com" and "www.foo.com:80" in the config) gives different behavior. I haven't nailed it down yet, but gdb'ing through DriverThread() and ConnRun() hasn't been very interesting -- the Conn structure looks sane. I think it might have something to do with fastpath -- in particular, the index.adp isn't a file, it's a symlink (!!!) and I think this might be fouling things up. Has anyone else run into this? What puzzles me is why it behaves differently when the Host: header contains the "www." part differently than when it doesn't. When you include the "www." in the url, it serves the symlink (well, the file that the symlink points to) just fine. Without the "www." prefix, it returns a 404 Not Found. Help? Anyone? -- Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
