04-18-04 03:36 PM
"OJ" <orljustin@aol.com> schreef in bericht
news:77d3a68b.0404180520.2ac9e785@posting.google.com...
> Hi there,
> I've used php123 from firepages, before, and decided to try
> apache2triad. Did a fresh install. It runs apache2. I can get to:
> 127.0.0.1/phpmyadmin
> but
> "localhost/phpmyadmin" does not work.
I presume it is a folder, so that _file_ is indeed non-exsistant.
> However, http://localhost/apache2cp/apache2cp.html
> does resolve correctly (so it isn't the hosts file). Anything that
> ends without a specific file sends me to my IE "default" homepage with
> a search. How do I get localhost to allow the directory type call
> like above? What's the magic config?
After adding a trailing slash to both arguments of an alias or a scriptalias
directive, append it to your request too: "localhost/phpmyadmin/"
> Sorry for the new question. I just don't think I'm googling the right
> terms.
http://httpd.apache.org/docs-2.0/misc/rewriteguide.html
" Trailing Slash Problem
Description: Every webmaster can sing a song about the problem of the
trailing slash on URLs referencing directories. If they are missing, the
server dumps an error, because if you say /~quux/foo instead of /~quux/foo/
then the server searches for a file named foo. And because this file is a
directory it complains. Actually it tries to fix it itself in most of the
cases, but sometimes this mechanism need to be emulated by you. For instance
after you have done a lot of complicated URL rewritings to CGI scripts etc.
"
HansH
[ Post a follow-up to this message ]
|