.htaccess - hotlinking

2006-01-02 Thread Christian Hörmann
hallo community! es gibt ja netterweise die tolle möglichkeit mittels htaccess hotlinking zu unterbinden. onkel google hat mir dazu schon einiges ausgeworfen: RewriteEngine on RewriteCond %{HTTP_REFERRER} !^$ RewriteCond %{HTTP_REFERRER} !^http://(www\.)?nashweb\.de(/.*)?$ [NC]

RE: .htaccess - hotlinking

2006-01-02 Thread Andreas Müller
Hallo christian, nur zur Sicherheit: Wenn der Request keinen Referrer enthält was machst du dann? Ein Referrer ist ja keine Pflicht! Gruß, Andreas -- Apache HTTP Server Mailing List users-de

Re: Re: .htaccess - hotlinking

2006-01-02 Thread Christian Hörmann
Hello! Ich weiss, dass der Referrer keine Pflilcht ist... aber es ist zumindest besser als garnichts... dH wenn kein Referrer übergeben wird, so ist hotlinking aktiviert, bekomme ich einen Referrer von ebay co, so soll ein Ersatzbild angezeigt werden. Ich biete einen kleinen

Re: Re: .htaccess - hotlinking

2006-01-02 Thread Christian Hörmann
ja... die möglichkeit hab ich auch schon durchdacht... das problem an der sache ist ja nur das wenn php jedes image zuerst einlesen muss und dann ausgibt die ladezeit der bilder manchmal schon spürbar langsamer ist. lg christian. - Original Message - From: Meißner, Heinz [EMAIL

AW: Re: .htaccess - hotlinking

2006-01-02 Thread Meißner , Heinz
ok kapiert -Ursprüngliche Nachricht- Von: Christian Hörmann [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Januar 2006 13:51 An: users-de@httpd.apache.org Betreff: Re: Re: .htaccess - hotlinking ja... die möglichkeit hab ich auch schon durchdacht... das problem an der sache ist ja nur

Re: Re: .htaccess - hotlinking

2006-01-02 Thread Christian Hörmann
entschuldigt wenn ich jetzt vielleicht ein bisschen lästig wirke... aber gibt es die möglichkeit bestimmte domains vom hotlinking auszusperren? danke, lg christian. - Original Message - From: Meißner, Heinz [EMAIL PROTECTED] To: users-de@httpd.apache.org Sent: Monday, January 02,

RE: Re: .htaccess - hotlinking

2006-01-02 Thread Thomas Goik
Hallo, ja, es sollte da eine Möglichkeit geben, und zwar wenn du RewriteMap verwendest, kannst über ein kleines Perl Script steuern welche Domains du wie behandeln möchtest Guckst du hier: http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritemap Mit freundlichen Grüssen Thomas

Re: .htaccess - hotlinking

2006-01-02 Thread Robert Ionescu
Christian Hörmann wrote: Hello! Ich weiss, dass der Referrer keine Pflilcht ist... aber es ist zumindest besser als garnichts... dH wenn kein Referrer übergeben wird, so ist hotlinking aktiviert, bekomme ich einen Referrer von ebay co, so soll ein Ersatzbild angezeigt werden. Du musst

Re: .htaccess - hotlinking

2006-01-02 Thread Christian Hörmann
hallo robert! dankeschön. danke danke danke danke!!! muss ich gleich mal ausprobieren :) lg chrisitan. - Original Message - From: Robert Ionescu [EMAIL PROTECTED] To: users-de@httpd.apache.org Sent: Monday, January 02, 2006 4:04 PM Subject: Re: .htaccess - hotlinking Christian

Re: .htaccess - hotlinking

2006-01-02 Thread Christian Hörmann
hmmm... ich habs so in die .htaccess datei geschrieben: RewriteEngine on RewriteCond %{HTTP_REFERRER} ^http://([^.]+\.)?ebay\. [NC] RewriteCond %{HTTP_REFERRER} ^http://([^.]+\.)?onetwosold\.at [NC] RewriteRule \.(gif|png|jpg)$ http://www.hoerby.org/easyupload/up2/hotlinking.png [R,L] wenn

Apache startet nicht als Windows-Dienst - auf cmd aber schon

2006-01-02 Thread Daniel Schaedler
Hallo und ein gutes neues Jahr! Ich habe Apache 2.0.55 auf Windows installiert; mod_proxy_html eingefügt und über die Kommandozeile gestartet. Alles bestens soweit. Soll Apache aber als Window-Dienst gestartet werden, bekomme ich den Fehler: The Apache service named reported the following

Re: .htaccess - hotlinking

2006-01-02 Thread Joerg Behrens
Christian Hörmann schrieb: hmmm... ich habs so in die .htaccess datei geschrieben: RewriteEngine on RewriteCond %{HTTP_REFERRER} ^http://([^.]+\.)?ebay\. [NC] RewriteCond %{HTTP_REFERRER} ^http://([^.]+\.)?onetwosold\.at [NC] RewriteRule \.(gif|png|jpg)$

Re: .htaccess - hotlinking

2006-01-02 Thread Robert Ionescu
Christian Hörmann wrote: hmmm... ich habs so in die .htaccess datei geschrieben: RewriteEngine on RewriteCond %{HTTP_REFERRER} ^http://([^.]+\.)?ebay\. [NC] RewriteCond %{HTTP_REFERRER} ^http://([^.]+\.)?onetwosold\.at [NC] RewriteRule \.(gif|png|jpg)$

Re: .htaccess - hotlinking

2006-01-02 Thread Robert Ionescu
Christian Hörmann wrote: hmmm... ich habs so in die .htaccess datei geschrieben: Ach ja, das OR-Flag fehlt auch noch, sorry, und je nach dem wo die .htaccess liegt, muss deine Ersatzdatei auch noch freigegeben werden: RewriteEngine on RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)?ebay\.

[EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Scott Grayban
Ok I have been getting some really weird hits on my websites and they don't contain a IP or host in the log. . - - [02/Jan/2006:01:59:37 -0800] GET /robots.txt HTTP/1.0 200 54 - Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Has anyone else been getting these as well? And does anyone

Re: [EMAIL PROTECTED] Filename Access

2006-01-02 Thread httpd2
I think I have isolated the problem now. # THIS IS CAUSING THE PROBLEM WITH Files.../Files # # remove the CONNECT bug # http://bugs.php.net/bug.php?id=19113 # #Location / # Limit CONNECT # Order deny,allow # Deny from all # /Limit #/Location When I un-comment the above, the error appears.

[EMAIL PROTECTED] how can I add SERVER_NAME to a filename

2006-01-02 Thread robert rottermann
Hi there, I would like to use a construct like the following ServerAdmin [EMAIL PROTECTED] ServerName projekte2.fh-aargau.ch CustomLog /var/log/apache2/%{SERVER_NAME}.log combined ErrorLog /var/log/apache2/%{SERVER_NAME}.log However, the filename it creates is

Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename

2006-01-02 Thread httpd2
Are you trying to add your own virtual server's name to your apache log filename? If so, read the discusion on how to log virtual hosts. You will find it on the manual home page under: Users' Guide- LogFiles-Virtual Hosts. You can then use the apache supplied perl script, split-logfile to

[EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp)

2006-01-02 Thread Pete Lamborne
Hey all, There is very little info out there on this so far, given how new mod_proxy_ajp is. One post I found seemed to indicate the same bug with no solution The problem is that I can't get mod_rewrite to work transparently with mod_proxy_ajp. It either doesn't work at all (when I

Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename

2006-01-02 Thread robert rottermann
keith, thank you very much for your answer. I was a bit unclear. I know that I can name the files like this CustomLog /var/log/apache2/projekte2.fh-aargau.ch/com_log combined however I would like to have the projekte2.fh-aargau.ch part replaced by a variable. Is this possible? somehow

[EMAIL PROTECTED] Server (W2K) hangs on 100% CPU with Apache 2.0.55 / tomcat 5.5.12

2006-01-02 Thread Bonillo Guillaume
Hi, I have a problem on A Windows 2000 Small Smart Business server with apache 2.0.55 with mod_jk and tomcat 5.5.12. After a random time the server goes to 100% CPU. The only log that seems to be wrong is the error log in apache, there is a lot of lines ( more than 100 ) during the same second :

Re: [EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Gerry Danen
Scott, what's the mystery, the missing IP or the GET robots.txt?GerryOn 1/2/06, Scott Grayban [EMAIL PROTECTED] wrote:Ok I have been getting some really weird hits on my websites and they don't contain a IP or host in the log.. - - [02/Jan/2006:01:59:37 -0800] GET /robots.txt HTTP/1.0 200 54

Re: [EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Scott Grayban
The missing IP/Host of course. I have never seen this before and I know it didn't come from anything I do here. This just started to happen. Scott On Mon 2 January 2006 12:59, Gerry Danen wrote: Scott, what's the mystery, the missing IP or the GET robots.txt? Gerry On 1/2/06, Scott

Re: [EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Gerry Danen
Does it happen with real visitors also, or just bots?On 1/2/06, Scott Grayban [EMAIL PROTECTED] wrote: The missing IP/Host of course. I have never seen this before and Iknow it didn't come from anything I do here. This just started to happen. ScottOn Mon 2 January 2006 12:59, Gerry Danen wrote:

Re: [EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Scott Grayban
Looks like only bots. I have a few hits of robots.txt getting hit first then it crawls the site but thats but I have more hits to the robots.txt without a crawl. It almost feels virus like but I have no windows computer here in my network. Scott On Mon 2 January 2006 13:28, Gerry Danen wrote:

[EMAIL PROTECTED] Mod_bw questions

2006-01-02 Thread Tomas Larsson
I need to limit everything that goes out from my server to internet, but keep intranet at full speed. Will mod_bw do this for me. I have, so far, put the following in my httpd_conf #BW_Module BandWidthDebug On BandWidthModule On BandWidth all 25600 LargeFileLimit * 1000 12800 Will this put a

Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename

2006-01-02 Thread httpd2
Have you looked at mod_setenvif ? Keith On Mon, 2 Jan 2006, robert rottermann wrote: To: users@httpd.apache.org From: robert rottermann [EMAIL PROTECTED] Subject: Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename keith, thank you very much for your answer. I was a bit

Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename

2006-01-02 Thread httpd2
Yes - I think it is possible. This is part of the apache official httpd.conf file: #VirtualHost *:80 #ServerAdmin [EMAIL PROTECTED] #DocumentRoot /www/docs/dummy-host.example.com #ServerName dummy-host.example.com #ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log #

Re: [EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Gerry Danen
When it crawls the site, if you get always a hit on a specific page, you could capture more info than you would get in the log. Sometimes the browser field has the name of the bot in it. You want to pursue this off-list? GerryOn 1/2/06, Scott Grayban [EMAIL PROTECTED] wrote: Looks like only bots.

[EMAIL PROTECTED] Authentication realms

2006-01-02 Thread Dave Beach
Title: Authentication realms Hi list! I'm having a small problem. I have basic authentication set up (httpd v2.2.0), and it works as I would expect - except that when a user requests a Windows Media file (wmv) from a subordinate page, the client browser prompts again for the user's

Re: [EMAIL PROTECTED] Authentication realms

2006-01-02 Thread Sean Conner
It was thus said that the Great Dave Beach once stated: I would have expected no such secondary authentication prompt, as the file is found in a directory subordinate to the one established for the authentication realm in the httpd.conf file. What am I missing? Are there relevant parts of

[EMAIL PROTECTED] Process issue w/ 2.0.54

2006-01-02 Thread David Coulson
I have three web servers, Linux 2.6.13 based running Apache 2.0.54 (From Debian). They are all running using worker.c, with the following config: IfModule worker.c ThreadLimit 128 ServerLimit 128 StartServers 64 MaxClients 4096 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 128

Re: [EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Scott Grayban
Sure. I would like to know who, what, how on this one. Scott On Mon 2 January 2006 14:44, Gerry Danen wrote: When it crawls the site, if you get always a hit on a specific page, you could capture more info than you would get in the log. Sometimes the browser field has the name of the bot in

Re: [EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Gerry Danen
[EMAIL PROTECTED]On 1/2/06, Scott Grayban [EMAIL PROTECTED] wrote: Sure. I would like to know who, what, how on this one.ScottOn Mon 2 January 2006 14:44, Gerry Danen wrote: When it crawls the site, if you get always a hit on a specific page, you could capture more info than you would get in the

Re: [EMAIL PROTECTED] Authentication realms

2006-01-02 Thread Nick Kew
On Monday 02 January 2006 22:57, Dave Beach wrote: Hi list! I'm having a small problem. I have basic authentication set up (httpd v2.2.0), and it works as I would expect - except that when a user requests a Windows Media file (wmv) from a subordinate page, the client browser prompts again