apache: //SERVER/dir -> //SERVER/dir/

Seite 1 von 1 - Forum: Linux and other OS auf overclockers.at

URL: https://www.overclockers.at/linux/apache_server_dir_gt_server_dir_152219/page_1 - zur Vollversion wechseln!


syphiliz schrieb am 06.11.2005 um 13:18

wie stelle ich an, dass wenn ich http://SERVER/dir aufrufe, ich nach http://SERVER/dir/ komme?

(Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6mdk) mod_perl/1.99_11 Perl/v5.8.3 mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.4 Server at 127.0.0.1 Port 80)

tia syph

//edit:

zur erklärung:

http://SERVER/dir -> HTTP 404
http://SERVER/dir/ -> workt


semteX schrieb am 06.11.2005 um 13:36

Alias Anlegen? (imho die einfachste lösung..)
Mod_Rewrite?


syphiliz schrieb am 06.11.2005 um 13:49

Zitat von semteX
Alias Anlegen? (imho die einfachste lösung..)
Mod_Rewrite?

naja, ich möchte, dass das allgemin so ist. deswegen ist jedes mal wennst ein neues dir machst ein alias anlegen ein bissl zach.

mod_rewrite? keine ahnung, ich sags dir wenn ich gegoogled hab :)


sushimako schrieb am 06.11.2005 um 16:30

http://httpd.apache.org/docs/2.0/mod/mod_dir.html


lg


syphiliz schrieb am 06.11.2005 um 23:24

Zitat von sushimako
http://httpd.apache.org/docs/2.0/mod/mod_dir.html


lg

saugeil! thx




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025