RE: [PHP] Trailing "/" and Apache
| From: | Ryan Christensen | Date: | Tue, 30 Oct 2001 02:07:56 +0000 |
| Subject: | RE: [PHP] Trailing "/" and Apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72808@lists.php.net to get a copy of this message | ||
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:milesthompson@ns.sympatico.ca]
> Sent: Monday, October 29, 2001 5:44 PM
> To: Todd Cary; php-general@lists.php.net
> 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
> >todd@aristesoftware.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-general-help@lists.php.net To contact the list
> administrators, e-mail: php-list-admin@lists.php.net
>