Re: [users@httpd] Apache is Slow

2015-03-30 Thread Marcos Almeida Azevedo
ument file:${APACHE_LOCK_DIR} > > --> See above. > > > root@meow:/home/ethan/BluBev# ps -A |grep apache2 > 11972 ?00:00:30 apache2 > 22196 ?00:00:00 apache2 > 22197 ? 00:00:00 apache2 > 22198 ?00:00:00 apache2 > 22199 ?00:00:00 apache2 > 22200 ?00:00:00 apache2 > > Totally confused. > > TIA > > Ethan > > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- Marcos | I love PHP, Linux, and Java <http://javadevnotes.com/java-string-to-double-examples>

Re: [users@httpd] Images Not Loading

2015-02-26 Thread Marcos Almeida Azevedo
ease do not read, copy, use or disclose > the contents of this communication to others and notify the > sender immediately. Then please delete the email and any > copies of it. Thank you. > > -- Marcos | I love PHP, Linux, and Java <http://javadevnotes.com/java-double-to-string-examples>

[users@httpd] Apache2 sends two HTTP headers with a mapped “nph-” CGI

2014-03-18 Thread Marcos Gutiérrez Batz
TPD_ROOT="/etc/apache2" -D SUEXEC_BIN="/usr/lib/apache2/suexec" -D DEFAULT_PIDLOG="/var/run/apache2.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="mime.types" -D SERVER_CONFIG_FILE="apache2.conf" | Best regards and thank you for any guide! Marcos

[users@httpd] Multiple choices

2014-01-22 Thread Marcos R. Cardoso
d (among others): alias negotiation rewrite speling TIA -- Marcos R. Cardoso Seção de Processamento Técnico e Automação Sistema Integrado de Bibliotecas FURB - Blumenau (047) 3321-0660 - To unsubscribe, e-mail: users-unsubscr

Re: [users@httpd] Add a http header if the request comes from an iphone

2012-04-16 Thread Marcos Filho
Hi Eric, Thank you so much. I took your advice and I think it is working now. I did the following configurarion: BrowserMatchNoCase iphone is_iphone RequestHeader add deviceType "HighEnd" env=is_iphone Is it what you mean? Regards, Marcos On Mon, Apr 16, 2012 at 11:39 AM, Er

Re: [users@httpd] Add a http header if the request comes from an iphone

2012-04-16 Thread Marcos Filho
Yes, I did copy from my configurations. I know that this line works if it is isolated: 'RequestHeader add deviceType "HighEnd" ' But I need to check if the request is from an iphone, and that condition is not working at all. Do you have any idea how I can fix it? On Mon, Apr 16, 2012 at 11:27

[users@httpd] Add a http header if the request comes from an iphone

2012-04-16 Thread Marcos Filho
are not working and probably I am doing something wrong. I have done lots of research on google and then tried lots of settings but nothing is working. Do you guys have an idea how I can get it working? I would really appreciate your help. Regards, Marcos

Re: [users@httpd] Can you tell the path of Apache in httpd.conf?

2012-01-25 Thread marcos
Define one file wiht variables definition, name file examplo =setVarApache.env in path /tmp $more setVarApache.env LOG_PATH=/tmp/example/ LISTENIP=192.168.100.1 NAMESERVER=MyServer LISTENPORT=82 Now in script to start apache i charge this file with: . /tmp/setVarApache.env case $ARGV in sto

[us...@httpd] Add ID by request in Error Logfile

2010-09-21 Thread marcos rebelo
combined How may I do something similar in the error logfile? Best Regards Marcos Rebelo -- Marcos Rebelo http://oleber.freehostia.com Milan Perl Mongers leader http://milan.pm.org Webmaster of http://sites.google.com/site/oleberperlrecipes/ --

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
in apache. SSLCertificateKeyFile SSLCertificateBundle... ... This is where I get stuck. No matter the domain I type, it always goes to the first site, even though the certificate has site2 as an alt name. Any help is apprecated! Regard

[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. Regard

[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
RewriteCond %{HTTP_HOST} !^123.123.123.123 [NC] RewriteRule ^(.+)$ https://123.123.123.123/script.cgi/browse?URL=%{REQUEST_URI} Regards, Marcos - The official User-To-User support forum of the Apache HTTP Server Project. See http

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
hide that redirection (http://123.123.123.123/myscript?url=thewebsite.com) and keep the requested url in the address bar somehow? Regards, Marcos - The official User-To-User support forum of the Apache HTTP Server Project. See

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
ay of doing it? Regards, Marcos - 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: users-unsubscr...@httpd.apache.org

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
are defined as: ExtFilterDefine myfilter1 mode=output intype=text/html cmd="/usr/bin/php -f /etc/apache2/script1.php" ExtFilterDefine myfilter2 mode=output intype=text/html cmd="/bin/sh -f /etc/apache2/script2.sh" ExtFilterDefine myfilter3 mode=output intype=text/html cmd="/e

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
ed website because i see the additional content. Any help would be greatly appreciated. Configuration: Apache/2.2.11 Ubuntu/2.6.28-11-server Regards, Marcos - The official User-To-User support forum of the Apache HTTP Server Project

Re: [us...@httpd] Re: undefined symbol: cache_generate_key_default

2009-10-10 Thread marcos
Hi, i had a similar problem whit deflate module: Cannot load /opt/apache2/modules/mod_deflate.so into server: /opt/apache2/modules /mod_deflate.so: undefined symbol: inflateEnd I solve the problem using -lz in the link options, probe to pass this option to the linker with -Wl apxs command. /opt/

Re: [us...@httpd] undefined symbol: cache_generate_key_default

2009-10-07 Thread marcos
Thanks i execute : /opt/apache2/bin/apxs -i -c mod_cache.c cache_storage.c cache_util.c and now load the module. and now 2009/10/7 Eric Covener : > On Wed, Oct 7, 2009 at 10:18 AM, Eric Covener wrote: > >> For more complicated modules, you need to pass it all the source files >> that comprise

[us...@httpd] undefined symbol: cache_generate_key_default

2009-10-07 Thread marcos
Hello, I have a problem to active one module_cache in apache: 1.First i compile the module mod_cache, not error founds: $/opt/apache2/bin/apxs -c mod_cache.c /opt/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE

Re: [EMAIL PROTECTED] Problem with Internet Explorer

2007-05-23 Thread Marcos R. Cardoso
I've already solved the question. Since I use a PHP script to redirect the link I use the function utf8_encode() to make the proper conversion. Now it works fine here. Sorry for bothering you... Marcos R. Cardoso escreveu: I forgot to add, I'm using Apache 2.0.58 on a Windows S

Re: [EMAIL PROTECTED] Problem with Internet Explorer

2007-05-23 Thread Marcos R. Cardoso
I forgot to add, I'm using Apache 2.0.58 on a Windows Server 2003. Marcos R. Cardoso escreveu: I might be missing something but I still couldn't figure it out, I'm trying to send a special caracter through a link, the character is ´ (acute). Using Firefox, Opera and Netscap

[EMAIL PROTECTED] Problem with Internet Explorer

2007-05-22 Thread Marcos R. Cardoso
gh this situation and managed to fix it, please help me. TIA, -- Marcos R. Cardoso Seção de Documentação e Automação Biblioteca Universitária FURB - Blumenau (047) 3321-0660 - The official User-To-User support forum of the

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Marcos R. Cardoso
he "Stop" and "Start" once a week to dispose the log files. Marcos R. Cardoso Bashiro escreveu: Ja the icon in the start menu is just a monitor. WIndows task cannot restart it to affect apache itself. But if only I could get hold of the httpd itself, perhaps windows ta

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Marcos R. Cardoso
To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marcos R. Cardoso Seção de Documentação e Automação Biblioteca Universitária FURB - Blumenau (047) 3

[EMAIL PROTECTED] Apache + Windows + PHP

2007-05-02 Thread Marcos R. Cardoso
ooking for a specific book or material. They also use the web applications to renew the book loans, reserve some material, etc. TIA -- Marcos R. Cardoso Seção de Documentação e Automação Biblioteca Universitária FURB - Blumenau (047) 3321-0660 ---

Re: [EMAIL PROTECTED] Growing Error.log

2006-12-18 Thread Marcos R. Cardoso
st: C:/Program Files/Apache Group/Apache2/htdocs/SelfUpdate I uninstalled Apache and re-installed Version 2.0.59. But the error is still there. Please help Thank you Herbert -- Marcos R. Cardoso Seção de Documentação e Automação Biblioteca Universitária FURB - Blum

Re: [EMAIL PROTECTED] VirtualHost

2006-06-07 Thread Marcos R. Cardoso
e.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marcos R. Cardoso Seção de Processamento Técnico e Automação Sistema Integrado de Bibliotecas FURB - Blumenau (0

Re: [EMAIL PROTECTED] VirtualHost

2006-06-06 Thread Marcos R. Cardoso
1.0 CustomLog logs/ssl_request.log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" -- Marcos R. Cardoso Seção de Processamento Técnico e Automação Sistema Integrado de Bibliotecas FURB - Blumenau (047) 3321-0660 --

Re: [EMAIL PROTECTED] VirtualHost

2006-06-06 Thread Marcos R. Cardoso
irtualHost directive once! At least in the http.conf it's made once, is there somewhere else where the VirtualHost is defined besides the httpd.conf file? -- Marcos R. Cardoso Seção de Processamento Técnico e Automação Sistema Integrado de Bibliotecas FURB - Blumenau (047) 3321-0660 -

[EMAIL PROTECTED] VirtualHost

2006-06-05 Thread Marcos R. Cardoso
se https connection using the certificates that I generated temporarily, eve if it's not specified in the http.conf. I don't know if my Web Server is working in a proper way, so I would like some help on it. TIA, -- Marcos R. Cardoso Seção de Processamento Técnico e Auto

[EMAIL PROTECTED] Manipulating images

2005-11-17 Thread Marcos R. Cardoso
ntinued. We actually don't what could be freezing the Apache, so we are still using the "resize" script, which is useless and takes memory and CPU usage from the webserver. Our current scenario is: Windows 2003 Apache 2.0.54 PHP 4.4.1 Sun C

Re: [EMAIL PROTECTED] Memory leak on Windows 2003

2005-09-28 Thread Marcos R. Cardoso
had a big size, we had to reduce all of them to a size less than 10k so Apache wouldn't increase its size to a huge number. So far everything has worked fine, and I think we've found the solution. Thanks, Marcos R. Cardoso FURB - Biblioteca Central Blumenau Brazil Joshua Slive wrote:

Re: [EMAIL PROTECTED] Memory leak on Windows 2003

2005-09-14 Thread Marcos R. Cardoso
Thanks for the help Joshua, but I forgot to add that we use some ASP scripts here using Sun Chili!Soft ASP 3.6.2 Could the ASP machine also make this memory inflation possible to happen? Marcos R. Cardoso Brazil Joshua Slive wrote: On 9/13/05, Marcos R. Cardoso <[EMAIL PROTECTED]>

[EMAIL PROTECTED] Memory leak on Windows 2003

2005-09-13 Thread Marcos R. Cardoso
ce every 8 hours, but I'd like to know if there is a proper solution for this behaviour. TIA, Marcos R. Cardoso Brazil - The official User-To-User support forum of the Apache HTTP Server Project. See http://h

[EMAIL PROTECTED] Apache and Active Directory

2005-09-13 Thread Marcos R. Cardoso
users contained in the Windows 2003 Server domain? - How can I make one of these separated folders be seen only by some users picked out in the Windows 2003 Server domain? TIA, Marcos R. Cardoso Brazil - The official User-To-User su