[EMAIL PROTECTED] Re: mod_proxy with regexps

2005-08-24 Thread Brian Candler
On Tue, Aug 23, 2005 at 10:11:20AM -0700, Andrew Musselman wrote: Hi, I am trying to set up a proxy to allow access to other devices on the network. These lines work great: ProxyPass /xyz.mn.op.st/ http://xyz.mn.op.st/ ProxyPassReverse /xyz.mn.op.st/ http://xyz.mn.op.st/ I can access

[EMAIL PROTECTED] Re: pretty simple mod-rewrite question

2005-08-21 Thread Brian Candler
On Fri, Aug 19, 2005 at 06:24:02PM -0400, Hank wrote: I have a rewrite working well so for one virtual domain: Convert: http://www.AAsite.com/pf_dir/index.html To: http://www.AAsite.info/AAforums/pf_dir/index.html RewriteEngine on RewriteRule ^/pf(.*)$

[EMAIL PROTECTED] Redirect conditional on SSL/non-SSL

2005-08-17 Thread Brian Candler
I would like users to be able to put an incantation in their .htaccess files which says: if this directory was not accessed via SSL, then issue a redirect to https://; I know about SSLRequireSSL, but that just rejects the request. Is there a way to do this short of using mod_rewrite? I am

Re: [EMAIL PROTECTED] How to fight a client causing DoS ?

2005-08-14 Thread Brian Candler
On Sat, Aug 13, 2005 at 11:32:53AM +0200, Maxim Vexler wrote: The DoS was caused because a client tried to use one of the popular spiders to download the whole site. I've attached a clip from the error log the access log (CR/LF terminated). As you can see the DoS client can

Re: [EMAIL PROTECTED] Virtualising 'ErrorLog'

2005-08-08 Thread Brian Candler
On Tue, Aug 02, 2005 at 09:15:11AM -0400, Dan Mahoney, System Admin wrote: However, is there a way to do the same for ErrorLog? That is, without having to set up a VirtualHost container for each site (since I'm using mod_rewrite for mass virtual hosting). In particular, I want each site's

[EMAIL PROTECTED] Re: Rewrite and https

2005-08-04 Thread Brian Candler
On Wed, Aug 03, 2005 at 03:17:11PM +0200, Krist van Besien wrote: So I have the following in my rewrite rulses: # If Portal is accessed over https add a query parameter so the portal knows. RewriteCond %{HTTPS}on [NC] RewriteRule ^/([Pp]ortal.*)

Re: [EMAIL PROTECTED] mod_frontpage state of the art

2005-08-02 Thread Brian Candler
On Mon, Aug 01, 2005 at 04:02:05PM -0400, Dan Mahoney, System Admin wrote: You need to get the frontpage support from rtr.com, and extract it the the (very universal) /usr/local/frontpage. From there, to make it play nice with apache, you can compile and build mirfak. Doing it the pure

[EMAIL PROTECTED] Virtualising 'ErrorLog'

2005-08-02 Thread Brian Candler
I can easily set up access logs such that the Host: header is included; this allows the logs to kept in a single file and then post-filtered to separate them out per virtual user. e.g. LogFormat %{Host}i %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ combined However, is there a way to

Re: [EMAIL PROTECTED] mod_frontpage state of the art

2005-08-02 Thread Brian Candler
On Tue, Aug 02, 2005 at 11:15:24AM +0100, Brian Candler wrote: Cheers. I've moved over to the mirfak mod_frontpage, but still get the same error now: Right, well this is turning into a long voyage of discovery :-) Firstly, I was able to get mod_frontpage working with a vanilla httpd

[EMAIL PROTECTED] mod_frontpage state of the art

2005-08-01 Thread Brian Candler
What's the current best way to support frontpage publishing? [*] The two main contenders I've found are: - http://www.rtr.com/ - http://sourceforge.net/projects/mirfak Anyone here have a view as to which is better (for your own definition of 'better')? I'm running Apache 1.3 under FreeBSD, and

Re: [EMAIL PROTECTED] mod_rewrite setting handler

2005-07-28 Thread Brian Candler
On Thu, Jul 28, 2005 at 12:42:32PM +0100, Brian Candler wrote: Question: is it possible to set the MIME-type and the handler separately in mod_rewrite? (1) If I do RewriteRule \.shtml?$ - [T=server-parsed,L] then the page is parsed, but the wrong MIME type is sent to the client

Re: [EMAIL PROTECTED] shtml and suexec

2005-07-28 Thread Brian Candler
On Thu, Jul 28, 2005 at 10:28:09AM -0400, Dan Mahoney, System Admin wrote: On Thu, 28 Jul 2005, Brian Candler wrote: If you don't have a shell, then your system runs /bin/echo, no? No. Firstly, suexec calls execv(), which does not do a search in $PATH. Secondly, echo foo is treated