htaccess assistance please

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I'd like to construct a .htaccess that will allow access by an
authenticated user (via .htpasswd) *OR* allow access when the user is
coming via a certain website.

I've tried the following:

order deny,allow
deny from all
allow from

AuthName "WebCT extension area"
AuthType Basic
AuthUserFile /fs/web/main/depts/hf/hfi01/webctest/.htpasswd
Require valid-user

Satisfy any

...but this of course depends on the user's machine IP address being, not the IP address of the website that the link is hosted

Is this possible?

Thanks for any help.

Re: htaccess assistance please wrote:
Quoted text here. Click to load it

No.  You'd have to use HTTP_REFERER, which is unreliable.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Site Timeline