Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > BOOK: Beginning Regular Expressions
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Regular Expressions
This is the forum to discuss the Wrox book Beginning Regular Expressions by Andrew Watt; ISBN: 9780764574894
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Regular Expressions section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 5th, 2006, 03:58 AM
Registered User
Join Date: Jun 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Regex within a DirectoryMatch Directive

Hi Friends,
How do you define a regular expression within a directory match directive to browsing files in folders whose names begin with the underscore?

<DirectoryMatch regex>...</DirectoryMatch>

Thanks in advance

  #2 (permalink)  
Old June 6th, 2006, 04:53 AM
ufo ufo is offline
Authorized User
Join Date: Apr 2006
Location: , , .
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts

I assume that you are talking about apache configuration. The documentation is not completely clear about how the regex are evaluated.

I assume this is the best way to do it.
<DirectoryMatch "/_">...</DirectoryMatch>

The directives will apply to all subdirectories...

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
undeclare-namespaces directive mphare XSLT 3 May 14th, 2008 11:16 AM
ErrorPage in Page Directive balesh.mind ASP.NET 2.0 Professional 1 August 10th, 2007 09:14 AM
missing directive with simple datagrid pbarbalias ASP.NET 1.0 and 1.1 Basics 1 October 17th, 2006 07:48 PM
Error: directive 'WebService' is unknown mikeyp .NET Web Services 0 October 31st, 2005 02:19 PM
#exec server directive vitanza BOOK: Beginning ASP 3.0 1 July 11th, 2003 09:33 AM

All times are GMT -4. The time now is 07:47 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.