deny directly allow indirectly (.htaccess)


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers deny directly allow indirectly (.htaccess)
Prev   Next
# 3  
Old 01-12-2009
Thank you

Life Saver~
It works perfectly
I will learn mod_setenvif
Code:
SetEnvIfNoCase Referer "^http://domainname/pic.html$" html_ref=1
Order Allow,Deny
Allow from env=html_ref

Thank you very much~

Last edited by lifegeek; 01-12-2009 at 02:53 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Download on a link doing it indirectly

How do I download on a link doing it indirectly, with once redirection by using curl commands or Bash script of them (2 Replies)
Discussion started by: abdan
2 Replies

2. Web Development

.htaccess redirect with #

I have the following directive in my .htaccess: #RewriteRule ^mozrank/?$ "http://www.seobook.com/#a_aid=dh" The problem is that the redirect is going to http://www.seobook.com/%23a_aid=dh How to preserve the # when redirecting? (2 Replies)
Discussion started by: rlopes
2 Replies

3. UNIX for Advanced & Expert Users

Redirect with htaccess

Hi, I would like to use htaccess 301 redirect with URL hiding. Ex: when browse the website 'abc.com' it should show the contents of the page 'xyz.com/start/index.html' but in addressbar should show the domain 'abc.com'. I know it works with html URL frame rewrite. But my question is it... (0 Replies)
Discussion started by: chandranjoy
0 Replies

4. UNIX for Dummies Questions & Answers

ssh directly with a password

Can someone please tell me how to ssh into a computer when I have a username and password? Like something like: ssh username : pass @ server Can I do something like that directly? (6 Replies)
Discussion started by: Legend986
6 Replies

5. Cybersecurity

Logging htaccess

hi i am trying to make a log of all users who access my website, i am using htaccess to administrate logins, how does htaccess store a session i.e where is the valid user login temporarily stored while a user is using the site or is there already some sort of logging being done by htaccess. ... (2 Replies)
Discussion started by: omnibarb
2 Replies

6. Cybersecurity

htaccess

Something is wrong. I do everything right make the .htaccess file and stuff, but when I try the htpasswd command it says command not found. I use Putty SSH client and I think server is running RedHat 7.1 with Apache some version. HELP!!! (1 Reply)
Discussion started by: _hp_
1 Replies

7. UNIX for Dummies Questions & Answers

.htaccess

i want to protect a folder on my HP.... does the folder need more than ".htaccess" and ".htpasswd" to be protected , and ask for login and password??? Please help ...... i use HTAdmin 1.2.1 to manage my access files.. The systemadmin cant or wount answer.....:confused: Avenger (3 Replies)
Discussion started by: Avenger
3 Replies

8. UNIX for Dummies Questions & Answers

.htaccess?

For a schoolproject, I have to set up an intranet at a company headquarters in the Netherlands. But they want to give the division in the United States access to that intranet. I have to find out how to do that. I've heard that you can do that by giving certain people access to the intranet with... (1 Reply)
Discussion started by: Puc conDoin
1 Replies
Login or Register to Ask a Question
Apache::XMLRPC::Lite(3pm)				User Contributed Perl Documentation				 Apache::XMLRPC::Lite(3pm)

NAME
Apache::XMLRPC::Lite - mod_perl-based XML-RPC server with minimum configuration SYNOPSIS
httpd.conf (Location), directory-based access <Location /mod_xmlrpc> SetHandler perl-script PerlHandler Apache::XMLRPC::Lite PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method" PerlSetVar options "compress_threshold => 10000" </Location> httpd.conf (Files), file-based access <FilesMatch ".xmlrpc$"> SetHandler perl-script PerlHandler Apache::XMLRPC::Lite PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method" PerlSetVar options "compress_threshold => 10000" </FilesMatch> .htaccess, directory-based access SetHandler perl-script PerlHandler Apache::XMLRPC::Lite PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method" PerlSetVar options "compress_threshold => 10000" DESCRIPTION
This Apache Perl module provides the ability to add support for XML-RPC protocol with easy configuration (either in .conf or in .htaccess file). This functionality should give you lightweight option for hosting SOAP services and greatly simplify configuration aspects. This module inherites functionality from XMLRPC::Transport::HTTP::Apache component of XMLRPC::Lite module. CONFIGURATION
The module can be placed in <Location>, <Directory>, <Files>, <FilesMatch> directives in main server configuration areas or directly in .htaccess file. All parameters should be quoted and can be separated with commas or spaces for lists ("a, b, c") and with 'wide arrows' and commas for hash parameters ("key1 => value1, key2 => value2"). All options that you can find in XMLRPC::Transport::HTTP::Apache component are available for configuration. Here is the description of most important ones. dispatch_to (LIST) Specifies path to directory that contains Perl modules you'd like to give access to, or just list of modules (for preloaded modules). PerlSetVar dispatch_to "/Your/Path/To/Deployed/Modules, Module::Name, Module::method" options (HASH) Specifies list of options for your module, for example threshold for compression. Future versions will support more options. See XMLRPC::Transport::HTTP documentation for other options. PerlSetVar options "compress_threshold => 10000" METHODS
/SUBROUTINES server my $server = Apache::XMLRPC::Lite->server(); Returns the server object. Useful if you need to manipulate the server object from your code. handle Request handler. Called by apache. DEPENDENCIES
XMLRPC::Lite mod_perl SEE ALSO
XMLRPC::Transport::HTTP::Apache for implementation details, XMLRPC::Lite for general information, and F<examples/server/mod_xmlrpc.htaccess> for .htaccess example COPYRIGHT
Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. AUTHOR
Paul Kulchenko (paulclinger@yahoo.com) perl v5.12.4 2011-08-18 Apache::XMLRPC::Lite(3pm)