Received: (qmail 23333 invoked by uid 501); 20 Oct 2000 08:38:22 -0000 Message-Id: <20001020083822.23332.qmail@locus.apache.org> Date: 20 Oct 2000 08:38:22 -0000 From: Le Moing laurent Reply-To: laurent@postemail.com To: submit@bugz.apache.org Subject: Alias does not work in a mass virtual host X-Send-Pr-Version: 3.110 >Number: 6717 >Category: mod_alias >Synopsis: Alias does not work in a mass virtual host >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Oct 20 01:40:00 PDT 2000 >Closed-Date: Wed Mar 21 22:36:04 PST 2001 >Last-Modified: Wed Mar 21 22:36:04 PST 2001 >Originator: laurent@postemail.com >Release: Apache/1.3.14 (Unix) >Organization: >Environment: Linux dev02 2.2.14 #1 Sat Mar 25 00:45:35 GMT 2000 i686 unknown Server version: Apache/1.3.14 (Unix) Server built: Oct 16 2000 15:45:32 -l give http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_access.c mod_auth.c mod_so.c mod_setenvif.c mod_php4.c + vhost_alias_module as dso >Description: alias in virtualhost work but the same in mass virtual does not >How-To-Repeat: # try it with vhost_alias_module as dso # mass vhost VirtualDocumentRoot /ressource/sites/%0 Alias /common /www/htdocs/common Alias /app /www/htdocs/app # unique vhost DocumentRoot /ressource/sites/dev02c.dom.com ServerName dev02c.dom.com >Fix: no >Release-Note: >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: slive State-Changed-When: Fri Oct 20 15:02:35 PDT 2000 State-Changed-Why: Two things to try: 1. Check the order that you are loading the modules into the server. You probably want the AddModule line for mod_vhost_alias to be before the one for mod_alias, but you might want to try it the other way too, just to be sure. 2. There is no need to enclose the directives in a section, since you want to do mass vhosting on all IP addresses. Just put them in the main server config context (outside any sections). Let us know how it goes. If you are still having problems, please be more specific about what "doesn't work" means. Does it have no effect at all, or does it try to serve from the wrong location? Thanks. From: Tony Finch To: apbugs@apache.org, laurent@staff.ioway.net Cc: Subject: Re: mod_alias/6717: Alias does not work in a mass virtual host Date: Fri, 20 Oct 2000 17:54:34 +0000 Le Moing Laurent wrote: > > >gnats-admin@bugz.apache.org wrote: > >> Thank you very much for your problem report. >> It has the internal identification `mod_alias/6717'. >> The individual assigned to look at your >> report is: apache. >> >> >Category: mod_alias >> >Responsible: apache >> >Synopsis: Alias does not work in a mass virtual host >> >Arrival-Date: Fri Oct 20 01:40:00 PDT 2000 > >with mod_vhost_alias as dso alias work only in simple vhost >without mod_vhost_alias in static (not in dso) alias work with both > >is it a bug ??? >a misconfiguration or that never work ? I think you have got your LoadModule directives in the wrong order. Can you get me a copy of your httpd.conf and src/Configuration (or src/Configuration.apaci if you use configure rather than src/Configure). Tony. -- en oeccget g mtcaa f.a.n.finch v spdlkishrhtewe y dot@dotat.at eatp o v eiti i d. fanf@covalent.net State-Changed-From-To: feedback-closed State-Changed-By: slive State-Changed-When: Wed Mar 21 22:36:04 PST 2001 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >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! ]