how can i restrict directory

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

how can i restrict directory

Postby brett05 » Tue Aug 11, 2009 3:24 pm

hi to all
how can i restrict directory to all my agent
for exemple:
var/www/html/agc/ -->here i don't want view all sub files in agc/ directory
or
var/www/html/vicidial/ --> some thing i don't want view all sub files in vicidial/ directory

it is possible with the use of .htaccess or with add of some script php .
for note :
in var/www/html/vtigercrm/ this directoy is rectrict by the default installation of vtiger ,so here if we want to see the sub files of /vtigercrm/ we can not just we can see the http://IP/vtigercem/index.php
thanks for all help
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby lerroux » Tue Aug 11, 2009 6:31 pm

it all depends on your webserver configuration. where you go to the default page everytime you open a directory.

try googling around on how to properly configure your webserver.
---------------------------------------------------
warning: excessive coding is dangerous to your health. if symptoms persist, insult your doctor.

System: VICIBOX - VICIDIAL 2.0.5
Asterisk version - 1.2.26.2
lerroux
 
Posts: 61
Joined: Thu Apr 23, 2009 11:36 am

thanks

Postby brett05 » Tue Aug 11, 2009 7:42 pm

for exemple if i use vicidialnow how can i modifiy it because i have see also vicibox have the same thing in the webserver
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby mflorell » Tue Aug 11, 2009 10:10 pm

easiest thing is to add a blank index.html file to those directories.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

thanks

Postby brett05 » Tue Aug 11, 2009 10:31 pm

:D :D :D :D :D
really i forget it :D :D
i have seach the strong thing and i have forget the easy thinh
thanks
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 82 guests