джоконда ростов на дону

  • Last design

    Proxy Deny Description: How can we forbid a certain host or even a user of a special host from using the Apache proxy? Solution: We first have to make sure mod_rewrite is below(!) mod_proxy in the Configuration file when compiling the Apache webserver. This way it gets called _before_ mod_proxy. Then we configure the following for a host-dependend deny... RewriteCond %{REMOTE_HOST} ^badhost.mydomain.com$ RewriteRule !^http://[^/.].mydomain.com.* - [F] ...and this one for a user@host-dependend deny: RewriteCond %{REMOTE_IDENT}@%{REMOTE_HOST} ^badguy@badhost.mydomain.com$ RewriteRule !^http://[^/.].mydomain.com.* - [F]

    Special Authentication Variant Description: Sometimes a very special authentication is needed, for instance a authentication which checks for a set of explicitly configured users. Only these should receive access and without explicit prompting (which would occur when using the Basic Auth via mod_access). Solution: We use a list of rewrite conditions to exclude all except our friends: RewriteCond %{REMOTE_IDENT}@%{REMOTE_HOST} !^friend1@client1.quux-corp.com$ RewriteCond %{REMOTE_IDENT}@%{REMOTE_HOST} !^friend2 @client2.quux-corp.com$ RewriteCond %{REMOTE_IDENT}@%{REMOTE_HOST} !^friend3 @client3.quux-corp.










  • portfolio image 1
  • Did you like it?

Site sponsors

  • press 75
  • theme forest
  • light cms
  • top 25 web hosts
  • p2h
  • advertise here
  • ad img desc