[us...@httpd] auth_ldap returns "Password Mismatch" but the password is correct
Hello, we've migrated part of our apache auth to LDAP, but suddenly we receive errors like "Password Mismatch" while the user's password is correct. In the log we can read: [Wed Dec 02 17:42:54 2009] [warn] [client ] [3659] auth_ldap authenticate: user authentication failed; URI / [ldap_simple_bind_s() to check user credentials failed][Invalid credentials] [Wed Dec 02 17:42:54 2009] [error] [client ]] user : authentication failure for "/": Password Mismatch but if we use ldapsearch command to bind to the ldap servers, with the very same username & password the user can login successfully. The httpd.conf ldap relevant entries are: # grep -i ldap /usr/local/apache/conf/httpd.conf LoadModule ldap_module modules/mod_ldap.so LoadModule authnz_ldap_module modules/mod_authnz_ldap.so LDAPVerifyServerCert Off LDAPTrustedMode STARTTLS LDAPSharedCacheSize 20 LDAPCacheEntries 1024 LDAPCacheTTL 600 LDAPOpCacheEntries 1024 LDAPOpCacheTTL 600 while the .htaccess we use is: AuthType Basic AuthName "" AuthBasicProvider ldap AuthzLDAPAuthoritative Off AuthLDAPBindDN AuthLDAPBindPassword AuthLDAPURL ldaps:///dc=ABC,dc=DEF?uid?sub?(objectClass=*) require ldap-group The password mismatch for a user usually goes away after apache is restarted, but then other users (that were able to login before restart) start facing the login incorrect. Could you please suggest what to do to resolve this really annoying problem? Thanks in advance, Sandro - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] .htaccess restricts write permission from webdav
J. Bakshi wrote: windows client simply throws error as permission denied. ... Does any one know why .htaccess prevents write access from webdav ? Hi. I am not saying that this /is/ your problem, but you should be aware of the fact that all DAV client implementations in Windows are notoriously buggy and unreliable. Search Google for this : windows +dav +miniredirector to get an idea of the dimension of the problem. We use "web folders" heavily in our own applications. We have learned by experience that, depending on the version of Windows, the patches applied, whether or not there is MS-Office installed, etc.. the behaviour of the webfolders <-> Apache DAV dialog is quite variable. All in all, this is quite frustrating, and can be very time-consuming to track down precisely. Since you can probably never insure that all client workstations have exactly the same versions, basically these different behaviours will always hit you. To avoid this kind of trouble, try to keep the interface as basic as possible. If a .htaccess does not work, try for example to set up the same access rules outside of a .htaccess file, e.g. in your server config inside of a section. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] powermail problem after upgrading to 1.4.17
Dear list, I have upgraded poermail to // 1.4.17. After up-gradation the "form" field has been changed !!! Before it was nore...@mydomain.com and the related setting is ` ` ` plugin.powermail.email.noreply = nore...@mydomain.com ` ` ` But now the form field is taking the sender address ( through which I get notification ) like powermail How to modify the typoscript to get back the noreply option in "FORM" field ? Thanks -- জয়দীপ বক্সী - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] powermail problem after upgrading to 1.4.17
J. Bakshi wrote: > Dear list, > > I have upgraded poermail to // 1.4.17. After up-gradation the "form" > field has been changed !!! Before it was nore...@mydomain.com and the > related setting is > > ` ` ` > plugin.powermail.email.noreply = nore...@mydomain.com > ` ` ` > > But now the form field is taking the sender address ( through which I > get notification ) like > > powermail > > How to modify the typoscript to get back the noreply option in "FORM" > field ? > > Thanks > > Extremely sorry, wrong list. -- জয়দীপ বক্সী - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] powermail problem after upgrading to 1.4.17
On Thu, Dec 3, 2009 at 10:11 AM, J. Bakshi wrote: > Dear list, > > I have upgraded poermail to // 1.4.17. After up-gradation the "form" > field has been changed !!! Before it was nore...@mydomain.com and the > related setting is > > ` ` ` > plugin.powermail.email.noreply = nore...@mydomain.com > ` ` ` > > But now the form field is taking the sender address ( through which I > get notification ) like > > powermail > > How to modify the typoscript to get back the noreply option in "FORM" > field ? > > Thanks > What does this have to do with Apache? Cheers Tom - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] powermail problem after upgrading to 1.4.17
Tom Evans wrote: > On Thu, Dec 3, 2009 at 10:11 AM, J. Bakshi wrote: > >> Dear list, >> >> I have upgraded poermail to // 1.4.17. After up-gradation the "form" >> field has been changed !!! Before it was nore...@mydomain.com and the >> related setting is >> >> ` ` ` >> plugin.powermail.email.noreply = nore...@mydomain.com >> ` ` ` >> >> But now the form field is taking the sender address ( through which I >> get notification ) like >> >> powermail >> >> How to modify the typoscript to get back the noreply option in "FORM" >> field ? >> >> Thanks >> >> > > What does this have to do with Apache? > > Cheers > > Tom > > Extremely sorry, I am really ashamed. wrong list Sorry -- জয়দীপ বক্সী - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] .htaccess restricts write permission from webdav
On 3 Dec 2009, at 05:36, J. Bakshi wrote: > Hello list, > > I am facing a strange problem with webdav caused by .htaccess !!! Don't. DAV configuration isn't just a map of URL-space to native-filesystem-space, which is why you need to configure it in URL-space. Anything in filesystem-space is sure to produce counterintuitive results. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Building Apache 2.2 without IPv6
On Thu, Dec 3, 2009 at 12:43 AM, Daniel Reinhardt wrote: > > How would I tell apr to leave out IPv6 when compiling? Add --disable-ipv6 to your configure options. Hint: ./configure --help (and srclib/apr/configure --help if using bundled APR) - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] list of apache modules ?
Dear all I am using RHEL 5.2 and newbie in apache, as a preliminary step i executed following command to list apache modules root# httpd -l It showed me following output, core.c prefork.c http_core.c mod_so.c I eager to know , there are only 4 apache module present in my httpd server, so i am doing something wrong. Thanks
Re: [us...@httpd] list of apache modules ?
On Thu, Dec 3, 2009 at 1:48 PM, vishesh kumar wrote: > Dear all > > I am using RHEL 5.2 and newbie in apache, as a preliminary step i executed > following command to list apache modules > > root# httpd -l > > It showed me following output, > > core.c > prefork.c > http_core.c > mod_so.c > > I eager to know , there are only 4 apache module present in my > httpd server, so i am doing something wrong. > > > Thanks > httpd -l lists compiled in modules. mod_so allows loading of non compiled in modules. All other available modules would be in $PREFIX/libexec/apache22. Cheers Tom - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] list of apache modules ?
* vishesh kumar [2009-12-03 14:49]: > I am using RHEL 5.2 and newbie in apache, as a preliminary step i executed > following command to list apache modules > > root# httpd -l > > It showed me following output, > > core.c > prefork.c > http_core.c > mod_so.c > > I eager to know , there are only 4 apache module present in my > httpd server, so i am doing something wrong. $ man httpd | fgrep -A2 ' -l ' -l Output a list of modules compiled into the server. This will not list dynamically loaded modules included using the LoadModule directive. cheers, -peter - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] list of apache modules ?
Hi, I am using RHEL 5.2 and newbie in apache, as a preliminary step i executed following command to list apache modules root# httpd -l It showed me following output, core.c prefork.c http_core.c mod_so.c You can use # httpd -t -D DUMP_MODULES or its short form # httpd -M for a list of all active (i.e. compiled-in and shared) modules. Cheers Sascha -- Softwareentwickler Fachbuchautor -- u.a. "IT-Handbuch für Fachinformatiker", http://www.galileocomputing.de/2138 - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] Re: .htaccess restricts write permission from webdav
On 2-Dec-2009, at 22:36, J. Bakshi wrote: > RewriteEngine On > RewriteRule ^typo3$ - [L] > RewriteRule ^typo3/.*$ - [L] I just went through this with wordpress. You have to exempt webdav from all the rewrites. On 25-Nov-2009, at 11:15, LuKreme wrote: > I modified the htaccess file hoping I could eliminate the webdav issue. My > webdav mount is webdav.example.com, so I did this: > > > RewriteEngine On > RewriteBase / > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{HTTP_HOST} !^webdav > RewriteRule . /index.php [L] > RewriteRule ^u/([0-9]+)$ wp-content/plugins/short-url-plugin/u.php?$1|$2 > > > That has fixed the problem and it is now possible to access the entire web > space via wedbav. the RewriteCond ${HTTP_HOST} is the line that did it. If your webdav is http://www.example.com/webdav then something like RewriteCond %{REQUEST_URI} !^webdav should work -- "I program Windows - of course it isn't safe." - Meski - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] writing modules?
Morning, I would like to make my own apache module (in C) for Linux but have no idea where to start. Any guides on doing this? Thanks! Zach - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] writing modules?
Zachary Uram wrote: > I would like to make my own apache module (in C) for Linux but > have no idea where to start. Any guides on doing this? You may want to try out http://www.apachetutor.org/ . I can also recommend the book (on the page), it's really worth the price. This helps you getting familiar with general module structure. The apxs tool (delivered with Apache) will get you started with a sample module. I think it was axps -g -n . After that, try to look at modules which offer some related features to the one you want to write. Look how they did it, try to understand why and keep experimenting. Try to understand the concepts of the APR. Just go through the online documention of the APR functions as you go through code of other modules. E.g. pool are a very important concept which you should get familiar with. Regards, Edgar - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] writing modules?
I assume you are developing for Apache 2? You might want to do some searching and reading on Apache modules API: http://www.linuxdocs.org/HOWTOs/Apache-Overview-HOWTO-12.html http://modules.apache.org/doc/Intro_API_Prog.html As well as other 'house keeping' activities that must be done: http://threebit.net/tutorials/apache2_modules/tut1/tutorial1.html O'Reiley has some pretty good books detailing the process -John On Thu, Dec 3, 2009 at 9:35 AM, Zachary Uram wrote: > Morning, > > I would like to make my own apache module (in C) for Linux but have no > idea where to start. Any guides on doing this? > > Thanks! > Zach > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >
Re: [us...@httpd] writing modules?
On Thu, Dec 3, 2009 at 2:35 PM, Zachary Uram wrote: > Morning, > > I would like to make my own apache module (in C) for Linux but have no > idea where to start. Any guides on doing this? > > Thanks! > Zach > I'd read some books: http://www.amazon.co.uk/Apache-Modules-Book-Application-Development/dp/0132409674/ref=sr_1_1?ie=UTF8&s=books&qid=1259852319&sr=8-1 or http://www.amazon.co.uk/Writing-Apache-Modules-Perl-Customizing/dp/156592567X/ref=sr_1_2?ie=UTF8&s=books&qid=1259852319&sr=8-2 if you still use apache 1.3. http://www.amazon.co.uk/Apache-Definitive-Guide-Ben-Laurie/dp/0596002033/ref=sr_1_6?ie=UTF8&s=books&qid=1259852319&sr=8-6 is ok, but doesn't really go in-depth about module development. Cheers Tom - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] writing modules?
Thanks everyone! Yes for Apache 2.x Zach - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] writing modules?
On Thu, Dec 3, 2009 at 10:04 AM, Zachary Uram wrote: > Thanks everyone! Yes for Apache 2.x Don't forget the modules in the source distribution, particularly the examples. httpd 2.2.x has modules/experimental/mod_example. httpd trunk/2.3.x, for future httpd 2.4, has improvements in modules/examples/mod*.c, but some use APIs that don't work in httpd 2.2.x. One way to use the large set of modules in the source distribution is when some httpd (ap_) or APR function looks like it may solve a problem; search for the uses of that function throughout the source. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] writing modules?
Thanks Jeff will do. Zach - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] writing modules?
On Dec 3, 2009, at 09:56 , John Hudak wrote: I assume you are developing for Apache 2? You might want to do some searching and reading on Apache modules API: http://www.linuxdocs.org/HOWTOs/Apache-Overview-HOWTO-12.html http://modules.apache.org/doc/Intro_API_Prog.html As well as other 'house keeping' activities that must be done: http://threebit.net/tutorials/apache2_modules/tut1/tutorial1.html O'Reiley has some pretty good books detailing the process No, O'Reilly doesn't have any books on the subject at all. The only book on the subject is Nick Kew's book. If you're referring to the Eagle book, please note that it's ten years old and focuses primarily on Perl. It was a good book at the time, but is now mostly a bookend. At 700 pages, it plays that role effectively and attractively. -- Rich Bowen rbo...@rcbowen.com
Re: [us...@httpd] writing modules?
On Thu, Dec 3, 2009 at 4:23 PM, Rich Bowen wrote: > > On Dec 3, 2009, at 09:56 , John Hudak wrote: > > I assume you are developing for Apache 2? > You might want to do some searching and reading on Apache modules API: > http://www.linuxdocs.org/HOWTOs/Apache-Overview-HOWTO-12.html > http://modules.apache.org/doc/Intro_API_Prog.html > > As well as other 'house keeping' activities that must be done: > http://threebit.net/tutorials/apache2_modules/tut1/tutorial1.html > > O'Reiley has some pretty good books detailing the process > > No, O'Reilly doesn't have any books on the subject at all. The only book on > the subject is Nick Kew's book. > If you're referring to the Eagle book, please note that it's ten years old > and focuses primarily on Perl. It was a good book at the time, but is now > mostly a bookend. At 700 pages, it plays that role effectively and > attractively. Harsh, thats one of my favourite books :/ The Apaloosa book (Apache : The definitive guide) has 2 chapters on 2.x module development and API, numbering ~ 100 pages, which isn't much more than the Eagle had - like you said, mostly perl. Cheers Tom - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Building Apache 2.2 without IPv6
Krist, First of all I came here for help with disabling IPv6 not a testimony from other users on how useful it is for a small LAN. Give me one good reason why IPv6 is useful for a small home LAN where I can use 192.168.0.0/16 and have more IP's then I can use. I want to do this so all my daemons are listening on IPv4, so that my Home Router can deal with it as it doesn't support IPv4 over IPv6 and vice versa. All, I want to build Apache 2.2.14 without any referrence to IPv6. I have removed IPv6 support from the Kernel, because I find it useless on a small home LAN. How would I tell apr to leave out IPv6 when compiling? The first question is why do you want to do this? And why, If this is just a small home LAN are you even compiling apache yourself. (And actually IPv6 can be very usefull on a home lan, but that's another story) Jeff, I have done the below with --disable-ipv6 in my configure options, but it still builds it with IPv6 Enabled. On Thu, Dec 3, 2009 at 12:43 AM, Daniel Reinhardt wrote: How would I tell apr to leave out IPv6 when compiling? Add --disable-ipv6 to your configure options. Hint: ./configure --help (and srclib/apr/configure --help if using bundled APR) -- From: "Jeff Trawick" Sent: 03 December, 2009 11:36 To: Subject: Re: [us...@httpd] Building Apache 2.2 without IPv6 On Thu, Dec 3, 2009 at 12:43 AM, Daniel Reinhardt wrote: How would I tell apr to leave out IPv6 when compiling? Add --disable-ipv6 to your configure options. Hint: ./configure --help (and srclib/apr/configure --help if using bundled APR) - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] Re: list of apache modules ?
Thanks all of for quick reply. On 12/3/09, Sascha Kersken wrote: > Hi, > >> I am using RHEL 5.2 and newbie in apache, as a preliminary step i >> executed following command to list apache modules >> >> root# httpd -l >> >> It showed me following output, >> >> core.c >> prefork.c >> http_core.c >> mod_so.c > > You can use > > # httpd -t -D DUMP_MODULES > or its short form > # httpd -M > > for a list of all active (i.e. compiled-in and shared) modules. > > > Cheers > Sascha > > -- > Softwareentwickler > Fachbuchautor -- u.a. "IT-Handbuch für Fachinformatiker", > http://www.galileocomputing.de/2138 > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >" from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- Sent from my mobile device http://linuxinterviews.blogspot.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Building Apache 2.2 without IPv6
On Thu, Dec 3, 2009 at 11:41 AM, Daniel Reinhardt wrote: > Jeff, > > I have done the below with --disable-ipv6 in my configure options, but it > still builds it with IPv6 Enabled. > > On Thu, Dec 3, 2009 at 12:43 AM, Daniel Reinhardt > wrote: >> >> How would I tell apr to leave out IPv6 when compiling? > > Add --disable-ipv6 to your configure options. > > Hint: ./configure --help (and srclib/apr/configure --help if using bundled > APR) I guess you're building with the system APR instead of the APR bundled with httpd. (httpd picks up IPv6 settings from the APR it uses.) Confirm that srclib/apr/include/apr.h did not get created, meaning that you are using the system APR. To build the bundled APR with httpd, allowing you to disable IPv6 in APR, add --with-included-apr to your existing configure options (including --disable-ipv6). If you have third-party modules you use with httpd, it would be best to recompile them to pick up the new APR setting. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Building Apache 2.2 without IPv6
On Thu, Dec 3, 2009 at 11:41 AM, Daniel Reinhardt wrote: Jeff, I have done the below with --disable-ipv6 in my configure options, but it still builds it with IPv6 Enabled. On Thu, Dec 3, 2009 at 12:43 AM, Daniel Reinhardt wrote: How would I tell apr to leave out IPv6 when compiling? Add --disable-ipv6 to your configure options. Hint: ./configure --help (and srclib/apr/configure --help if using bundled APR) I guess you're building with the system APR instead of the APR bundled with httpd. (httpd picks up IPv6 settings from the APR it uses.) Confirm that srclib/apr/include/apr.h did not get created, meaning that you are using the system APR. To build the bundled APR with httpd, allowing you to disable IPv6 in APR, add --with-included-apr to your existing configure options (including --disable-ipv6). If you have third-party modules you use with httpd, it would be best to recompile them to pick up the new APR setting. These are my configure options: ./configure --bindir=/usr/bin --sysconfdir=/etc/apache2 --enable-so --with-program-name=apache2 --enable-userdir=shared --enable-deflate=shared --enable-speling=shared --enable-include=shared --enable-rewrite=shared --enable-cgid=shared --enable-info=shared --enable-suexec=shared --enable-unique-id=shared --enable-usertrack=shared --enable-expires=shared --enable-cern-meta=shared --enable-mime-magic=shared --enable-headers=shared --enable-auth-dbm=shared --enable-cgi=shared --enable-asis=shared --enable-auth-digest=shared --enable-actions=shared --enable-file-cache=shared --enable-cache=shared --enable-disk-cache=shared --enable-mem-cache=shared --enable-ssl=shared --sbindir=/usr/sbin --with-included-apr --disable-ipv6 Yet when I go to http://server/server-info I see the following: Server Built With: -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" As I do not have IPv6 installed in the kernel. Thanks, Daniel - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Building Apache 2.2 without IPv6
On Thu, Dec 3, 2009 at 12:31 PM, Daniel Reinhardt wrote: >> On Thu, Dec 3, 2009 at 11:41 AM, Daniel Reinhardt >> wrote: >>> >>> Jeff, >>> >>> I have done the below with --disable-ipv6 in my configure options, but it >>> still builds it with IPv6 Enabled. >>> >>> On Thu, Dec 3, 2009 at 12:43 AM, Daniel Reinhardt >>> wrote: How would I tell apr to leave out IPv6 when compiling? >>> >>> Add --disable-ipv6 to your configure options. >>> >>> Hint: ./configure --help (and srclib/apr/configure --help if using >>> bundled >>> APR) >> >> I guess you're building with the system APR instead of the APR bundled >> with httpd. (httpd picks up IPv6 settings from the APR it uses.) >> Confirm that srclib/apr/include/apr.h did not get created, meaning >> that you are using the system APR. >> >> To build the bundled APR with httpd, allowing you to disable IPv6 in >> APR, add --with-included-apr to your existing configure options >> (including --disable-ipv6). >> >> If you have third-party modules you use with httpd, it would be best >> to recompile them to pick up the new APR setting. >> > These are my configure options: > ./configure --bindir=/usr/bin --sysconfdir=/etc/apache2 --enable-so > --with-program-name=apache2 --enable-userdir=shared --enable-deflate=shared > --enable-speling=shared --enable-include=shared --enable-rewrite=shared > --enable-cgid=shared --enable-info=shared --enable-suexec=shared > --enable-unique-id=shared --enable-usertrack=shared --enable-expires=shared > --enable-cern-meta=shared --enable-mime-magic=shared --enable-headers=shared > --enable-auth-dbm=shared --enable-cgi=shared --enable-asis=shared > --enable-auth-digest=shared --enable-actions=shared > --enable-file-cache=shared --enable-cache=shared --enable-disk-cache=shared > --enable-mem-cache=shared --enable-ssl=shared --sbindir=/usr/sbin > --with-included-apr --disable-ipv6 > > Yet when I go to http://server/server-info I see the following: > Server Built With: > -D APACHE_MPM_DIR="server/mpm/prefork" > -D APR_HAS_SENDFILE > -D APR_HAS_MMAP > -> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) dunno; what does "grep IPV6 srclib/apr/include/apr.h" show? > As I do not have IPv6 installed in the kernel. httpd figures out what to do based on system configuration - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] writing modules?
The o'Rieley book I had in mind is by MacEchren (?) and Stein...and it is with Perl and C... On Thu, Dec 3, 2009 at 11:23 AM, Rich Bowen wrote: > > On Dec 3, 2009, at 09:56 , John Hudak wrote: > > I assume you are developing for Apache 2? > You might want to do some searching and reading on Apache modules API: > http://www.linuxdocs.org/HOWTOs/Apache-Overview-HOWTO-12.html > http://modules.apache.org/doc/Intro_API_Prog.html > > As well as other 'house keeping' activities that must be done: > http://threebit.net/tutorials/apache2_modules/tut1/tutorial1.html > > O'Reiley has some pretty good books detailing the process > > > No, O'Reilly doesn't have any books on the subject at all. The only book on > the subject is Nick Kew's book. > > If you're referring to the Eagle book, please note that it's ten years old > and focuses primarily on Perl. It was a good book at the time, but is now > mostly a bookend. At 700 pages, it plays that role effectively and > attractively. > > -- > Rich Bowen > rbo...@rcbowen.com > > > >
Re: [us...@httpd] how to get multiple SSL with name based vhost ?
> On Tue, Dec 1, 2009 at 3:48 PM, Sheryl wrote: > >> To back up a moment, though -- another way to do this is to define >> multiple IPs on the network card and run multiple instances of apache, >> each with different config files. We run 20 or more on some of our >> production servers. > > You could run one instance of apache and configure each VH to listen > in a different IP. At least that how I had it understood. Certainly. But whether or not that is desirable depends upon the environment. When I first started my current job we had a number of sites (in some cases 20 or more) running from one instance of apache. As I think I said elsewhere in the post you quoted, the problem with doing it that way is that you have to upgrade all sites at the same time, take down or restart all sites at one time when you have a configuration change for one site. If you're trying to run one instance of apache to serve several different organizations that can be a problem. One might resist change while another wants to be "bleeding edge". In the past couple of years we have separated each of our web sites into a separate "stack" with its own apache, mysql, tomcat, etc. Now if one customer organization wants a change we don't have to try and get 20 web site managers in 4 organizations to coordinate down time and acceptance testing. Having separate stacks also helps us prepare for making every site a VM eventually. Running everything from one instance uses a smaller footprint than running one instance per site, but "hardware is cheap" these days. Sheryl - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] how to get multiple SSL with name based vhost ?
Brian wrote: >> To back up a moment, though -- another way to do this is to define >> multiple IPs on the network card and run multiple instances of apache, >> each with different config files. > [snip] > > That's only if he has multiple IP addresses available on the network, > right? If we assume this is a public sever, that means he needs > multiple public IP addresses from his ISP that route to this server. > That's certainly a possibility, in general, but I want to make sure > I'm not missing something awesome. Yes, it certainly depends upon his environment. If he's doing this on the job, it's likely that multiple IPs are available. If he's on an economy hosting service he probably only has one IP and no way to get another. There are some hosting services that will give you more than one IP for a fee. Probably could work up something slick with NAT'd VMware instances on a linux box that would only use one IP but that assumes he's using a box in his home or at a colocated site where he has admin access (and if it's a co-lo, probably would be able to get additional IPs I would think). >From the posting, it wasn't clear what kind of environment he was dealing with. There are drawbacks to any potential solution that I know of. Some places won't allow wild card DNS for security reasons (both my current job and my previous job are such places). SNI is cool but it isn't really released yet, is it? I thought that was coming in version 2.4. it's going to prevent people using old browsers from seeing the site judging by the discussion here. If he's trying to use the sites for e-commerce he may not want to alienate potential customers or use a release that hasn't "burned in" yet. And of course the multiple-IPs-on-linux approach won't work if he only has one IP available to him. I don't consider myself an apache expert, but I've been using it for a while (started as a web admin back in the NCSA days). I don't see a "one-size-fits-all" solution here, it seems just to be a case of which tradeoff will work best for a given environment -- at least until some time has passed and SNI support is ubiquitous. Sheryl - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] [SOLVED] Re: [us...@httpd] Building Apache 2.2 without IPv6
From: "Jeff Trawick" Sent: 03 December, 2009 17:36 To: Subject: Re: [us...@httpd] Building Apache 2.2 without IPv6 On Thu, Dec 3, 2009 at 12:31 PM, Daniel Reinhardt wrote: On Thu, Dec 3, 2009 at 11:41 AM, Daniel Reinhardt wrote: Jeff, I have done the below with --disable-ipv6 in my configure options, but it still builds it with IPv6 Enabled. On Thu, Dec 3, 2009 at 12:43 AM, Daniel Reinhardt wrote: How would I tell apr to leave out IPv6 when compiling? Add --disable-ipv6 to your configure options. Hint: ./configure --help (and srclib/apr/configure --help if using bundled APR) I guess you're building with the system APR instead of the APR bundled with httpd. (httpd picks up IPv6 settings from the APR it uses.) Confirm that srclib/apr/include/apr.h did not get created, meaning that you are using the system APR. To build the bundled APR with httpd, allowing you to disable IPv6 in APR, add --with-included-apr to your existing configure options (including --disable-ipv6). If you have third-party modules you use with httpd, it would be best to recompile them to pick up the new APR setting. These are my configure options: ./configure --bindir=/usr/bin --sysconfdir=/etc/apache2 --enable-so --with-program-name=apache2 --enable-userdir=shared --enable-deflate=shared --enable-speling=shared --enable-include=shared --enable-rewrite=shared --enable-cgid=shared --enable-info=shared --enable-suexec=shared --enable-unique-id=shared --enable-usertrack=shared --enable-expires=shared --enable-cern-meta=shared --enable-mime-magic=shared --enable-headers=shared --enable-auth-dbm=shared --enable-cgi=shared --enable-asis=shared --enable-auth-digest=shared --enable-actions=shared --enable-file-cache=shared --enable-cache=shared --enable-disk-cache=shared --enable-mem-cache=shared --enable-ssl=shared --sbindir=/usr/sbin --with-included-apr --disable-ipv6 Yet when I go to http://server/server-info I see the following: Server Built With: -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) dunno; what does "grep IPV6 srclib/apr/include/apr.h" show? As I do not have IPv6 installed in the kernel. httpd figures out what to do based on system configuration - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org I am now running Apache 2.2.14 without any IPv6 in it, and as such I am providing the following: For others in my situation I am providing my Linux Configuration Command Line options: ./configure --bindir=/usr/bin --sysconfdir=/etc/apache2 --enable-so --with-program-name=apache2 --enable-userdir=shared --enable-deflate=shared --enable-speling=shared --enable-include=shared --enable-rewrite=shared --enable-cgid=shared --enable-info=shared --enable-suexec=shared --enable-unique-id=shared --enable-usertrack=shared --enable-expires=shared --enable-cern-meta=shared --enable-mime-magic=shared --enable-headers=shared --enable-auth-dbm=shared --enable-cgi=shared --enable-asis=shared --enable-auth-digest=shared --enable-actions=shared --enable-file-cache=shared --enable-cache=shared --enable-disk-cache=shared --enable-mem-cache=shared --enable-ssl=shared --sbindir=/usr/sbin --with-included-apr --disable-mapped-ipv4 Server Version: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8k Server Built: Dec 3 2009 22:24:28 Server loaded APR Version: 1.3.9 Compiled with APR Version: 1.3.9 Server loaded APU Version: 1.3.9 Compiled with APU Version: 1.3.9 Module Magic Number: 20051115:23 Hostname/port: 192.168.1.4:80 Timeouts: connection: 300keep-alive: 5 MPM Name: Prefork MPM Information: Max Daemons: 256 Threaded: no Forked: yes Server Architecture: 32-bit Server Root: /usr/local/apache2 Config File: /etc/apache2/apache2.conf Server Built With: -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_USE_SYSVSEM_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Connection Reset
Hi Ricardo, I used 10 computers. Steve 2009/10/15 ricardo13 > > Hi Steve, > > How many computers did you use ?? > I'm using 4 computers !!! > > Ricardo > > > > Steve-422 wrote: > > > > Hi Ricardo, > > I found when I was doing my tests with httperf, I had to use multiple > > computers to do proper load testing because HTTPERF couldn't handle > > sending > > so many simultaneous connections. Through trail and error the best > results > > I > > got was using only ~400 simultaneous requests firing from the software. > > Then > > I multiplied that same load test over many computers. > > > > Steve > > > > 2009/9/30 ricardo13 > > > >> > >> The error called "connreset". > >> This is a example. > >> > >> Total: connections 1 requests 1 replies 8952 test-duration > >> 136.478 > >> s > >> > >> Connection rate: 73.3 conn/s (13.6 ms/conn, <=9387 concurrent > >> connections) > >> Connection time [ms]: min 1025.6 avg 38879.9 max 134963.6 median 33947.5 > >> stddev 23360.4 > >> Connection time [ms]: connect 16893.1 > >> Connection length [replies/conn]: 1.000 > >> > >> Request rate: 73.3 req/s (13.6 ms/req) > >> Request size [B]: 66.0 > >> > >> Reply rate [replies/s]: min 0.0 avg 66.3 max 358.8 stddev 85.5 (27 > >> samples) > >> Reply time [ms]: response 10972.9 transfer 9925.2 > >> Reply size [B]: header 176.0 content 168814.0 footer 1.0 (total > 168991.0) > >> Reply status: 1xx=0 2xx=8944 3xx=0 4xx=0 5xx=8 > >> > >> CPU time [s]: user 19.45 system 117.03 (user 14.3% system 85.8% total > >> 100.0%) > >> Net I/O: 10829.5 KB/s (88.7*10^6 bps) > >> > >> Errors: total 1048 client-timo 0 socket-timo 0 connrefused 0 connreset > >> 1048 > >> Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0 > >> > >> Ricardo > >> > >> > >> > >> > >> > >> > >> > >> awarnier wrote: > >> > > >> > ricardo13 wrote: > >> >> Hi all, > >> >> > >> >> I'm submiting workload my web cluster using HTTPERF. > >> >> The result shows several errors about connection reset. > >> >> > >> >> My doubt is, when happen connection reset ?? > >> >> > >> > Can you paste the *exact* error messages that you are seeing ? > >> > > >> > > >> > > >> > - > >> > The official User-To-User support forum of the Apache HTTP Server > >> Project. > >> > See http://httpd.apache.org/userslist.html> for more info. > >> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > >> >" from the digest: users-digest-unsubscr...@httpd.apache.org > >> > For additional commands, e-mail: users-h...@httpd.apache.org > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Connection-Reset-tp25690236p25690360.html > >> Sent from the Apache HTTP Server - Users mailing list archive at > >> Nabble.com. > >> > >> > >> - > >> The official User-To-User support forum of the Apache HTTP Server > >> Project. > >> See http://httpd.apache.org/userslist.html> for more info. > >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > >> " from the digest: users-digest-unsubscr...@httpd.apache.org > >> For additional commands, e-mail: users-h...@httpd.apache.org > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Connection-Reset-tp25690236p25913055.html > Sent from the Apache HTTP Server - Users mailing list archive at > Nabble.com. > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >
Re: [us...@httpd] Re: .htaccess restricts write permission from webdav
LuKreme wrote: > On 2-Dec-2009, at 22:36, J. Bakshi wrote: > >> RewriteEngine On >> RewriteRule ^typo3$ - [L] >> RewriteRule ^typo3/.*$ - [L] >> > > > I just went through this with wordpress. You have to exempt webdav from all > the rewrites. > > On 25-Nov-2009, at 11:15, LuKreme wrote: > >> I modified the htaccess file hoping I could eliminate the webdav issue. My >> webdav mount is webdav.example.com, so I did this: >> >> >> RewriteEngine On >> RewriteBase / >> RewriteCond %{REQUEST_FILENAME} !-f >> RewriteCond %{REQUEST_FILENAME} !-d >> RewriteCond %{HTTP_HOST} !^webdav >> RewriteRule . /index.php [L] >> RewriteRule ^u/([0-9]+)$ wp-content/plugins/short-url-plugin/u.php?$1|$2 >> >> >> That has fixed the problem and it is now possible to access the entire web >> space via wedbav. >> > > the RewriteCond ${HTTP_HOST} is the line that did it. If your webdav is > > http://www.example.com/webdav then something like > > RewriteCond %{REQUEST_URI} !^webdav > > should work > > Hello LuKreme, Thanks for your response. I have also tried the wordpress technique at first place but didn't get any success. I accessed webdav by https://192.168.1.1/webdav/user1 I placed the rule in .htaccess ` ` ` RewriteCond %{REQUEST_URI} !^webdav ` ` ` before "RewriteRule .* index.php" but no luck :-( -- জয়দীপ বক্সী - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] Re: .htaccess restricts write permission from webdav
On Dec 3, 2009, at 20:13, "J. Bakshi" wrote: RewriteCond %{REQUEST_URI} !^webdav That's wrong. !^/webdav The / is part of the uri - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Reverse proxying is problematic
Also look at mod_substitute and mod_headers On Wed, Dec 2, 2009 at 10:45 PM, Robert Schenck wrote: > Peter, > > I have to use Apache, I don't have a choice (says my employer). > > On Wed, Dec 2, 2009 at 12:13 PM, Peter Schober > wrote: >> >> * Robert Schenck [2009-12-02 12:03]: >> > My office is subscribed to few academic journals. These journals verify >> > the >> > subscription via IP, such that anyone connected to the internet through >> > our >> > connection can access the journals. >> >> You might also want to look at EZproxy >> http://en.wikipedia.org/wiki/EZproxy >> (besides getting the publisher to dump IP-addresses for authorization). >> -peter >> >> - >> The official User-To-User support forum of the Apache HTTP Server Project. >> See http://httpd.apache.org/userslist.html> for more info. >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> " from the digest: users-digest-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> > > -- "The secret impresses no-one, the trick you use it for is everything" - Alfred Borden (The Prestiege) - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Re: .htaccess restricts write permission from webdav
LuKreme wrote: > On Dec 3, 2009, at 20:13, "J. Bakshi" wrote: > >> RewriteCond %{REQUEST_URI} !^webdav > > That's wrong. > > !^/webdav > > The / is part of the uri Sorry for the mistake. I have corrected it but no luck :-( Here is my complete .htacess once again ` ` ` Options +FollowSymLinks RewriteEngine On RewriteRule ^typo3$ - [L] RewriteRule ^typo3/.*$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteCond %{REQUEST_URI} !^/webdav RewriteRule .* index.php ` ` ` and here is my apache configuration to access webdav ` ` ` ## webdav access Alias /webdav/user1 /var/personal_work_area/user1 DAV On ForceType text/plain SSLRequireSSL AuthType Basic AuthName "Personal work area" AuthUserFile /home/svn/PASSWD Require user user1 ` ` ` -- জয়দীপ বক্সী - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] HTTPS connections via mod_proxy ProxyRemote don't work
Hi all, I am using Apache as a reverse proxy (primarily because we use mod_substitute, mod_heads to add Firefox CSS fixes to a web application provided by a third party for our users). Essentially its setup as a VirtualHost that reverse proxies the requests to the external site. The complication is that this reverse proxy sits in our corporate network and all external traffic goes through a Squid proxy server. I am routing the reverse proxy traffic through squid using the ProxyRemote directive and all works well for HTTP connections. The external web site has switched to HTTPS and now when I try and proxy the connection over HTTPS it says The timeout specified has expired: proxy: HTTPS: attempt to connect ... ap_proxy_connect_backend disabling worker for (... Any ideas if I need to do something special when using ProxyRemote and HTTPS? Thanks. -- "The secret impresses no-one, the trick you use it for is everything" - Alfred Borden (The Prestiege) - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Building Apache 2.2 without IPv6
On Thu, Dec 3, 2009 at 5:41 PM, Daniel Reinhardt wrote: > Krist, > > First of all I came here for help with disabling IPv6 not a testimony from > other users on how useful it is for a small LAN. > > Give me one good reason why IPv6 is useful for a small home LAN where I can > use 192.168.0.0/16 and have more IP's then I can use. IPv6 offers a lot more than just more IP addresses. One of the goals is also to improve network autoconfiguration so network devices can truly be "plug and play". Wich is a good feature to have for people who don't want to be network admins, but still have a complex home network. There are allready media streaming devices on the market that rely on this. > I want to do this so all my daemons are listening on IPv4, so that my Home > Router can deal with it as it doesn't support IPv4 over IPv6 and vice versa. You don't need to recompile apache if that is all you want. You can safely ignore Apache's IPv6 capabilities. This is why your request sounded a bit unusual to me. Krist -- krist.vanbes...@gmail.com kr...@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Building Apache 2.2 without IPv6
Krist I prefer IPv4 addressing. I can remember 128.2.10.12 but I can't remember some insane IPv6 hexadecimal address! lol. And I love my commands such as ping, traceroute, dig, host, nslookup etc. Zach - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Building Apache 2.2 without IPv6
Zachary Uram wrote: > Krist I prefer IPv4 addressing. I can remember 128.2.10.12 but I can't > remember some insane IPv6 hexadecimal address! lol. And I love my > commands such as ping, traceroute, dig, host, nslookup etc. This has nothing to do with why to enable IPv6 in APR. Look, the IPv6 API is far superior to the standard posix IPv4 functions. IGNORE the danged IPv6 addresses, that isn't the point!!! To make Apache httpd speak only IPv4 is trivial. Replace Listen 80 with a sensible Listen 0.0.0.0:80 which tells httpd to listen only on IPv4 adapters, all of them, on their respective port 80's. And unless you tell it otherwise, it WON'T attempt to listen on any IPv6 adapters. And if IPv6 confuses you, PLEASE take a minute to look at :: syntax :) - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org