Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] htaccess, rewritecond, and wildcards!! [help!]
- Date: Sat, 18 Nov 2006 07:26:12 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] htaccess, rewritecond, and wildcards!! [help!]
- References: <9c414c890611160433l1f2946dx4f995ee9a8481516@example.com>
- User-agent: Thunderbird 1.5.0.8 (X11/20061107)
> I have tried the following: > > RewriteCond %{REMOTE_HOST} !(*.)saitama(*.) [NC] > > to no avail. > > I have also tried things like > > RewriteCond %{REMOTE_HOST} !*saitama* [NC] > RewriteCond %{REMOTE_HOST} !saitama [NC] > RewriteCond %{REMOTE_HOST} !^.saitama. [NC] > (as you may have noticed, I have no idea what the "^" does, but it > seems to work sometimes.) I was just looking at the below tutorial, and it seems like just "!saitama" should've worked. But how about turning it into a full regex: RewriteCond %{REMOTE_HOST} !^(.*)saitama(.*)$ [NC] Darren http://www.vortexmind.net/index.php/2006-02-26-apache-htaccess-tweaking-tutorial/
- References:
- [tlug] htaccess, rewritecond, and wildcards!! [help!]
- From: David Bennett
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] htaccess, rewritecond, and wildcards!! [help!]
- Next by Date: Re: [tlug] Re: CJK Printing from Web Browsers in Debian 3.3.2
- Previous by thread: Re: [tlug] htaccess, rewritecond, and wildcards!! [help!]
- Next by thread: [tlug] 2GB miniSD card and 1024-byte sectors - cannot mount
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links