If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced Guestbook and htaccess  XML
Forum Index » Support Forum
Author Message
Anonymous



Hello Everyone

Wanted to ask if anyone knows if there's a way to protect the admin folder with .htaccess . I have tried to add it but gives me problems with the guestbook. Some ideas ?

Thanks
Anonymous



up
JTD
Graduate

Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline

As in something like this. you just upload into your public_html file is all. Dont use this one as it wont work for you though.

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
#The next line modified by DenyIP
order allow,deny
#The next line modified by DenyIP
#deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.xx.xx.xx.xx.org
AuthUserFile /home/ravenpro/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/ravenpro/public_html/_vti_pvt/service.grp

AddType image/xml+svg svg
deny from xx.xx.xx.xx
deny from xx.xx.xx.xx
deny from xx.xx.xx.xx







<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from xx.xx.xx.xx
deny from xx.xx.xx.xx
deny from xx.xx.xx.xx





LINK-> Use Lazarus Guestbook
[WWW] [Yahoo!] aim icon [MSN]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum