On Thu, Mar 08, 2001 at 04:32:20PM +0200, Mircea S. wrote:
>
> Salve!
>
> Cand dau in explorer sau netscape "http://server/un_director/" imi ia
> index-ul cum trebuie (e si normal asa l-am intruit pe Apache). Cand dau
> in schimb "http://server/un_director" imi face cu totul altceva...
ca de exemplu ce?
in mod normal la o cerere
GET /un_director/ HTTP/1.0
el iti da index.(html,php,htm,etc)
la o cerere :
GET /un_director HTTP/1.0
apache-ul iti va raspunde:
HTTP/1.1 301 Moved Permanently
Date: blabla ...
Server: Apache/blabla
Location: http://server/un_director/
Connection: close
Content-Type: text/html; charset=iso-8859-1
deci browserul tau automat va cere http://server/un_director/
deci , ori browser prost ... ori mai da si tu ceva detalii.
>
> Cum il pacalesc?!
>
> Mircea
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
>
--
by
Catalin
------------------------------------------------------------------------------
[EMAIL PROTECTED] Powered by Slackware
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.