[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2 sends reply for / and redirect for ~<user> (setup Q)



On Mon, 5 Jul 2004 01:53:02 +0300, Micha Feigin <michf@post.tau.ac.il> wrote:
> GET /~<user> HTTP/1.0

Try

GET /~<user>/ HTTP/1.0

> I get a Moved Permanently reply 

That is standard when you give a directory without the trailing slash.

> with the server's external
> host-name. How do I set it up so that it works also for connections
> from the localhost?

Try setting up localhost as a ServerAlias, and do

Get /~<user>/ HTTP/1.0
Host: localhost

Disclaimer: I didn't test this.

Cheers,

Ketil Froyn
ketil@froyn.name
http://ketil.froyn.name/



Reply to: