Re: [us...@httpd] Apache2 UCC Certificate Multiple Websites

2010-01-11 Thread Marcos Mendez
Thank you! On Mon, Jan 11, 2010 at 12:31 AM, Nilesh Govindarajan wrote: > On 01/11/2010 10:45 AM, Marcos Mendez wrote: >> >> Hi, >> >> I've purchased a GoDaddy certificate to secure two websites. I've got >> the virtual hosts configured correctly for po

[us...@httpd] Apache2 UCC Certificate Multiple Websites

2010-01-10 Thread Marcos Mendez
Hi, I've purchased a GoDaddy certificate to secure two websites. I've got the virtual hosts configured correctly for port 80, but when I use https, the browser gets redirected to the first website always. Is there anything special that I need to do with the 443 virtual host to handle two websites?

[us...@httpd] mod_proxy port-based passthru

2009-11-03 Thread Marcos Mendez
Hi, Is there an easy way to configure mod_proxy to let certain ports passthru? I've got a couple of rewrite rules on port 80, but don't know how to do that for SSL/443 for example so that the proxy does not get involved. Regards, Marcos --

[us...@httpd] Re: proxy+rewrite converts https to http://domain:443

2009-10-28 Thread Marcos Mendez
On Wed, Oct 28, 2009 at 12:50 PM, Marcos Mendez wrote: > Anybody got any ideas how to fix this? The proxy is redirecting to a > cgi. While this works fine with http, when using https, the request > uri becomes http://domain name:443 instead of keeping https://domain > name or conver

[us...@httpd] proxy+rewrite converts https to http://domain:443

2009-10-28 Thread Marcos Mendez
Anybody got any ideas how to fix this? The proxy is redirecting to a cgi. While this works fine with http, when using https, the request uri becomes http://domain name:443 instead of keeping https://domain name or converting it back to its original form? SSLProxyEngine on RewriteEngine on Rew

Re: [us...@httpd] mod_proxy+mod_rewrite: hiding redirection

2009-10-28 Thread Marcos Mendez
On Wed, Oct 28, 2009 at 8:43 AM, Krist van Besien wrote: > On Tue, Oct 27, 2009 at 10:55 PM, Marcos Mendez > wrote: >> I'm using mod_proxy/mod_rewrite to redirect requests to a specific >> script which handles them. For example: >> >> >> Re

Re: [us...@httpd] mod_proxy+mod_rewrite: hiding redirection

2009-10-27 Thread Marcos Mendez
?url=%{REQUEST_URI} [R,L] > or > RewriteRule $(.+) http://123.123.123.123/myscript?url=%{REQUEST_URI} [P,L] > > Cheers, > > Igor > > On Wed, Oct 28, 2009 at 8:55 AM, Marcos Mendez > wrote: >> >> I'm using mod_proxy/mod_rewrite to redirect re

[us...@httpd] mod_proxy+mod_rewrite: hiding redirection

2009-10-27 Thread Marcos Mendez
I'm using mod_proxy/mod_rewrite to redirect requests to a specific script which handles them. For example: RewriteEngine on RewriteCond %{HTTP_HOST} !^123.123.123.123 [NC] RewriteRule $(.+) http://123.123.123.123/myscript?url=%{REQUEST_URI} This is working great. The question is, can I hide tha

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Marcos Mendez
Hi, after playing around and not liking the results, I'm redirecting to a cgi that does allow inserting of content and I'm getting my ads now. Still using mod_proxy, but no substitutions. Thanks for the help! On Tue, Oct 27, 2009 at 1:07 PM, Marcos Mendez wrote: > On Tue, Oct 27,

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Marcos Mendez
On Tue, Oct 27, 2009 at 12:45 PM, Mike Cardwell wrote: > Marcos Mendez wrote: > >> Hi Mike, when I run google (yahoo, eweek etc) through the proxy (using >> mod_substitute) i do not see my modification in the page source, no >> matter where I try to insert it. > >

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Marcos Mendez
Hi Mike, when I run google (yahoo, eweek etc) through the proxy (using mod_substitute) i do not see my modification in the page source, no matter where I try to insert it. - The official User-To-User support forum of the Apache HT

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Marcos Mendez
Had not heard of mod_publisher. I tried it out, and for my simple test page it seems to work great. However when I visit other sites I'm getting a content encoding error. I've disabled any content modification, to test that just passing the pages through would work, but it doesn't. So added a Load

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Marcos Mendez
r.com myadserver.com 172.16.1.29 AddOutputFilterByType SUBSTITUTE text/html Substitute "s|]*?)>|[X]Advert content|iq" Order allow,deny Allow from all ProxyVia Off On Tue, Oct 27, 2009 at 7:25 A

Re: [us...@httpd] ad-supported apache proxy

2009-10-26 Thread Marcos Mendez
liably for me... for example with google.com or yahoo.com. I was wondering if doing an internal redirect, framing the url (so that it renders as normal) and placing my ads outside would be better. On Mon, Oct 26, 2009 at 2:59 PM, William A. Rowe, Jr. wrote: > Marcos Mendez wrote: >> D

[us...@httpd] ad-supported apache proxy

2009-10-26 Thread Marcos Mendez
Does anyone have any suggestions about what is the best way to implement an ad-supported proxy? I've got mod_substitute injecting some content, but it only seems to work on simple websites. Should I be looking at redirecting urls to a frame, and putting the ads there? Is there any other way of doin

Re: [us...@httpd] mod_ext_filter cmd output is garbage

2009-10-21 Thread Marcos Mendez
; expected benefit. > > By the way, have you looked at : > http://httpd.apache.org/docs/2.2/mod/mod_substitute.html > (but I'm not sure even that one takes charsets into account). > and maybe also > http://httpd.apache.org/docs/2.2/mod/mod_charset_lite.html > > I also rem

Re: [us...@httpd] mod_ext_filter cmd output is garbage

2009-10-21 Thread Marcos Mendez
would mod_filter solve this? i'm going to try some changes and see if that works. On Wed, Oct 21, 2009 at 5:37 PM, Marcos Mendez wrote: > Yes absolutely. I've setup a forward proxy, where I have to open a > port (8080) for people to use it. I've set the filter type to &g

Re: [us...@httpd] mod_ext_filter cmd output is garbage

2009-10-21 Thread Marcos Mendez
s, > unless you parse all the documents on the way back, and figure out > a) what kind of data this is (a jpeg image, a css stylesheet ?) > b) if it is a "text" type, what character set and encoding it's in > c) what kind of transfer encoding may have been used (compressed ?)

Re: [us...@httpd] mod_ext_filter cmd output is garbage

2009-10-21 Thread Marcos Mendez
Could it be some output encoding issue (UTF vs ASCII)? Or perhaps compression issue? On Wed, Oct 21, 2009 at 1:19 PM, Marcos Mendez wrote: > I should probably also mention that being through mod_proxy. I've > setup a transparent proxy and I'm trying to add some content on the >

Re: [us...@httpd] mod_ext_filter cmd output is garbage

2009-10-21 Thread Marcos Mendez
/usr/bin/php -f /etc/apache2/script1.php" SetOutputFilter myfilter1 Regards, Marcos On Wed, Oct 21, 2009 at 12:06 PM, Marcos Mendez wrote: > Heheheh... I doubt my script-writing abilities! Here's a simple php5 > script to echo the output. > > > $stdin = file_

Re: [us...@httpd] mod_ext_filter cmd output is garbage

2009-10-21 Thread Marcos Mendez
Heheheh... I doubt my script-writing abilities! Here's a simple php5 script to echo the output. I've tried the script with cat sometextfile | php -f test.php and it echoes the standard input. Regards, Marcos On Wed, Oct 21, 2009 at 11:15 AM, André Warnier wrote: > Marcos

[us...@httpd] mod_ext_filter cmd output is garbage

2009-10-21 Thread Marcos Mendez
Hi, I'm having problem running anything other than the sample sed command used with ext_filter in the documentation (eg cmd="/bin/sed s/verdana/aria/g"). When I try to run a script (sh, bash, or php) I always get (binary) garbage in the output. Any ideas? My filters are defined as: ExtFilterDefi

Re: [us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Marcos Mendez
Hi, I had to create two filters, one for text/html and one for text/plain and use SetOutputFilter for both. :) Thanks! On Mon, Oct 19, 2009 at 6:14 PM, Marcos Mendez wrote: > Hi Eric, > > Sorry. I mispoke. The filter is working, but it seems to be ignoring > the html content. I&#x

Re: [us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Marcos Mendez
Hi Eric, Sorry. I mispoke. The filter is working, but it seems to be ignoring the html content. I'm using intype=text/html. Regards, Marcos On Mon, Oct 19, 2009 at 5:54 PM, Marcos Mendez wrote: > Hi Eric, > > I did a full stop and start of apache instead of restart. It works!

Re: [us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Marcos Mendez
Hi Eric, I did a full stop and start of apache instead of restart. It works! Thanks! On Mon, Oct 19, 2009 at 12:47 PM, Eric Covener wrote: > On Mon, Oct 19, 2009 at 12:39 PM, Marcos Mendez > wrote: >> Hi Eric, thanks for the quick response. So then I must be doing >> som

Re: [us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Marcos Mendez
Via Off On Mon, Oct 19, 2009 at 12:32 PM, Eric Covener wrote: > On Mon, Oct 19, 2009 at 11:52 AM, Marcos Mendez > wrote: >> Does anyone know if ext_filter should work when using apache as a >> proxy? I'm trying to add some content to the html body of content >> serve

[us...@httpd] is mod_ext_filter supposed to work with mod_proxy?

2009-10-19 Thread Marcos Mendez
Does anyone know if ext_filter should work when using apache as a proxy? I'm trying to add some content to the html body of content served by the proxy, but it doesn't seem to be working. Has anyone tried this? I think that my configuration is correct, at least for the locally hosted website becaus