Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Zabrana pristupa?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
Zeus



Joined: 09 Sep 2003
Posts: 775
Location: Čakovec

PostPosted: 10.02.2008 13:20    Post subject: Zabrana pristupa? Add user to your forum ignore list Reply with quote

Imam u .htaccess datoteci ovo:
DirectoryIndex index.htm

To mi je zyt pomogao da se prilikom ulaza na web pejdz prikazuje upravo ta stranica...
E sad, ja bi htio zabraniti mogucnost da netko ucita index.php ili nesto slicno. Da li je to izvedivo preko .htaccess datoteke ili nekako drugacije?
Back to top
View user's profile Send private message Twitter profile
liban0n



Joined: 10 Feb 2004
Posts: 128
Location: Dubrovnik, Zagreb

PostPosted: 11.02.2008 19:35    Post subject: Add user to your forum ignore list Reply with quote

RedirectMatch (.*)\.php$ http://mojastranica/index.html


sve sto zavrsava sa .php prosljedjuje na index.html

_________________
mount -t swap /dev/brain /mnt/head
look'n for a job
Back to top
View user's profile Send private message Visit poster's website
Zeus



Joined: 09 Sep 2003
Posts: 775
Location: Čakovec

PostPosted: 11.02.2008 20:41    Post subject: Add user to your forum ignore list Reply with quote

Hvala, radi Smile
Back to top
View user's profile Send private message Twitter profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group