Received: (qmail 2732 invoked by uid 2012); 15 Dec 1999 08:31:31 -0000 Message-Id: <19991215083131.2731.qmail@hyperreal.org> Date: 15 Dec 1999 08:31:31 -0000 From: Marcel de Haas Reply-To: mdehaas@athena.demon.nl To: apbugs@hyperreal.org Subject: Wrong translation of Alias directive X-Send-Pr-Version: 3.2 >Number: 5471 >Category: mod_alias >Synopsis: Wrong translation of Alias directive >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Dec 15 00:40:00 PST 1999 >Last-Modified: Wed Dec 15 14:10:02 PST 1999 >Originator: mdehaas@athena.demon.nl >Organization: >Release: Apache/1.3.9 [10309100] >Environment: SunOS thorheim 5.6 Generic_105181-15 sun4m sparc SUNW,SPARCstation-LX GCC version 2.95.1 19990816 (release) Netscape 4.51 >Description: I have an intranet server (thorheim.holland) which has an URL /horde/imp, his works fine. I created an Alias /webmail/ "/usr/local/apache/htdocs/horde/imp". Later I changed this to Alias /webmail "/usr/local/apache/htdocs/horde/imp" only now when I type in: thorheim.holland/webmail/ it works OK, when I type thorheim.holland/webmail it redirects me to www.thorheim.com/webmail/ which obviously doesn't exist. It is not my domain either. >How-To-Repeat: Have an intranet server with the same name as a real domain (pref. .com) ?? >Fix: no >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Wed Dec 15 00:43:25 PST 1999 State-Changed-Why: When you are making up domains, you have to be consistent. Somewhere in your configs you have www.thorheim.com as your domain. See http://www.apache.org/docs/misc/FAQ#set-servername From: "Marcel de Haas" To: Cc: Subject: Re: mod_alias/5471: Wrong translation of Alias directive Date: Wed, 15 Dec 1999 21:53:28 +0100 ----- Oorspronkelijk bericht ----- Van: Aan: ; ; Verzonden: woensdag 15 december 1999 9:43 Onderwerp: Re: mod_alias/5471: Wrong translation of Alias directive > [In order for any reply to be added to the PR database, ] > [you need to include in the Cc line ] > [and leave the subject line UNCHANGED. This is not done] > [automatically because of the potential for mail loops. ] > [If you do not include this Cc, your reply may be ig- ] > [nored unless you are responding to an explicit request ] > [from a developer. ] > [Reply only with text; DO NOT SEND ATTACHMENTS! ] > > > Synopsis: Wrong translation of Alias directive > > State-Changed-From-To: open-closed > State-Changed-By: marc > State-Changed-When: Wed Dec 15 00:43:25 PST 1999 > State-Changed-Why: > When you are making up domains, you have to be consistent. > Somewhere in your configs you have www.thorheim.com as your > domain. See http://www.apache.org/docs/misc/FAQ#set-servername As I said, the domain www.thorheim.com is not in any way related to the intranet server thorheim.holland. The problem got worse however. I can't call any url to a directory without a trailing '/'. I've tried to solve this by copying the httpd.con.default over the httpd.conf, than setting the servername and typed: thorheim.holland/manual it (apache?) then puts me through to www.thorheim.com/manual/ (which doesn't exist) if I type thorheim.holland/manual/ however I can enter the manual. Problem with URL's (no longer mod_alias bug) >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]