Re: [us...@httpd] Apache Proxy data delay question

2009-09-23 Thread Philip Wigg
> Any helpful hint would be greatly appreciated. Or suggestion where to get > the help I need when nobody can help me here. What versions of Apache and Linux are you running? What are the SSL options you've replaced with '...' in the snippet you posted? Is it only using SSL that you see delays? Do

Re: [us...@httpd] Failed to connect

2009-11-03 Thread Philip Wigg
> When I try the access using "http://localhost:23456"; I get a web page display > "It works". > Is there a way of telling the browser or apache to use this port by default? When you connect using a URL like http:/www.example.com or http://localhost, your browser will use port 80 to connect as th

Re: [us...@httpd] rewrite not working inside alias

2009-11-11 Thread Philip Wigg
I think you need to look at:- http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritebase Or just put the rewrite httpd.conf, you don't seem to require an .htaccess? - The official User-To-User support forum of the Apache

Re: [us...@httpd] Cant make apache listen on an IP address and port

2009-11-11 Thread Philip Wigg
> (99)Cannot assign requested address: make_sock: could not bind to > address 213.49.146.24:8080 > no listening sockets available, shutting down > Unable to open logs > > What could be the trouble? The server must actually have 213.49.146.24 as it's IP address. Is that the case here? It's no good

Re: [us...@httpd] SSL received a record that exceeded the maximum permissible length.

2009-11-13 Thread Philip Wigg
> NameVirtualHost 192.168.1.47:443 > NameVirtualHost 192.168.1.129:443 You can't use name based virtual hosting with SSL. Try these lines out. You need to make sure you have a Listen directive for those IP/port combinations though. Cheers, Phil. --

Re: [us...@httpd] Redirect ANY request to one page

2009-11-14 Thread Philip Wigg
Hi, Try using mod_rewrite. This configuration should work... RewriteEngine On RewriteCond %{REQUEST_URI} !^/park.html$ RewriteRule (.*) /park.html [L, R] This redirects any request except park.html. Note that if park.html contains an image, css, or whatever, it's important to also have a conditi

Re: [us...@httpd] pdf report generation - content type text/html

2009-11-16 Thread Philip Wigg
> I tried all possibilities but no luck yet. I just realized this morning that > the OS patch level on Test and Prod servers are different. Test reports are > working but not the Prod, may be due to fact that Test servers have LATEST > PATCH LEVEL??? Is it possible??? Please let me know. It's quit

Re: [us...@httpd] ProxyHTMLURLMap issues ... resent .. surely somebody can help with this

2009-11-19 Thread Philip Wigg
Hi, What version of mod_proxy_html are you using? You must have more code than you posted or are you using an old version of mod_proxy_html? In the distribution I have, there's a file called proxy_html.conf which contains all the following example configuration. Do you not have this in yours? Pr

Re: [us...@httpd] how to install gcc required for apache 2.2 on RHEL 4

2009-11-19 Thread Philip Wigg
> I am installing Apache web server 2.2.14 on RHEL 4. When I am running > configure command in the apache, it is throwing error “No c++ compiler > found”. This isn't an Apache question but anyway, you probably just need to type 'up2date gcc'. Unless there's a reason why you want to install Apache

Re: [us...@httpd] Question about redirects using RewriteMatch

2009-11-19 Thread Philip Wigg
2009/11/19 Diego, Emil : > There are some sections of the site that I wanted to setup aliases for so > when you browse to www.bus.miami.edu/businessmiami/, > www.bus.miami.edu/inthenews/ and www.bus.miami.edu/embapr/ you automatically > get redirected to the specified page. > > RedirectMatch /busin

Re: [us...@httpd] How to capture the message contents in Apache log?

2009-11-20 Thread Philip Wigg
> I am have configured my Apache as a Forward Proxy. I have set the log level > to 'DEBUG'. Even with log level DEBUG, the apache logs don't show the message > contents(payload). > Can someone please suggest me how to capture the message contents in the > apache logs. Possibly mod_dumpio is wha

Re: [us...@httpd] RewriteRule help please

2009-11-23 Thread Philip Wigg
> I have the following rewrite rule .. > > RewriteRule products/specials(.*)(.*) > /products/index.php?view=specials&$1=$2 [L] > > http://www.mysite.com/products/specials&filter=20 > --> http://www.mysite.com/products/index.php?view=specials&filter=20= > > The problem is the trailing '=' > > I have

Re: [us...@httpd] RewriteRule help please

2009-11-23 Thread Philip Wigg
> RewriteRule products/specials(.*) /products/index.php?view=specials&$1=$2 [L] > > The rewritten url is close but still has the trailing '='. What you've put there is different to what I suggested, since you've kept the =$2 at the end. I still have a feeling this won't be totally what you need th

Re: [us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Philip Wigg
> However, the problem we have stumbled onto is the maximum size of the query > string that we can use... this is limited to 8190 bytes... I believe this is > a "Directive" constraint in Apache called: LimitRequestLine > > We understand that there isn't such a limit using a "post" request but > bef

Re: [us...@httpd] CGI Apache Directive: LimitRequestLine

2009-11-25 Thread Philip Wigg
> Alas that isn't possible... there is a constraint in Apache that limits this > to 8190... see following help text from Apache: > Default: places 8190 in the edit field and "Bytes" in the first drop-down > menu. > Maximum: places 8190 in the edit field and "Bytes" in the first drop-down > menu

Re: [us...@httpd] about ServerLimit and ThreadLimit

2009-12-14 Thread Philip Wigg
> On the documentation of Apache2.2 > ServerLimit is a hard limit on the number of active child processes, and > must be greater than or equal to the MaxClients directive divided by > the ThreadsPerChild directive. ThreadLimit is a hard limit of the number of > server threads, and must be greater t

Re: [us...@httpd] about ServerLimit and ThreadLimit

2009-12-14 Thread Philip Wigg
> I got prefork.c. Can you drive me I'm afraid I can't drive you, you'll have to read the documentation about the process models. Here's a good start:- http://httpd.apache.org/docs/2.2/mpm.html http://httpd.apache.org/docs/2.2/mod/prefork.html It might be that switching to the worker MPM is what

[us...@httpd] Help with redirects and port-forwarding.

2009-12-16 Thread Philip Wigg
Hi, I'm using Apache/1.3.36 and I don't have any room to change the version at the moment. I have a separate Virtual Host listening on port 8001:- DocumentRoot "/opt/apache_1.3.36/htdocs" ServerName www.example.co.uk ErrorLog /var/log/http/example_error_log TransferLog /var/log/h

Re: [us...@httpd] Help with redirects and port-forwarding.

2009-12-16 Thread Philip Wigg
> What happens if you just replace you last RewriteRule by >     RewriteRule ^(.*)$ http://www.example.co.uk/portal [R=301] > > By doing the [R=301], you are forcing a 301 response back to the browser > anyway, so you might as well make it explicit, and it should not add any > extra overhead. > > O

Re: [us...@httpd] Re: SSLProxyEngine config help

2009-12-18 Thread Philip Wigg
> On Thu, Dec 17, 2009 at 9:45 PM, Todd Volkert wrote: >> >> Ok, hopefully I'm not missing something stupid again...  I'm trying to >> enable the SSL proxy engine for use in one of my virtual hosts, and though >> it seems to accept my SSLProxyMachineCertificateFile upon startup, I get >> gobledego

Re: [us...@httpd] Re: Enabling SSL on VirtualHosts Revisited

2009-12-18 Thread Philip Wigg
Possibly the information you need is here:- http://httpd.apache.org/docs/2.2/vhosts/name-based.html When adding a name-based Virtual Host the... "Main host goes away If you are adding virtual hosts to an existing web server, you must also create a block for the existing host. The ServerName an

Re: [us...@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?

2010-01-14 Thread Philip Wigg
2010/1/14 Francis GALIEGUE : > Hello everyone, > > For a production platform, we have plans to migrate to Apache 2.2, > using mod_proxy_ajp and mod_proxy_balancer instead of mod_jk. > > Unfortunately, while the "single Tomcat below" case works with no > problem, the balancer does not work at all...

Re: [us...@httpd] How to check that mod_deflate is enable ?

2010-02-04 Thread Philip Wigg
> many many thanks for your kind attention and solution. It helped me. > Is there any way to check the deflate is operational ? Also trying reading the mod_deflate documentation:- http://httpd.apache.org/docs/2.2/mod/mod_deflate.html There you will see examples of how to configure a mod_deflate

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Philip Wigg
> I'm running a default httpd install from the yum repository (Fedora > 12). The user and group that starts the httpd process is "apache" > (default configuration in httpd.conf). > > The default page is located in /var/www/html/ > > I have a few users on this box for whom I need to setup virtual ho

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Philip Wigg
First of all, you're top posting. Google that to see why that's a bad thing if you don't know what it means. You need to set your /home/somebody/www directory to readable and executable by the 'apache' user:- chmod g+rx /home/somebody/www and then the files in that directory should be readable:-

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Philip Wigg
On 4 February 2010 14:34, Perl Whore wrote: > I'm still getting the permission error. > > [Thu Feb 04 06:47:11 2010] [error] [client 1.2.3.4] (13)Permission > denied: access to / denied > [Thu Feb 04 07:29:05 2010] [error] [client 1.2.3.4] (13)Permission > denied: access to /test.htm denied > [Thu

Re: [us...@httpd] How to check that mod_deflate is enable ?

2010-02-05 Thread Philip Wigg
> This experiment does not affect other sites running here and log > analysis is easy also. After restarting the apache I have visited some > of the pages from that side but no more difference in the log . mod_deflate won't automatically start putting entries in your current access logs. Read the

Re: [us...@httpd] Apache Redirection Issue + + for Encoding/Decoding

2010-02-05 Thread Philip Wigg
> Kidly let me know what should i do to preserve the URL format which i send > to Apache for redirection. I'm not totally sure, but I think what you might be looking for is the 'B' flag for mod_rewrite. http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Search for 'escape backreferences'. So

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-12 Thread Philip Wigg
On 9 February 2010 19:51, Jonathon Veencamp wrote: > I don't think it's a poor editting thing.  I think this is the difference > between Unix and Windows and CR/LF on Windows versus LF on Linux.  The HTTP > server is adding CR/LF to .txt files to display them correctly in the > browser.  But I can

Re: [users@httpd] Debugging mod_rewrite

2013-08-01 Thread Philip Wigg
On 1 August 2013 03:13, C. Benson Manica wrote: Apache creates the log file I specify, but logs nothing to it even when > processing rewrite rules that I know work. What in the heck am I missing? > Where do those config lines need to go? > Are the working rewrite rules definitely in the same Vi

[users@httpd] Trusting a single certificate with SSLCACertificateFile.

2013-10-30 Thread Philip Wigg
Hi, We want to set up SSL client authentication and we will only have a single client that we want to allow through to the website. Is it possible to allow just a single certificate to authenticate by just specifying that one cert in SSLCACertificateFile? i.e. without specifying the CA cert inste

[users@httpd] SSLRequire thread safety

2013-12-02 Thread Philip Wigg
Hi, I'm going to use SSLRequire using the worker MPM. The docs say, "The implementation of SSLRequire is not thread safe. Using SSLRequire inside .htaccess files on a threaded MPM may cause random crashes." Does this mean that I'm okay with threaded MPM if I'm only using SSLRequire inside httpd.

Re: [users@httpd] apache suddenly wont start

2014-08-28 Thread Philip Wigg
On 27 August 2014 14:50, Matthew Smith wrote: > I have the latest version. I have ColdFusion 11 installed. CF is working > and it will start with CF. I made a change to allow override all and it > wouldn't start. I changed it back and it still wont start so i dont think > the problem is there

Re: [users@httpd] Apache Performance Question

2015-07-23 Thread Philip Wigg
Hi, There is a limit on the number of concurrent connections that Apache will serve. See if you can find the 'LogLevel' directive in your configuration and then set it to 'info'. Apache will then print warnings in your error log if you're reaching those limits. http://httpd.apache.org/docs/2.2/m

Re: [us...@httpd] which cache is faster ?

2010-03-03 Thread Philip Wigg
On 3 March 2010 14:12, Sachin Gopal wrote: > Hi > On a production machine we want to deploy caching where users would be > around 300. Which cache is > faster and why ? Mod_mem_cache or mod_disk_cache. There's a good explanation of the advantages and disadvantages of both here:- http://httpd.apa

Re: [us...@httpd] Reverse proxy with mod_rewrite using RewriteRule [P]

2010-03-04 Thread Philip Wigg
> I don't get it, I must be missing something. Any clue, please? You're possibly in a situation where your rewrite rule is matching against subsequent requests, causing a loop. For example:- 1. You make a request to /something/ which is proxied by your rule to http://www.mysite.es/something/ 2.

Re: [us...@httpd] Cannot download files over SSL in Internet Explorer - where is Cache-Control: no-cache header being set?

2010-03-04 Thread Philip Wigg
On 4 March 2010 12:31, Baljeet Nijjhar wrote: > Hi > I am having trouble downloading files over SSL in Internet Explorer. After > some digging, I believe this is because a Cache-Control: no-cache HTTP > header is being added by my Oracle Apache 2 HTTP proxy server to the > responses sent from my a

Re: [us...@httpd] Cannot download files over SSL in Internet Explorer - where is Cache-Control: no-cache header being set?

2010-03-04 Thread Philip Wigg
> Sounds strange. Do you have anything else modifying the HTTP response > headers in front of your web servers, for example, a load-balancer? Just in case you have an F5 BIG-IP WebAccelerator, there is a known issue regarding this (needs login):- https://support.f5.com/kb/en-us/solutions/public/9

Re: [us...@httpd] RE: Question about HTTPS without SSL???

2010-03-05 Thread Philip Wigg
On 5 March 2010 08:00, Francisco Javier Morales López de Gamarra wrote: > > Because . could I try to use a ErrorDocument or Redirect 302 > > directive for inform that the page is not available and that try woth no ssl > address? It's not possible because the SSL negotiation takes place befor

Re: [us...@httpd] Cannot download files over SSL in Internet Explorer - where is Cache-Control: no-cache header being set?

2010-03-05 Thread Philip Wigg
On 4 March 2010 18:35, Baljeet Nijjhar wrote: > Hi i dont think there is anything in front. There is some communication with > Oracle WebGate and Oracle Identity and Access Manager but nothing that > obviously sets these headers on the response once it leaves the application > server. > I have tri

Re: [us...@httpd] Cannot download files over SSL in Internet Explorer - where is Cache-Control: no-cache header being set?

2010-03-05 Thread Philip Wigg
'in the mix'. > > On Fri, Mar 5, 2010 at 10:42 AM, Philip Wigg wrote: >> >> On 4 March 2010 18:35, Baljeet Nijjhar >> wrote: >> > Hi i dont think there is anything in front. There is some communication >> > with >> > Oracle WebGate an

Re: [us...@httpd] Virtual hosting problem

2010-03-05 Thread Philip Wigg
On 5 March 2010 15:53, Sean H. wrote: > Hi, > > I'm having a problem with virtual hosting. This isn't the first time I've > set up a virtual host, but I've apparently wandered into unfamiliar > territory. Here are the relevant host definitions: > > >    ServerAdmin s...@dezynworks.com >    Docume

Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-08 Thread Philip Wigg
On 8 March 2010 05:17, Michael Menegakis wrote: > Hi all > > A rule is in place that that rewrites domains to www.domains > > In one particular home dir, I need the opposite, > > RewriteEngine On > RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC] > RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L] >

Re: [us...@httpd] can .htaccess make url better ?

2010-03-08 Thread Philip Wigg
On 8 March 2010 18:56, Jonathan Zuckerman wrote: > Hey Rich, and anybody else who knows about this, what you've just said > touches on a question I've been wondering about: a few folks at work have > always told me that .htaccess was a really slow way to load configuration > because it needs to be

Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-09 Thread Philip Wigg
On 9 March 2010 07:57, Michael Menegakis wrote: > On Mon, Mar 8, 2010 at 11:12 AM, Philip Wigg wrote: >> On 8 March 2010 05:17, Michael Menegakis wrote: >>> Hi all >>> >>> A rule is in place that that rewrites domains to www.domains >>> >&g

Re: [us...@httpd] Load balancing issue.

2010-03-09 Thread Philip Wigg
On 8 March 2010 22:24, afrodom wrote: > > Hi, I am hew to Apache HTTP, so I have one problem to conceive. > May I somehow (is it possible) to use Apache server to redirect a request to > appropriate application server (like JBoss), based on some information > carried in the request? And if I can p

Re: [us...@httpd] Load balancing issue.

2010-03-09 Thread Philip Wigg
> I was wondering, may I somehow implement some business logic inside apache, > and read each user request, which will carry the information (inside > request), upon what will be decide to what server it should be redirected? Normally you would 'carry the information' inside the URI. For example,

Re: [us...@httpd] Load balancing issue.

2010-03-09 Thread Philip Wigg
> Hi, thanks on your direction. Somehow my idea solution is probably the most > resolvable by SOAP messages. > I would appreciate, if you can redirect to some good article about just > failover, in the sense that,ONLY when main server goes down, a request to be > redirected to another one in cluste

Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-09 Thread Philip Wigg
> It goes into an infinite loop again. I believe the root is forcing a > rule by 'inherit'. If I understand you correctly, you don't have access to the main httpd configuration file. If there's a rewrite in that file which is redirecting your site from domain.com to www.domain.com then I can't thi

Re: [us...@httpd] mpm_worker and mod_ssl: requirements to OpenSSL

2010-03-09 Thread Philip Wigg
> I want to set up a httpd with a worker MPM and mod_ssl. > My question is - will I need a threadsafe build of OpenSSL to > have mod_ssl function correctly? I couldn't find this documented. > (if it is and I just missed it, please point me into the right direction) > I think the particular versions

Re: [us...@httpd] RE: mod_proxy_balancer back end status check

2010-03-09 Thread Philip Wigg
On 9 March 2010 17:47, Edward Quick wrote: > Here’s my configuration. After the 15 seconds timeout, the back end server > (listening on port 8080 here)  returns a 502 page. Is there any > configuration I can add to detect that beforehand, and get the balancer to > redirect my request to the other

Re: [us...@httpd] RE: mod_proxy_balancer back end status check

2010-03-10 Thread Philip Wigg
On 9 March 2010 23:01, Edward Quick wrote: > Further testing showed this succeeded when the server was busy. The balancer > marked the member's status as Err. > However later after firing continuous requests, the backend ran out of > memory, causing it to return a 500, and then the balancer mark

Re: [us...@httpd] myriads of access to unknown pages on my server bring my server down (DOS?)

2010-03-10 Thread Philip Wigg
On 10 March 2010 13:34, peter pilsl wrote: > > My apache was slowing down big time today morning and when I looked at the > logs I realized that I've approx 10 page-requests per second from various > ip's to pages that are not hosted on my server. > > example: > > buzzurl.jp 204.45.41.82 - - [10

Re: [us...@httpd] How can I configure setting a Header in httpd.conf based on content type?

2010-03-10 Thread Philip Wigg
On 10 March 2010 15:03, Baljeet Nijjhar wrote: > > Hi > I'd like to try and configure the following outcomes in my httpd.conf: > a) for static images, stylesheets, javascript, Cache-Control:max-age > 3600 and Expires: + 3600. This I can easily do by using the ExpiresByType > directive for these co

Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Philip Wigg
On 11 March 2010 11:28, Milan Tomic wrote: > > I have in my htpd.conf: > > > ProxyPass /Context1 ajp://localhost:8008/Context1 > ProxyPass /Context2 ajp://localhost:8008/Context2 > > > if I say: > > JkMount /Context1 worker1 > JkMount /Context2 worker2 > > Is this OK? This means /Context1 will b

Re: [us...@httpd] Worker inside ProxyPass

2010-03-11 Thread Philip Wigg
> Thank you very much for your help. My problem is that one Tomcat runs out of > resources and then HTTPD also stop forwarding requests to other Tomcats. I'm > using only ProxyPass, without JkMount: > > ProxyPass /Context1 ajp://localhost:8008/Context1 > ProxyPass /Context2 ajp://localhost:8009/C

Re: [us...@httpd] How to block IP addresses to the whole server?

2010-03-11 Thread Philip Wigg
On 11 March 2010 14:42, Je suis la poubelle wrote: > By going down all those conf files and reading from the web, I > understand that I could write > > deny from a.b.c.d > > inside every section I could find in order to block > access to IP address a.b.c.d > >   However, there are quite

Re: [us...@httpd] rewrite rule

2010-03-11 Thread Philip Wigg
On 11 March 2010 15:56, Richard Schoenig wrote: > So here is the issue I am having now I have separate servers I am trying to > set this rule up on so that if a n=1 or an n=2 it accesses server 1, and if > an n=3 then it accesses server 2 > > > > The rules I have setup are on server 2 I have it co

Re: [us...@httpd] Number of https virtual hosts support under v2.0.59

2010-03-12 Thread Philip Wigg
On 12 March 2010 16:43, Ruiyuan Jiang wrote: > Hi, Krist > > I tested with Apache 2.2.15 reverse proxy with two certs on the Apache, one > is real cert and the other is self-signed. The configuration is virtualhosts > for ssl. > The results that I got are: > > On PC client: > > Firefox v3.5.8 sh

Re: [us...@httpd] How to block IP addresses to the whole server?

2010-03-16 Thread Philip Wigg
On 16 March 2010 15:31, Je suis la poubelle wrote: >     Thanks to all for your replies.  For the record, is > the best option for me.  This is the solution I use: > > edit /etc/apache2/httpd.conf to add the following section: > >  Order Allow,Deny >  Deny from xx.xx.xx.xx >  Deny from xx.xx.xx.

Re: [us...@httpd] mod_ssl newbie question

2010-03-17 Thread Philip Wigg
On 17 March 2010 14:32, howard chen wrote: > I have a .crt file and it is issued by a CA. > > By looking at the .crt file, the Private Key is not included in the .crt file. > > My question: How can I generate the Private Key so I can use the > directive SSLCertificateKeyFile? > > reference: > htt

Re: [users@httpd] Currently facing some reverse proxy issues

2013-04-10 Thread Philip Wigg
Try removing your ProxyPass and ProxyPassReverse directives from inside directives and just put them directly inside your Then use them as detailed in the docs:- http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass i.e. something like:- ProxyPass /version_App1/subdirectory http://ipA

Re: [users@httpd] Listen on one port, but act as if on another

2013-06-06 Thread Philip Wigg
It is possible that you are looking for:- http://httpd.apache.org/docs/current/mod/core.html#usecanonicalphysicalport On 3 June 2013 09:33, plot.lost wrote: > Is there a way to configure apache to listen on one port (for example, > 450) but to act as if it is listening on a different port (f