Re: [PHP] Trailing / and Apache

2001-10-29 Thread Miles Thompson

Todd,

What is the DirectoryIndex set to in httpd.conf? Normally it's something like
DirectoryIndex index.html, index.php   (or whatever file you want served as 
the home page)

Miles

At 04:55 PM 10/29/01 -0800, Todd Cary wrote:
With Linux and Apache, if I use the IP of http://209.204.111.121/mydir,
the index.html file is not accessed.  However,
http://209.204.111.121/mydir/ does access it.  This problem does not
exist with IIS, so I am curious if there is some parameter in Apache I
can change.

Thank you...

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Trailing / and Apache

2001-10-29 Thread Ryan Christensen

That's likely not the problem.. More the fact that if you don't have the
ServerName directive set to match the ip address you're accessing it
with in this case.. (unless you have DNS pointing a domain to it that's
configured as a vhost).

So, try adding the line:

ServerName 209.204.111.121

To your Apache config.. And watch the pages fly :)

-Ryan

 -Original Message-
 From: Miles Thompson [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, October 29, 2001 5:44 PM
 To: Todd Cary; [EMAIL PROTECTED]
 Subject: Re: [PHP] Trailing / and Apache
 
 
 Todd,
 
 What is the DirectoryIndex set to in httpd.conf? Normally 
 it's something like
 DirectoryIndex index.html, index.php   (or whatever file you 
 want served as 
 the home page)
 
 Miles
 
 At 04:55 PM 10/29/01 -0800, Todd Cary wrote:
 With Linux and Apache, if I use the IP of 
 http://209.204.111.121/mydir, 
 the index.html file is not 
 accessed.  However, 
 http://209.204.111.121/mydir/ does access it.  This problem does not 
 exist with IIS, so I am curious if there is some parameter 
 in Apache I 
 can change.
 
 Thank you...
 
 Todd
 
 --
 Todd Cary
 Ariste Software
 [EMAIL PROTECTED]
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: 
 [EMAIL PROTECTED] To contact the list 
 administrators, e-mail: [EMAIL PROTECTED]
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]