.htaccess help

This is a discussion on .htaccess help within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, I'm new to .htaccess. I'd like to do the following: I'd like to disallow all requests ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-14-2007
Frederik Vanderstraeten
 
Posts: n/a
Default .htaccess help

Hi,

I'm new to .htaccess. I'd like to do the following:
I'd like to disallow all requests for all files and subdirectories in a
certain directory, except for the index file (index.pl) for that one
directory (not for the subdirectories). I'd also prefer if the index.pl
file could still be accessed as the directory index.
Also, that file is only accessible if HTTP request header X-Client has a
value of MW.
I don't understand how to accomplish this.

Thanks,
Frederik Vanderstraeten
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:04 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0