Re: [us...@httpd] I want a file can be accessed by some ip only, how to do that?

2009-06-30 Thread Darryle Steplight
OR do the same thing except instead of using the directive use Order deny,allow Allow from 10.5.0.0/255.255.0.0 Allow from 127.0.0.1 Deny from all On Wed, Jul 1, 2009 at 1:49 AM, JingTian wrote: > i think you should put the two file in different dirs,and use Allow,Deny > dictate

Re: [us...@httpd] I want a file can be accessed by some ip only, how to do that?

2009-06-30 Thread Doug Bell
On Jun 30, 2009, at 11:52 PM, Yi Zhao wrote: hi, all: I have 2 file(index.html, run.log) in directory: index/, now both can be accessed by all people, but I want do that: run.log can be accessed by some specified ip only, how to do that? Order allow,deny Allow from all

Re: [us...@httpd] I want a file can be accessed by some ip only, how to do that?

2009-06-30 Thread JingTian
i think you should put the two file in different dirs,and use Allow,Deny dictate to do the access control, for example: Order deny,allow Allow from 10.5.0.0/255.255.0.0 Allow from 127.0.0.1 Deny from all hope this help. 2009/7/1 Yi Zhao > hi, all: > I have 2 file(index.html

[us...@httpd] I want a file can be accessed by some ip only, how to do that?

2009-06-30 Thread Yi Zhao
hi, all: I have 2 file(index.html, run.log) in directory: index/, now both can be accessed by all people, but I want do that: run.log can be accessed by some specified ip only, how to do that?     thanks

[us...@httpd] Re: mod_proxy_ajp

2009-06-30 Thread russellsimpkins
biju.blore wrote: > > I am facing a issue with this. Not all the time but at certain times > > Usually if someone tires to connect to > http://testingpublish.testint.com/publish/ this will work fine. > But sometimes it will give a 503 error. > Once this error comes I need to reload apache so

Re: [us...@httpd] Internal Recursion with mod_rewrite

2009-06-30 Thread Peter Kay
- Original Message > From: Eric Covener > To: users@httpd.apache.org > Sent: Tuesday, June 30, 2009 5:24:44 PM > Subject: Re: [us...@httpd] Internal Recursion with mod_rewrite > > On Tue, Jun 30, 2009 at 5:24 PM, Eric Covenerwrote: > > On Tue, Jun 30, 2009 at 2:14 PM, Peter Kaywrote: >

Re: [us...@httpd] rewrite and proxy question

2009-06-30 Thread Igor Cicimov
What about this: DirectoryIndex index.cfm Or maybe changing the redirect to RewriteRule ^/(.*)$ http://192.168.0.100/$1 [P] On Tue, Jun 30, 2009 at 11:41 PM, K. Clair wrote: > Hi All, > > I'm trying to figure out if the following is possible. Let me know if > anyone has any ideas! > > I hav

Re: [us...@httpd] Proxy mode with Cert Auth

2009-06-30 Thread Peter Schober
* Luis Daniel Lucio Quiroz [2009-07-01 00:55]: > I need that final server sees agents certificate. > I was reading this link: > http://www.zeitoun.net/articles/client-certificate-x509-authentication-behind-reverse-proxy/start > > But i dont know sure if that is what i need Well, you posted a c

Re: [us...@httpd] Proxy mode with Cert Auth

2009-06-30 Thread Luis Daniel Lucio Quiroz
Le mardi 30 juin 2009 17:00:24, Peter Schober a écrit : > * Luis Daniel Lucio Quiroz [2009-06-30 23:29]: > > I have know an apache as inverse proxy https server. But now that server > > has included Cert authentication in aplication. The problem is that now > > apache does not proxy, is there a

[us...@httpd] Wrong charset convert

2009-06-30 Thread ejirkae
I have installed Apache 2.2.11 with PHP 5.2.8 on Windows XP SP3. Windows are using Windows-1250 charset (Czech localization). I want to install MediaWiki software which uses utf-8 charset. When I upload a file with non-english characters in its name, then its name is saved in utf-8 format. When I

Re: [us...@httpd] Proxy mode with Cert Auth

2009-06-30 Thread Peter Schober
* Luis Daniel Lucio Quiroz [2009-06-30 23:29]: > I have know an apache as inverse proxy https server. But now that server has > included Cert authentication in aplication. The problem is that now apache > does not proxy, is there any configuration to let support authentication? Is this the sa

[us...@httpd] Proxy mode with Cert Auth

2009-06-30 Thread Luis Daniel Lucio Quiroz
Hi there, I have know an apache as inverse proxy https server. But now that server has included Cert authentication in aplication. The problem is that now apache does not proxy, is there any configuration to let support authentication? TIA

Re: [us...@httpd] Internal Recursion with mod_rewrite

2009-06-30 Thread Eric Covener
On Tue, Jun 30, 2009 at 5:24 PM, Eric Covener wrote: > On Tue, Jun 30, 2009 at 2:14 PM, Peter Kay wrote: >> Is adding another RewriteCond %{THE_REQUEST} !/Main/Gallery the canonical >> way to go?  Or is there some way to turn off the re-injection? > > That's the normal pattern (but with %{REQUEST_

Re: [us...@httpd] Internal Recursion with mod_rewrite

2009-06-30 Thread Eric Covener
On Tue, Jun 30, 2009 at 2:14 PM, Peter Kay wrote: > Is adding another RewriteCond %{THE_REQUEST} !/Main/Gallery the canonical way > to go?  Or is there some way to turn off the re-injection? That's the normal pattern (but with %{REQUEST_URI} more carefully anchored maybe) -- Eric Covener cove..

Re: [us...@httpd] Re: Reverse RewriteCond?

2009-06-30 Thread Eric Covener
> It would be nice of version RewriteCond could just call a > shell script that would return a bool.  The rest would > be trivial. I think you're overcomplicating. Read the doc carefully as Andre has pointed out re: where substitution occurs and which side is actually the regex. If you can't get

[us...@httpd] Re: Reverse RewriteCond?

2009-06-30 Thread Mike -- EMAIL IGNORED
On Tue, 30 Jun 2009 22:37:53 +0200, André Warnier wrote: [...] > What are you really trying to do ? > Can you give a real example ? > > > If you want to use the values of shell-level environment variables, then > presumably you set these environment variables somewhere, before you > invoke the s

Re: [us...@httpd] Reverse RewriteCond?

2009-06-30 Thread André Warnier
Mike -- EMAIL IGNORED wrote: I have (set in /etc/bashrc): echo $HTML_TST aa|bb|cc|dd|ee and I tried: RewriteCond ee %{ENV:HTML_TST} following the documentation that says: Syntax: RewriteCond TestString CondPattern but the documentation never says that CondPattern may contain t

[us...@httpd] stopping uri that have a Url in them

2009-06-30 Thread bf...@free-man.net
I have a major attach of URL being sent: http://mydomain.com/http://someurl.com so the http:/someurl.com is requested from my apache server. any way I can stop this. - The official User-To-User support forum of the Apache HTTP Se

[us...@httpd] Re: Reverse RewriteCond?

2009-06-30 Thread Mike -- EMAIL IGNORED
On Tue, 30 Jun 2009 18:33:09 +, Mike -- EMAIL IGNORED wrote: > I have (set in /etc/bashrc): >echo $HTML_TST >aa|bb|cc|dd|ee > > and I tried: > >RewriteCond ee %{ENV:HTML_TST} > > following the documentation that says: > >Syntax: RewriteCond TestString CondPattern > > I ex

[us...@httpd] Only to suggest

2009-06-30 Thread ricardo13
Hi all, I would like to hear the opinion of you. I've built a web cluster using reverse proxy with 6 backend and 1 frontend. These machines has the same configuration: - a processor Intel(R) Core(TM)2 Quad CPU 2.40GHz - RAM Memory 2GB - Hard Disk 160GB I have some doubts. - What's the best MP

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Ali Jawad
I tried in apache.conf however at that point the rewrite log was not showing anything at all as if it was not being invokedi dont have any vhosts..just a regular installation. On Tue, Jun 30, 2009 at 10:16 PM, Bob Ionescu wrote: > 2009/6/30 Ali Jawad : > > isn't it enough to set it to on in .

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Bob Ionescu
2009/6/30 Ali Jawad : > isn't it enough to set it to on in .htacccess. Not for the map type prg. But why don't you use the rules in your apache2.conf? Since you're rewriting to a reverse proxy situation, you could avoid the and walk. Bob

[us...@httpd] Help with FrontPage generated 'Subweb'

2009-06-30 Thread Steve Simmons
Hi, I'm a newbie with Apache. I've just taken on a site built with FrontPage and I want to develop and test with a local apache server running on XP. I've downloaded and installed Apache 2.2, got SSI working and can browse the main site.

Re: [us...@httpd] mod_rewrite on Windows with Apache 2.2

2009-06-30 Thread Bob Ionescu
2009/6/30 tomcatastrophe : > Now I want to add URL rewriting for one of my hosts. > > I added my rules and directive to the virtual host (these work fine on > Linux): > > ProxyPreserveHost On > ProxyPassReverse / ajp://localhost:8009/ > RewriteEngine On > RewriteRule ^/(.*)$ ajp://l

[us...@httpd] Reverse RewriteCond?

2009-06-30 Thread Mike -- EMAIL IGNORED
I have (set in /etc/bashrc): echo $HTML_TST aa|bb|cc|dd|ee and I tried: RewriteCond ee %{ENV:HTML_TST} following the documentation that says: Syntax: RewriteCond TestString CondPattern I expected ee to be recognized as one ofthe alternatives in the pattern. It didn't work. Frust

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Ali Jawad
Hi Thanks Andre for the hint, I will try it and report back. Regards On Tue, Jun 30, 2009 at 6:19 PM, André Warnier wrote: > Ali Jawad wrote: > ... > Try : > >> >> #!/usr/bin/perl >> $| = 1; >> while () { >> > chomp $_; > >> print($_."\n"); >> } >> >> > ---

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Ali Jawad
Hi Bob Thanks for the hint, isn't it enough to set it to on in .htacccess. Thanks On Tue, Jun 30, 2009 at 6:29 PM, Bob Ionescu wrote: > 2009/6/30 Ali Jawad : > > #Apache2.conf > > RewriteLog "/var/log/apache2/rewrite.log" > > RewriteLogLevel 9 > > RewriteMap dash2score prg:/var/www/getIpStat.

Re: [us...@httpd] Internal Recursion with mod_rewrite

2009-06-30 Thread Peter Kay
- Original Message > I'm embedding Gallery2 in PmWiki, and trying to get rewrite rules to work... Ok, I think I understand what's going on (after installing a local copy of apache, etc to let me push up the debug levels...I didn't know httpd could crash so easily!): > RewriteCon

Re: [us...@httpd] test message

2009-06-30 Thread Ronald C.F. Antony
On 30 Jun 2009, at 12:20, bf...@free-man.net wrote: I sent a message to this group and got a reject 552 spam score (5.0) exceeded threshold so I am wondering if this is because of content or my mailing address. I subscribed fine so I am confused. Depends on if your e-mail provider gets black l

[us...@httpd] test message

2009-06-30 Thread bf...@free-man.net
I sent a message to this group and got a reject 552 spam score (5.0) exceeded threshold so I am wondering if this is because of content or my mailing address. I subscribed fine so I am confused. - The official User-To-User suppor

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Bob Ionescu
2009/6/30 Ali Jawad : > #Apache2.conf > RewriteLog "/var/log/apache2/rewrite.log" > RewriteLogLevel 9 > RewriteMap dash2score prg:/var/www/getIpStat.pl There's no RewriteEngine directive set to "on" in your Apache2.conf? In such a case the map program shouldn't be started during server startup

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread André Warnier
Ali Jawad wrote: ... Try : #!/usr/bin/perl $| = 1; while () { chomp $_; print($_."\n"); } - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html

Re: [us...@httpd] Environment Variable File

2009-06-30 Thread André Warnier
Mike -- EMAIL IGNORED wrote: I have some environment variables I want to provide in a file. For example, in bash the file would contain: export var1="a b c" export var2="1 2 3" I would like to "include" or "source" this file in my html.config, so var1 and var2 will be available to mod_rew

[us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Ali Jawad
Hi All I have been on these for 4 days now. No matter what I feed my simple perl script in a simple rewrite_map setup it wont return any feedback when used through apache. When used through comand line it works just fine. Some background info: debian:/var/www# apache2 -v Server version: Apache/2.

[us...@httpd] Re: mod_vhost_limit module

2009-06-30 Thread Mohit Anchlia
Is there someone out there who is even using mod_vhost_limit? I am unable to find sufficient information On Fri, Jun 19, 2009 at 7:28 PM, Mohit Anchlia wrote: > I am trying to get mod_vhost_limit documentation but can't find one. I > just have a simple question, is mod_vhost_limit dynamic in natur

[us...@httpd] Environment Variable File

2009-06-30 Thread Mike -- EMAIL IGNORED
I have some environment variables I want to provide in a file. For example, in bash the file would contain: export var1="a b c" export var2="1 2 3" I would like to "include" or "source" this file in my html.config, so var1 and var2 will be available to mod_rewrite as environment variables.

[us...@httpd] rewrite and proxy question

2009-06-30 Thread K. Clair
Hi All, I'm trying to figure out if the following is possible. Let me know if anyone has any ideas! I have a webserver that takes all incoming requests, and I am trying to proxy all coldfusion requests to another server. So I have set up a rewrite to catch the requests based on filenames and pro

RE: [us...@httpd] mod_expires/mod_headers and SSL

2009-06-30 Thread Boyle Owen
From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Tuesday, June 30, 2009 9:05 AM To: users Subject: [us...@httpd] mod_expires/mod_headers and SSL Hi all, Any idea if mod_expires works ov

RE: [us...@httpd] httpd service doesn't start when run from failover cluster on Windows Server 2008 64 bit

2009-06-30 Thread Willis, Trevor
In case anyone is interested in this issue I've raised a bug: Bug 47450 - httpd service doesn't start when run from failover cluster on Windows Server 2008 64 bit -Original Message- From: Willis, Trevor [mailto:twil...@bottomline.com] Sent: 26 June 2009 16:34 To: users@httpd.apache.org

[us...@httpd] mod_expires/mod_headers and SSL

2009-06-30 Thread Igor Cicimov
Hi all, Any idea if mod_expires works over SSL? In case it works are there any conditions to be satisfied? Thanks