[users@httpd] correct way to setup apache behind nginx proxy for prestashop

2013-06-10 Thread Norman Khine
hello, i have the following setup where i use nginx to proxy requests to apache with the images, css and js being loaded from nginx. here are the details http://serverfault.com/questions/514611/nginx-proxy-to-apache-err-too-many-redirects there are couple of issues with this and i want to find ou

[us...@httpd] rewrite advise

2010-08-27 Thread Norman Khine
hello, i have a menu that has a url as follows http://www.site.com/p/home what is the correct way to have a domain point to the root of this? so that http://partner.site.com shows the http://www.site.com/p/home as the root of the site? is this possibe to do in apache witha rewrite rule, what woul

[us...@httpd] rewrite redirect advise

2010-08-20 Thread Norman Khine
hello, i have a drupal site within which there is a folder with wordpress so http://mysite/blog loads the wordpress. i want to take this out completely so the http://blog.mysite is in its own vhost is it possible in for the http://mysite to add a rewirite so that if a user types http://mysite.com

[us...@httpd] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.test0:)

2010-08-17 Thread Norman Khine
i get these in my # tail -f /var/log/apache2/error_log [Tue Aug 17 15:13:00 2010] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8o configured -- resuming normal operations [Tue Aug 17 15:14:56 2010] [error] [client 188.165.201.59] File does not exist: /var/www/localhost/htdocs/test_500

Re: [us...@httpd] apache mod_unique configuration issue - Name or service not known

2010-08-17 Thread Norman Khine
On Tue, Aug 17, 2010 at 1:06 PM, Rich Bowen wrote: > > On Aug 17, 2010, at 6:20 AM, Norman Khine wrote: > > On Tue, Aug 17, 2010 at 11:31 AM, Joost de Heer > wrote: > > [Tue Aug 17 09:41:47 2010] [alert] (EAI 2)Name or service not known: > > mod_unique_id: unable to f

Re: [us...@httpd] apache mod_unique configuration issue - Name or service not known

2010-08-17 Thread Norman Khine
hi On Tue, Aug 17, 2010 at 11:31 AM, Joost de Heer wrote: >> [Tue Aug 17 09:41:47 2010] [alert] (EAI 2)Name or service not known: >> mod_unique_id: unable to find IPv4 address of "server-2.local.net" >> Configuration Failed >> [Tue Aug 17 09:47:10 2010] [alert] (EAI 2)Name or service not known: >

[us...@httpd] apache mod_unique configuration issue - Name or service not known

2010-08-17 Thread Norman Khine
hello, i have the following setup: loadbalancer - 192.168.1.10 server-2 - 192.168.1.12 it is a gentoo machine. # apache2 -v Server version: Apache/2.2.15 (Unix) Server built: Aug 12 2010 10:07:12 server2 has the following configuration # cat /etc/conf.d/net http://pastie.org/1097227 when

Re: [us...@httpd] Issues with vhosts: Service Temporarily Unavailable

2009-07-30 Thread Norman Khine
httpd.conf file, but now i know that i have to make a virual host entry for this in the httpd-vhosts.conf Thanks for the reply. Norman On Wed, Jul 29, 2009 at 10:35 PM, André Warnier wrote: > Norman Khine wrote: >> >> Hello, >> I have an issue with Apache in that when I enable

[us...@httpd] Issues with vhosts: Service Temporarily Unavailable

2009-07-29 Thread Norman Khine
Hello, I have an issue with Apache in that when I enable vhosts I get this 503 error: -- Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. -- If I disable # Virtual hosts Include con

Re: [us...@httpd] Re: can a proxy helps to get an IP of another coubtry ?

2009-01-28 Thread Norman Khine
You can proxy your machine through your server in Germany as per: on local machine # ssh -D 1080 u...@ip.germany.server then change your firefox preferences so that you use manual configuration and use SOCKS with 127.0.0.1 and port 1080 hth norman Nicholas Sherlock wrote: J. Bakshi wrote:

Re: [us...@httpd] strange cookies issue and rewrite

2009-01-27 Thread Norman Khine
Eric Covener wrote: On Tue, Jan 27, 2009 at 4:44 AM, Norman Khine wrote: Hello, I have a very strange issue when adding the google analytics code to my site. If you go to http://uk.expert.travel and click on a section and then click back to the main home page, I get a 502 proxy error. and

[us...@httpd] strange cookies issue and rewrite

2009-01-27 Thread Norman Khine
Hello, I have a very strange issue when adding the google analytics code to my site. If you go to http://uk.expert.travel and click on a section and then click back to the main home page, I get a 502 proxy error. and in my error log i get this entry: (104)Connection reset by peer: proxy: error r

Re: [us...@httpd] robots.txt and rewrite rule

2009-01-24 Thread Norman Khine
Hi, Eric Covener wrote: On Sat, Jan 24, 2009 at 10:20 AM, Norman Khine wrote: [Sat Jan 24 18:46:57 2009] [error] [client 86.219.32.244] client denied by server configuration: /usr/htdocs You don't have a that allows you to serve static files out of the filesystem. If this is

Re: [us...@httpd] robots.txt and rewrite rule

2009-01-24 Thread Norman Khine
Bob Ionescu wrote: 2009/1/23 Norman Khine : RewriteEngine On #DenyHosts Rules RewriteMap hosts-deny txt:/home/user/txt/hosts.deny RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR] RewriteCond ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND [OR

Re: [us...@httpd] robots.txt and rewrite rule

2009-01-23 Thread Norman Khine
: On Thu, Jan 22, 2009 at 3:46 PM, Norman Khine wrote: Hi, sorry, but this did not work. As now when I type the http://domain.com/robots.txt the page returned is from within my cms application and not from the default The condition you added didn't stop the request from being proxied? Did yo

Re: [us...@httpd] robots.txt and rewrite rule

2009-01-22 Thread Norman Khine
Can I call my robots.txt file anything? Cheers Norman On Thu, Jan 22, 2009 at 6:40 PM, Bob Ionescu wrote: > 2009/1/22 Norman Khine : >> Is there a way I can put a robots.txt file to reside outside of the >> rewrite, so that if a the bots look for http://domain.com/robots.txt >

[us...@httpd] robots.txt and rewrite rule

2009-01-22 Thread Norman Khine
Hello, I have the following http.conf entry: ServerName domain.com ServerAlias www.domain.com RewriteEngine On #DenyHosts Rules RewriteMaphosts-deny txt:/home/user/txt/hosts.deny RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR] Rewri

[EMAIL PROTECTED] Config files from an NFS server

2008-10-17 Thread Norman Khine
Hello, I am running several amazon EC2 instances on Gentoo, with apache 2.2.9. This is fine, but I want to store the /etc/apache2/vhosts.d entries on a mounted NFS directory, as when an EC2 instance goes down, all changes are lost. Is there a way to specify an alternative conf file where to l

[EMAIL PROTECTED] https for sub-directories when using apache as a front end web server. (re-post)

2008-06-27 Thread Norman Khine
ister Any advice as always much appreciated. -- Norman Khine %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )

[EMAIL PROTECTED] https for sub-directories when using apache as a front end web server.

2008-06-26 Thread Norman Khine
/uk_domain_error.log The directories I want to protect are: /users/X/;edit_account # Here the 'X' is variable and is a digit that relates to the user id. /;login_form /;register Any advice as always much appreciated. -- Norman Khine %>>> "".join( [ {'*':

Re: [EMAIL PROTECTED] Forbidden

2008-06-23 Thread Norman Khine
Bruno. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --

Re: [EMAIL PROTECTED] Permission denied on sub directories for one VirtualHost

2008-05-28 Thread Norman Khine
Thank you, that was it, I think I need to go and change my glasses ;) Graeme Fowler wrote: On Wed, 2008-05-28 at 13:31 +0200, Norman Khine wrote: I have this as the permissions: ls -al css/ total 24 drw-r--r-- 2 apache apache 4096 May 28 19:15 . drwxr-xr-x 5 apache apache 4096 May 28 19:50

Re: [EMAIL PROTECTED] Permission denied on sub directories for one VirtualHost

2008-05-28 Thread Norman Khine
that I have on this server, so I am really confused ;( Cheers Norman Graeme Fowler wrote: On Wed, 2008-05-28 at 10:38 +0200, Norman Khine wrote: I seem to have one problem with a virtual host that for the images and css sub-directory I get the following error: [Wed May 28 19:27:07 2008

[EMAIL PROTECTED] Permission denied on sub directories for one VirtualHost

2008-05-28 Thread Norman Khine
Hello, I seem to have one problem with a virtual host that for the images and css sub-directory I get the following error: [Wed May 28 19:27:07 2008] [error] [client 90.42.77.188] (13)Permission denied: access to /images/btn.jpg denied, referer: http://demo.domain.net/index.html [Wed May 28 1

Re: [EMAIL PROTECTED] 502 Proxy Error and cookies

2008-03-31 Thread Norman Khine
Thank you Krist, that was the problem. Norman Krist van Besien wrote: On Mon, Mar 31, 2008 at 1:44 PM, Norman Khine <[EMAIL PROTECTED]> wrote: If I then go and clear the cookies from the browser, I can then access the http://uk.expert.travel without a problem. I doubt this is an

[EMAIL PROTECTED] 502 Proxy Error and cookies

2008-03-31 Thread Norman Khine
Hello, I am trying to resolve a 502 Proxy Error. Currently I am redeveloping http://expert.travel and the new site will be http://uk.expert.travel When you access the first site http://expert.travel and then you access the second site you get the 502 Proxy Error: -- Proxy Error The proxy se

Re: [EMAIL PROTECTED] httpd2 vhost & ssl configuration problem

2008-02-26 Thread Norman Khine
pat wrote: PingBad wrote: On Wednesday 20 February 2008 00:10, pat wrote: > Hello > > I have a problem with the apache2 configuration if I want to combine > vhost and ssl settings. > My apache opts: APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D > SSL -D SSL_DEFAULT_VHOST -D PH

[EMAIL PROTECTED] Use a rewrite rule to direct user to different pages depending on the browser they are using?

2008-02-22 Thread Norman Khine
Hello, Is it possible to redirect users to different pages on a web site depending on the type of browser they are using? Would you use a Rewrite rule, if so how can this be done? I have an apache 2.2.8 Thanks Norman - The

[EMAIL PROTECTED] Invalid command 'DBDriver', perhaps misspelled - gentoo, apache 2.2.8

2008-02-19 Thread Norman Khine
Hello, I have updated apache to 2.2.8 and now I am getting the following error: * Apache2 has detected a syntax error in your configuration files: Syntax error on line 45 of /etc/apache2/vhosts.d/domain.conf Invalid command 'DBDriver', perhaps misspelled or defined by a module not included in

Re: [EMAIL PROTECTED] Apache 2.2.8, SNI, SSL and Virtual Hosts

2008-02-18 Thread Norman Khine
r from one site to another. Thanks Norman Krist van Besien wrote: On Feb 18, 2008 11:25 AM, Norman Khine <[EMAIL PROTECTED]> wrote: For now, the next step is to figure out how to generate the message if the client does not support SNI. That's easy. If the client does not support S

Re: [EMAIL PROTECTED] Apache 2.2.8, SNI, SSL and Virtual Hosts

2008-02-18 Thread Norman Khine
the client does not support SNI. Any thoughts on this. Many thanks Norman Eric Covener wrote: On Feb 17, 2008 8:37 AM, Norman Khine <[EMAIL PROTECTED]> wrote: Hello, I have some virtual hosts and would like to run SSL with different certificates on each. Having followed the follo

Re: [EMAIL PROTECTED] Apache 2.2.8, SNI, SSL and Virtual Hosts

2008-02-17 Thread Norman Khine
Eric Covener wrote: On Feb 17, 2008 8:37 AM, Norman Khine <[EMAIL PROTECTED]> wrote: Hello, I have some virtual hosts and would like to run SSL with different certificates on each. Having followed the following how-to, http://gentoo-wiki.com/HOWTO_Apache_with_Name_Based_Hosting_and_S

Re: [EMAIL PROTECTED] Apache 2.2.8, SNI, SSL and Virtual Hosts

2008-02-17 Thread Norman Khine
.0.12 * Internet Explorer 7.0.5730.11 solprovider On 2/17/08, Norman Khine <[EMAIL PROTECTED]> wrote: Hello, I have some virtual hosts and would like to run SSL with different certificates on each. Having followed the following how-to, http://gentoo-wiki.com/HOWTO_Apache_with_Name_Based_Host

[EMAIL PROTECTED] Apache 2.2.8, SNI, SSL and Virtual Hosts

2008-02-17 Thread Norman Khine
Hello, I have some virtual hosts and would like to run SSL with different certificates on each. Having followed the following how-to, http://gentoo-wiki.com/HOWTO_Apache_with_Name_Based_Hosting_and_SSL and rebuilding apache with SNI support, I am having some issues in that domain2.com only ret

[EMAIL PROTECTED] Apache2, Vhosts and SSL

2007-12-28 Thread Norman Khine
Hello, I have several sites running from my server that have their own certificates, but everytime I acces the site, I get a warning telling me that the certificate belongs to localhost. Can I have multiple certificates on the same IP and port 443, or do I have to open different ports for eac

Re: [EMAIL PROTECTED] Apache 2.2.6 on OS X and mod_rewrite

2007-12-02 Thread Norman Khine
Thanks, that was it. Eric Covener wrote: On Dec 1, 2007 5:32 PM, Norman Khine <[EMAIL PROTECTED]> wrote: [12] RewriteRule ^/(.*) http://localhost:8080/expert/$1 [P] [Sat Dec 01 22:56:54 2007] [error] [client 127.0.0.1] attempt to make remote request from mod_rewrite without proxy e

[EMAIL PROTECTED] Apache 2.2.6 on OS X and mod_rewrite

2007-12-01 Thread Norman Khine
Hello, I just update my OS X 10.4 with Apache 2.2.6, this works fine but I am having problems with my Virtual Hosts. Here is the version I am using: Server version: Apache/2.2.6 (Unix) Server built: Nov 29 2007 20:06:12 In my /usr/local/apache2/conf/httpd.conf I have the standard conf file

[EMAIL PROTECTED] Allow from IP list in database.

2007-11-03 Thread Norman Khine
ultiple IP addresses? Is it like Allow from 192.168.1.2, 192.168.1.4 . Can this list also be looked up from the database? Perhaps is the AuthDBDUserRealmQuery Cheers -- Norman Khine %>>> "".join( [ {'*':'@','^':&

[EMAIL PROTECTED] mod_auth_mysql for apache 2.2.6 - error on restart: DBD: No driver for mysql

2007-10-29 Thread Norman Khine
Then when I load the protected page I get an error when I try to restart the server. DBD: No driver for mysql I have emerged mod_auth_mysql-3.0.0-r2 on gentoo What am I doing wrong? Cheers Norman -- Norman Khine %>>> "".join( [ {'*':'@','

[EMAIL PROTECTED] 502 Error

2007-10-09 Thread Norman Khine
Hello, I have an application on an Apache web server that I can see from both my FF and Safari on Mac, but I get a 502 Proxy Error every time I open it from an IE6 on a PC. Is there a problem with my rewrite rule, or am I missing something? ServerName host.travel RewriteEngine On Rew

[EMAIL PROTECTED] Improvement to my conf file

2007-09-30 Thread Norman Khine
o specify the 'Allow from all' to all directories that I want to be able to see - is this correct? Can the above conf file be simplified or improved in any way. Thanks -- Norman Khine %>>> "".join( [ {'*':'@','

[EMAIL PROTECTED] ReWrite not working on Gentoo and OSX

2007-07-27 Thread Norman Khine
/etc/hosts file 127.0.0.1 abakuc.expert.travel 127.0.0.1 abakuc.expert_travel Any advise much appreciated. -- Norman Khine %>>> "".join( [ {'*':'@','^':'.'}.get(c

[EMAIL PROTECTED] Stopping a form processing if size of file is too big with Apache.

2007-07-01 Thread Norman Khine
t may infringe on the privacy i.e. my script reading the size file on the client computer. Maybe I am wrong? Any one with advise on how others approach this issue? Cheers Norman -- Norman Khine - The official User-To-User support

Re: [EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Norman Khine
Marc Perkel wrote: > > > Sam Lavitt wrote: >> Joshua Slive wrote: >> >>> On 5/16/07, Marc Perkel <[EMAIL PROTECTED]> wrote: >>> I was hoping for a more specific answer. If I could have done that I wouldn't be here asking how to do it. >>> >>> >> Also consider other services, such as F

Re: [EMAIL PROTECTED] RewriteCond: cannot compile regular expression

2007-03-22 Thread Norman Khine
should work. > > Pedro > >> -Original Message- >> From: Norman Khine [mailto:[EMAIL PROTECTED] >> Sent: Mittwoch, 21. März 2007 16:59 >> To: users@httpd.apache.org >> Subject: [EMAIL PROTECTED] RewriteCond: cannot compile regular expression >>

[EMAIL PROTECTED] RewriteCond: cannot compile regular expression

2007-03-21 Thread Norman Khine
Hello, Can anyone help me with this error: RewriteCond: cannot compile regular expression '^([a-zA-Z_1-0]+\\.rewrite\\.dev)$' I would like to have the RegEx to be in the following format a-zA-Z then any 3 numbers so www123, abc999 etc... Many thanks Norman ---

Re: [EMAIL PROTECTED] [ALMOST WORKING] Dynamic RewriteRule based on the URL

2007-03-09 Thread Norman Khine
everything is cool, but is it possible to also somehow dynamically change the name of the access, error and rewrite log names? Many thanks for all your help. Norman matt farey wrote: > > Norman Khine wrote: >> Hi >> Tried this but still get the same error: >> >> 127.0

Re: [EMAIL PROTECTED] [STILL NOT WORKING] Dynamic RewriteRule based on the URL

2007-03-09 Thread Norman Khine
r_global_mutex_unlock(rewrite_log_lock) failed [Fri Mar 09 14:42:08 2007] [error] [client 127.0.0.1] File does not exist: /Users/khinester/Sites/destinations/favicon.ico Any ideas? Cheers Norman matt farey wrote: > > Norman Khine wrote: >> Hi all, >> Sometimes back I post

[EMAIL PROTECTED] [STILL NOT WORKING] Dynamic RewriteRule based on the URL

2007-03-09 Thread Norman Khine
structure index.html |-- london | |-- images | |-- index.html |-- liverpool | |-- images | |-- index.html So I was hoping that if I type http://london/rewrite.example to see the london/index.html page - which is not the case ;( I don'

Re: [EMAIL PROTECTED] Awstats and re-write rule for Zope

2007-03-07 Thread Norman Khine
Vincent Bray wrote: > On 08/03/07, Norman Khine <[EMAIL PROTECTED]> wrote: >> >> ServerName domain.com >> ServerAlias www.domain.com >> RewriteEngine On >> #DenyHosts Rules >> RewriteMaphosts-deny txt:/home/user/apache/hosts.deny

Re: [EMAIL PROTECTED] Awstats and re-write rule for Zope

2007-03-07 Thread Norman Khine
ote that path "/usr/local/awstats/" must reflect your AWStats > Installation path. >Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/" >Alias /awstatscss "/usr/local/awstats/wwwroot/css/" >Alias /awstatsicons "/usr/local/awstats/wwwroot/ic

Re: [EMAIL PROTECTED] Awstats and re-write rule for Zope

2007-03-05 Thread Norman Khine
would the issue be something to do with the [last] Vincent Bray wrote: > On 05/03/07, Norman Khine <[EMAIL PROTECTED]> wrote: >> #Awstats rewrite >> # >> RewriteRule /awstats-icon(.*) >> /usr/share/webapps/awstats/6.5-r1/hostroot/icon/$1 [last] >>

[EMAIL PROTECTED] Awstats and re-write rule for Zope

2007-03-05 Thread Norman Khine
Hello, I have a Zope instance running on port 8080 with the following httpd.conf vhost directive ServerName domain.com ServerAlias www.domain.com RewriteEngine On #Deny hosts map # RewriteMaphosts-deny txt:/home/xxx/apache/hosts.deny RewriteCond ${hosts-deny:%{REMOTE_HOS

Re: [EMAIL PROTECTED] Need recommendation for apache log summary tool

2007-03-03 Thread Norman Khine
webalizer (http://www.mrunix.net/webalizer/) or AWStats http://awstats.sourceforge.net/ hope this is of help for other bits this is an interesting article for debugging logs http://www.onlamp.com/pub/a/onlamp/2007/02/02/apache-debugging-logs.html [EMAIL PROTECTED] wrote: > Hello, > > I've be

Re: [EMAIL PROTECTED] Novice

2007-02-03 Thread Norman Khine
ED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Norman Khine http://abakuc.com http://uktravellist.info http://destinationsguide.info - The official Us

Re: [EMAIL PROTECTED] Mod re-write help

2006-12-15 Thread Norman Khine
] [mailto:[EMAIL PROTECTED] On Behalf Of >> Joshua Slive >> Sent: Friday, December 15, 2006 2:53 PM >> To: users@httpd.apache.org >> Subject: Re: [EMAIL PROTECTED] Mod re-write help >> >> >> On 12/15/06, Norman Khine <[EMAIL PROTECTED]> wrote:

Re: [EMAIL PROTECTED] Mod re-write help

2006-12-15 Thread Norman Khine
Joshua Slive wrote: > On 12/15/06, Norman Khine <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I would like to know how to turn this URI >> >> http://destinationsguide.info/catalogue/c51/c57?b_start=15 >> >> into something like >> >> htt

[EMAIL PROTECTED] Mod re-write help

2006-12-15 Thread Norman Khine
Hello, I would like to know how to turn this URI http://destinationsguide.info/catalogue/c51/c57?b_start=15 into something like http://destinationsguide.info/catalogue/africa/eastern-africa.html I am already using one rewrite into Zope, so I am not sure how to proceed. ServerName destinati

[EMAIL PROTECTED] How to chain two rules

2006-11-30 Thread Norman Khine
Hello, Can someone please advise how to chain two rules together so that: [1] [2] ServerName mysite.com [3] ServerAlias www.mysite.com [4] RewriteEngine On [5] RewriteCond %{HTTP_HOST} ^www\.mysite\.info [nc] [6] RewriteRule (.*) http://mysite.info/$1 [R=301,C] [7] RewriteRule ^/(.*)

[EMAIL PROTECTED] Apache mod_rewrite and 301 redirection

2006-11-29 Thread Norman Khine
Hello, I am using a ZOPE server behind Apache and already have a mod_rewrite rule as: ServerName mysite.com ServerAlias www.mysite.com RewriteEngine On RewriteRule ^/(.*) http://mysite.com:5080/VirtualHostBase/http/mysite.com:80/sites/site/VirtualHostRoot/$1 [L,P] ErrorLog /var/log/apac

Re: [EMAIL PROTECTED] block IP range with mod_rewrite

2006-10-18 Thread Norman Khine
Joshua Slive wrote: > On 10/17/06, Norman Khine <[EMAIL PROTECTED]> wrote: >> hello again, >> i have the following rewrite rule, >> >> >> ServerName domain.tld >> ServerAlias www.domain.tld >> RewriteEngine On >> RewriteMaphost

[EMAIL PROTECTED] block IP range with mod_rewrite

2006-10-17 Thread Norman Khine
hello again, i have the following rewrite rule, ServerName domain.tld ServerAlias www.domain.tld RewriteEngine On RewriteMaphosts-deny txt:/home/user/apache/hosts.deny RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR] RewriteCond ${hosts-deny:%{REMOTE_ADDR}|

[EMAIL PROTECTED] Block wget attempts from my site

2006-10-03 Thread Norman Khine
Hello, What is the best way to block someone from ripping/mirroring stuff from my site with wget? Is there an Apache way to do this, have seen it done with .htaccess but perhaps there is a way to do this from Apache. mod-security, snort perhaps? How does this fit with VirtualHosts and can these

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Norman Khine
rs@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL > > > On 9/7/06, Norman Khine <[EMAIL PROTECTED]> wrote: > > >> [1] >> >> [2]ServerName domain.tld >> [3]RewriteEngine on >> [4]RewriteCo

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Norman Khine
Joshua Slive wrote: > On 9/7/06, Norman Khine <[EMAIL PROTECTED]> wrote: > >> >> [1] >> >> [2]ServerName domain.tld >> [3]RewriteEngine on >> [4]RewriteCond %{*HTTP_HOST*}*[^.]+*\.domain\.tld$ >> [5]RewriteRule ^(.+)

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Norman Khine
Norman Khine wrote: > Boyle Owen wrote: > >>> -Original Message- >>> From: Norman Khine [mailto:[EMAIL PROTECTED] >>> Sent: Wednesday, September 06, 2006 9:23 AM >>> To: users@httpd.apache.org >>> Subject: [EMAIL PROTECTED] Dynamic Re

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-06 Thread Norman Khine
Boyle Owen wrote: >> -Original Message- >> From: Norman Khine [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, September 06, 2006 9:23 AM >> To: users@httpd.apache.org >> Subject: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL >> >> He

[EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-06 Thread Norman Khine
Hello, Is it possible to create an Apache Rewrite rule so that the depending on the sub-domain the server receives it is then re-written to a different folder, for example, I have this working but want to reduce it to just one rule: ServerName folder_A.domain.tld RewriteEngine On Rew