Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 22196 invoked by uid 500); 11 Jan 2003 21:58:56 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 22180 invoked from network); 11 Jan 2003 21:58:56 -0000 Received: from cypher.screaminetcorp.com (HELO cypher.screaminet.com) (65.174.36.5) by daedalus.apache.org with SMTP; 11 Jan 2003 21:58:56 -0000 Received: from emil (unknown [208.186.189.40]) by cypher.screaminet.com (Postfix) with SMTP id 84D6762DDB; Sun, 12 Jan 2003 05:58:42 -0700 (MST) Message-ID: <030f01c2b9bc$9e08eb10$0100a8c0@emil> Reply-To: "Emil" From: "Emil" To: "Jeff Cohen" , References: <000001c2b9ac$ef06a9e0$6500a8c0@jeff> Date: Sat, 11 Jan 2003 15:58:46 -0600 Organization: E. I. Bohach & Associates X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] I am confused First of all, THANKS Jeff for trying to get this problem straightened out. Here is my DirectoryIndex, it is the same on both systems: DirectoryIndex index.php index.shtml index.html index.html.var index.htm index.php3 I have checked all of the directives (in both http.conf files) and they are the same except the 1st system points to C:/FoxServ/www/ for a root document and the 2nd system points to C:/Apache2/htdocs/. Neither folder contains a .htaccess file. System 1 has Apache 2.0.39, system 2 has Apache 2.0.43. On the 1st system entering a URL of http://testbed/ will give me the index.php page in that folder. I will also get the same results with http://testbed/index or http://testbed/index.php/ On system 2 entering a URL of http://testbed/ or http://testbed/index.php/ will give me the index.php page in that folder. But when I enter http://testbed/index I get a 404 Page not found error. Results are the same for other pages whether they be .php or .shtml or .html Emil ----- Original Message ----- From: "Jeff Cohen" To: ; "'Emil'" Sent: Saturday, January 11, 2003 2:06 PM Subject: RE: [users@httpd] I am confused Hi Emil, Guess you have to use mod_rewrite to do so. The server doesn't know which file you are asking it to serve unless you specify the extension, eg. If you go to dos prompt and try running *filename* and at the same folder you have x.bat and x.com, will the computer know which file you meant to load?? Think about it.. You'll need to use mod_rewrite and redirect www.domain1.com/file > www.domain1.com/file.extension . Otherwise you'll need to do as follows: Add another DirectoryIndex to the folder that will point to the default page you want to load. You can do so within the httpd.conf file or in an .htaccess file. The line to do so will be DirectoryIndex demo.shtml index.php and etc. All the best, Jeff Cohen > -----Original Message----- > From: Emil [mailto:ebohatch@eibassoc.com] > Sent: Saturday, January 11, 2003 7:56 AM > To: Joshua Slive; users@httpd.apache.org > Subject: Re: [users@httpd] I am confused > > Joshua, > I checked and it was on in my virtual hosts. I set it on in the root but > no > difference. > I still get a page not found 404 error, but if I give it the suffix > demo.shtml it works fine??? > > Am I possibly missing an included module in the downloaded binary of > Apache > 2.0.43 > > Thanks, > Emil > > ----- Original Message ----- > From: "Joshua Slive" > To: ; "Emil" > Sent: Friday, January 10, 2003 9:30 PM > Subject: Re: [users@httpd] I am confused > > > > > > On Fri, 10 Jan 2003, Emil wrote: > > > But when I try to call a page using http://website/demo > > > it will not find it unless I specifically call > > > for http://website/demo.shtml . > > > > > > On the original system this functions fine. > > > > Add "MultiViews" to the Options directive fore the DocumentRoot > directory. > > > > Joshua. > > > > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org