[users@httpd] Some questions about Apache HTTP Server

2014-01-27 Thread jia1li
Dear Mr. and Mrs.

Thank you very much for taking time to read my email, I'm the new user of 
Apache HTTP server. Recently our company would like to upgrade Windows Server 
2003 (X86) to Windows 2008 (x86), as we have Apache 2.2.8 (win32) installed on 
Windows server 2003, before upgrade, we have some concerns and would like to 
consult with you:

1.  Does Apache 2.2.8 (win32) support Windows 2008 (x86)? If yes, does 
Apache 2.2.8 (win32) have a support period? (When does Apache 2.2.8 support 
end?)
2.  If Apache 2.2.8 doesn't support Windows 2008 (x86), then which version 
can support it? Does this version have a support period?

Thank you very much for your help!
Best Regards
Jacky




[users@httpd] Apache 2.2.26 - POST Requests Failing after SIGTERM Signal Received

2014-01-27 Thread Adam Brenner
Howdy,

We are experiencing an issue where POST requests are failing after
Apache 2.2.26 receives a SIGTERM and restarts. The response received
from CURL is:

  curl: (52) Empty reply from server

Before the SIGTERM, we are receiving a response from the server. No
proxy or filtering is occurring between the CURL POST request and
Apache. This problem is reproducible in both PHP and a CGI script
(perl). Because of this, we are not looking into any module (PHP).
Perl was ran via hashbang and not via mod_perl. mod_security has no
configuration and not filtering any rules, same with any custom
rewrite rules. Apache was compiled with:

./configure
--disable-v4-mapped
--enable-deflate
--enable-expires
--enable-headers
--enable-info
--enable-logio
--enable-proxy
--enable-rewrite
--enable-ssl
--enable-suexec
--enable-unique-id
--prefix=/usr/local/apache
--with-included-apr
--with-mpm=prefork
--with-pcre=/opt/pcre
--with-ssl=/usr
--with-suexec-caller=nobody
--with-suexec-docroot=/
--with-suexec-gidmin=100
--with-suexec-logfile=/usr/local/apache/logs/suexec_log
--with-suexec-uidmin=100
--with-suexec-userdir=public_html


Right after the SIGTERM signal is received, the process via ps looks like so:

$ lsof -p 24428 | grep bin
httpd 24428 root txt REG 8,3 1213648 38274047
/usr/local/apache/bin/httpd (deleted)

It appears the initial root process spawned by httpd is provided with
a SIGTERM shortly after a graceful restart (random interval), and the
root process that spawns in it place to maintain the existing child
processes does not appear to be entirely functional, and actually
reports to be deleted as far as the /proc/*/exec information is
reporting. This directly coincides with the point where POST ceases to
work, after graceful restarts.


Running the httpd service with strace showed the following
information[1]. The core dumps produced from httpd are below:

(gdb) where
#0 0x7f524f8cc86f in ?? ()
#1 0x00440cdf in ap_is_recursion_limit_exceeded ()
#2 0x004b8ade in ap_byterange_filter ()
#3 0x0045bbbf in get_ptoken ()
#4 0x0045c070 in parse_expr ()
#5 0x004e49c9 in ?? ()
#6 0x7f524fb3c710 in ?? ()
#7 0x in ?? ()


Any help in tracking down this issue would be greatly appreciated as
the ability to not process POST requests are making sites unusable.

Would it be better to submit a BugZilla report on this? I tried
searching the list however could not find other bugs related to this.
Or perhaps the developer list?


[1]: 
https://gist.github.com/abrenner/8662912/raw/4b56aa0d114f678ddfdd3b8e6b90e4cb92317c20/gistfile1.txt


--
Adam Brenner
Computer Science, Undergraduate Student
Donald Bren School of Information and Computer Sciences

System Administrator, HPC Cluster
Office of Information Technology
http://hpc.oit.uci.edu/

University of California, Irvine
www.ics.uci.edu/~aebrenne/
aebre...@uci.edu

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] SSI is destroying my file

2014-01-27 Thread Geoff Millikan
We had a lot of problems w/SSI, deflate and caching.  The deflate and the SSI 
and the cacheing just fought each other.  Sometimes it would work, sometimes we 
got corrupted junk - but it was usually more messed up that just some dashes 
like you have.

But if you've turned off mod_cache, deleted the cache from the drive and 
cleared your browser cache and you're still seeing it then

Suggest moving SSI file into a place where you can access directly in your 
browser.  Does it look ok there?  If yes, then try including it from there...

Best of luck...

Sent from my iPhone

On Jan 27, 2014, at 5:09 PM, David Williams  wrote:

> I tried uncommenting mod_cache from httpd.conf, but that did not resolve the 
> issue.  Here is another example, the next include in the list (this is a 
> javascript file) is modernizr, here's how it looks after mod_include:
> 
> u+conteionId=b;i(= .fail]mdoc u+cont, )ra0ara", loaefinth.) {
> 
> nupB Reafhns= 'a(S.1',
> 
> ionId=b;i(= {},
> 
> 
> )raors(d)}(= .locose-n.locose-ors(d)},
> 
> mons= 'monId=b;i',
> monors((= .locose-nn.showMessage(mon),
> mSed")(= monors(ibed"),
> 
> "#rejors(( ,
> 
> 
> toS(var (= {}.toS(var ,t");b(= {},
> "#rejb(= {},
> Mu;fb(= {},

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] SSI is destroying my file

2014-01-27 Thread David Williams
Just another quick data points, this is centos 6.5 with apache 2.2.15
installed via yum

$ cat /etc/*release*
CentOS release 6.5 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
cat: /etc/lsb-release.d: Is a directory
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
cpe:/o:centos:linux:6:GA


$ apachectl -version
Server version: Apache/2.2.15 (Unix)
Server built:   Aug 13 2013 17:29:28


Re: [users@httpd] SSI is destroying my file

2014-01-27 Thread David Williams
I tried uncommenting mod_cache from httpd.conf, but that did not resolve
the issue.  Here is another example, the next include in the list (this is
a javascript file) is modernizr, here's how it looks after mod_include:

u+conteionId=b;i(= .fail]mdoc u+cont, )ra0ara", loaefinth.) {

nupB Reafhns= 'a(S.1',

ionId=b;i(= {},


)raors(d)}(= .locose-n.locose-ors(d)},

mons= 'monId=b;i',
monors((= .locose-nn.showMessage(mon),
mSed")(= monors(ibed"),

"#rejors(( ,


toS(var (= {}.toS(var ,t");b(= {},
"#rejb(= {},
Mu;fb(= {},


Re: [users@httpd] SSI is destroying my file

2014-01-27 Thread David Williams
Also I apologize for the "top-post"  I don't know how to turn that off in
gmail but I have an SO question for that too

http://stackoverflow.com/questions/21394987/gmail-how-do-i-not-top-post-in-gmail-replies

How could mod_cache be causing this?


On Mon, Jan 27, 2014 at 5:02 PM, David Williams  wrote:

> Yes I am,
>
> httpd.conf:54
>
> LoadModule cache_module modules/mod_cache.so
>
>
>
> On Mon, Jan 27, 2014 at 5:00 PM, Geoff Millikan 
> wrote:
>
>> Are you using mod_cache?
>>
>
>


Re: [users@httpd] SSI is destroying my file

2014-01-27 Thread David Williams
Yes I am,

httpd.conf:54

LoadModule cache_module modules/mod_cache.so



On Mon, Jan 27, 2014 at 5:00 PM, Geoff Millikan wrote:

> Are you using mod_cache?
>


RE: [users@httpd] SSI is destroying my file

2014-01-27 Thread Geoff Millikan
Are you using mod_cache?



[users@httpd] SSI is destroying my file

2014-01-27 Thread David Williams
Hi all,

First of all, I wrote up this issue in a Stack Overflow question

http://stackoverflow.com/questions/21392764/apache-ssi-is-corrupting-my-file

Take a look at this, before and after SSI.  If I simply remove this
section, the corruption moves down further.  What could be causing this?
 These files are 100% ok before mod_include gets its hands on them.

Before:

window.dhtmlHistory.create({toJSON: function(o) {
   return common.toJSON(o);
} , fromJSON: function(s) {
return eval('(' + s + ')');
}});

After:

w+cont.dhtmlHistory.c.show({toJSON: fail]mdo(o) {
-wrappecommon.toJSON(o);
} , fromJSON: fail]mdo(s) {
-wrappeeval('(' + s + ')');
}});


Re: [users@httpd] Why is this VirtualHost serving 403's for Aliased directories?

2014-01-27 Thread Eric Covener
> Alias /media/ "/home/jonathan/ccachicago/media/
>
> Any ideas as to what here is causing trouble?

Usually there'd be a hint in the error.log.  Likely /home/jonathan/
not world-executable.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Why is this VirtualHost serving 403's for Aliased directories?

2014-01-27 Thread Christos Jonathan Seth Hayward
I am attempting to set a VirtualHost to Alias two directories, and proxy
everything else to a Gunicorn server (adding SSL in passing). The
VirtualHost is:



ServerName ccachicago.pragmatometer.com



Alias /media/ "/home/jonathan/ccachicago/media/"

ErrorLog /var/log/apache2/error.log



Options Indexes MultiViews FollowSymLinks

AllowOverride None

Order deny,allow

Deny from all

Allow from 127.0.0.0/255.0.0.0 ::1/128





Alias /admin/static/
"/usr/lib/python2.7/dist-packages/django/contrib/admin/static/"



Options Indexes MultiViews FollowSymLinks

AllowOverride None

Order allow,deny

#Deny from all

#Allow from 127.0.0.0/255.0.0.0 ::1/128

#Allow from 0.0.0.0 ::1/128

Allow from all

Deny from none





ProxyPass /media/ !

ProxyPass /admin/static/ !

ProxyPass / http://localhost:8080/

ProxyPassReverse / http://localhost:8080/



 SSLEngine On

 SSLCertificateFile /etc/apache2/ssl/ssl.crt

 SSLCertificateKeyFile /etc/apache2/ssl/ssl.key

ServerAdmin cjshayw...@pobox.com




Any ideas as to what here is causing trouble?


-- 
[image: Christos Jonathan Seth Hayward] 
Christos Jonathan Seth Hayward, an Orthodox Christian author.

Amazon / Kindle  * *Author
* * Author Bio 
 * *Email * *
Facebook
 * Fan Page  * Google
Plus
 * LinkedIn  * *Professional
* * Twitter
 * *Web * * What's
New?
If you read just *one* of my books, you'll want *The Best of Jonathan's
Corner *.


Re: [users@httpd] Need help with reverse proxying and image loading

2014-01-27 Thread MM KP
hello!

Thanks for your response, but is this the same case for a reverse proxy? I
am trying to build a reverse proxy not a forward one.

Thanks though!

any other responses are greatly welcome!

SBC


On Mon, Jan 27, 2014 at 12:57 PM, Mark Brodis wrote:

> I am a n00b with Apache also but I'll take a stab at this.
>
> What you are wanting is actually 2 things.  A fully functional (for at
> least one website) forward HTTP proxy and also a domain name change.  In my
> opinion you will never get a functional webpage (at least not something as
> complex and interconnected as a CNN site) with static mappings.  Static
> mappings such as mysite.com be translated to cnn.com could work...but as
> you pointed out what about the rest of the items on the CNN page.  There
> will be images from Facebook, Twitter, 4space, Yahoo, Google..and everyone
> of those could have 50 different hosts the images could come from, the
> hostnames that you will pull content from will vary throughout the day and
> your region.
>
> So, for that to work you are going to need to use a real outbound forward
> HTTP proxy which your workstation/browser will know how to use (read up on
> forward proxies versus reverse proxies, same software can be used in very
> different ways).  Now, using that method in theory you could still try to
> change domain names of the site, though I'm not exactly sure how you would
> do that and I don't think it would work right.  Here's why...when a browser
> requests an item from a server it sends the hostname in the HTTP header.
> This seems redundant usually, as the CNN servers know they are CNN so why
> send "cnn" in the header.  This is because the server can serve up
> different content based on the header value (look up virtual hosts, and
> this is not virtual machine stuff).  So while some web-servers will serve
> up the same content whether you request it from the IP or a hostname,
> others will serve up something different.  Also the issue of SSL
> certificates.  The SSL cert has to match the site that the browser is going
> to by name.  SSL certs cannot be tied to an IP address and if you try to
> forward a SSL cert through a domain-name-changed proxy service then the
> name the browser has for a site will not match the CN (common name) value
> in the SSL cert itself..and thus the browser will throw it's arms up,
> complain, warn, etc.
>
> For a normal forward HTTP proxy there is a way to set them up as a secure
> proxy which will handle the SSL certs correctly but that is because there
> is no domain-name changing happening in the process.
>
> So, I'm not sure if what you're trying to do will work for a site as
> complex as CNN.  Could you do a domain-name-change on a buddy's site with
> very little interconnecting..sure..but it would still be a very statically
> defined setup.
>
> Good Luck...
> -Mark
>
>
> On Sun, Jan 26, 2014 at 8:08 PM, MM KP  wrote:
>
>> Hello all
>>
>> I am new to apache & the apache mailing list so PLEASE forgive me for my
>> long message :
>>
>>
>> I am trying to configure a nice reverse proxy using Apache. Basically
>> this is what I want : i want to be able to browse to something like
>> testproxy.myproxy.com and proxy to www.cnn.com. I want to be able to see
>> images and i want javascript and css and all that good  stuff loaded as
>> well. I already created a DNS record for testproxy.myproxy.com and this
>> is the configuration im using for the virtual host:
>>
>>
>> 
>>ServerName testproxy.myproxy.com
>>ProxyRequests off
>>ProxyPass / http://www.cnn.com/
>>ProxyPassReverse / http://www.cnn.com/
>> 
>>
>>
>> now when i restart the httpd service (By the way I am using RHEL 6.5), I
>> can browse to testproxy.myproxy.com but allthat appears in the browser
>> are text and links. No images are loaded nor any CSS/javascript. What am I
>> missing in my virtualhost configuration thats preventing me from loading
>> images? Ive noticed that some of the images on cnn.com are hosted on a
>> different site such as :
>>
>> http://i2.cdn.turner.com/cnn/dam/assets/
>>
>> Im guessing that since the images are hosted in the /cnn/dam/assets/
>> folder on i2.cdn.turner.com , and the virtualhost/reverse proxy is only
>> set up to proxy pass to www.cnn.com , it is not loading images and
>> scripts that are hosted on http://i2.cdn.turner.com/cnn/dam/assets/. I
>> dont know if i am even close to being accurate with my assumptions. Apache
>> is a very new thing to me.
>>
>>
>> my question is how do I go about configuring my virtualhosts properly so
>> that every image and script that is on www.cnn.com, will be URL
>> rewritten as testproxy.myproxy.com/ blah blah blah as opposed to
>> i2.cdn.turner.com/etcetcetcetc? for example one of the images on CNN's
>> homepage is:
>>
>>
>> http://i2.cdn.turner.com/cnn/dam/assets/140123154723-07-super-bowl-prep-bin-tease.jpg
>>
>> I want to be able to go to a browser, type in testproxy.myproxy.com in
>> the address bar, proxy to www.cnn.com and

Re: [users@httpd] Need help with reverse proxying and image loading

2014-01-27 Thread Mark Brodis
I am a n00b with Apache also but I'll take a stab at this.

What you are wanting is actually 2 things.  A fully functional (for at
least one website) forward HTTP proxy and also a domain name change.  In my
opinion you will never get a functional webpage (at least not something as
complex and interconnected as a CNN site) with static mappings.  Static
mappings such as mysite.com be translated to cnn.com could work...but as
you pointed out what about the rest of the items on the CNN page.  There
will be images from Facebook, Twitter, 4space, Yahoo, Google..and everyone
of those could have 50 different hosts the images could come from, the
hostnames that you will pull content from will vary throughout the day and
your region.

So, for that to work you are going to need to use a real outbound forward
HTTP proxy which your workstation/browser will know how to use (read up on
forward proxies versus reverse proxies, same software can be used in very
different ways).  Now, using that method in theory you could still try to
change domain names of the site, though I'm not exactly sure how you would
do that and I don't think it would work right.  Here's why...when a browser
requests an item from a server it sends the hostname in the HTTP header.
This seems redundant usually, as the CNN servers know they are CNN so why
send "cnn" in the header.  This is because the server can serve up
different content based on the header value (look up virtual hosts, and
this is not virtual machine stuff).  So while some web-servers will serve
up the same content whether you request it from the IP or a hostname,
others will serve up something different.  Also the issue of SSL
certificates.  The SSL cert has to match the site that the browser is going
to by name.  SSL certs cannot be tied to an IP address and if you try to
forward a SSL cert through a domain-name-changed proxy service then the
name the browser has for a site will not match the CN (common name) value
in the SSL cert itself..and thus the browser will throw it's arms up,
complain, warn, etc.

For a normal forward HTTP proxy there is a way to set them up as a secure
proxy which will handle the SSL certs correctly but that is because there
is no domain-name changing happening in the process.

So, I'm not sure if what you're trying to do will work for a site as
complex as CNN.  Could you do a domain-name-change on a buddy's site with
very little interconnecting..sure..but it would still be a very statically
defined setup.

Good Luck...
-Mark


On Sun, Jan 26, 2014 at 8:08 PM, MM KP  wrote:

> Hello all
>
> I am new to apache & the apache mailing list so PLEASE forgive me for my
> long message :
>
>
> I am trying to configure a nice reverse proxy using Apache. Basically this
> is what I want : i want to be able to browse to something like
> testproxy.myproxy.com and proxy to www.cnn.com. I want to be able to see
> images and i want javascript and css and all that good  stuff loaded as
> well. I already created a DNS record for testproxy.myproxy.com and this
> is the configuration im using for the virtual host:
>
>
> 
>ServerName testproxy.myproxy.com
>ProxyRequests off
>ProxyPass / http://www.cnn.com/
>ProxyPassReverse / http://www.cnn.com/
> 
>
>
> now when i restart the httpd service (By the way I am using RHEL 6.5), I
> can browse to testproxy.myproxy.com but allthat appears in the browser
> are text and links. No images are loaded nor any CSS/javascript. What am I
> missing in my virtualhost configuration thats preventing me from loading
> images? Ive noticed that some of the images on cnn.com are hosted on a
> different site such as :
>
> http://i2.cdn.turner.com/cnn/dam/assets/
>
> Im guessing that since the images are hosted in the /cnn/dam/assets/
> folder on i2.cdn.turner.com , and the virtualhost/reverse proxy is only
> set up to proxy pass to www.cnn.com , it is not loading images and
> scripts that are hosted on http://i2.cdn.turner.com/cnn/dam/assets/. I
> dont know if i am even close to being accurate with my assumptions. Apache
> is a very new thing to me.
>
>
> my question is how do I go about configuring my virtualhosts properly so
> that every image and script that is on www.cnn.com, will be URL rewritten
> as testproxy.myproxy.com/ blah blah blah as opposed to
> i2.cdn.turner.com/etcetcetcetc? for example one of the images on CNN's
> homepage is:
>
>
> http://i2.cdn.turner.com/cnn/dam/assets/140123154723-07-super-bowl-prep-bin-tease.jpg
>
> I want to be able to go to a browser, type in testproxy.myproxy.com in
> the address bar, proxy to www.cnn.com and when i right click on the
> image, i want the FQDN of the image to be something like
> http://testproxy.myproxy.com/images/super-bowl-prep-bin-tease.jpg.
> Basically i want all URLs to be rewritten as
> http://testproxy.myproxy.com/...etc etc etc.
>
> All help is GREATLY appreciated because well, i am totally lost here lol.
> Ive done research on using mod_proxy_html and what not, but i

[users@httpd] Apache and CHROOT Filesystem Layout Best Practices

2014-01-27 Thread Patrick Best
Hi Everyone;

Looking for some advice on CHROOT best practices with regards to my Apache 
2.2.11 under Centos 6.5.   Specifcally, I am interested in 
FileSystem/Directory/FileStructure layout.  I run on Centos, but my question is 
distro-independent and I will extrapolate advice of users of other systems.  I 
require CHROOT, but am also aware of  "php_value open_basedir" protections for 
php scripts, etc.

I wish to run apache and vhosting using the integrated (as of 2.2.10) CHROOT 
and have experimented with a few configurations this far.  I wanted to approach 
the community to find a best practice with regards to CHROOT environment.

Is placing the "configuration and module etc-style " directories as well as 
"user content" directories inside the same CHROOT environment is a sane/safe 
practice?

In other words, which is the most acceptable way to specify things in 
httpd.conf (and thus arrange the filesystem/directorystructure/files 
accordingly) :

1)
(I have chosen this way for now.. not sure if correct)
ServerRoot "/data/etc/httpd"
ChrootDir /data/

2)
(This seems to mimic the URL pasted above's methodology)
ServerRoot "/someotherbasedir/etc/httpd"
ChrootDir /data/

3)
(I don't believe this is correct)
ServerRoot "/data/ "
ChrootDir /data/

4)
(I don't believe this is correct)
ServerRoot "/data/ "
ChrootDir /data/www

In all above cases the two directories mentioned contains :

/data/www -> contains vhost directories for serving content
/data/etc/httpd -> contains conf, logs, conf.d, and module directories.

Naturally, the chroot will have to have certain paths built in to support "php 
session" files (within the root), and PID files.  Probably some other things as 
well possibly.  The modules and logs currently link to the "real" filesystem by 
symbolic link.

I light up my server using the centos "service httpd start" command.  But as 
per the instructions at this (module-based-chroot, but still relevant) 
http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html 
were correct, I've had to modify my services script to symbolicly link the PID 
file from the "real" filesystem into the "chrooted" filesystem for apache to 
quit without failure. :

/etc/init.d/httpd
stop() {
   /bin/ln -s $ROOT/var/run/httpd/httpd.pid /var/run/httpd/httpd.pid

...
}


Before I start my trip down the rabbit hole and make tonnes of accomadation 
like this, am I on the right path?  Another thing to consider is that I desire 
to occasionally do an apache "reload" (gracefully) to reload newly created 
vhost configuration files.   Should those "*VHOST*.conf" files be located 
within the chroot environment or outside of the environment?

Thank you.



[users@httpd] Re: mod_proxy and redirects

2014-01-27 Thread Yan Seiner


On 01/27/2014 06:43 AM, Yan Seiner wrote:

I am trying to set up a simple mod_proxy:


ErrorLog "/var/log/apache2/wrt_error.log"
LogLevel debug
CustomLog "/var/log/apache2/wrt_access.log" combined

ProxyPreserveHost On
ProxyRequests Off
ServerName xxx.com
ServerAlias www.xxx.com
ProxyPass /foo/ http://localhost:8002/
ProxyPassReverse /foo/ http://localhost:8002/


The problem I am having is that the server at localhost:8002 
immediately issues a redirect to /cgi-bin, and I can't figure out how 
to handle that in the proxy:



"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>

http://www.w3.org/1999/xhtml";>




href="/cgi-bin/yyy">redirected page




I have several web servers at localhost:800?.  The web servers at 
localhost:800? are embedded machines so I can't easily change the code.


Any suggestions on how to proceed?


I should add that it works if I set up a virtual host for each 
localhost:800? machine, but that seems a bit overkill.


ProxyPass / http://localhost:8002/ <- works
ProxyPass /foo/ http://localhost:8002/ <- fails at the redirect

I want to have them accessible via

www.xxx.com/server1
www.xxx.com/server2
...

rather than having to have the overhead of

server1.xxx.com
server2.xxx.com
 and so on.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] mod_proxy and redirects

2014-01-27 Thread Yan Seiner

I am trying to set up a simple mod_proxy:


ErrorLog "/var/log/apache2/wrt_error.log"
LogLevel debug
CustomLog "/var/log/apache2/wrt_access.log" combined

ProxyPreserveHost On
ProxyRequests Off
ServerName xxx.com
ServerAlias www.xxx.com
ProxyPass /foo/ http://localhost:8002/
ProxyPassReverse /foo/ http://localhost:8002/


The problem I am having is that the server at localhost:8002 immediately 
issues a redirect to /cgi-bin, and I can't figure out how to handle that 
in the proxy:



"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>

http://www.w3.org/1999/xhtml";>




href="/cgi-bin/yyy">redirected page




I have several web servers at localhost:800?.  The web servers at 
localhost:800? are embedded machines so I can't easily change the code.


Any suggestions on how to proceed?

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Obtaining Heartbeat module

2014-01-27 Thread Mark Albert

Never mind, I figured it out.

./cofigure --enable-watchdog=shared --enable-heartbeat=shared
make
make install

Did the trick.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Obtaining Heartbeat module

2014-01-27 Thread Mark Albert

Hello,

I want to use the mod_heartbeat module but I don't seem to have the 
module file.
I installed the binary package for OpenSUSE 12.2 using "zypper install 
apache2" which installed version 2.2.2, it doesn't have a 
mod_heartbeat.so file in either module directory /usr/lib64/apache2 and 
/usr/lib64/apache-prefork. Adding a LOADMODULE directive yields "Module 
"mod_heartbeat" is not installed, ignoring.".
I also tried to install version 2.4 from source. The compilation and 
installation did not yield any errors, but there is no mod_heartbeat 
file in the module directory (/usr/local/apache2/modules/) either. Am I 
missing something here? How do I obtain or build the mod_heartbeat.so 
module?


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org