Re: [us...@httpd] how to setup mod_ssl to accept only https requests

2009-06-17 Thread Davide Bianchi
ravindra wrote: > But when I type “http://localhost “ it is still working (showing the > index.html content in htdocs) . I want my apache server to accept only > “https “requests. > > How to configure this? You have two way: remove the 'Listen 80' option, basically disabling the whole http part,

[us...@httpd] how to setup mod_ssl to accept only https requests

2009-06-17 Thread ravindra
Hi Everybody, I have added mod_ssl module to my apache 2.2 server then I typed "https://localhost "on my browser it worked, it served the certificate I installed. But when I type "http://localhost " it is still working (showing the index.html content in htdocs) . I want my apache s

Re: [us...@httpd] MPM Default in Linux

2009-06-17 Thread Arnab Ganguly
Information's you are asking is very much there in http://httpd.apache.org/docs/2.2/mod/directives.html. Search the index you will get all the directives info and there default values. Thanks -A On Wed, Jun 17, 2009 at 9:27 PM, ricardo figueiredo < ricardoogra...@gmail.com> wrote: > Hi, > > Other

Re: [us...@httpd] mod_cache and SSL

2009-06-17 Thread Igor Cicimov
The apache is working as revers proxy by the way. This is the caching and mod_expires settings I'm using in the config: CacheEnable mem /include/img/fwk CacheEnable mem /include/css CacheEnable mem /include/js CacheIgnoreNoLastMod On CacheIgnoreHeaders Se

Re: [us...@httpd] Configure Server To Run In Windows Vista

2009-06-17 Thread Joseph Morgan
I've seen the other answers here, but I have both Apache and Tomcat running without issues on Windows Vista I turned off UAC... and... I'm sure we'll here the gasps at my suggestion, but I've been running Vista this way for 2 years with not a single issue nor intrusion! There is no absolu

Re: [us...@httpd] mod_cache and SSL

2009-06-17 Thread Igor Cicimov
Hi Eric, Thanks for your reply. I did that I have the debug level on and I tried to log Age header but all I get in the log is empty string and "-" sign in the time stamp I tried to put. Also can't see any lines from the mod_cache in the logs. Any ideas why? My guess is that something happens to

Re: [us...@httpd] Configure Server To Run In Windows Vista

2009-06-17 Thread William A. Rowe, Jr.
Sevis wrote: > > The "Start" shortcut (which works, but only after UAC prompting) is: > > "C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe" -w -f > "C:/Users/joeUser/AppData/Roaming/Apache/httpd.conf" -n "ApacheHttpd" -k start A fine mess you have gotten yourself into, eh?

Re: [us...@httpd] Configure Server To Run In Windows Vista

2009-06-17 Thread André Warnier
André Warnier wrote: Sevis wrote: ... Hi. I have seen another thread recently (last month or so) on UAC issues, either on this list or Tomcat's list. Search for it, I believe it had answers for you. To be complete though, I remember it had a lot of things like %$&54(&4865!!, evil, kill it, no

Re: [us...@httpd] Configure Server To Run In Windows Vista

2009-06-17 Thread André Warnier
Sevis wrote: ... Hi. I have seen another thread recently (last month or so) on UAC issues, either on this list or Tomcat's list. Search for it, I believe it had answers for you. - The official User-To-User support forum of the

[us...@httpd] Configure Server To Run In Windows Vista

2009-06-17 Thread Sevis , en Adam
PROBLEM: When Windows starts/boots, the Apache service does not start and reports the error (not in Apache error log, but in Windows management error log). PROBLEM: When attempting to start the service for the first time in a Windows session from the Apache Monitor (running in system tray), t

[us...@httpd] New DOS HTTP tool

2009-06-17 Thread Julien Pauli
ding tools." You can find all (including Perl source code) here : http://ha.ckers.org/slowloris/ - http://ha.ckers.org/blog/20090617/slowloris-http-dos/ That seems interesting. I've been told about mods, such as mod_security or mod_evasive that could take care of that (no tested, on my w

[us...@httpd] Re: Backend host/port in the log

2009-06-17 Thread arungupta
> In general, Apache environment variables (distinct from OS environment > variables) are logged via %{envvar-name}e. The special environment > variables created by the balancer are documented at > Just what I was looking for, thanks! The complete blog entry is now available at: http://blo

Re: [us...@httpd] how can I compile a module written for apache 2.3 for apache 2.2?

2009-06-17 Thread Jon Skarpeteig
Is there any alternative to .htaccess auth with the ad? On Wed, Jun 17, 2009 at 2:42 PM, Eric Covener wrote: > On Wed, Jun 17, 2009 at 8:41 AM, Eric Covener wrote: >> On Wed, Jun 17, 2009 at 7:39 AM, Jon Skarpeteig >> wrote: >>> http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/aaa/ >>> >

[us...@httpd] how to do http PUT inside the output filter

2009-06-17 Thread Lyudmila L. Balakireva
Hello, I am new to apache and c and need help in developing output filter which need to collect (headers and body ) and send PUT request to external webserver. Currently I am getting child pid 7106 exit signal Segmentation fault (11) error in my filter: Can somebody pinpoint if I do something fund

[us...@httpd] htpasswd on Apache 2.2

2009-06-17 Thread Chen, Peter
Hello, So I set up my Apache server to authenticate using both file and ldap authentication. I'm using an Apache server for Subversion. I create file accounts into an already existing file in this manner: htpasswd -m I then give it a password. Next, I test the username with t

Re: [us...@httpd] MPM Default in Linux

2009-06-17 Thread Prasanna Ram Venkatachalam
> > > What default values and maximum values for directives (ServerLimit, > MaxClient, ThreadsPerChild, etc) ??? > > Chk this http://httpd.apache.org/docs/2.0/mod/worker.html And follow the link for each directive to find more about it Regards Prasanna Ram

Re: [us...@httpd] MPM Default in Linux

2009-06-17 Thread ricardo figueiredo
Hi, Other question. I compiled Apache with parameter --with-mpm=worker. What default values and maximum values for directives (ServerLimit, MaxClient, ThreadsPerChild, etc) ??? Thank you Ricardo On Wed, Jun 17, 2009 at 8:34 AM, ricardo figueiredo < ricardoogra...@gmail.com> wrote: > Hi Prasann

Re: [us...@httpd] RewriteRule for case insensitive URL

2009-06-17 Thread Matt Veitas
That seemed to work. I had to modify the rule slightly: RewriteRule ^/foobar(.*) /FooBar$1 [NC,L, R=301] On Wed, Jun 17, 2009 at 9:10 AM, Igor Cicimov wrote: > Or maybe this one > > RewriteCond %{REQUEST_URI} !^/FooBar > RewriteRule ^/foobar(.*) /FooBar$1 [NC,L] > > Igor > > On 6/17/09, Krist va

Re: [us...@httpd] mod_cache and SSL

2009-06-17 Thread Eric Covener
On Wed, Jun 17, 2009 at 8:46 AM, Igor Cicimov wrote: > Hi all, > > I have a simple question: is mod_cache working over https or not? I > think it's not but couldn't find any clear confirmation googling. > > Also since the mod_mem_cache doesn't have any logging facilities and > is completely going o

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-17 Thread Igor Cicimov
Use HTTP_HOST instead SERVER_NAME RewriteCond %{HTTPS} !=on RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [R,L] The SERVER_NAME is the variable you set up in the httpd.conf file where HTTP_HOST is the variable from the client request. On 6/16/09, Justin Pasher wrote: > Bob Linkonij wrote: >> Ok, s

[us...@httpd] Re: Backend host/port in the log

2009-06-17 Thread Jeff Trawick
arungupta wrote: > > Configured mod_proxy_balancer for front-ending a bunch of GlassFish > instances. How do I print the backend host/port in the log ? > In general, Apache environment variables (distinct from OS environment variables) are logged via %{envvar-name}e. The special environment v

Re: [us...@httpd] RewriteRule for case insensitive URL

2009-06-17 Thread Igor Cicimov
Or maybe this one RewriteCond %{REQUEST_URI} !^/FooBar RewriteRule ^/foobar(.*) /FooBar$1 [NC,L] Igor On 6/17/09, Krist van Besien wrote: > On Tue, Jun 16, 2009 at 3:33 PM, Matt Veitas wrote: >> Hi >> >> I am attempting to create a rewrite rule for our application and am in >> need of some assi

Re: [us...@httpd] Tomcat 6 classpath issue

2009-06-17 Thread Mark H. Wood
On Wed, Jun 17, 2009 at 11:52:26AM +0100, Tom Brown wrote: > This is really for the tomcat list but my subscription is taking ages to > come through so... Yes, this is the place for Apache HTTPD questions, not Apache Tomcat questions. > On tomcat 6.0.18 i need to set the classpath of a webapp, i

[us...@httpd] mod_cache and SSL

2009-06-17 Thread Igor Cicimov
Hi all, I have a simple question: is mod_cache working over https or not? I think it's not but couldn't find any clear confirmation googling. Also since the mod_mem_cache doesn't have any logging facilities and is completely going on in memory, does any one know a way to confirm it's working? Th

Re: [us...@httpd] how can I compile a module written for apache 2.3 for apache 2.2?

2009-06-17 Thread Eric Covener
On Wed, Jun 17, 2009 at 8:41 AM, Eric Covener wrote: > On Wed, Jun 17, 2009 at 7:39 AM, Jon Skarpeteig > wrote: >> http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/aaa/ >> >> The module mod_authnz_ldap.c has been updated to support nested groups >> in AD. I only need that one new directiv

Re: [us...@httpd] how can I compile a module written for apache 2.3 for apache 2.2?

2009-06-17 Thread Eric Covener
On Wed, Jun 17, 2009 at 7:39 AM, Jon Skarpeteig wrote: > http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/aaa/ > > The module mod_authnz_ldap.c has been updated to support nested groups > in AD. I only need that one new directive from this module and I want > to compile it, and upgrade the

[us...@httpd] how can I compile a module written for apache 2.3 for apache 2.2?

2009-06-17 Thread Jon Skarpeteig
http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/aaa/ The module mod_authnz_ldap.c has been updated to support nested groups in AD. I only need that one new directive from this module and I want to compile it, and upgrade the existing apache 2.2 module. How can I do this? --

Re: [us...@httpd] MPM Default in Linux

2009-06-17 Thread ricardo figueiredo
Hi Prasanna Ram, Great Help !!! Thank you very much. Ricardo On Wed, Jun 17, 2009 at 8:30 AM, Prasanna Ram Venkatachalam < vpra...@gmail.com> wrote: > Only installing Apache ??? Couldn't insert only module worker.c ?? >> > > Nope. You have to recompile it as far as I know! > > Regards > Pra

Re: [us...@httpd] MPM Default in Linux

2009-06-17 Thread Prasanna Ram Venkatachalam
> > Only installing Apache ??? Couldn't insert only module worker.c ?? > Nope. You have to recompile it as far as I know! Regards Prasanna Ram

Re: [us...@httpd] MPM Default in Linux

2009-06-17 Thread ricardo figueiredo
Hi, On Tue, Jun 16, 2009 at 11:55 PM, Prasanna Ram Venkatachalam < vpra...@gmail.com> wrote: > >> I read Apache's documentation and would like to know: "How do default MPM >> module in Linux ??" Prefork or Worker ?? > > > Prefork is the default > >> >> Other question. How do I change to MPM Worke

[us...@httpd] ApacheConnector crashes with Native Apache 2.0.63 on Solaris 10 but works fine with compiled version of Apache 2.0.63 on Solaris 10.

2009-06-17 Thread Anilkumar DK
Hi, Our ApacheConnector crashes with Native Apache 2.0.63 (which comes with Solaris 10 Update 6 OS) when we access a resource. But works fine with compiled version of Apache 2.0.63 on Solaris 10. Note: without installing/loading our Apacheconnector, accessing a resource from native Apache 2.0.

[us...@httpd] Tomcat 6 classpath issue

2009-06-17 Thread Tom Brown
Hi This is really for the tomcat list but my subscription is taking ages to come through so... On tomcat 6.0.18 i need to set the classpath of a webapp, its the only webapp running inside this tomcat. i believe i need to do something like the following in the web.xml classpath /my/webapp/

Re: [us...@httpd] mog_authnz_ldap and AD

2009-06-17 Thread Jon Skarpeteig
How can I accomplish what I'm trying to do? On Wed, Jun 17, 2009 at 11:20 AM, Peter Schober wrote: > * Jon Skarpeteig [2009-06-17 09:56]: >> # Want to add support for nested groups by the following directive >> from http://httpd.apache.org/docs/trunk/mod/mod_authnz_ldap.html#reqgroup >> >> AuthLD

Re: [us...@httpd] mog_authnz_ldap and AD

2009-06-17 Thread Peter Schober
* Jon Skarpeteig [2009-06-17 09:56]: > # Want to add support for nested groups by the following directive > from http://httpd.apache.org/docs/trunk/mod/mod_authnz_ldap.html#reqgroup > > AuthLDAPMaxSubGroupDepth 20 > > > This gives med Internal Server Error, with the following error_log entry: >

[us...@httpd] mog_authnz_ldap and AD

2009-06-17 Thread Jon Skarpeteig
I use the following .htaccess file: # Authentication realm and method: AuthType Basic AuthBasicProvider ldap AuthName "Intranet" # DN of Active Directory server AuthLDAPUrl ldap://asdf:1234/DC=eu?sAMAccountName?sub?(objectClass=*) # An account in the AD that has enough permissions to perform an

Re: [us...@httpd] Upload stops after 30 minutes

2009-06-17 Thread Lyle Wincentsen
Perhaps you could split large files into smaller ones and upload them that way. On Wed, Jun 17, 2009 at 1:10 AM, Patrick Herber wrote: > Thanks a lot for your answer. > > Since this is a browser-based application I don't think FTP or rsync/SSH > are practicable alternatives, aren't they? > > Rega