[us...@httpd] SSLProxyEngine, no client certificate found

2009-06-15 Thread Nicolas Cros
Hello ! I want to setup a proxy, allowing my internal hosts to connect on external https servers (which forces client authentication by using a certificate). [ internal hosts ]-http>[ apache proxy ] --https> [external https server] External servers restrict connection

[us...@httpd] Apache2 startup error on Solaris 10

2009-06-15 Thread Igor Cicimov
Hi all, I have compiled and installed apache2.2.11 with mod_security and SSL on Solaris 10. All was fine until I moved it to jail I had built in /chroot. The error I get is: [Tue Jun 16 16:19:47 2009] [info] Init: Seeding PRNG with 272 bytes of entropy [Tue Jun 16 16:19:47 2009] [info] Init: Gene

Re: [us...@httpd] Apache2 compile error on Solaris 10

2009-06-15 Thread Igor Cicimov
I have fixed the above problem, it was openssl problem and reinstall fixed it. Thanks again to everybody that replied. Igor On Mon, Jun 15, 2009 at 5:10 PM, Igor Cicimov wrote: > Hi Sander, > > Now I get the following fatal error: > > /hta/home/weblogic/apache2.2.11/httpd-2.2.11/srclib/apr/libt

Re: [us...@httpd] Using .htaccess to force rewriting URLs to https:// works but loses any subdirectory paths. What do I need to change?

2009-06-15 Thread Justin Pasher
Bob Linkonij wrote: Ok, so I changed RewriteCond %{HTTPS} !=on - RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI}/$1 [R,L] + RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L] in the .htaccess file. But still when I go to http://Domain.com/subdirectory I get redirected to https

Re: [us...@httpd] Using .htaccess to force rewriting URLs to https:// works but loses any subdirectory paths. What do I need to change?

2009-06-15 Thread Bob Linkonij
Hello Justin, On Mon, Jun 15, 2009 at 2:22 PM, Justin Pasher wrote: >>        RewriteCond %{HTTPS} !=on >>        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L] >> > > You don't need to use REQUEST_URI (maybe it's not available in the context > of RewriteRule?). You can just capture t

Re: [us...@httpd] Using .htaccess to force rewriting URLs to https:// works but loses any subdirectory paths. What do I need to change?

2009-06-15 Thread Justin Pasher
Bob Linkonij wrote: [snip] Reading around alot, I made some progress by putting this in the /webroot/.htaccess file: Options +FollowSymLinks SSLOptions +StrictRequire SSLRequireSSL SSLRequire %{HTTP_HOST} eq "www.Domain.com" ErrorDocument 403 htt

[us...@httpd] Reverse proxy not forwarding webdav document from server inside firewall

2009-06-15 Thread brent
I am using IBM Http Server 6.0 (aka apache 2.0.x) on two servers, one in a dmz (server 1) and one inside a firewall (server 2). I have a web application running on IBM Websphere 6.0 inside the firewall (server 2), and the reverse proxy works fine for the web application. There is a javascript win

[us...@httpd] Using .htaccess to force rewriting URLs to https:// works but loses any subdirectory paths. What do I need to change?

2009-06-15 Thread Bob Linkonij
Hello everybody, I'm hosting my website at a shared-host so I have control limited to using .htaccess. I just got an SSL certificate set up and want to make sure that everything at my site always uses the https://Domain.com address and the certificate. Reading around alot, I made some progress b

[us...@httpd] use Location directive for specific site configuration

2009-06-15 Thread csross
I have to apply specific configuration commands to a site site.my-domain.com the do not get applied to all other sites in *.my-domain.com. In addition, all my-domain.com (including the specific) have to be ssl only sites. To accomplish this I have a vhost that is defined by a specific ServerNa

Re: [us...@httpd] mod_log_config

2009-06-15 Thread ricardo figueiredo
Hi, How do I modified mod_log_config to write log only in a row ??? Instead append log in file. Thank you Ricardo On Mon, Jun 15, 2009 at 11:22 AM, ricardo figueiredo < ricardoogra...@gmail.com> wrote: > ok Eric, > > One more time: Thank you > > Ricardo > > > On Mon, Jun 15, 2009 at 11:19 AM, E

Re: [us...@httpd] International chars in domain names + Virtualhosts

2009-06-15 Thread André Warnier
Rubén Clérigo wrote: Thanks very much André, this is just what I was looking for. I am afraid it was the first time I read about punycode. Ole ! De nada, me encanta haber ayudado. - The official User-To-User support forum of

RE: [us...@httpd] sending email

2009-06-15 Thread James Zuelow
When you logged in as www-data manually you started a login shell. You can think of that shell as a "pre shell" where all of www-data's dot files were read, environment variables were set, etc. before starting up the command shell. When apache is running, it is not "logged in" as www-data, so n

Re: [us...@httpd] Need Example of suppress_error_charset

2009-06-15 Thread Thomas Lindgren
On Mon, Jun 15, 2009 at 4:45 PM, j...@dbd01.com wrote: > I've got the known problem of using redirection and ending up with a 302 > error, without doing the actual redirection. I've seen this discussed a > lot, but haven't seen a definite solution. It looks like changing the > Apache http serve

[us...@httpd] Need Example of suppress_error_charset

2009-06-15 Thread j...@dbd01.com
I've got the known problem of using redirection and ending up with a 302 error, without doing the actual redirection. I've seen this discussed a lot, but haven't seen a definite solution. It looks like changing the Apache http server configuration with suppress_error_charset will work, but I h

Re: [us...@httpd] International chars in domain names + Virtualhosts

2009-06-15 Thread Rubén Clérigo
Thanks very much André, this is just what I was looking for. I am afraid it was the first time I read about punycode. André Warnier escribió: By the way, the punycode version of your sample domain below is www.xn--maana-pta.es I also found this interesting link via Google : http://www.charset

Re: [us...@httpd] mod_log_config

2009-06-15 Thread ricardo figueiredo
ok Eric, One more time: Thank you Ricardo On Mon, Jun 15, 2009 at 11:19 AM, Eric Covener wrote: > On Mon, Jun 15, 2009 at 9:50 AM, ricardo > figueiredo wrote: > > Hi, > > > > How do I compile Apache with mod_log_config like DSO ??? > > > > I compiled Apache like this: > > ./configure --enable-

Re: [us...@httpd] mod_log_config

2009-06-15 Thread Eric Covener
On Mon, Jun 15, 2009 at 9:50 AM, ricardo figueiredo wrote: > Hi, > > How do I compile Apache with mod_log_config like DSO ??? > > I compiled Apache like this: > ./configure --enable-proxy --enable-rewrite ./configure --help | grep shared or read the INSTALL file. -- Eric Covener cove...@gmail.co

Re: [us...@httpd] mod_log_config

2009-06-15 Thread ricardo figueiredo
Hi, How do I compile Apache with mod_log_config like DSO ??? I compiled Apache like this: ./configure --enable-proxy --enable-rewrite Thank you Ricardo On Mon, Jun 15, 2009 at 10:32 AM, Eric Covener wrote: > On Mon, Jun 15, 2009 at 9:18 AM, ricardo > figueiredo wrote: > > Hi, > > > > I gave u

Re: [us...@httpd] sending email

2009-06-15 Thread Lyle Wincentsen
I have actually found a solution to the problem. The big question I had (but couldn't put into the right words in my original email) was this: does the user that apache runs as (in my case www-data on Debian) read various config files that may be present in its home directory, as happens for regula

Re: [us...@httpd] mod_log_config

2009-06-15 Thread Eric Covener
On Mon, Jun 15, 2009 at 9:18 AM, ricardo figueiredo wrote: > Hi, > > I gave up !!! It's very difficult > > Now, I would like know: "How do I compile a module built-in ??" > > Because, I modified the mod_log_config and compiled (apxs -a -i -c > mod_log_config.c). After, I started Apache and sho

Re: [us...@httpd] mod_log_config

2009-06-15 Thread ricardo figueiredo
Hi, I gave up !!! It's very difficult Now, I would like know: "How do I compile a module built-in ??" Because, I modified the mod_log_config and compiled (apxs -a -i -c mod_log_config.c). After, I started Apache and shows this: "httpd: Syntax error on line 56 of /usr/local/apache2/conf/http

Re: [us...@httpd] Apache Conf for 2000 Users ??

2009-06-15 Thread Jonas Eckerman
BipinDas-Gmail wrote: Hi Tested in a Live environment. Apache server load shoots above 100 and behaves badly. What kind of load according to what? Behaves badly how? Since you choose not to answer most of my questions I assume that you are not actually interested in getting help with the pro

Re: [us...@httpd] International chars in domain names + Virtualhosts

2009-06-15 Thread André Warnier
By the way, the punycode version of your sample domain below is www.xn--maana-pta.es I also found this interesting link via Google : http://www.charset.org/punycode.php Rubén Clérigo wrote: Hello I have an apache 2.2 server running on debian with nearly 100 virtualhosts working without proble

Re: [us...@httpd] International chars in domain names + Virtualhosts

2009-06-15 Thread André Warnier
Rubén Clérigo wrote: Hello I have an apache 2.2 server running on debian with nearly 100 virtualhosts working without problems. But, I need to host a new name which contains an Spanish char (ñ). I have created a virtualhost like the rest, but when I try to browse the site y get the fallback

Re: [us...@httpd] mod_auth_pgsql and mod_auth_mysql on the same server

2009-06-15 Thread Marc Feist
Hi! Use mod_authn_dbd, which works obsoletes the modules mentioned in your subject line for authentication. Thanks a lot for the hint! I'll have a deep look at this. Best, Marc - The official User-To-User support forum of th

Re: [us...@httpd] mod_auth_pgsql and mod_auth_mysql on the same server

2009-06-15 Thread Nick Kew
On Mon, 15 Jun 2009 12:20:09 +0200 Marc Feist wrote: > Hi! > > I'm trying to get both authentication methods running on a server. > One virtual server uses the pgsql and other virtual servers use > mysql for authentication. Use mod_authn_dbd, which works obsoletes the modules mentioned in your

Re: [us...@httpd] International chars in domain names + Virtualhosts

2009-06-15 Thread Davide Bianchi
Rubén Clérigo wrote: > Has anybody encountered a problem like this one? I know this kind of > domains do work on other sites (e.g. www.mañana.es) so I would like to > know how to set up such domains myself. While domain names technically have no restrictions on the characters they use and can incl

[us...@httpd] International chars in domain names + Virtualhosts

2009-06-15 Thread Rubén Clérigo
Hello I have an apache 2.2 server running on debian with nearly 100 virtualhosts working without problems. But, I need to host a new name which contains an Spanish char (ñ). I have created a virtualhost like the rest, but when I try to browse the site y get the fallback virtualhost, not the n

Re: [us...@httpd] Apache Conf for 2000 Users ??

2009-06-15 Thread André Warnier
BipinDas-Gmail wrote: Hi Tested in a Live environment. Apache server load shoots above 100 and behaves badly. StartServers * MaxRequestPerChild = MaxClients. Is this correct equation for calculating Total allowable user connection ? Instead of abusing this list, and the time of the people on it

Re: [us...@httpd] Apache Conf for 2000 Users ??

2009-06-15 Thread Prasanna Ram Venkatachalam
> > StartServers * MaxRequestPerChild = MaxClients. Is this correct equation > for > calculating > Total allowable user connection ? > I think this is wrong! MaxRequestPerChild has nothing to do with MaxClients..It is the number of requests the child will serve before dying! http://httpd.apache.o

Re: [us...@httpd] Custom Error Handling

2009-06-15 Thread André Warnier
Alan Wilson wrote: Hi, I'm trying to get httpd to return a custom error code via a CGI, eg if the client makes a connection to test.cgi (which is a valid URI) but the parameters, POST data or some other aspect of the interaction is incorrect I want to return a different error code from the sta

Re: [us...@httpd] Apache Conf for 2000 Users ??

2009-06-15 Thread Peter J Milanese
Are you sure its apache and not wait for db? - Original Message - From: "BipinDas-Gmail" [bipink...@gmail.com] Sent: 06/15/2009 02:25 PM ZE3 To: Subject: RE: [us...@httpd] Apache Conf for 2000 Users ?? Hi Tested in a Live environment. Apache server load shoots above 100 and behaves

RE: [us...@httpd] Apache Conf for 2000 Users ??

2009-06-15 Thread BipinDas-Gmail
Hi Tested in a Live environment. Apache server load shoots above 100 and behaves badly. StartServers * MaxRequestPerChild = MaxClients. Is this correct equation for calculating Total allowable user connection ? Greetings BipinDas +966543680643 -Original Message- From: Jonas Eckerman

[us...@httpd] Custom Error Handling

2009-06-15 Thread Alan Wilson
Hi, I'm trying to get httpd to return a custom error code via a CGI, eg if the client makes a connection to test.cgi (which is a valid URI) but the parameters, POST data or some other aspect of the interaction is incorrect I want to return a different error code from the standard 200, eg "Status

Re: [us...@httpd] mod_auth_pgsql and mod_auth_mysql on the same server

2009-06-15 Thread Marc Feist
Hi! In other words, if there exists some configuration directive inside the main configuration, then every VirtualHost generally inherits it from there, unless it specifically overrides it inside of its own VirtualHost section. That's the problem. There are no options for mod_auth_pgsql

Re: [us...@httpd] mod_auth_pgsql and mod_auth_mysql on the same server

2009-06-15 Thread André Warnier
Marc Feist wrote: Hi! I'm trying to get both authentication methods running on a server. One virtual server uses the pgsql and other virtual servers use mysql for authentication. It all works fine except the servers using mysql have got an error_log full of lines like: [...] [mod_auth_pgsql

Re: [us...@httpd] sending email

2009-06-15 Thread Peter J Milanese
May behoove you to check maillog. Its your local mail exchanger. - Original Message - From: "Richard Peacock" [richard.peac...@minorplanet.com] Sent: 06/15/2009 11:48 AM CET To: Subject: RE: [us...@httpd] sending email I don't think this is an Apache problem, it's either bad PHP or

RE: [us...@httpd] sending email

2009-06-15 Thread Richard Peacock
I don't think this is an Apache problem, it's either bad PHP or problem with your esmtp configuration by the sounds of it. Have you checked the MAN pages for your esmtp program or checked that your PHP replaces any invalid chars that could prevent emails being sent? Have you tried to create a

[us...@httpd] mod_auth_pgsql and mod_auth_mysql on the same server

2009-06-15 Thread Marc Feist
Hi! I'm trying to get both authentication methods running on a server. One virtual server uses the pgsql and other virtual servers use mysql for authentication. It all works fine except the servers using mysql have got an error_log full of lines like: [...] [mod_auth_pgsql.c] - missing conf

[us...@httpd] Outlook Webaccess and 2.2.x

2009-06-15 Thread Helmut Schneider
Hi, I used 2.0 in the past to reverse proxy Outlook Webaccess (plain, no RPC-over-HTTP). This worked fine, I did not use any rewrite rules but only "ProxyPreserveHost On" (see also e.g. http://3cx.org/item/46). Now with 2.2 this does not work anymore, mod_proxy always returns the internal na

Re: [us...@httpd] Apache Conf for 2000 Users ??

2009-06-15 Thread Jonas Eckerman
BipinDas-Gmail wrote: > When I tested it Apache takes the complete resources and system > failed. Tested how? Failed how? Did it take all memory and start swapping too much? Did it take all CPU? Is there anything else that requires those resources on that machine? Now we need to put Moodle L

[us...@httpd] chrooted V non-chrooted

2009-06-15 Thread Fred Zinsli
Hello everyone I can't seem to get my head around this chrooted and non-chrooted apache server thing at all. What are the pros & cons, advantages or dissadvantages of chrooted over non-chrooted apache servers. In a nutshell, is a preferable to run apache chrooted on a production server or not?

Re: [us...@httpd] Apache Conf for 2000 Users ??

2009-06-15 Thread André Warnier
BipinDas-Gmail wrote: Hello All, I have a webserver having following configurations. It having only one website and around 1000 people browsing simultaneously. Now we need to put Moodle LMS into this webserver for which students able to attend Quiz upload assignments (MSword,PDF etc). Aft

Re: [us...@httpd] Apache2 compile error on Solaris 10

2009-06-15 Thread Igor Cicimov
Hi Sander, Now I get the following fatal error: /hta/home/weblogic/apache2.2.11/httpd-2.2.11/srclib/apr/libtool --silent --mode=link gcc -g -O2 -L/usr/local/ssl/lib -R/usr/local/ssl/lib -o ab ab.lo -lm /hta/home/weblogic/apache2.2.11/httpd-2.2.11/srclib/pcre/ libpcre.la /hta/home/weblogi