Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old August 19th, 2004, 09:09 AM
macnus macnus is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Norway
Posts: 112 macnus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
.htaccess

I use this code in my .htaccess file to secure my config file
php Code:
Original - php Code
  1.  
  2. <Files .htaccess>
  3. order allow,deny
  4. deny from all
  5. </Files>
  6. <Files /inc/config.inc>
  7. order allow,deny
  8. deny from all
  9. </Files>

The problem is that it doesn't work on the config file, only on the .htaccess file
What is wrong?

Reply With Quote
  #2  
Old August 19th, 2004, 10:49 PM
bakertrg's Avatar
bakertrg bakertrg is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Scottsdale AZ, US
Posts: 2,253 bakertrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 48 m 45 sec
Reputation Power: 4
Send a message via Yahoo to bakertrg
RE: .htaccess

you put the .htaccess file in the directory with the config.inc and it does it's job from there.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > .htaccess


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT