Re: [us...@httpd] Custom ETags

2010-04-15 Thread Brian Mearns
On Tue, Apr 13, 2010 at 4:50 PM, Florian S. wrote: > Am Dienstag, den 13.04.2010, 10:34 -0400 schrieb Brian Mearns: >> I'd like to use stronger and correlated ETag, namely the hash of the >> content being served. Obviously it's a drag to do this in-line, so I'm &g

Re: [us...@httpd] Custom ETags

2010-04-13 Thread Brian Mearns
On Tue, Apr 13, 2010 at 2:13 PM, Jonathan Zuckerman wrote: > On Tue, Apr 13, 2010 at 1:20 PM, Brian Mearns wrote: >> >> On Tue, Apr 13, 2010 at 1:13 PM, Jonathan Zuckerman >> wrote: >> > >> > >> > On Tue, Apr 13, 2010 at 12:13 PM, Brian Mearns &g

Re: [us...@httpd] Custom ETags

2010-04-13 Thread Brian Mearns
On Tue, Apr 13, 2010 at 1:13 PM, Jonathan Zuckerman wrote: > > > On Tue, Apr 13, 2010 at 12:13 PM, Brian Mearns wrote: >> >> On Tue, Apr 13, 2010 at 10:49 AM, Jonathan Zuckerman >> wrote: >> > On Tue, Apr 13, 2010 at 10:34 AM, Brian Mearns wrote: >

Re: [us...@httpd] Custom ETags

2010-04-13 Thread Brian Mearns
On Tue, Apr 13, 2010 at 10:49 AM, Jonathan Zuckerman wrote: > On Tue, Apr 13, 2010 at 10:34 AM, Brian Mearns wrote: >> >> I'd like to use stronger and correlated ETag, namely the hash of the >> content being served. Obviously it's a drag to do this in-line, so I&

[us...@httpd] Custom ETags

2010-04-13 Thread Brian Mearns
I'd like to use stronger and correlated ETag, namely the hash of the content being served. Obviously it's a drag to do this in-line, so I'm planning an automated task to generate the ETag values and store them on the server. Is there any way I can get httpd to grab these stored values for use in th

Re: [us...@httpd] proxy chaining to squid

2010-02-01 Thread Brian Mearns
On Mon, Feb 1, 2010 at 5:33 AM, Emmanuel Bailleul wrote: > > >> -Message d'origine- >> De : David Cotter [mailto:davidcot...@gmail.com] >> Envoyé : lundi 1 février 2010 11:30 >> À : users@httpd.apache.org >> Objet : Re: [us...@httpd] proxy chaining to squid >> >> n Mon, Feb 1, 2010 at 9:08

Re: [us...@httpd] SSL Reverse Proxy

2010-01-29 Thread Brian Mearns
On Thu, Jan 28, 2010 at 5:34 AM, Matus UHLAR - fantomas wrote: > On 26.01.10 15:28, Brian Mearns wrote: >> I'm looking for some clarification on how to setup a reverse proxy >> that supports SSL/TLS. My understanding is as follows (please correct >> me if I'm wro

[us...@httpd] SSL Reverse Proxy

2010-01-26 Thread Brian Mearns
I'm looking for some clarification on how to setup a reverse proxy that supports SSL/TLS. My understanding is as follows (please correct me if I'm wrong): 1. Client connects with SSL, mod_ssl handles this 2. mod_proxy handles generating a proxy-request to the configured origin server 3. SSLProxyEng

Re: [us...@httpd] how to get multiple SSL with name based vhost ?

2009-12-01 Thread Brian Mearns
On Tue, Dec 1, 2009 at 3:48 PM, Sheryl wrote: > >> Krist explained it very nicely... But maybe you still didn't get it: >> Without SNI, there is NO WAY TO DO THIS. It is a fundamental limitation of >> the HTTPS protocol with no production-grade work-around. SNI (server-name >> indication) was spec

[us...@httpd] Lightweight apache for fast proxying

2009-11-22 Thread Brian Mearns
I'm thinking of setting up apache as a fairly rich reverse proxy for a variety of different servers, and would like some suggestions on a) whether or not this is a good idea and if there are better alternatives, and b) how should I build and configure it to maximize performance. There's the execut

Re: [us...@httpd] Name virtual hosts and HTTPS

2009-11-22 Thread Brian Mearns
On Sun, Nov 22, 2009 at 1:22 PM, Florent Georges wrote: > Peter Schober wrote: > >  Thanks all for your responses! > >> Or put all vhosts in the certificate (as X.509v3 SubjectAltName >> extensions) and serve up the same cert on every vhost. > >  Yes, that's what I started to think after have seen

Re: [us...@httpd] Name virtual hosts and HTTPS

2009-11-21 Thread Brian Mearns
On Sat, Nov 21, 2009 at 11:54 AM, Florent Georges wrote: >  Hi, > >  I have one server one which I run two virtual hosts, say site1 > and site2.  They run very well for HTTP stuff for months.  Site1 > has also HTTPS access configured.  I am trying to add HTTPS > support for site2 as well.  So I cr

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

2009-11-19 Thread Brian Mearns
On Thu, Nov 19, 2009 at 5:34 AM, Philip Wigg wrote: >> 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

Re: [us...@httpd] Just curious on SPDY

2009-11-17 Thread Brian Mearns
On Tue, Nov 17, 2009 at 9:55 AM, Mike Cardwell wrote: > Brian Mearns wrote: > >>>>           Just curious to know whether  Google announcement on SPDY >>>> http://blog.chromium.org/2009/11/2x-faster-web.html needs change only in >>>> Apache web serve

Re: [us...@httpd] Just curious on SPDY

2009-11-17 Thread Brian Mearns
On Tue, Nov 17, 2009 at 6:15 AM, Mike Cardwell wrote: > Kamaraj, Jayakumar wrote: > >>            Just curious to know whether  Google announcement on SPDY >> http://blog.chromium.org/2009/11/2x-faster-web.html needs change only in >> Apache web server side or even needs change in application poin

Re: [us...@httpd] SPDY protocol

2009-11-13 Thread Brian Mearns
On Fri, Nov 13, 2009 at 11:15 AM, David Henderson wrote: > I would vote to make it a module over a patch due to Brian Mearns making a > good point about it possibly not moving beyond the IEFT.  At least a modular > design can just be dropped from the operation of the server without ha

Re: [us...@httpd] SPDY protocol

2009-11-13 Thread Brian Mearns
On Fri, Nov 13, 2009 at 9:51 AM, Mike Cardwell wrote: > Does Apache intend to add support for Googles recently announced SPDY > protocol? > > http://sites.google.com/a/chromium.org/dev/spdy/spdy-whitepaper > > -- > Mike Cardwell - IT Consultant and LAMP developer > Cardwell IT Ltd. (UK Reg'd Compa

Re: [us...@httpd]

2009-11-11 Thread Brian Mearns
; See us online at http://www.LOVEnCompany.com. > > -- Original Message -- > From: Brian Mearns > To: users@httpd.apache.org > Subject: Re: [us...@httpd] > Date: Tue, 10 Nov 2009 22:34:24 -0500 > > On Tue, Nov 10, 2009 at 6:37 PM, Eric Covener wrote:

Re: [us...@httpd] apache configuration: always go to parent directory

2009-11-10 Thread Brian Mearns
On Tue, Nov 10, 2009 at 10:00 PM, J. Bakshi wrote: > Brian Mearns wrote: >> On Tue, Nov 10, 2009 at 4:43 AM, J. Bakshi wrote: >> >>> Hello, >>> >>> I have configured a personal work-space for mine in apache where I can >>> experiment

Re: [us...@httpd]

2009-11-10 Thread Brian Mearns
On Tue, Nov 10, 2009 at 10:29 PM, Stephen Love wrote: > Ok, now we're getting somewhere... just ENOUGH to eliminate the path > inbetween... I'd just like to ask APACHE for a unique signature of the > machine sending the message to compare it against others. Nothing more, > nothing less. > > > See

Re: [us...@httpd]

2009-11-10 Thread Brian Mearns
On Tue, Nov 10, 2009 at 6:37 PM, Eric Covener wrote: > On Tue, Nov 10, 2009 at 6:20 PM, Stephen Love wrote: >> So what you are telling me is that there IS no REAL 2-way handshaking going >> on. Then we've lost ALL hope of security. >> > > What's "REAL" in this context?  It's not authenticated and

Re: [us...@httpd] Caching files on reverse proxy

2009-11-10 Thread Brian Mearns
On Tue, Nov 10, 2009 at 1:36 PM, vara prasad wrote: > Hi  All, > I have set up a reverse proxy www.example.com for an internal tomcat server > http://internal:8080 > Few files are hosted on  http://internal:8080. > My requirement is when user downloads a file from http://internal:8080 using > the 

Re: [us...@httpd]

2009-11-10 Thread Brian Mearns
On Tue, Nov 10, 2009 at 8:28 AM, Eric Covener wrote: > On Tue, Nov 10, 2009 at 8:19 AM, Stephen Love wrote: >> I have set up a routine in my server that logs all incoming IP addresses and >> parses for duplicates in the same list. HOWEVER...a person posting almost >> NEVER has the same address. I

Re: [us...@httpd] apache configuration: always go to parent directory

2009-11-10 Thread Brian Mearns
On Tue, Nov 10, 2009 at 4:43 AM, J. Bakshi wrote: > Hello, > > I have configured a personal work-space for mine in apache where I can > experiment with different sites and here is the configuration > > > Alias /personal/joydeep  /var/personal_work_area/

[us...@httpd] Conditional behavior by status code

2009-11-04 Thread Brian Mearns
Is there any way to get Apache to behave differently based on the status code, specifically apply different OutputFilters? This is similar in concept, I believe, to AddOutputFilterByType, which relies on the generated Content-Type header to determine what filter to apply. But I want to apply differ

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

2009-11-03 Thread Brian Mearns
On Tue, Nov 3, 2009 at 2:26 PM, Marcin 'Rambo' Roguski wrote: > On Tue, 3 Nov 2009 14:20:27 -0500 > b k wrote: > >> Hi all, >> PDF reports are not being generated on any browser. [...]Any help would be >> greatly >> appreciated > > Send Content-Type: application/pdf or application/octet-stre

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

2009-11-03 Thread Brian Mearns
g fine. I suspect something is wrong in the apache config. I also > checked mime.types file which includes pdf entry. > > On Tue, Nov 3, 2009 at 2:32 PM, Brian Mearns wrote: >> >> On Tue, Nov 3, 2009 at 2:26 PM, Marcin 'Rambo' Roguski >> wrote: >> > O

[us...@httpd] Limit output filter by response code

2009-10-31 Thread Brian Mearns
I'm using external filters to minify javascript and CSS files as they head out of the server. The minifier takes a good 500ms to run, causing serious drag. So I put Squid in front of the server and configured it as a caching proxy. The problem is, the filters are running even on "304 Not Modified"

Re: [us...@httpd] Is it okay to not use exportable ciphers?

2009-08-20 Thread Brian Mearns
On Thu, Aug 20, 2009 at 3:24 PM, Sander Temme wrote: > > On Aug 20, 2009, at 3:16 PM, Brian Mearns wrote: > >> For the sake of security, I'd like to configure my SSL/TLS server to >> not allow export level ciphers (using the SSLCipherSuite directive). >> Is this

[us...@httpd] Is it okay to not use exportable ciphers?

2009-08-20 Thread Brian Mearns
For the sake of security, I'd like to configure my SSL/TLS server to not allow export level ciphers (using the SSLCipherSuite directive). Is this going to realistically limit the number of people who can use a secure connection to my site? Specifically, will visitors from other countries (outside t

Re: [us...@httpd]

2009-07-06 Thread Brian Mearns
The answer is 12. On Mon, Jul 6, 2009 at 4:03 AM, John Winther wrote: > help -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://keys.gnupg.net - The official User-To-User support forum

Re: [us...@httpd] unsubscribe

2009-05-05 Thread Brian Mearns
On Tue, May 5, 2009 at 11:45 AM, tdavis wrote: > unsubscribe > > unsubscribe > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To un

Re: [us...@httpd] apache2 versus httpd

2009-05-05 Thread Brian Mearns
On Tue, May 5, 2009 at 9:35 AM, Lester Caine wrote: > André Warnier wrote: >> >> Julius Thijssen wrote: >>> >>> How annoying, having to switch naming from CentOS/RHEL to Debian. >>> It causes me to work for hours changing httpd to apache2 (and back) >>> while migrating a linux server system. >>> C

Re: [us...@httpd] RewriteMap PRG By Example Using C

2009-04-29 Thread Brian Mearns
On Wed, Apr 29, 2009 at 1:58 PM, ricardo figueiredo wrote: > Sorry, > > Let me explain my situation again. > I'm using directive RewriteMap using external rewriting program. > This program is developed in language C. > > When I require a page in the browser is shown an error (Bad Request 400). > >

Re: [us...@httpd] RewriteMap PRG By Example Using C

2009-04-29 Thread Brian Mearns
On Wed, Apr 29, 2009 at 1:25 PM, ricardo13 wrote: > > Please !!! > > Help me > > Somebody has some example of RewriteMap using external program in C !!! > There are some example in > http://www.wellho.net/resources/ex.php4?item=a603/andy PHP . > > Thank You > > Ricardo > > > ricardo13 wrote:

Re: [us...@httpd] HTML source rather than rendered page with mod_proxy_ajp

2009-04-28 Thread Brian Mearns
On Tue, Apr 28, 2009 at 9:39 AM, André Warnier wrote: > Brian Mearns wrote: >> >> On Tue, Apr 28, 2009 at 8:43 AM, mr_b wrote: >>> >>> Hi! I run use mod_proxy_ajp to run several JBosses behind an Apache HTTP >>> server (OS is Centos5). My problem: &

Re: [us...@httpd] HTML source rather than rendered page with mod_proxy_ajp

2009-04-28 Thread Brian Mearns
On Tue, Apr 28, 2009 at 8:43 AM, mr_b wrote: > Hi! I run use mod_proxy_ajp to run several JBosses behind an Apache HTTP > server (OS is Centos5). My problem: "occasionally" the browser displays the > HTML source code of the page rather than the rendered page itself. (Sorry > for not being more spe

Re: [us...@httpd] Re: Remote Browsing of Other Ports than Port 80

2009-04-27 Thread Brian Mearns
On Fri, Apr 24, 2009 at 11:36 PM, Nicholas Sherlock wrote: > jeff00seattle wrote: >> >> ISSUE: >> Opening a browser on localhost can see all declared vhost (3 different >> ports), but browsing remotely I can only see one vhost (port 80). What I >> am >> I missing? >> >> SETUP: >> I have declared u

Re: [us...@httpd] apache 2.2 and fastcgi 2.4.6

2009-04-21 Thread Brian Mearns
On Tue, Apr 21, 2009 at 4:14 PM, wrote: >> hello >>  i have debian lenny 64bit lenny server with intel quadcore cpu and 4gb >> ram (fastcgi 2.4.6). i have about 1.4 tb traffic month on this server. my >> problem is the speed of fastcgi application. when i want the visit one >> website on my serve

Re: [us...@httpd] Unique Home Page

2009-04-21 Thread Brian Mearns
On Tue, Apr 21, 2009 at 9:12 AM, André Warnier wrote: > Dondi Williams wrote: >> >> Brian, >> >> Based on this comment "...why not take this very simple approach instead >> of trying to get Apache to understand the convoluted Windows Vista >> user id system?" >> >> How would I do the same thing on

Re: [us...@httpd] Unique Home Page

2009-04-21 Thread Brian Mearns
On Tue, Apr 21, 2009 at 8:29 AM, Dondi Williams wrote: > This EXACTLY what I need > > I believe he wanted something like "Apache should return the appropriate > homepage, on the base of the UID the user used to login on the PC". > I don't really think we're talking about LDAP or SQL here.. > >

Re: [us...@httpd] openssl

2009-04-21 Thread Brian Mearns
On Tue, Apr 21, 2009 at 7:07 AM, Tirtza Bernstein wrote: > Hello, > > I installed apache with openssl on windows.  I am trying to use the openssl > command line but I get the following error > > Can’t open config file /usr/local/ssl/openssl.cnf > > Where can I change the location where it looks fo

Re: [us...@httpd] Help needed for rewrite rule

2009-04-15 Thread Brian Mearns
On Wed, Apr 15, 2009 at 9:24 PM, ravi kumar wrote: > Hi Brian, > > Thanks for your help. > I tried to resolve this issue on my own, but it didn't worked. > > For redirecting i used the below rule > "RewriteRule ^/(.*) http://mywebsite.com/spaces/ [R]" > > After executing the site i.e "http://myweb

Re: [us...@httpd] Help needed for rewrite rule

2009-04-15 Thread Brian Mearns
On Wed, Apr 15, 2009 at 7:51 PM, Brian Mearns wrote: > On Wed, Apr 15, 2009 at 7:41 PM, Igor Cicimov wrote: >> RewriteEngine On >> RewriteRule ^/(.*) /spaces/$1 >> >> Igor > > Actually, since it was specified as needing to redirect, you need the > [R] f

Re: [us...@httpd] Help needed for rewrite rule

2009-04-15 Thread Brian Mearns
On Wed, Apr 15, 2009 at 7:41 PM, Igor Cicimov wrote: > RewriteEngine On > RewriteRule ^/(.*) /spaces/$1 > > Igor Actually, since it was specified as needing to redirect, you need the [R] flag at the end, but that will end up redirecting forever. You need to either set up the rewrite to not match

Re: [us...@httpd] Example of URL-to-URL in mod_rewrite

2009-04-15 Thread Brian Mearns
On Wed, Apr 15, 2009 at 2:37 PM, André Warnier wrote: [clip] > One thing most of these people have in common however, is that there is some > limit to the time they are prepared to spend answering questions, because > they also have a life, a job, a girlfriend and/or a wife, a family, another > ho

Re: [us...@httpd] Example of URL-to-URL in mod_rewrite

2009-04-15 Thread Brian Mearns
On Wed, Apr 15, 2009 at 1:21 PM, ricardo13 wrote: > > Hi, > > Thank you > > I was reading this link. I will read again. > > But, where can I find an example URL-to-URL? > > Please > > Ricardo > > > awarnier wrote: >> >> ricardo13 wrote: >>> hi all, >>> >>> Somebody has a example about "How rewrite

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

2009-04-14 Thread Brian Mearns
On Tue, Apr 14, 2009 at 3:32 PM, ricardo13 wrote: > > Hi all, > > I have other doubt about mod_rewrite. > > Have this line in httpd.conf: > > RewriteEngine on > RewriteRule ^/index/([0-9]+)/$ /index.html?id=$1 > > When type "http://localhost/index.html?id=11"; it doesn't show URL > "http://localho

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

2009-04-14 Thread Brian Mearns
On Tue, Apr 14, 2009 at 1:43 PM, ricardo13 wrote: > > Hi all, > > This line "RewriteRule ^/index.html$ new.html" shows error. > But "RewriteRule /index.html$ new.html" sucess !!! > > And if I put the follow: >  RewriteRule ^/test.html$ index.html > > But I haven't test.html !!! What's happen ??? >

Re: [us...@httpd] Re: Apache (php5/fcgi) can't resolve hostnames

2009-04-14 Thread Brian Mearns
On Tue, Apr 14, 2009 at 11:32 AM, Aaron Turner wrote: > Nobody has any ideas??? > > On Sat, Apr 11, 2009 at 3:31 PM, Aaron Turner wrote: >> At first I thought this was a problem with my python/fastcgi config, >> but now I've noticed that php5 apps like Wordpress can't resolve hosts >> either.  Re

Re: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-04-13 Thread Brian Mearns
On Mon, Apr 13, 2009 at 11:53 AM, Arabinda Sahoo wrote: > Hi, > > My Apache Web Server is compression enabled using – MOD_DEFLATE module. > > It works fine except when the folloing URL is invoked. > > https://punirtweb1/acweb/servlet/ViewPage?outputType=ROI&outputname=%2fs1%2fBtmu%2fGiroDetails%2e

Re: [us...@httpd] Much More Betterer, but not quite Perfect...

2009-04-13 Thread Brian Mearns
gt; autoexec.bat in dos in that it runs only at server startup? > > THANK YOU for the quick reply.  I did not expect such a good answer so > fast.  LMAO, if Jerry Lewis had a Labor Day Telethon for Networking and > Servers I would be the Poster Child... > > Any more suggestions?? &

Re: [us...@httpd] the usual HELP!!!

2009-04-11 Thread Brian Mearns
On Sat, Apr 11, 2009 at 7:28 PM, E. Mail wrote: > hi, > > this will prob be a trip down memory lane for ya... > > i downloaded and installed the Apache Webserver 2.2.11 for windows on an xp > machine. > > i am trying to find a set of steps to follow to be able to host websites > from my dining roo

Re: [us...@httpd] Inserting google analytics code onto pages with apache proxy?

2009-04-10 Thread Brian Mearns
On Thu, Apr 9, 2009 at 7:51 PM, Mike Lyon wrote: > Hello All, > > So I am wondering if there is a way to have the Google Analytics code > inserted into requests as they come through an apache proxy? Or do I really > have to put the analytics code onto every page on each server? > > Thanks, > Mike

Re: [us...@httpd] RewriteRule with .flv extension

2009-04-08 Thread Brian Mearns
On Wed, Apr 8, 2009 at 12:19 PM, Josh Trutwin wrote: > I'm dealing with something odd and I can't figure out what to make of > it - I have the following rewrite rule: > > RewriteRule > ^([0-9]+)/([a-z0-9]+)/get_flash\.php$ /get_file.php?id=$1&flash=1&key=$2 > [L] > > then a URL liks this /123/2313

Re: [us...@httpd] SSl Redirect

2009-04-08 Thread Brian Mearns
On Wed, Apr 8, 2009 at 9:04 AM, Stephen Goldschmidt wrote: > Hello > > I am using apache and have a Virtualhost enabled with ssl and this works > great, using a godaddy ssl cert. > > my question is the certificate is only assigned to one domain name. > www.domain.com > > so in my browser if i go t

Re: [us...@httpd] Custom http auth

2009-04-08 Thread Brian Mearns
On Wed, Apr 8, 2009 at 9:04 AM, Tom Evans wrote: > On Wed, 2009-04-08 at 14:43 +0200, m...@bortal.de wrote: >> Hello List, >> >> is there a way to build or code or make  a custom HTTP Auth? The plain >> htaccess one looks ugly and has not all the features that i want. >> >> Are there any alternati

Re: [us...@httpd] Mass Virtual Hosting + SSL

2009-04-08 Thread Brian Mearns
On Wed, Apr 8, 2009 at 3:59 AM, Nick Cooper wrote: > 2009/4/8 Ed Lazor >> >> > Despite common quotations to the contrary, you /can/ successfully use >> > Name-based Virtual Hosts with SSL. The caveat is that you have to use >> > the same certificate and all the same SSL settings for all the virtu

Re: [us...@httpd] Mass Virtual Hosting + SSL

2009-04-07 Thread Brian Mearns
On Tue, Apr 7, 2009 at 9:04 PM, Ed Lazor wrote: > Apache 2.2 on OS X 10.5.6 > > Is there a way that Apache can be configured to automatically map > domains to directories with SSL enabled, using a single IP, and using > a common SSL cert?  And is there a way to do this with hosted domains > being

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

2009-04-06 Thread Brian Mearns
On Mon, Apr 6, 2009 at 3:28 PM, Gary Smith wrote: > Rich, > > The rewrite below is exactly what I want to do.  Thanks. > > > > From: Rich Bowen [rbo...@rcbowen.com] > Sent: Monday, April 06, 2009 12:09 PM > To: users@httpd.apache.org > Subject: Re: [us...@httpd] rewrite question > > > > > On Apr 6

Re: [us...@httpd] Need help on sub url

2009-04-03 Thread Brian Mearns
On Fri, Apr 3, 2009 at 10:16 AM, Arnab Ganguly wrote: > Hi All, > Need some technical inputs.I have a requirement for opening sub url from the > main url, and this sub url is dynamic.Is it possible to do it by using > apache webserver. > > From the browser opening suburl can be done easily, but wo

Re: [us...@httpd] Using Expires...

2009-04-01 Thread Brian Mearns
On Wed, Apr 1, 2009 at 1:01 PM, ntwrkd wrote: > If you have cached content, using expires is a very good thing to do. > It depends on your architecture and needs. > > Here are posts from two differing camps: > http://developer.yahoo.com/performance/rules.html#expires > http://www.codinghorror.com/

Re: [us...@httpd] Switching between http and https

2009-04-01 Thread Brian Mearns
On Wed, Apr 1, 2009 at 1:24 PM, inas inassen wrote: > Thanks Brian, > > you right, I did correction, but it seems not working for ssl and it works > for nossl > > this is my rewrite rules > > RewriteEngine On > RewriteLog logs/webserver1/rewrite_log > # > RewriteCond %{HTTP_HOST} ^webserver1.* > R

Re: [us...@httpd] Switching between http and https

2009-04-01 Thread Brian Mearns
On Wed, Apr 1, 2009 at 11:19 AM, inas inassen wrote: > > Hi all, > > I'm using mod_proxy balancer with tomcat and apache. > I used mod_rewrite to switch between http and https > > When I have the pattern /nossl ==> I want to redirect to http > When I have the pattern /ssl   ==> I want to redirect

Re: [us...@httpd] Re: Files not found

2009-03-31 Thread Brian Mearns
On Tue, Mar 31, 2009 at 7:24 PM, Jonesy wrote: > On Tue, 31 Mar 2009 23:10:18 +0100, bruno wrote: >> >> I have installed apache 2.2 on my computer and start server but only I >> can launch index.html on the browser. When I try to load other file >> browser show me error "Not found". > > What's in

Re: [us...@httpd] From https to http and vice versa

2009-03-31 Thread Brian Mearns
On Tue, Mar 31, 2009 at 10:19 AM, Alessandro Fantuzzi wrote: > > First of all thanks for your advice. > > I will check if we can serve all of the contents both in SSL and non SSL. > I didnt consider that solution, in fact I was concerned about putting the > conversation between client and server b

Re: [us...@httpd] Recommendation on paths

2009-03-31 Thread Brian Mearns
On Tue, Mar 31, 2009 at 6:29 AM, Antonio Vidal Ferrer wrote: > Hi, > > > > I need some advice in a simple topic. Which is better in performance and > usability for loading images and other content: > > > > This way: /images/January/myimage.jpg > > Or this way: ../../../myimage.jpg > > > > Thanks i

Re: [us...@httpd] From https to http and vice versa

2009-03-30 Thread Brian Mearns
On Mon, Mar 30, 2009 at 4:15 PM, Alessandro Fantuzzi wrote: > We have a site running on Apache and Tomcat > LINUX > APACHE     2.0.59 > TOMCAT     5.5.20 > JVM    1.5 > > We have to put some pages under SSL, just some, say: > > https://www.site.com/public/subscribe.jsp > https://www.site.com/publi

Re: [us...@httpd] Server document root change

2009-03-30 Thread Brian Mearns
On Mon, Mar 30, 2009 at 11:59 AM, Manoj Singh wrote: > Hi All, > > My production server has facing disk full problem. Actually my server has > the following drives mounted: > /var - 10 GB > /home - 200 GB > etc... > > Now i want to change the document root of apache server from /var to /home. > >

Re: [us...@httpd] A dumb question but it has me stumped...

2009-03-29 Thread Brian Mearns
On Sun, Mar 29, 2009 at 6:34 AM, Glen Barber wrote: > On Sun, Mar 29, 2009 at 6:18 AM, Mike Lyon wrote: >> Hello Again, >> >> I have a reverse proxy configured and I would like to make it so if someone >> goes to https://www.mydomain.com/ that they get redirected to >> /beginhere.html >> >> I hav

Re: [us...@httpd] Virtual hosts + proxy

2009-03-27 Thread Brian Mearns
On Fri, Mar 27, 2009 at 3:09 PM, Ignacio Avellino wrote: > Biran! > Thanks a million for the response > >> Think you need: >> >> NameVirtualHost * > > I have: > NameVirtualHost *:80 > on httpd.conf > > If I change it to > NameVirtualHost * > > when I start httpd I get: > > Starting httpd: [Fri Mar

Re: [us...@httpd] Virtual hosts + proxy

2009-03-27 Thread Brian Mearns
On Fri, Mar 27, 2009 at 2:08 PM, Ignacio Avellino wrote: > Hello apachers! > I have a question, that I have researched extensively on the web, without > getting to work what I want. > Basically, we have different web pages on different hosts on my > Institution. > Since we have only one public IP,

Re: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-26 Thread Brian Mearns
On Thu, Mar 26, 2009 at 2:41 PM, Octavian Râsnita wrote: > Ok, and what happends if not a browser requests that mp3 file, but a custom > made program that download all the files? > > Octavian > > - Original Message - From: "Jonathan Zuckerman" > > To: > Sent: Thursday, March 26, 2009 8:0

Re: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-26 Thread Brian Mearns
On Thu, Mar 26, 2009 at 6:20 AM, Richard Peacock wrote: > Lol, good answer Krist! > > Although many people have tried to prevent things like right-click and > grabbing of files from their websites, they are all bypassable in one > way or another ;) > > > > > -Original Message- > From: Kris

Re: [us...@httpd] Reducing js file sizes...

2009-03-23 Thread Brian Mearns
On Mon, Mar 23, 2009 at 12:55 PM, Doug McNutt wrote: > At 11:46 -0400 3/23/09, Brian Mearns wrote, and I snipped a bit: >> >> As long as we're on this topic, I'd like to step up on my soap box for >> a minute and beseech my fellow web developers to use minific

Re: [us...@httpd] Reducing js file sizes...

2009-03-23 Thread Brian Mearns
On Mon, Mar 23, 2009 at 11:10 AM, Boyle Owen wrote: >> -Original Message- >> From: André Warnier [mailto:a...@ice-sa.com] >> >> Would that not prevent browser-level caching of the javascript ? >> If yes, that would probably more than cancel any advantage of the >> "minification", no ? > >

Re: [us...@httpd] How to avoid caching on apache (with tomcat in back-end)?

2009-03-23 Thread Brian Mearns
On Mon, Mar 23, 2009 at 10:12 AM, Darius Rus wrote: > Hi, > > I have an issue related to caching on apache server (my setup is > Apache/2.2.11 (Win32) in front of tomcat/6.0.18 using mod_jk/1.2.27) > > I have a dynamic (JSP) page with a form that can be submitted that contains: > > response.setHea

Re: [us...@httpd] Reload configuration file without restart in windows

2009-03-23 Thread Brian Mearns
On Mon, Mar 23, 2009 at 7:24 AM, André Warnier wrote: > André Warnier wrote: >> >> Brian Mearns wrote: >>> >>> On Mon, Mar 23, 2009 at 1:37 AM, ken wrote: >>>> >>>> hi, >>>> >>>> I'm using Apache 2.2 in Wind

Re: [us...@httpd] Reload configuration file without restart in windows

2009-03-23 Thread Brian Mearns
On Mon, Mar 23, 2009 at 1:37 AM, ken wrote: > hi, > > I'm using Apache 2.2 in Windows2003 Server. > After i change the configuration file. it  takes a very long time during > Apache restart . > Is there any way to reload  configuration file without restart Apache? > > Any help will be appreciate.

Re: [us...@httpd] how to prevent mp3 downloading ?

2009-03-23 Thread Brian Mearns
On Mon, Mar 23, 2009 at 6:17 AM, Matus UHLAR - fantomas wrote: > On 20.03.09 16:46, J. Bakshi wrote: >> I have a .htaccess ( copied from the some tutorials available in >> internet ) to disable site grabbers like wget, curl, httrack etc... >> and I have tested that these tools are not able to

Re: [us...@httpd] http to https

2009-03-21 Thread Brian Mearns
On Sat, Mar 21, 2009 at 4:52 AM, Davide Bianchi wrote: > Tim DeBoer wrote: >> For example if I type in secure.foo.com , I want >> apache to read/load it as https://secure.foo.com in my browser. > > What you need is to setup an http site 'secure.foo.com' that > automatically

Re: [us...@httpd] Application design

2009-03-20 Thread Brian Mearns
On Fri, Mar 20, 2009 at 10:46 AM, André Warnier wrote: > Hi. > > For once, I'd like to pump the collective knowledge and accumulated wisdom > of the gurus on the list. > > I run a document management application, from which users can retrieve > documents (ms-office, pdf, etc..) through a web appli

Re: [us...@httpd] how to prevent mp3 downloading ?

2009-03-20 Thread Brian Mearns
On Fri, Mar 20, 2009 at 8:53 AM, André Warnier wrote: > J. Bakshi wrote: >> >> Eric Covener wrote: >>> >>> On Fri, Mar 20, 2009 at 7:16 AM, J. Bakshi >>> wrote: >>> Dear list, I have a .htaccess ( copied from the some tutorials available in internet ) to disable site grab

Re: [us...@httpd] Reducing js file sizes...

2009-03-20 Thread Brian Mearns
On Fri, Mar 20, 2009 at 3:49 AM, André Warnier wrote: > Brian Mearns wrote: >> >> On Thu, Mar 19, 2009 at 4:30 PM, Tony Anecito wrote: >>> >>> Hi All, >>> >>> Does anyone know of a module that would strip out the js file comments? >>&g

Re: [us...@httpd] Reducing js file sizes...

2009-03-19 Thread Brian Mearns
On Thu, Mar 19, 2009 at 4:30 PM, Tony Anecito wrote: > > Hi All, > > Does anyone know of a module that would strip out the js file comments? Would > be a great thing to have. > > Thanks, > -Tony > Not aware of a module specifically, but there are a number of programs with and without source code

Re: [us...@httpd] mod rewrite issue

2009-03-19 Thread Brian Mearns
On Thu, Mar 19, 2009 at 9:51 AM, Johnny Edge wrote: > > Custom 404 page breaks php SESSION vars (only GET/POST/REQUEST are > available), or so the development department claims. Hmm, that doesn't seem write, but I can't say for sure. I don't see any reason cookies wouldn't be available...can onl

Re: [us...@httpd] mod rewrite issue

2009-03-19 Thread Brian Mearns
> On Wed, Mar 18, 2009 at 9:05 PM, Johnny Edge wrote: >> >> Hello, >> >> I have a Virtual host that utilizes mod rewrite in the following manner >> >> >> >> ... >> >> RewriteEngine On >> RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f >> RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d >>

Re: [us...@httpd] mod_rewrite: moved directory

2009-03-18 Thread Brian Mearns
On Wed, Mar 18, 2009 at 8:04 AM, Florent Georges wrote: > >  Hi, > >  I moved one directory one level up in the hierarchy of web pages, > let's say: > >    from: http://www.example.com/parent/child/ >    to:   http://www.example.com/child/ > >  I try to use mod_rewrite to handle this move, and red

Re: [us...@httpd] Tips for redirects

2009-03-18 Thread Brian Mearns
On Wed, Mar 18, 2009 at 3:56 AM, Anders Norrbring wrote: > Wonderful! > It works just as I wanted to. Thank you very much Brian. > > Anders. Glad to hear. -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ ---

Re: [us...@httpd] Re: PHP script as Apache filter or "callback"

2009-03-17 Thread Brian Mearns
On Sat, Mar 14, 2009 at 8:36 PM, Nicholas Sherlock wrote: > Brian Mearns wrote: >> >> I've got a PHP script that I want to call for every request under a >> certain location. Specifically, I want to alter/set the response >> headers using this script. I know

Re: [us...@httpd] Tips for redirects

2009-03-17 Thread Brian Mearns
On Tue, Mar 17, 2009 at 12:44 PM, Anders Norrbring wrote: >> On Mon, Mar 16, 2009 at 2:15 PM, Anders Norrbring >> wrote: >> > Hi all. >> > I'm not really familiar with the redirects and regex's needed to use >> it, so I'd like to get some hints.. >> > >> > I have a web server serving a number of

Re: [us...@httpd] Tips for redirects

2009-03-16 Thread Brian Mearns
On Mon, Mar 16, 2009 at 2:15 PM, Anders Norrbring wrote: > Hi all. > I'm not really familiar with the redirects and regex's needed to use it, so > I'd like to get some hints.. > > I have a web server serving a number of websites, and while it's down I'd > like to have some redirects set up on an

Re: [us...@httpd] PHP script as Apache filter or "callback"

2009-03-14 Thread Brian Mearns
On Sat, Mar 14, 2009 at 7:59 AM, André Warnier wrote: > Brian Mearns wrote: >> >> I've got a PHP script that I want to call for every request under a >> certain location. Specifically, I want to alter/set the response >> headers using this script. I know headers

[us...@httpd] PHP script as Apache filter or "callback"

2009-03-13 Thread Brian Mearns
I've got a PHP script that I want to call for every request under a certain location. Specifically, I want to alter/set the response headers using this script. I know headers can be set in other ways, but in this case, the heders are set using some fairly complex logic which I don't think can be do

Re: [us...@httpd] cannot access sites through "localhost" on development computer

2009-03-13 Thread Brian Mearns
On Fri, Mar 13, 2009 at 5:41 PM, Thomas Johansson wrote: > Sorry to get back on this issue. The solution only helped temporarily (for 2 > days). Now it appears Windows has changed the host file and deleted the line > I added to it. (Perhaps something having to do with permissions, that I > didn't

Re: [us...@httpd] cannot access sites through "localhost" on development computer

2009-03-12 Thread Brian Mearns
On Thu, Mar 12, 2009 at 6:25 PM, Thomas Johansson wrote: > > Thank you, that helped! Glad to hear it! -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ - The offici

Re: [us...@httpd] cannot access sites through "localhost" on development computer

2009-03-12 Thread Brian Mearns
On Thu, Mar 12, 2009 at 7:31 AM, Eric Covener wrote: > On Thu, Mar 12, 2009 at 1:23 AM, Krist van Besien > wrote: >> On Thu, Mar 12, 2009 at 1:22 AM, Thomas Johansson >> wrote: >> >>> In my Apache documentation, I read somewhere that I could instead try >>> http://127.0.0.1. And when I do so, i

Re: [us...@httpd] Need assistance setting up a cgi program

2009-03-09 Thread Brian Mearns
On Mon, Mar 9, 2009 at 3:40 PM, wrote: > > Hello all, I have an old Windows web system I'm trying to migrate from an > ancient version of Netscape Enterprise Server to Apache 2.2.x.  Most of > the site is static content and I have that working correctly.  However > part of the site is also using

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Brian Mearns
On Mon, Mar 9, 2009 at 3:05 PM, Eric Covener wrote: > graceful stop? > > -- > Eric Covener > cove...@gmail.com > Dammit, Eric. You beat me by 1 minute. =J -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ ---

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Brian Mearns
On Mon, Mar 9, 2009 at 3:02 PM, Mohit Anchlia wrote: > The problem is that we have F5 before webserver and we want a way to > remove that web server out of service without having to stop apache > and affecting existing connections. So only way is to have apache > listen on socket and F5 do a healt

  1   2   3   >