addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [linux-392] RewriteCond

From: Dan
Sent on: Saturday, December 20, 2008 2:39 PM

On Sat, Dec 20, 2008 at 2:35 PM, Michele <[address removed]> wrote:

I'm trying to redirect a user to a new page if the user has not been authenticated.

How I have is this.

RewriteEngine on

RewriteCond %{REMOTE_USER} ^$ [nc]

RewriteRule ^(.*)$ ../newpage.html [R,L]

However, this redirects every time.

Does anyone know what the condition should be?

I also tried

RewriteEngine on

RewriteCond %{REMOTE_USER} =""

RewriteRule ^(.*)$ ../newpage.html [R,L]


Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Michele ([address removed]) from The New York GNU/Linux Meetup Group.
To learn more about Michele, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup Support: [address removed]
632 Broadway, New York, NY 10012 USA

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy