Resolving directory calls on Apache
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Resolving directory calls on Apache




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Resolving directory calls on Apache  
OJ


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-04 03:36 PM

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.  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?

Sorry for the new question.  I just don't think I'm googling the right
terms.

Thanks!

oj





[ Post a follow-up to this message ]



    Re: Resolving directory calls on Apache  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-04 03:36 PM

OJ <orljustin@aol.com> wrote:
> localhost/phpmyadmin
> does not work

Meaning? Do you get a 'page not found' or what?

> ends without a specific file sends me to my IE "default" homepage with

Probably because IE doesn't understand that you want a web page, try
using Mozilla or another browser.

Davide

--
| In the beginning was the word. But by the time the second word was
| added  to it, there was trouble. For with it came syntax ...
|
|





[ Post a follow-up to this message ]



    Re: Resolving directory calls on Apache  
HansH


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: Resolving directory calls on Apache  
OJ


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-04 08:33 PM

Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<c5u0bn$544qq$5@ID-1848
7.news.uni-berlin.de>...
> OJ <orljustin@aol.com> wrote: 
>
> Meaning? Do you get a 'page not found' or what?
> 
>
> Probably because IE doesn't understand that you want a web page, try
> using Mozilla or another browser.
>
> Davide


Hey,

Geez, you're right here.  netscape had no problem.  Asking for
http://localhost gave me the directory listing.

Originally, I had IE installed from an AT&T disk, so IE when it gets
the same address above, defaults to:
http://www.att.net/cgi-bin/websearc...y&qry=localhost
but 127.0.0.1 works fine.

That's bizarre.  I don't even know how to phrase the question to ask
why IE does this.  If you know, don't just say because it's crap...

oj





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:19 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register