RE: [users@httpd] Apache RewriteEngine

2011-01-06 Thread motty.cruz
Hello Igor, I tried your suggestion but did not because I want people to view files in /wp-content/media/ only if they have a cookie( if they login). The suggested RedirectMatch ^/wp-content/media/ /<-- won't let me see files in /wp-content/media even if I succefully log in. I tried this

RE: [users@httpd] Apache RewriteEngine

2011-01-06 Thread motty.cruz
I have pdf files under /wp-content/media/guides/guide1.pdf In order for users to see those pdf files they have to login we have set up a login page. However if they go directly to www.domain.com/wp-content/media/guides/guide1.pdf Apache should re-direct them to the login page, but it is not re-

Re: [users@httpd] Apache RewriteEngine

2011-01-06 Thread Igor Galić
- "Eric Covener" wrote: > On Thu, Jan 6, 2011 at 10:40 AM, motty.cruz > wrote: > > Hello, > > > > I have Apache 2.2 installed on FreeBSD 8.1, and would like to > restrict > > content from /wp-content/media to be re-direct to / (root of > directory). Any What exactly does that actualy mean?

Re: [users@httpd] Apache RewriteEngine

2011-01-06 Thread Eric Covener
On Thu, Jan 6, 2011 at 10:40 AM, motty.cruz wrote: > Hello, > > I have Apache 2.2 installed on FreeBSD 8.1, and would like to restrict > content from /wp-content/media to be re-direct to / (root of directory). Any > suggestions, of how to best accomplish that goal? > If you want them all to go di