Re: [users@httpd] setting options for a single file

2011-12-27 Thread Christoph Anton Mitterer
On Tue, 2011-12-27 at 09:54 -0500, Eric Covener wrote: Probably doesn't make much practical sense, since you can just use directory match in 2.3/2.4 and no change to Files or Directory would likely to ever be available in any older release. Ah... now I've seen what you mean,... it now supports

Re: [users@httpd] some questions on inheritance/section merging

2011-12-27 Thread Eric Covener
I'd suggest http://httpd.apache.org/docs/2.2/sections.html + try it and see. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To

[users@httpd] mod_rewrite / mod_jk not working together

2011-12-27 Thread Jerry Malcolm
I have an established environment of Apache 2.2 and Tomcat 7. I've had mod_jk working without problem for years. I have a need to add some user-friendly URLs. So I added mod_rewrite to the picture. Here's the problem... I have a very simple rewrite rule that maps /test to /abc.jsp. I have a

Re: [users@httpd] mod_rewrite / mod_jk not working together

2011-12-27 Thread Eric Covener
What am I missing?  How do I make mod_jk use the mapped URL from mod_rewrite?  (And send the mapped URL on to Tomcat instead of sending the original URL)? The PT flag, but there is also a mod_jk bug or config element that can prevent that from working IIRC.

[users@httpd] Jess Ragaza: An open letter to a sister...

2011-12-27 Thread J R
*and her husband -* ** ** *Thank you for making our family reunion a uniquely singular moment of understanding, joy, giving, and sharing - true spirit of the occasion. If only yours truly had time outside of your common, lively and animated but deep conversations, being awed by the tall redwoods

Re: [users@httpd] setting options for a single file

2011-12-27 Thread Eric Covener
On Tue, Dec 27, 2011 at 9:35 AM, Christoph Anton Mitterer cales...@scientia.net wrote: On Tue, 2011-12-27 at 09:31 -0500, Eric Covener wrote: You could undo it in a subsequent section that only matched longer directory paths.  DirectoryMatch is pretty limited in 2.2 and probably not so

Re: [users@httpd] setting options for a single file

2011-12-27 Thread Christoph Anton Mitterer
On Tue, 2011-12-27 at 09:31 -0500, Eric Covener wrote: You could undo it in a subsequent section that only matched longer directory paths. DirectoryMatch is pretty limited in 2.2 and probably not so helpful. Yeah,.. I've thought about this,.. but that also seems a bit hacky... Would it make

Re: [users@httpd] setting options for a single file

2011-12-27 Thread Eric Covener
On Mon, Dec 26, 2011 at 8:26 PM, Christoph Anton Mitterer cales...@scientia.net wrote: Hi. Is it possible to set options (i.e. Allow from all) for a _single_ file while not using Location? I'd like to have a default-deny policy for the whole vhost,... therefore I have something like:

Re: [users@httpd] setting options for a single file

2011-12-27 Thread Christoph Anton Mitterer
On Tue, 2011-12-27 at 03:31 -0500, Eric Covener wrote: nest Files inside of Directory. That shouldn't help should it? When I want to do this for files in the root dir of my vhost (e.g. robots.txt),... I'd have to add the Files in that Directory and it would also apply to all other subdirs of

Re: [users@httpd] setting options for a single file

2011-12-27 Thread Eric Covener
On Tue, Dec 27, 2011 at 8:54 AM, Christoph Anton Mitterer cales...@scientia.net wrote: On Tue, 2011-12-27 at 03:31 -0500, Eric Covener wrote: nest Files inside of Directory. That shouldn't help should it? When I want to do this for files in the root dir of my vhost (e.g. robots.txt),... I'd

Re: [users@httpd] setting options for a single file

2011-12-27 Thread Eric Covener
Is there a different whether I match ^/path/tovHost$ or ^/path/tovHost/$ yes, the note unique to 2.3 is about that. I don't remember where it mattered. - The official User-To-User support forum of the Apache HTTP Server

[users@httpd] some questions on inheritance/section merging

2011-12-27 Thread Christoph Anton Mitterer
Hi... When I have e.g. Directory /path/toVhostRoot Options none AllowOverride none Satisfy all Order allow,deny Deny from all /Directory and I make a subdir with just: Directory /path/toVhostRoot/subdir Allow from all /Directory 1) Then all of:

[users@httpd] Apache and Perl

2011-12-27 Thread Damien Hull
Here's what I have... 1. Ubuntu 10.04 2. LAMP 3. A custom installation of Perl over in /usr/local/ 4. A web app that requires perl I'm looking into mod_perl or fcgi to get my web application working. 1. How do I setup Apache to use the custom installation of Perl? 2. Which method is best,

Re: [users@httpd] Apache and Perl

2011-12-27 Thread brainbuz
I strongly recommend Starman or another native Plack (PSGI) process server over fcgi or mod_perl. See the 2011 Catalyst Advent Calender for my article on this. If you look at different Perl Sites you will find a number of good reasons you should use Plack. The short list: * Plack

Re: [users@httpd] mod_rewrite / mod_jk not working together

2011-12-27 Thread Rainer Jung
On 27.12.2011 17:12, Eric Covener wrote: What am I missing? How do I make mod_jk use the mapped URL from mod_rewrite? (And send the mapped URL on to Tomcat instead of sending the original URL)? The PT flag, but there is also a mod_jk bug or config element that can prevent that from working

[users@httpd] Forcing certain pages from HTTP to HTTPS and vice versa

2011-12-27 Thread Clay Porter
I am trying to set up rewrite rules so that when users access certain pages via HTTP they are redirected to HTTPS. Conversely, if they access pages that do not require security I want the user to be redirected from HTTPS to HTTP. I have looked at numerous examples and read the rewrite rule

Re: [users@httpd] Apache and Perl

2011-12-27 Thread Damien Hull
Thanks for the info... I'm slowly figuring things out. I installed Starman on my test server. Moving on to the Perl application and then the apache 2 config. On Dec 27, 2011, at 10:40 AM, brainbuz brain...@brainbuz.org wrote: I strongly recommend Starman or another native Plack (PSGI) process

Re: [users@httpd] Forcing certain pages from HTTP to HTTPS and vice versa

2011-12-27 Thread Igor Cicimov
Try removing this line RewriteCond %{REQUEST_URI} !secure(.*)$ Igor On Wed, Dec 28, 2011 at 7:55 AM, Clay Porter clay.por...@gmail.com wrote: I am trying to set up rewrite rules so that when users access certain pages via HTTP they are redirected to HTTPS. Conversely, if they access pages

Re: [users@httpd] Forcing certain pages from HTTP to HTTPS and vice versa

2011-12-27 Thread Igor Cicimov
Also the rules for HTTPS--HTTP should be in your HTTPS VirtualHost section. How does your ssl configuration look like? On Wed, Dec 28, 2011 at 10:18 AM, Igor Cicimov icici...@gmail.com wrote: Try removing this line RewriteCond %{REQUEST_URI} !secure(.*)$ Igor On Wed, Dec 28, 2011 at 7:55