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

Re: apache klasor listeleme sorunu ?



Mehmet Fatih AKBULUT yazmış:

> merhaba,
> apache documentroot klasoru altindaki herhangi bi klasorun [ve alt
> klasorlerin] browserda gozukmesini istemiyorum.
> mesela squirrelmaile login oldugumda:
> http://localhost/debmail/src/login.php
> <http://localhost/debmail/src/login.php> seklinde degilde sadece
> http://localhost/ gozuksun istiyorum.
> bu mumkun mu ?
> nasil yapabilirim ?
Merhaba
Apache 2.0de alur ama 1.3'de bilemiyorum. Ama Apache 2.0 de nasil?!
/etc/apache2/sites-enabled dizinde istediğin siteni seç, Örnek için
"/etc/apache2/sites-enabled/000-default" ve bu dosyani düzenlet. Örnek :

---------------
ServerSignature On
##Ben katdimişim
Alias /oz "/home/navid/public_html/tw/"
##BUNU ben katdim
Alias /doc/ "/usr/share/doc/"
---------------------------

Şimdi http://localhost/oz --> /home/navid/public_html/tw/ gediyor
ya http://localhost/doc --> /usr/share/doc/ dediyor

Mutlu çalişmalar

-- 
Navid
mail     : navid643@gmail.com
Jabber ID: navux@gabber.org.uk 
GPG = 340C 1068 A0F6 D702 FDD6  CFB6 8714 4F55 D3F9 1F7D
Key:http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x87144F55D3F91F7D


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: