John, That is very helpful detail direction. I have apache both locally and with the host. These lines do appear in the httpd.conf file- and a long list already:
<IfModule mod_dir.c> DirectoryIndex index.html index.shtml index.wml index.pwml index.php index.php3 index.php4 </IfModule>. But it also instructs a search for .htaccess, and on the local server the test site is a sub folder. So I have some fun ahead to get it to work! Done it! Yes it works; and the main site on the local server is still OK with its standard index.php. Simple, isn't it? When you know how... Many thanks, Joseph > Joe, > > Don't know if you have apache as server or have access to httpd.conf, but if > you do have a search through the file for a line that looks like this (on > apache 1.3.19 at any rate). > > <IfModule mod_dir.c> > DirectoryIndex index.shtml index.html > </IfModule> > > Basically where I have entered "index.shtml index.html" tells the server > that these are the names for default files. You could as easily have > lala.php in this list, it just needs to be separated from the others by a > space. The order of the list is important. if a directory has more than one > of the filenames in the list the one highest up the list (i.e. closest to > the left) will get precedence. > > You'll need to stop and start the server for the change to take. > > You should find httpd.conf in a directory called conf. It depends on your > set up exactly where it is. You should be able to edit httpd.conf in any > plain text editor > > HTH, > > John. > > > ----- Original Message ----- > From: "Joseph Harris" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, October 25, 2004 10:38 PM > Subject: [wdvltalk] quick index.php question > > > > If I have www.blahdeblah.com > > (not real - do not click, repeat do not...) > > must the opening file be index.php (or index.html and so on) or will it > pick > > up say: index-blah.php (or html or whatever) > > > > Or is there a way of getting it to pick up any file title by specifying it > > on the server... > > > > I suspect not, but it would be nice if there was. > > > > Joseph Harris > > > > > > ____ . The WDVL Discussion List from WDVL.COM . ____ > > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] > > Send Your Posts To: [EMAIL PROTECTED] > > To set a personal password send an email to [EMAIL PROTECTED] with the > words: "set WDVLTALK pw=yourpassword" in the body of the email. > > To change subscription settings to the wdvltalk digest version: > > http://wdvl.internet.com/WDVL/Forum/#sub > > > > ________________ http://www.wdvl.com _______________________ > > > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to %%email.unsub%% > > > > To unsubscribe via postal mail, please contact us at: > > Jupitermedia Corp. > > Attn: Discussion List Management > > 475 Park Avenue South > > New York, NY 10016 > > > > Please include the email address which you have been contacted with. > > > > > ____ . The WDVL Discussion List from WDVL.COM . ____ > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] > Send Your Posts To: [EMAIL PROTECTED] > To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. > To change subscription settings to the wdvltalk digest version: > http://wdvl.internet.com/WDVL/Forum/#sub > > ________________ http://www.wdvl.com _______________________ > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% > > To unsubscribe via postal mail, please contact us at: > Jupitermedia Corp. > Attn: Discussion List Management > 475 Park Avenue South > New York, NY 10016 > > Please include the email address which you have been contacted with. > > ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.