Re: [us...@httpd] GET request on a directory

2009-10-26 Thread Mark Watts
On Fri, 2009-10-23 at 13:30 -0600, Doug McNutt wrote: > GET requests which would otherwise look for an index.html file but are set up > with something like this: > > HTTP://domain.com/somedirectory/?C=xx;O=yy > > seem to reply with a formatted list of directory contents. Can someone point > me

Re: [us...@httpd] mod_rewrite, mod_proxy and AAA

2009-10-26 Thread André Warnier
Krist, I tried to find examples in mod_rewrite and mod_proxy, but did not quite find anything that really fit my issue. But this nicely fills in the blanks, and is exactly what I needed. And about > "When used inside a section, the first argument is omitted > and the local directory is obtain

Re: [us...@httpd] RE: apche http lost session

2009-10-26 Thread André Warnier
yan...@harel-ins.co.il wrote: ... I have apache http 2.2 server that forward request to jboss web server (version 4.2) I configure my http server to forward request when user login to secure page (https) When the user login I save the user information in my session (not in a cookie!!!) Afte

Re: [us...@httpd] mod_rewrite, mod_proxy and AAA

2009-10-26 Thread Eric Covener
On Sun, Oct 25, 2009 at 7:12 AM, André Warnier wrote: > Hi. > > environment : Apache 2.2, all platforms > > In the doc. for RewriteRule it specifies : > Context:        server config, virtual host, directory, .htaccess > > Similarly, the doc. for ProxyPass indicates : > Context:        server conf

[us...@httpd] apache rewrite question

2009-10-26 Thread J. Bakshi
Hello, Here in my debian lenny box rewrite stuff is working well in .htaccess file. For viewvc ( web based svn ) I have the following config . ( Not a vhost ) `` ScriptAlias /svn /usr/lib/cgi-bin/viewvc.cgi SSLRequireSSL AuthType Basic AuthName "requires a password" A

[us...@httpd] other wide apache, small python can create it....

2009-10-26 Thread jukov
I don't love apache, it is complex with my target. I created a http server via python. this is it: http://selflinks.net http://selflinks.net . Simply, bautyfully. -- View this message in context: http://www.nabble.com/other-wide-apache%2C-small-python-can-create-it-tp26058497p26058497.html

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

2009-10-26 Thread Tom Evans
On Mon, 2009-10-26 at 17:20 +0530, J. Bakshi wrote: > Hello, > > Here in my debian lenny box rewrite stuff is working well in .htaccess file. > > For viewvc ( web based svn ) I have the following config . ( Not a vhost ) > > `` > ScriptAlias /svn /usr/lib/cgi-bin/viewv

Re: [us...@httpd] Apache 2 initgroups alert, Max OS X, abnormal exit in error log

2009-10-26 Thread Ignacio de Córdoba
Hello. I am having the same problem as you. It happens only after last upgrade to httpd (I use macports). It was working without any problems but now I get this initgroups warning followed by a Fatal error. And Apache exists. I use httpd 2.2.14 with mod_ssl and mod_jk (linked to jBoss) I know I c

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

2009-10-26 Thread J. Bakshi
Tom Evans wrote: > On Mon, 2009-10-26 at 17:20 +0530, J. Bakshi wrote: > >> Hello, >> >> Here in my debian lenny box rewrite stuff is working well in .htaccess file. >> >> For viewvc ( web based svn ) I have the following config . ( Not a vhost ) >> >> `` >> ScriptAlias

[us...@httpd] same rewrite for several vhosts on 404 errors

2009-10-26 Thread Luis Fernando
Hello guys. I use apache2 on debian and i have several vhosts in /etc/apache2/sites-available, included by /etc/apache/apache2.conf. Well, i need to redirect requests to all vhosts's non existing documents to a specific page. I already know the needed rule. What i need to know is where to p

Re: [us...@httpd] same rewrite for several vhosts on 404 errors

2009-10-26 Thread Luis Fernando
Ok, i almost figured it out. I added the rewrite rule to the server config and inserted these two lines on each vhost: RewriteEngine On rewriteOptions inherit It works, but it's not what i want yet... On apache docs i've read that rewrite configurations aren't inherited by default. /"//N

Re: [us...@httpd] same rewrite for several vhosts on 404 errors

2009-10-26 Thread André Warnier
Luis Fernando wrote: Hello guys. I use apache2 on debian and i have several vhosts in /etc/apache2/sites-available, included by /etc/apache/apache2.conf. Not really : what is really included, are the files present in /etc/apache2/sites-enabled. These are symlinks to the files that are in /

Re: [us...@httpd] same rewrite for several vhosts on 404 errors

2009-10-26 Thread Luis Fernando
André, I typed it wrong, sorry. Actually, i wanted to type "sites-enable". And yes, i know all about the "a2ensite" and "a2dissite" commands and its interesting features. Well, maybe i can put it on an include. That's not a bad idea. But what i still want to avoid is repeating configuration

[us...@httpd] ad-supported apache proxy

2009-10-26 Thread Marcos Mendez
Does anyone have any suggestions about what is the best way to implement an ad-supported proxy? I've got mod_substitute injecting some content, but it only seems to work on simple websites. Should I be looking at redirecting urls to a frame, and putting the ads there? Is there any other way of doin

[us...@httpd] 500 Error on OPTIONS request?

2009-10-26 Thread Tommy M. McGuire
I have a strange situation, and I know I am doing something wrong but I cannot figure out what it is. I have httpd configured as a reverse proxy for an application server, and have not had any problems so far. I am adding an application on the app server that speaks WebDAV, and have discovered th

[us...@httpd] Enabling HTTP and HTTPs

2009-10-26 Thread Jorge Medina
I am using Apache 2.2 and I am using a test certificate signed by my internal CA. I am not using Virtual Hosts. Sometime ago I went over a whole set of changes on my server configuration to enable HTTPs (SSL). At that point, I disabled HTTP on the server. Any request on port 80 gets a page ind

Re: [us...@httpd] ad-supported apache proxy

2009-10-26 Thread William A. Rowe, Jr.
Marcos Mendez wrote: > Does anyone have any suggestions about what is the best way to > implement an ad-supported proxy? I've got mod_substitute injecting > some content, but it only seems to work on simple websites. Should I > be looking at redirecting urls to a frame, and putting the ads there? >

Re: [us...@httpd] Enabling HTTP and HTTPs

2009-10-26 Thread André Warnier
Hi Jorge. Something below does not seem to square : Jorge Medina wrote: ... At that point, I disabled HTTP on the server. Any request on port 80 gets a page indicating that HTTPS is required. How do they actually get this page, if HTTP is disabled ? Maybe to gain some steps : - the default

RE: [us...@httpd] Enabling HTTP and HTTPs

2009-10-26 Thread Jorge Medina
Right. I have two Listen directives Listen 80 http Listen 443 https The page I would assume that the page I get is generated by the mod_ssl module. It looks something like this: Bad Request Your browser sent a request that t

Re: [us...@httpd] Enabling HTTP and HTTPs

2009-10-26 Thread André Warnier
Jorge Medina wrote: Right. I have two Listen directives Listen 80 http Listen 443 https The page I would assume that the page I get is generated by the mod_ssl module. It looks something like this: Allright, that clears one mystery, and I learned something (I did not know that mod_ssl was d

RE: [us...@httpd] Enabling HTTP and HTTPs

2009-10-26 Thread Jorge Medina
Thank you! A colleage just told me the same. I need VirtualHosts to be able to configure HTTP and HTTPS for the same server. -Jorge -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, October 26, 2009 4:01 PM To: users@httpd.apache.org Subject: Re: [us...@htt

Re: [us...@httpd] Enabling HTTP and HTTPs

2009-10-26 Thread André Warnier
André Warnier wrote: ... and there are also some interesting tidbits here : http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html See for example : How can I switch between HTTP and HTTPS in relative hyperlinks? (I did not know this either; it's good to read the fine documentation sometimes). An

[us...@httpd] Multiple authentication sources (OUs) - AuthnProviderAlias

2009-10-26 Thread Brian Banaszynski
We are trying to allow Apache to authenticate users to a certain site based on being in one of 3 OU designations in AD. 3. A specific client OU (Client ABC in our example) 1. Service Accounts 2. Internal Support We have set up 3 "AuthnProviderAlias" directives. Notably, all the alias definitio

Re: [us...@httpd] Multiple authentication sources (OUs) - AuthnProviderAlias

2009-10-26 Thread Eric Covener
On Mon, Oct 26, 2009 at 5:43 PM, Brian Banaszynski wrote: > > This doesn’t seem to work.  I know your thinking – “why not just use > groups”?  Ans: Simply because we don’t want to have to maintain groups for > our many clients.  We would like to rely on the client user’s presence in > the OU (and

Re: [us...@httpd] ad-supported apache proxy

2009-10-26 Thread Marcos Mendez
Thanks for the response. I tried compiling it and ran into issues. However, I am not sure that fundamentally this is the best approach. Replacing or injecting content into the proxied site content will work. I've tried modifying the body, head, html, script tags. It just hasn't worked reliably for

[us...@httpd] Requesting help with Smart Card Client Certificate Authentication issue.

2009-10-26 Thread Berube, Steve (HP Software)
Hello; I'm hoping someone can help me with this. Issue: On various systems using Internet Explorer 7 or 8, smart card credentials are not being prompted. Firefox works providing the Security Device for ActivClient is installed. Environment: Server: Windows Apache 2.2.14 with OpenSSL Clients: Va

Re: [us...@httpd] Requesting help with Smart Card Client Certificate Authentication issue.

2009-10-26 Thread Toomas Aas
Berube, Steve (HP Software) wrote: Now, here is where gets interesting. What should happen is the client should prompt for a client certificate from the smart card reader and ask the user for their pin. On firefox 3.5.3 it prompts the user for their smartcard pin as long as the Security Devi

Re: [us...@httpd] Enabling HTTP and HTTPs

2009-10-26 Thread Krist van Besien
On Mon, Oct 26, 2009 at 9:01 PM, André Warnier wrote: > > The other way I could think of would be to use virtual hosts, like > > Listen 80 HTTP > Listen 443 HTTPS > > NameVirtualHost *:80 > > ... > > > NameVirtualHost *:443 > > ... (SSL-based config) > You don't need the NameVirtualHost direc

Re: [us...@httpd] Enabling HTTP and HTTPs

2009-10-26 Thread André Warnier
Krist van Besien wrote: On Mon, Oct 26, 2009 at 9:01 PM, André Warnier wrote: The other way I could think of would be to use virtual hosts, like Listen 80 HTTP Listen 443 HTTPS NameVirtualHost *:80 ... NameVirtualHost *:443 ... (SSL-based config) You don't need the NameVirtualHost dire

[us...@httpd] redirect occurs after authorization !!!

2009-10-26 Thread J. Bakshi
Hello list, I have finally able to redirect the viewvc ( svn viewer ) to https. here is the configuration `` ScriptAlias /test /usr/lib/cgi-bin/viewvc.cgi RewriteEngine on RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} AuthType Basic