Thread: .htaccess
View Single Post
08-06-2007, 07:49 PM
#2
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

You can't block access to JavaScript or CSS files (well, you could but it'd be pointless) but you can block direct access to files like PHP includes, etc. Take a look at the Files and Allow/Deny directives in the Apache manual.