[users@httpd] Apache2::SiteControl Perl application support channels

2022-05-12 Thread Matt Zagrabelny
Greetings Apache users, I've got a legacy web application (Netdot) based on a Perl module, Apache2::SiteControl. I'm attempting to hack on the code of the application, but am hitting a block that I can't get past. I'm hoping to find a/some support channel(s). Do any folks on this list have sugge

Re: [users@httpd] help with reverse proxy

2021-10-06 Thread Matt Zagrabelny
On Wed, Oct 6, 2021 at 3:18 PM Nick Kew wrote: > > > Sort of. Chromium is now working, but FF is still reporting the > > "Content Encoding" issue. > > Have you cleared FF's cache? Well Not explicitly. I did use ++R, which I was under the impression that that did a full reload and ignored cac

Re: [users@httpd] help with reverse proxy

2021-10-05 Thread Matt Zagrabelny
Hi Nick, Thanks for the reply! On Tue, Oct 5, 2021 at 3:02 PM Nick Kew wrote: > > > > > On 5 Oct 2021, at 16:39, Matt Zagrabelny wrote: > > > > I am trying to configure a reverse proxy and am following the config file: > > What you've described looks basic

[users@httpd] help with reverse proxy

2021-10-05 Thread Matt Zagrabelny
Greetings, Running: dpkg -l apache2 | grep ii ii apache22.4.48-3.1+deb11u1 amd64Apache HTTP Server I am trying to configure a reverse proxy and am following the config file: /etc/apache2/mods-available/proxy_html.conf and the website: http://www.apachetutor.org/admin/reversepr

RE: [users@httpd] Reverse proxy

2020-03-24 Thread Muggeridge, Matt
t;%h %l %u %t \"%r\" \"%{Content-Type}o\" \"C:%{Cookie}i\" \"S-C:%{Set-Cookie}o\" %>s %b" TransferLog "/store/log/httpd_access_log" Matt. From: Mark Brodis Sent: Wednesday, 25 March 2020 1:58 AM To: users@httpd.apache.org Subject:

[users@httpd] RE: query on apache reverse proxy

2020-01-23 Thread Muggeridge, Matt
y need things like: SetOutputFilter AddOutputFilterByType SUBSTITUTE text/javascript text/html text/css That's all for now. Matt. From: Sontakke, Sachin (NonEmp) Sent: Friday, 24 January 2020 1:48 AM To: users@httpd.apache.org; Muggeridge, Matt Subject: RE: query on apache reverse proxy Tha

[users@httpd] RE: query on apache reverse proxy

2020-01-22 Thread Muggeridge, Matt
of other challenges that you will only discover through trial-and-error. There are also many ways to substitute things, so that also requires experimenting to learn what works best for your application. There is a lot more to configuring an application to use the reverse-proxy than what I say

[users@httpd] Modifying Headers Programmatically

2019-09-09 Thread Muggeridge, Matt
or any pointers. Matt. PS: So far, I've read through handlers, filters, proxy options, asis, and more. I'm beginning to think this might require my own module???

RE: [users@httpd] Control / Modify the HTTP Status Line

2019-05-22 Thread Muggeridge, Matt
responses are not valid, then hunt down and fix/remove the ‘redirect’ configuration options in either a .htaccess or some other configuration file. Matt. From: Shmuel Krakower Sent: Thursday, 23 May 2019 4:00 AM To: users@httpd.apache.org Subject: [users@httpd] Control / Modify the HTTP Status

RE: [users@httpd] Re: Apache web server devouring resources

2019-03-28 Thread Muggeridge, Matt
t off the top. You will need to profile the system using a myriad of tools that suit your need (e.g. tcpdump, lsof, top, netstat, ss, and a large variety of others, depending on what you learn along the way). Matt. From: Rose, John B Sent: Friday, 29 March 2019 3:56 AM To: users@httpd.apach

[users@httpd] RE: Help configure a Reverse proxy with Substitute

2019-03-18 Thread Muggeridge, Matt
7;expr=', as follows: Substitute "s|src=\"(.*?)\"|expr=src=\"%{st}e/lp/$1\"|i" I'm just reading from the docs and have not tried it myself. Matt. From: Flaviu Radulescu Sent: Friday, 15 March 2019 7:47 PM To: users@httpd.apache.org Subject: Help configure a Rev

RE: [users@httpd] Getting port 80 error even though listening on different port

2019-02-17 Thread Muggeridge, Matt
httpd, and repeat the lsof command. Matt. From: Mike Starr [mailto:starrten...@gmail.com] Sent: Monday, 18 February 2019 1:29 PM To: users@httpd.apache.org Subject: [users@httpd] Getting port 80 error even though listening on different port I've modified the Listen directive in httpd.co

RE: [users@httpd] Use of ProxyPassReverse

2019-01-29 Thread Muggeridge, Matt
on header to be: HTTP/1.1 302 Found Location: http://example.com/mirror/foo/quux The client then reissues the request to the Location http://example.com/mirror/foo/quux and the Reverse Proxy forwards it onto http://backend.example.com/quux. Matt. From: Ananya Dey [mailto:ananyadey...@gmail.c

[users@httpd] RE: Can I use If condition against custom header name that my request is passing in Apache 2.4

2019-01-24 Thread Muggeridge, Matt
Ø Cannot parse condition clause: Unterminated string or variable \n Did you try terminating your string? Check your syntax. Matt. From: Naveen Nandyala [mailto:naveen.nandya...@walmart.com.INVALID] Sent: Friday, 25 January 2019 9:00 AM To: users@httpd.apache.org Subject: [users@httpd] Can I

RE: [users@httpd] Doubts in apache-2.4.37

2019-01-15 Thread Muggeridge, Matt
. Regarding encryption, that depends on how your ProxyPass directive is written. If the target URL uses the ‘https’ scheme, then it will be encrypted. Matt. From: Hemant Chaudhary [mailto:hemantdude.chaudh...@gmail.com] Sent: Tuesday, 15 January 2019 9:48 PM To: users@httpd.apache.org Subject: Re

[users@httpd] RE: About Using ProxyPass Directive

2019-01-14 Thread Muggeridge, Matt
Ø ProxyPass "/?q=accesskey" From the ProxyPass documentation, it states: url is a partial URL for the remote server and cannot include a query string. If you must use a query string then presumably you will need the more flexible RewriteRule directive with the [P] flag. Matt. F

[users@httpd] RE: Updating Response url from Apache

2019-01-13 Thread Muggeridge, Matt
There are bound to be other approaches, but one method is to configure the www.external.com server as a reverse proxy. This assumes you have control of the web server running on www.external.com. Matt. From: Naveen Nandyala [mailto:naveen.nandya...@walmart.com.INVALID] Sent: Monday, 14

[users@httpd] RE: Configuring reverse proxy

2019-01-13 Thread Muggeridge, Matt
what you're asking to comment. Matt. From: Osman Zakir [mailto:osmanzaki...@hotmail.com] Sent: Saturday, 12 January 2019 9:16 PM To: users@httpd.apache.org Subject: [users@httpd] Configuring reverse proxy I set up port forwarding on my router, so I think I'm ready to try this again. But f

[users@httpd] Permanently cache reverse-proxy results

2018-11-12 Thread Muggeridge, Matt
The reverse-proxy receives the client's HTTP GET request, then: 1. Retrieves gzipped content from a back-end server 2. Inflates content 3. Performs many substitutions across various resources (JS, HTML, CSS, etc) 4. Deflates resulting content 5. Delivers response to

[users@httpd] Upgraded from Apache 2.2 to 2.4 now getting redirect loop problem

2018-09-06 Thread WISE, MATTHEW A (Matt) CTR STRATCOM J64 (US)
we may just be missing a small detail. Thank you for your consideration, Matt Wise - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

RE: [users@httpd] Modifying request body and content type going to proxy url

2018-06-04 Thread Muggeridge, Matt
ilterByType SUBSTITUTE application/x-java-jnlp-file Substitute "s#codebase=(.*):1443#codebase=$1:443/abc#q" Substitute "s#1443#443#nq" Matt. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

RE: [users@httpd] How to benchmark ChaCha20-Poly1305 capable websites using Apache Benchmark (ab) tool?

2017-07-28 Thread Matt Holdsworth
I finally muddled my way through building the latest httpd trunk code (I couldn't work out if/how it's possible to just build ab without the rest of httpd), so now have a version of 'ab' which supports testing of ChaCha20-Poly1305. :) In case it's useful to anybody else, here are the steps I us

RE: [users@httpd] How to benchmark ChaCha20-Poly1305 capable websites using Apache Benchmark (ab) tool?

2017-07-26 Thread Matt Holdsworth
commend re: building 'ab' from source please? Thanks, Matt Boots UK Limited, Registered 928555, Nottingham NG2 3AA This e-mail (including any attachments) is confidential. It may be read, copied and used only by the intended recipient. If you are not the intended recipient you should no

[users@httpd] How to benchmark ChaCha20-Poly1305 capable websites using Apache Benchmark (ab) tool?

2017-07-25 Thread Matt Holdsworth
are indeed listed, so I'm confused why my ab test is failing for the ECDHE-ECDSA-CHACHA20-POLY1305 suite. Any tips would be much appreciated! Btw, I asked the same question on superuser.com, here: https://superuser.com/questions/1231720/how-to-benchmark-chacha20-poly1305-capable-websites-using-apa

[users@httpd] Re: Matt Tosto has shared a document on Google Docs with you

2017-05-03 Thread Matt
Ignore the previous email you may have received from me with a shared Google Doc. It is not valid. On Wed, May 3, 2017 at 1:34 PM, wrote: > Matt Tosto has invited you to view the following document: > >

[users@httpd] Apache won't start due to "proxy mutex" error?

2016-04-23 Thread Matt Gregory
t;proxy mutex" means. I don't have any proxy modules being loaded in my config (at least not that I'm aware of). I guess it's having a problem creating a file somewhere? Thanks for any help, Matt - To unsu

Re: [users@httpd] Using mod_lua to modify request body before being sent to mod_proxy

2016-04-18 Thread Matt Hughes
.com) wrote: On Fri, Apr 15, 2016 at 9:10 PM, Matt Hughes wrote: > I currently have Apache setup as a reverse proxy to another server. > > I was hoping to use mod_lua to slightly tweak the request body of incoming > requests before sending them off to the other server. I have

[users@httpd] Using mod_lua to modify request body before being sent to mod_proxy

2016-04-15 Thread Matt Hughes
I currently have Apache setup as a reverse proxy to another server. I was hoping to use mod_lua to slightly tweak the request body of incoming requests before sending them off to the other server. I have mod_lua setup enough so that I have a LuaHookInsertFilter that is pointing to my LuaInputFi

[users@httpd] Subdomain Rewrite including HTTP -> HTTPS

2015-01-11 Thread Matt .
h the non-ssl vhost: ServerName foo.td ServerAlias *.foo.tld I would assume this should be working. I'm actually not sure how to rewrite all http requests to https in this matter. Why am I gettting a redirect (302) at the moment and what am I doing wrong her

[users@httpd] Re: How to use ap_parse_form_data and keep request body?

2014-08-01 Thread Matt Hauck
quest_module dynamically rather than a reference to it at compile time? Help appreciated. Thanks. On Thu, Jul 31, 2014 at 9:21 PM, Matt Hauck wrote: > I am developing a module for apache that performs some authentication > before passing requests off to the backend. Some of this authenticatio

[users@httpd] How to use ap_parse_form_data and keep request body?

2014-07-31 Thread Matt Hauck
<http://stackoverflow.com/questions/25071396/how-to-use-ap-parse-form-data-and-keep-request-body> first, then decide to ask it here as well since apache-module questions did not seem to be very well represented on stackoverflow...) -- Matt

[users@httpd] ProxyPass from MySQL LookUp (on Start)

2014-05-22 Thread Matt .
e this the same way as a anti-spam-gw works, it's a proxy too but than I need this for domains to subdomains in a transparent way. I hope someone can help out. Thanks! Matt

Re: [users@httpd] Allowing Robots.txt

2011-10-10 Thread Matt
Is there a way to do something like this? AuthName "Restricted Area" AuthType Basic AuthUserFile /var/www/.htpasswd AuthGroupFile /dev/null require valid-user I basically want to require a password everywhere but on robots.txt and the downloads folder. I want to still require encryption and li

Re: [users@httpd] Allowing Robots.txt

2011-10-10 Thread Matt
> On October 10, 2011 12:45 , Matt wrote: >> >> I want to restrict http access to the server to certain subnets, >> require SSL and a username and password.  The exception is the >> robots.txt file.  I want to allow anyone access to that.  How do I >> tell it not

[users@httpd] Allowing Robots.txt

2011-10-10 Thread Matt
In .htaccess I have something like this: order allow,deny allow from 192.168.x.x/24 allow from all RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} / RewriteRule ^(.*)$ https://mydomain49459302.com/$1 [R,L] AuthName "Restricted Area" AuthType Basic AuthUserFile /var/

[users@httpd] Question re: httpd automatically stopping

2011-05-16 Thread Matt Windsor
Every so often the httpd service on our server will stop - I'm not seeing any attempts to automatically restart. Any thoughts? A friend of mine recommended the apache userlist. J The only things of interest I'm seeing in the error_log are the following: PHP Warning: Directive 'safe_mode' i

Re: [users@httpd] Htaccess Help

2011-04-26 Thread Matt
> > allow from all > So would it be: order allow,deny allow from x.x.x.0/24 allow from all Or does it matter which comes first? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.

[users@httpd] Htaccess Help

2011-04-26 Thread Matt
I have an .htaccess file like so. order allow,deny allow from x.x.x.0/24 I have this in my root html directory and it works fine. Only allows access by the x.x.x.0/24 subnet. Thing is I have one file ~"siteinfo.html" that I want to allow anyone to access. How would I do that? ---

Re: [users@httpd] Newbie

2011-02-24 Thread Matt Guise
te folder. Mathewguise/sites. http://192.168.1.100/~mathewguise/ Thanks for helping me with my extremely novice questions. Matt On 2/24/11 12:57 PM, "Doug McNutt" wrote: > At 11:40 -0600 2/24/11, Matt Guise wrote: >> My ultimate goal is to run the server on my iMac running

Re: [users@httpd] Newbie

2011-02-24 Thread Matt Guise
hanks for helping me with my extremely novice questions. Matt On 2/24/11 11:16 AM, "Tom Evans" wrote: > On Thu, Feb 24, 2011 at 5:01 PM, Matt Guise wrote: >> Please forgive if I am sending this to the wrong place. >> >> I am a newbie and I am trying to reinsta

[users@httpd] Newbie

2011-02-24 Thread Matt Guise
Please forgive if I am sending this to the wrong place. I am a newbie and I am trying to reinstall my apache server. Please let me know if I sent this to the wrong place and I will no longer bother you. Please direct me to the right place. Thanks Matt

Re: [us...@httpd] Httpd proxy of Tomcat instance continually timing out

2010-11-08 Thread Matt Iavarone
On Mon, Nov 8, 2010 at 12:54 PM, Ari King wrote: > On Mon, Nov 8, 2010 at 12:34 PM, Jim Riggs wrote: >> On Nov 8, 2010, at 10:50 AM, Ari King wrote: >> >>> I've configured httpd (version 2.2) to be a proxy for Tomcat (version >>> 6.0.26) on a single CentOS (version 5 Final) server; unfortunately,

Re: [us...@httpd] mixing dynamic and static virtual host definitions

2010-10-25 Thread Matt Price
On 10-10-25 12:23 PM, Rich Bowen wrote: On Oct 25, 2010, at 12:07 PM, Matt Price wrote: The solution is to put a ServerName (and possibly one or more ServerAlias directives) in the second VirtualHost. thank you. Things seem to work now -- though I confess to being a bit surprised that

Re: [us...@httpd] mixing dynamic and static virtual host definitions

2010-10-25 Thread Matt Price
ng in which some traffic is matched by one of the stanzas, and some by another? And if not, is there a better trick to make that work? Thanks very much, Matt ps -- Not sure but I may have solved this by adding a ServerName * to the dynamic VirtualHost stanza. Is that bad practice? And ma

Re: [us...@httpd] mixing dynamic and static virtual host definitions

2010-10-25 Thread Matt Price
anza to instances in which HTTP_HOST matches. ServerName.Is the problem perhaps with the globbing in the directive declaration? If so I don't see how to fix it, since I can't differentiate by IP (only one IP on this

Re: [us...@httpd] mixing dynamic and static virtual host definitions

2010-10-23 Thread Matt Price
On 10-10-23 09:02 AM, Igor Galić wrote: - "Matt Price" wrote: VirtualDocumentRoot /home/drupal-commons/drupal_commons ServerName tdhc.digitalcommons.ca I don't understand why you're using VirtualDocumentRoot here, even though it'

Re: [us...@httpd] mixing dynamic and static virtual host definitions

2010-10-23 Thread Matt Price
Thanks for the input Igor, On 10-10-23 09:14 AM, Igor Galić wrote: A better way of handling this would be: Options FollowSymlinks AllowOverride None Deny from all # I like Contentnegotiation! Options +MultiViews # I usually don't allow .htaccess, but.. yeah. #

[us...@httpd] mixing dynamic and static virtual host definitions

2010-10-23 Thread Matt Price
ll me what I'm doing wrong and how I should fix it? Thanks so much for your help! Best, Matt - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for

Re: [us...@httpd] error when trying to start apache

2010-07-19 Thread Matt Funk
mmhh, i did check all my configuration files in (i am on ubuntu 10.04) /etc/apache2/sites available. none have the listen directive even in it. matt On Monday, July 19, 2010, Eric Covener wrote: > On Mon, Jul 19, 2010 at 1:44 PM, Matt Funk wrote: > > Hi, > > > > i had

[us...@httpd] error when trying to start apache

2010-07-19 Thread Matt Funk
:* LISTEN 4851/apache2 tcp 502 0 72.167.143.65:80128.123.131.126:53821 ESTABLISHED - Can anyone give me a hint or point me to some documentation on how i can deal with this? thanks matt - The

Re: [us...@httpd] How to serve pages from a hidden secondary server

2010-06-10 Thread Matt Easton
On 10 Jun 2010, at 15:08, Tom Evans wrote: > On Thu, Jun 10, 2010 at 2:56 PM, Matt Easton wrote: >> Hello there, >> >> I've just joined this group as I'm trying more complicated things now than >> I've done before in Apache! Please let me know if I&

[us...@httpd] How to serve pages from a hidden secondary server

2010-06-10 Thread Matt Easton
tu) Many thanks, and please let me know if I've missed out any vital information! Cheers, matt - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-14 Thread matt farey
is giving me quite an interesting readout and I think I've located the issue which is what Matt Farey has been saying all along about the Squid forwarding of HTTP Auth Basic Headers: I get WWW-Authenticate: Basic realm="Restricted Files" message which I'm pretty sure i

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-14 Thread matt farey
accessfine Firefox plugin is giving me quite an interesting readout and I think I've located the issue which is what Matt Farey has been saying all along about the Squid forwarding of HTTP Auth Basic Headers: I get WWW-Authenticate: Basic realm="Restricted Files" message which I'

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-14 Thread matt farey
Curl is not showing the response headers, Is it -X or -H (or neither - I forget!) If you have access to windows, you can use fiddlertool proxy, damn hot debugging proxy. But at least you can see that squid does not understand how to supply the credentials from the html! Matt Sent from my

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-13 Thread matt farey
page and see the difference Sent from my BlackBerry® wireless device -Original Message- From: Kaya Saman Date: Tue, 13 Oct 2009 11:45:01 To: Subject: Re: [us...@httpd] .htaccess files not working from internet? intranetaccess fine matt farey wrote: > Did you ever investigate

Re: [us...@httpd] .htaccess files not working from internet? intranetaccess fine

2009-10-13 Thread matt farey
Did you ever investigate the response headers or lookup basic auth in squid? Sent from my BlackBerry® wireless device -Original Message- From: Kaya Saman Date: Tue, 13 Oct 2009 11:02:52 To: Subject: Re: [us...@httpd] .htaccess files not working from internet? intranet access fine Hi gu

Re: [us...@httpd] .htaccess files not working from internet? intranet access fine

2009-10-11 Thread matt farey
Is your squid proxy set up to forward on the basic authentication headers? Doesn't sound like they are being sent to your browser Sent from my BlackBerry® wireless device -Original Message- From: Kaya Saman Date: Mon, 12 Oct 2009 00:57:20 To: Subject: [us...@httpd] .htaccess files no

[us...@httpd] Apache and domain names

2009-08-19 Thread Matt K
Can someone tell me how about hosting more then one Domain with Apache? Thanks Matt - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info.

Re: [us...@httpd] How to configure a username with colon?

2009-08-12 Thread matt farey
Hi Wong, You can have : in the password but not in the userID, see RFC2617: userid = * password= *TEXT So by using an encoding hack, you are of course no longer including a : in the userID Hope that makes sense. Matt Sent from my BlackBerry® wireless device -Original Message

Re: [us...@httpd] Spiraling Apache Server, Multiple /tmp in lsof

2009-07-16 Thread Matt Juszczak
Hi all, Just wanted to ping one more time to see if anyone had any ideas, especially related to all the /tmp entries in lsof for each apache thread which I haven't seen before. On Tue, 14 Jul 2009, Matt Juszczak wrote: Hi all, Working on debugging an apache server that continually

[us...@httpd] Spiraling Apache Server, Multiple /tmp in lsof

2009-07-14 Thread Matt Juszczak
Hi all, Working on debugging an apache server that continually keeps CPU pegged at 100%, and load average well above 30.00. To debug, I've set maxclients lower, and maxrequestsperchild to 0 (so that a tracing process doesn't continuously re-spawn). I notice a few inefficiencies in the trace

[us...@httpd] mod_fastcgi is ignoring -init-start-delay ??

2009-07-01 Thread Matt
I have this line in my /etc/httpd/conf/httpd.conf file: Include conf.d/*.conf and my fast cgi configuration looks like this: [r...@server ~]# cat /etc/httpd/conf.d/mod_fastcgi.conf ScriptAlias /fcgi-bin "/var/www/fcgi-bin/" # FastCGI # If the module hasn't been loaded yet, deny access to the dir

Re: [us...@httpd] RewriteRule for case insensitive URL

2009-06-17 Thread Matt Veitas
; > On 6/17/09, Krist van Besien wrote: >> On Tue, Jun 16, 2009 at 3:33 PM, Matt Veitas wrote: >>> Hi >>> >>> I am attempting to create a rewrite rule for our application and am in >>> need of some assistance. The application is found at the following

[us...@httpd] RewriteRule for case insensitive URL

2009-06-16 Thread Matt Veitas
in advance, Matt Veitas - 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 "

[us...@httpd] apache logging the wrong client IP address in access logs

2009-06-04 Thread Matt
Hello, I\\\'m having trouble with apache logging the wrong client IP address in the access logs. It used to log correctly and then one day it just starting logging rubbish. It used to log IP address in IPv4 now it logs them in IPv6 and its not even the right IP address and I don\\\'t have an IPv6

Re: [us...@httpd] mod-rewrite: ReWrite failure due to a "reserved" word?!

2009-05-27 Thread matt farey
though, next stop meta data and Lucene indexing via Zend eh Matt Sent from my BlackBerry® wireless device -Original Message- From: "Shahriyar \"Shehi\" Imanov" Date: Wed, 27 May 2009 23:18:56 To: Subject: Re: [us...@httpd] mod-rewrite: ReWrite failure due t

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread matt farey
You need to make sure that your html files are parsed by the php parser, find the line in http.conf and add .html (if this Is safe for your server) Or Simple chane the rewrite rule to read index.php?id= This is all assuming you have php code that uses $_GET['id'] to construct the page Sent fr

Re: [us...@httpd] Windows Server 2003 - Apache crash

2009-04-13 Thread Matt
On Mon, Apr 13, 2009 at 11:17 AM, Destone Solutions Ltd. wrote: > > php5ts.dll why not use php within apache as a module LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" also have you commented out the mysql extension in your php.ini to see whether it is a problem with your versi

Re: [us...@httpd] Doubt about disabling access to PHP files

2009-03-13 Thread matt farey
This directory should not be under your document root, instead it should lie outside the web server root, and you should use a php script to handle the download and the file and folder listing. This way when the user clicks on "http://example.org/foo/bar/word.doc"; the "/foo/bar/word.doc" will b

Re: [us...@httpd] mod_proxy not displaying images

2009-02-17 Thread Matt McCutchen
mentioned in the ProxyPassReverse documentation. I also suggest that you try a test case other than Google in case Google tries to block people from proxy-passing to them. -- Matt - The official User-To-User support fo

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-08 Thread Matt McCutchen
thorization Required) if the %{REMOTE_USER} doesn't match the directory, but I realized that wouldn't really add anything to what you are already doing. -- Matt - The official User-To-User support forum o

Re: [us...@httpd] Can not access Apache server from local network.

2009-02-07 Thread Matt McCutchen
g the connection. Make sure the firewall on the server allows incoming connections to port 80. -- Matt - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-05 Thread Matt McCutchen
On Thu, 2009-02-05 at 20:10 +1000, Steve Dalton wrote: > Matt - That method didn't work for me... it got into an internal > recursion and bombed out after 10 redirects. I think you do perhaps > need to test for something to stop it going on forever. Does this happen even with t

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-05 Thread Matt McCutchen
can drop the user_ prefix and condition. You don't need to condition on %{REMOTE_USER} either because rewrite rules don't run until after the user gains authorization. The rule I gave earlier (updated for your directory name) sho

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-04 Thread Matt McCutchen
r - I may just not have the proper search terms though (I don't know > how best to describe it) > > eg. > > http://spi...@foo.com -> /var/www/private/spidie > http://f...@foo.com -> /var/www/private/fred How about this: RewriteEngine On Rewrite

Re: [us...@httpd] Reverse Proxy URL confuion.

2009-02-04 Thread Matt McCutchen
HTML rewriting to work, a completely different approach you could try is to redirect /application to / on the front-end server: Redirect 301 /application / This will have extra overhead on every request, and it might not work depend

Re: [us...@httpd] Reverse Proxy URL confuion.

2009-02-04 Thread Matt McCutchen
On Wed, 2009-02-04 at 17:00 -0600, Robert Steinmetz AIA wrote: > Matt McCutchen wrote: > > Two issues: > > > > 1. The error you pasted suggests that your ProxyHTMLURLMap rule is not > > taking effect at all. My guess is that you need to include the > > config

Re: [us...@httpd] Reverse Proxy URL confuion.

2009-02-04 Thread Matt McCutchen
y_html/proxy_html.conf 2. Your ProxyHTMLURLMap rule is backwards, since you want to *remove* the /application prefix from the links generated by the back-end (which is the reverse of the scenario in the HOWTO, as you can see by comparing your ProxyPass directive to those in the

Re: [us...@httpd] Re: Help - Name Server - Maybe

2009-02-04 Thread Matt McCutchen
e of an over-clever HTML mailer converting URLs to links and then converting the links to a plain-text representation that is confusing in context. The text of the HTML version (which I assume is what Michael read) does not contai

Re: [us...@httpd] Reverse Proxy URL confuion.

2009-02-03 Thread Matt McCutchen
/application prefix, not add it. http://www.apachetutor.org/admin/reverseproxies -- Matt - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more i

Re: [us...@httpd] Reverse Proxy URL confuion.

2009-02-03 Thread Matt McCutchen
sounds like the application is generating an absolute link that you need to rewrite with mod_proxy_html, as mentioned in the ProxyPassReverse documentation: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse -- Matt ---

Re: [us...@httpd] Re: Help - Name Server - Maybe

2009-02-03 Thread Matt McCutchen
with the www. The hostnames with and without the www are completely independent as far as the hosts file is concerned. -- Matt - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apa

Re: [us...@httpd] Semantics of "RewriteOptions inherit" in htaccess files needs improvement

2009-02-02 Thread Matt McCutchen
On Sun, 2009-02-01 at 23:19 +0100, Bob Ionescu wrote: > 2009/1/31 Matt McCutchen : > > #1. Currently, "RewriteOptions inherit" works as if the parent's rules > > were copied and pasted into the child (after any other rules). This > > means that requests in th

Re: [us...@httpd] Semantics of "RewriteOptions inherit" in htaccess files needs improvement

2009-02-02 Thread Matt McCutchen
On Mon, 2009-02-02 at 21:00 +0100, Bob Ionescu wrote: > 2009/2/2 Matt McCutchen : > > On Sun, 2009-02-01 at 23:19 +0100, Bob Ionescu wrote: > >> E.g. domain1 points to /var/www, domain2 to /var/www/sub and > >> /var/www/sub/.htaccess inherits (i.e. 1:1 copy) /var/www

Re: [us...@httpd] Semantics of "RewriteOptions inherit" in htaccess files needs improvement

2009-02-01 Thread Matt McCutchen
On Sun, 2009-02-01 at 23:19 +0100, Bob Ionescu wrote: > 2009/1/31 Matt McCutchen : > > #1. Currently, "RewriteOptions inherit" works as if the parent's rules > > were copied and pasted into the child (after any other rules). This > > means that requests in th

[us...@httpd] Semantics of "RewriteOptions inherit" in htaccess files needs improvement

2009-01-31 Thread Matt McCutchen
nning of hook_fixup and instead skipping each individual rule if the request does not begin with its RewriteBase. Comments? I can try to implement this, but I'm new to the Apache code base, so I don't know how far I&#

Re: [us...@httpd] IP-address spoofing a concern?

2009-01-27 Thread Matt McCutchen
uot; mode that would prevent this, but it is unimplemented in Apache. Again, I would recommend https because it gives you full security against any kind of attacker on the network (assuming your users aren't in the habit of clicking through certificate warnings). -- Matt --

Re: [us...@httpd] IP-address spoofing a concern?

2009-01-27 Thread Matt McCutchen
oken. > > With HTTP Digest Authentication, it's secure. The session token may be secure, but that's useless without integrity protection of request bodies. If you want real security, use HTTPS. -- Matt -

Re: [us...@httpd] Re: UserDir + SetHandler cgi-script broken? (Apache 2.0.52)

2009-01-24 Thread Matt McCutchen
27;s switching users? According to the docs, all CGI scripts in userdirs switch users using suexec: http://httpd.apache.org/docs/2.0/suexec.html#usage Suexec is pretty picky about permissions, so check the suexec_log file for any relevant errors. -- Matt --

Re: [us...@httpd] content handler question

2009-01-23 Thread Matt McCutchen
esponse headers. If no filter does what you need, I guess you could even write your own CGI script that acts as a proxy and modifies the headers however you like. -- Matt - The official User-To-User support forum of the Apache H

Re: [us...@httpd] What is the difference between redirect and rewrite?

2009-01-21 Thread Matt McCutchen
ld make the redirect apply only to virtual hosts ending in domain.com, but if you take it out, the two are essentially equivalent. I wouldn't say one approach is better than the other for a simple redirect, but the second gives you more flexibility if

Re: [us...@httpd] passwords do not function

2009-01-19 Thread Matt McCutchen
ile is interpreted from the ServerRoot, which probably isn't what you expected. Try an absolute path here. If that isn't the problem, check the server's error log. -- Matt - The official User-To-User support forum

Re: [us...@httpd] persistent Basic Auth?

2009-01-17 Thread Matt McCutchen
JavaScript). I suggest that you just use HTTPS for everything. -- Matt - 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-ma

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Matt McCutchen
tried putting the rewrite rule just under the virtual host, in > a .htaccess file, in the httpd.conf. Nothing works. You need "RewriteEngine On". -- Matt - The official User-To-User support forum of the Apache HT

[us...@httpd] Safe namespace for passing environment vars to suexec-ed CGI script

2009-01-10 Thread Matt McCutchen
er to that documentation. I wasted an hour trying to find out how my variable was getting "lost", and I would love to save other novice Web administrators that trouble. Comments? Unless someone suggests a better approach, I will write and post the patch; i

Re: [EMAIL PROTECTED] mod_proxy_connect security questions

2008-11-12 Thread matt . farey
y change, so if possible use hosts, and lock down your DNS outgoing to the IP of your ISP. Matt Sent from my BlackBerry® wireless device -Original Message- From: Jens <[EMAIL PROTECTED]> Date: Wed, 12 Nov 2008 23:46:25 To: Subject: [EMAIL PROTECTED] mod_prox

[EMAIL PROTECTED] Custom Apache Module Compile/Runtime Failure on 64-bit RHEL 4

2008-10-24 Thread Matt Kasselman
Apache (/usr/sbin/httpd) Apache seg faults anytime a request uses the module. I boiled it down to the following lines of code by building a test module and adding a couple lines to the handler (/usr/sbin/apxs -g -n foo). void *name; name = (char *) (size_t) apr_pstrdup(r->pool,"matt");

Re: [EMAIL PROTECTED] How does Apache handle expired server certificate and expired CAroot certificate?

2008-10-16 Thread matt . farey
boards for later attack. (Passwords sent in the URL, persistent session identifiers etc...) Matt Farey Sent from my BlackBerry® wireless device

Re: [EMAIL PROTECTED] JAD And JAR MIME Issue

2008-10-11 Thread matt . farey
Add those lines (minus addtype directive) to your apache/conf/mime.types file, if in doubt open mime.types and see the format Sent from my BlackBerry® wireless device

  1   2   3   >