LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-12-2006, 10:27 AM   #1
_ben_deb_
Member
 
Registered: Jun 2003
Posts: 31

Rep: Reputation: 15
apache SetEnvIf problems


Hello,

I use apache 1.3.29 and i want to make simple authentification in subdirectory.
So i make a cgi script and i want to redirect someone who authenticated correctly.
In httpd.conf i want to use "Request_URI" attribute of SetEnvIf to create a new var if only the user was redirect by my script...

SetEnvIf Request_URI "\/cgi\-bin\/test" local_referal
<Directory "/var/www/htdocs/reserve">
Order deny,allow
Deny from all
Allow from env=local_referal
</Directory>

But it don't work

someone can help me ?
thanks
 
Old 04-13-2006, 07:22 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Try SetEnvIf Request_URI "\/cgi\-bin\/test" local_referal=1
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
hello. Problems with apache, (I believe.) $Linuxnoob Fedora 5 04-09-2006 05:51 PM
setenvif module not loading jonathanw Linux - Newbie 0 04-27-2004 10:10 AM
Question about SetEnvIf for audio files(ram, mp3, wma..) hct224 Linux - Newbie 0 02-21-2004 12:05 PM
Apache Problems gdboling Linux - Networking 9 09-01-2003 01:49 PM
Apache virtualhost problems, apache install problems nyroc Linux - Software 2 06-09-2003 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration