Konflikt zwischen ldap_auth geschütztem Verzeichnis un d phpMyAdmin Zugang
Hallo Liste, bin neu hier und habe gleich zu Beginn ein Problem: Unser Intranet haben wir ganz frisch mit mod_authldap gegen Zugriff von außen abgesichert (hat nach einigem gebastel mit TLS/SSL wunderbar funktioniert) - Beim Aufruf von http://intranet kommt gleich der Anmeldebildschirm und man kann sich gegen unseren LDAP authentifizieren (funzt!). Innerhalb des Intranet liegt im Unterordner phpMyAdmin eben diese wundervolle Administrationstool, welches zur Administration unserer MySQL_Datenbanken genutzt wird. Beim Aufruf des verzeichnisses wird man sogleich nach dem MySQL-Passwort gefragt (soll ja auch so sein - im Intranet ist man ja eh drin). Leider landen die Anmeldedaten von phpMyAdmin irgendwie im gleichen Cache wie die für das Intranet (bzw. überschreiben diese) Als Folge läßt einen der Apache nicht mehr in das Verzeichnis phpMyAdmin, da er jetzt die MYSQL-Zugangsdaten für das Directory verwenden will. Sprich in der logdatei taucht die Meldung unpassender credentials für den Zugriff auf das Verzeichnis phpMyAdmin auf. Kann man dem Apache irgendwie beibringen, dass er mehrere Caches anlegt oder wie kann man das Problem lösen? Marco - Marco Lechner dienstlich: Institut für Physische Geographie Uni Freiburg Werderring 4 79085 Freiburg Fon 0761 / 203-3548 Mail [EMAIL PROTECTED] -- Apache HTTP Server Mailing List users-de unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: [EMAIL PROTECTED] php crashes with msyql
top posting still sucks... There is SOME FILE on the webserver that has a permission error. The user that apache is running under doesn't have permission to access something local that it needs. Then I would look into what I think is your badly built versions of whatever you built around in /usr/local Most likely the great thought that ./configure make make install is the professional way you build things... is what's nailing you. But I'm just guessing at this point even after reading all the related posts... But Assuming that's all you did for so many things like OpenSSL, apache, MySQL, libjpeg, libpng, curl/libcurl/weirdness, etc... (since you reference /usr/local often ) which actually aren't used in your php config in regards to the gd... hu (sentence crash) interesting.. your referencing deps of gd that aren't the actual deps... That should be fun! Anyway ... I would assume your using to many badly built things in your build. Regardless of that...building things into /usr/local is not what you need. Your .orig problem is crashing and your responding by doing updates and I'll tell you right now that will not cure most look at me crash all of a sudden problems... You should fix your production server and no I would not work on that devel system... it's crap. Zeffie... http://www.zeffie.com/ Now I build it and You surf it! Cobalt RaQ Repairs, Development, and Maintenance. Home of the Worlds Largest Collection of RaQ Updates! Cobalt Spam Filter, Security, Firewall, Anti Virus Products. Yahoo: wwwZeffie ... Aim: wwZeffie ... Msn ##snip## ... US 734-446-0350 734-454-9117 US Toll Free 800-231-4459 UK 0208-150-6860 MC, VISA, AMEX, and PayPal https://www.paypal.com/affil/pal=QJEMLKUKWAL5S - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] RE: Reverse proxy with response update (once again)
As far as I understand, these modules have very limited features : mod_proxy_xml is an output filter to rewrite links in a proxy situation. Links rewriting is one of the feature I'd like to have but is not enough. I would like to be able to send the entire response stream to a servlet for treatment (and xslt is only one part of this treatment). Thanks, Eddy -Message d'origine- De : Joost de Heer [mailto:[EMAIL PROTECTED] Envoyé : lundi 20 mars 2006 19:20 À : FRAS Eddy RD-TECH-REN Cc : users@httpd.apache.org Objet : Re: Reverse proxy with response update (once again) FRAS Eddy RD-TECH-REN wrote: I re-post this question, I'm sure someone will be able to tell me at least if it's feasible or not. I'd like to use httpd as a reverse proxy and modify the response sent by the remote server with an XSL treatment (via a servlet for example). Something like mod_proxy_html/xml perhaps? (http://apache.webthing.com) Joost - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] RedirectMatch
-Original Message- From: Sanjay Saha [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 22. März 2006 08:37 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] RedirectMatch Hi , I require a very unique expression matching with apache . Basically i would be redirecting this way, http://abc.domain.com - http://domain.com/abc/index.jsp . Let me know the right expression at vhosts.conf.. I am using VirtualHost * ServerName abc.domain.com RedirectMatch (.*)\.*$ https://www.domain.com/abc$1 You're making it more complicated than it needs to be. Why not just use: Redirect / https://www.domain.com/abc/index.jsp BTW, your post is a bit inconsistent: - example uses http, VH snippet uses https - example uses domain.com, VH snippet uses www.domain.com - example uses index.jsp, quote below uses Index.jsp It makes it difficult to tell what you're really trying to do... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. /VirtualHost But its throwing a 404 error at directory http://domain.com/abc no such file found The DirectoryIndex at apache has Index.html, Index.htm and Index.jsp Mean Let me konw a wayout . Regards.. Sanjay Saha ___ NEW Yahoo! Cars - sell your car and browse thousands of new and used cars online! http://uk.cars.yahoo.com/ - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] RedirectMatch
Hi , My earlier post has some inconsistencies . I am reposting it properly now. Let me know if there is a wayout. -- revised -- I require a very unique expression matching with apache . Basically i would be redirecting this way, http://www.abc.domain.com - http://www.domain.com/abc/Index.jsp . Let me know the right expression at vhosts.conf.. I am using VirtualHost * ServerName abc.domain.com RedirectMatch (.*)\.*$ http://www.domain.com/abc$1 /VirtualHost The above directive did worked well. But when i add Index.jsp to DirectoryIndex the above setting just didn't work. The DirectoryIndex at apache httpd.conf has Index.html,Index.htm and Index.jsp -- I have tried this : VirtualHost * ServerName abc.domain.com RedirectMatch (.*)\.jsp$ http://www.domain.com/abc$1 /VirtualHost But its throwing a 404 error at directory http://domain.com/abc no such file found Regards.. Sanjay Saha Sanjay Saha Senior System Administrator http://www.sanjaysaha.in Cel=+919830223862 ___ Yahoo! Photos NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache2 mod_xslt trouble.
Quoting Sander Smeenk ([EMAIL PROTECTED]): I'm running Apache 2.0.55, prefork mpm and mod_xslt 2004112100 on Debian servers. From time to time it seems that the daily cronjob's 'apache2ctl reload' causes Apache to 'forget' to load mod-xslt causing these warnings for each xml/xsl related request: So no-one is using mod_xslt with Apache2 ? :( Sander. -- | How many of you believe in psycho-kinesis? Raise my hand . . . | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Password protect apache home directories
hi there, what i'm trying to do is set apache so that when i user trys to access there home directory http://www.example.com/~username they have to enter there password/username? without adding in each home directory into my httpd.conf file and then adding require valid username is there a way i can do this automatically? - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] I've found this website http://httpd.apache.org/docs/2.2/mod/mod_authz_owner.html but i'm not sure if i have the mod_authz_owner can someone tell me how to find out if i do? if someone here has ever used this mod or knows how to use it with ldap can they tell me about it. this is my current setup and it's not working, it's just denying me access Directory /home/*/public_html AuthType Basic AuthName Case Network ID AuthLDAPURL ldap://127.0.0.1/ou=people,dc=fedora,dc=directory,dc=server; AuthLDAPBindDN uid=root,ou=people,dc=fedora,dc=directory,dc=server AuthLDAPBindPassword password Satisfy All require file-owner /Directory when i change it to require valid-user it works - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] okay i'm not having a lot of luck with this, can just ask a simple quesion then, how can find out if i have authz_owner_module installed and is being used by apache? - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] RE: Reverse proxy with response update (once again)
On Wednesday 22 March 2006 08:47, FRAS Eddy RD-TECH-REN wrote: As far as I understand, these modules have very limited features : mod_proxy_xml is an output filter to rewrite links in a proxy situation. Links rewriting is one of the feature I'd like to have but is not enough. OK, now you've told us what you don't want, how about what you _do_ want? There are a lot of filters available, and the single most powerful one (mod_publisher) is itself highly extensible by plugging in your own modules to its parse. Chain more than one filter if you really need to - though it should rarely be necessary to chain more than one filter in a single class (such as markup transforming filter). I would like to be able to send the entire response stream to a servlet for treatment (and xslt is only one part of this treatment). XSLT would be a different filter, and can of course be chained. But of course, XSLT cannot be streamed, so any XSLT will kill your performance if you have any larger documents. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache2 mod_xslt trouble.
On Wednesday 22 March 2006 10:04, Sander Smeenk wrote: Quoting Sander Smeenk ([EMAIL PROTECTED]): I'm running Apache 2.0.55, prefork mpm and mod_xslt 2004112100 on Debian servers. From time to time it seems that the daily cronjob's 'apache2ctl reload' causes Apache to 'forget' to load mod-xslt causing these warnings for each xml/xsl related request: Erm, I don't see a warning ... So no-one is using mod_xslt with Apache2 ? Nope. Actually there are several different modules, from different authors, called mod_xslt, so your question is already under-specified. FWIW, mod_transform is another option for XSLT, and one I'd be in a better position to help with if you had questions. The fact that debian's packaging of Apache is terminally confusing makes it harder again to get help here. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Password protect apache home directories
On Wednesday 22 March 2006 10:12, Paul Matthews wrote: okay i'm not having a lot of luck with this, can just ask a simple quesion then, how can find out if i have authz_owner_module installed and is being used by apache? Look in your error log. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] RedirectMatch
-Original Message- From: Sanjay Saha [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 22. März 2006 10:21 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] RedirectMatch Hi , My earlier post has some inconsistencies . I am reposting it properly now. Let me know if there is a wayout. -- revised -- I require a very unique expression matching with apache . Basically i would be redirecting this way, http://www.abc.domain.com - BTW, this *still* is inconsistent with the ServerName in the snippet below... http://www.domain.com/abc/Index.jsp . Let me know the right expression at vhosts.conf.. I am using VirtualHost * ServerName abc.domain.com RedirectMatch (.*)\.*$ http://www.domain.com/abc$1 What exactly are you trying to acheive with this expression? Give an example of input and output you expect. why not just use: Redirect / http://www.domain.com/abc/Index.jsp (as I suggested earlier) /VirtualHost The above directive did worked well. But when i add Index.jsp to DirectoryIndex the above setting just didn't work. What does didn't work mean? - timeout? 404? wrong page? - describe *precisely* what happened (give example of input and redirect URLs)... [I'm thinking about self-referential URLs, but until I see more details about what you're trying to do, it's pointless to speculate] The DirectoryIndex at apache httpd.conf has Index.html,Index.htm and Index.jsp General tip: it complicates life to use upper-case in URLs. HTTP (ie, domain-name part) is case-insensitive but the path part gets passed to the OS and some OSes are case-sensitive. It's much safer to use all lower-case to avoid ambiguity. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. -- I have tried this : VirtualHost * ServerName abc.domain.com RedirectMatch (.*)\.jsp$ http://www.domain.com/abc$1 /VirtualHost But its throwing a 404 error at directory http://domain.com/abc no such file found Regards.. Sanjay Saha Sanjay Saha Senior System Administrator http://www.sanjaysaha.in Cel=+919830223862 ___ Yahoo! Photos - NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Password protect apache home directories
-Original Message- From: Paul Matthews [mailto:[EMAIL PROTECTED] http://httpd.apache.org/docs/2.2/mod/mod_authz_owner.html okay i'm not having a lot of luck with this, can just ask a simple quesion then, how can find out if i have authz_owner_module installed and is being used by apache? 1) Go to the doc page listed above. 2) In the info box, top-left, there is a line Status. That reads extension. 3) Click on the word Status. This takes you to a page that tells you what extension means. Namely: A module with Extension status is not normally compiled and loaded into the server. To enable the module and its functionality, you may need to change the server build configuration files and re-compile Apache. In other words, this is a module that you might find useful but that's not popular enough to be included by default into apache. If you want it, you have to compile it specially when you compile apache and then either statically link it into apache or load it dynamically at run-time. To check you don't already have it: 1) Static: go to the apache bin directory, do ./httpd -l. This will tell you all the modules that are statically compiled into apache. 2) Dynamic: Look in the apache modules directory, look for mod_authz_owner.so. If you have it, you can load it with LoadModule (see docs for details). If you don't have it, you have to compile it. Start at http://httpd.apache.org/docs/2.2/install.html and post back if you get stuck. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] rewrite problem
Greetings all, I am currently using apache 2.0.55, but I have some problem with the rewrite rules here.It seems that all the rules that I wrote in the apache2.conf do not work at all. I have already create a symbolic link in the mods_enabled, and when I try to restart the server, it is all OK. Any suggestion could be helpful, thx lot! here's the corresponding part:ScriptAlias / /home/bbs/cgi-bin/RewriteEngine OnRewriteRule ^/SD(.*)/bbschat(.*) /www/bbschat [PT]RewriteRule ^/SD(.*)$ /www [PT]RewriteRule ^/$ /www [PT] Deephay
Re: [EMAIL PROTECTED] Password protect apache home directories
On Wednesday 22 March 2006 10:12, Paul Matthews wrote: okay i'm not having a lot of luck with this, can just ask a simple quesion then, how can find out if i have authz_owner_module installed and is being used by apache? Look in your error log. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] this is what i found in the /etc/log/httpd/error_log [Wed Mar 22 20:53:56 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Wed Mar 22 20:53:57 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations [Wed Mar 22 20:58:19 2006] [error] [client 192.168.1.34] access to /~root/ failed, reason: unknown require directive:file-owner [Wed Mar 22 20:58:19 2006] [error] [client 192.168.1.34] access to /~root/ failed, reason: user root not allowed access [Wed Mar 22 20:58:21 2006] [error] [client 192.168.1.34] access to /~root/ failed, reason: unknown require directive:file-owner [Wed Mar 22 20:58:21 2006] [error] [client 192.168.1.34] access to /~root/ failed, reason: user root not allowed access [Wed Mar 22 20:58:23 2006] [error] [client 192.168.1.34] access to /~root/ failed, reason: unknown require directive:file-owner [Wed Mar 22 20:58:23 2006] [error] [client 192.168.1.34] access to /~root/ failed, reason: user root not allowed access [Wed Mar 22 20:58:37 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: unknown require directive:file-owner [Wed Mar 22 20:58:37 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: user pma not allowed access [Wed Mar 22 20:58:39 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: unknown require directive:file-owner [Wed Mar 22 20:58:39 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: user pma not allowed access [Wed Mar 22 20:59:04 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: unknown require directive:file-owner [Wed Mar 22 20:59:04 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: user pma not allowed access [Wed Mar 22 20:59:10 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: unknown require directive:file-owner [Wed Mar 22 20:59:10 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: user pma not allowed access [Wed Mar 22 20:59:12 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: unknown require directive:file-owner [Wed Mar 22 20:59:12 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: user pma not allowed access [Wed Mar 22 20:59:14 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: unknown require directive:file-owner [Wed Mar 22 20:59:14 2006] [error] [client 192.168.1.34] access to /~pma/ failed, reason: user pma not allowed access but as you can see on this website http://httpd.apache.org/docs/2.2/mod/mod_authz_owner.html the command file-owner is real ... - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] rewrite problem
-Original Message- From: Deephay [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 22. März 2006 12:18 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] rewrite problem Greetings all, I am currently using apache 2.0.55, but I have some problem with the rewrite rules here. It seems that all the rules that I wrote in the apache2.conf do not work at all. Define do not work at all... 404? wrong page? timeout? computer explodes? I have already create a symbolic link in the mods_enabled, and when I try to restart the server, it is all OK. Any suggestion could be helpful, thx lot! Enable rewrite logging and see what appears - see docs for details. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. here's the corresponding part: ScriptAlias / /home/bbs/cgi-bin/ RewriteEngine On RewriteRule ^/SD(.*)/bbschat(.*) /www/bbschat [PT] RewriteRule ^/SD(.*)$ /www [PT] RewriteRule ^/$ /www [PT] Deephay Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] rewrite problem
Define do not work at all... 404? wrong page? timeout? computer explodes?it just like that I never wrote these rules...Enable rewrite logging and see what appears - see docs for details. I enabled the log and the file rewrite.log was successfully created, but nothing's in the fileRegards,DeephayOn 3/22/06, Boyle Owen [EMAIL PROTECTED] wrote: -Original Message- From: Deephay [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 22. März 2006 12:18 To: users@httpd.apache.org Subject: [ [EMAIL PROTECTED] rewrite problem Greetings all, I am currently using apache 2.0.55, but I have some problem with the rewrite rules here. It seems that all the rules that I wrote in the apache2.conf do not work at all.Define do not work at all... 404? wrong page? timeout? computer explodes?I have already create a symbolic link in the mods_enabled, and when I try to restart the server, it is all OK. Any suggestion could be helpful, thx lot!Enable rewrite logging and see what appears - see docs for details.Rgds,Owen BoyleDisclaimer: Any disclaimer attached to this message may be ignored. here's the corresponding part: ScriptAlias / /home/bbs/cgi-bin/ RewriteEngine On RewriteRule ^/SD(.*)/bbschat(.*) /www/bbschat [PT] RewriteRule ^/SD(.*)$ /www [PT] RewriteRule ^/$/www [PT] DeephayDiese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. -The official User-To-User support forum of the Apache HTTP Server Project.See URL:http://httpd.apache.org/userslist.html for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] rewrite problem
-Original Message- From: Deephay [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 22. März 2006 12:53 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] rewrite problem Define do not work at all... 404? wrong page? timeout? computer explodes? it just like that I never wrote these rules... So they're not being hit... - request not landing in scope (VH, Directory, etc,) - request URL doesn't match pattern Enable rewrite logging and see what appears - see docs for details. I enabled the log and the file rewrite.log was successfully created, but nothing's in the file RewriteLogLevel? Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. Regards, Deephay On 3/22/06, Boyle Owen [EMAIL PROTECTED] wrote: -Original Message- From: Deephay [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 22. März 2006 12:18 To: users@httpd.apache.org Subject: [ [EMAIL PROTECTED] rewrite problem Greetings all, I am currently using apache 2.0.55, but I have some problem with the rewrite rules here. It seems that all the rules that I wrote in the apache2.conf do not work at all. Define do not work at all... 404? wrong page? timeout? computer explodes? I have already create a symbolic link in the mods_enabled, and when I try to restart the server, it is all OK. Any suggestion could be helpful, thx lot! Enable rewrite logging and see what appears - see docs for details. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. here's the corresponding part: ScriptAlias / /home/bbs/cgi-bin/ RewriteEngine On RewriteRule ^/SD(.*)/bbschat(.*) /www/bbschat [PT] RewriteRule ^/SD(.*)$ /www [PT] RewriteRule ^/$ /www [PT] Deephay Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Password protect apache home directories
-Original Message- From: Paul Matthews [mailto:[EMAIL PROTECTED] http://httpd.apache.org/docs/2.2/mod/mod_authz_owner.html okay i'm not having a lot of luck with this, can just ask a simple quesion then, how can find out if i have authz_owner_module installed and is being used by apache? 1) Go to the doc page listed above. 2) In the info box, top-left, there is a line Status. That reads extension. 3) Click on the word Status. This takes you to a page that tells you what extension means. Namely: A module with Extension status is not normally compiled and loaded into the server. To enable the module and its functionality, you may need to change the server build configuration files and re-compile Apache. In other words, this is a module that you might find useful but that's not popular enough to be included by default into apache. If you want it, you have to compile it specially when you compile apache and then either statically link it into apache or load it dynamically at run-time. To check you don't already have it: 1) Static: go to the apache bin directory, do ./httpd -l. This will tell you all the modules that are statically compiled into apache. 2) Dynamic: Look in the apache modules directory, look for mod_authz_owner.so. If you have it, you can load it with LoadModule (see docs for details). If you don't have it, you have to compile it. Start at http://httpd.apache.org/docs/2.2/install.html and post back if you get stuck. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] hey thanks for that Owen, but i'm looking on the website i had up but i don't see any place to download the file? can you tell me where you download mod files for apache? - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] rewrite problem
So they're not being hit...- request not landing in scope (VH, Directory, etc,) but the Alias works well, but the cgi scripts are special and it is needed to use rewrite.. - request URL doesn't match patternthose rules works fine in apache 1.3, it is just upgraded it to 2.0.55 todaybecause I think apache2 is more flexibleis there anything else could effect? Enable rewrite logging and see what appears - see docs for details. I enabledthe log and the file rewrite.log was successfully created, but nothing's in the fileRewriteLogLevel?Rgds,Owen BoyleDisclaimer: Any disclaimer attached to this message may be ignored. Regards, Deephay On 3/22/06, Boyle Owen [EMAIL PROTECTED] wrote: -Original Message- From: Deephay [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 22. März 2006 12:18 To: users@httpd.apache.org Subject: [ [EMAIL PROTECTED] rewrite problem Greetings all, I am currently using apache 2.0.55, but I have some problem with the rewrite rules here. It seems that all the rules that I wrote in the apache2.conf do not work at all. Define do not work at all... 404? wrong page? timeout? computer explodes? I have already create a symbolic link in the mods_enabled, and when I try to restart the server, it is all OK. Any suggestion could be helpful, thx lot! Enable rewrite logging and see what appears - see docs for details. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. here's the corresponding part: ScriptAlias / /home/bbs/cgi-bin/ RewriteEngine On RewriteRule ^/SD(.*)/bbschat(.*) /www/bbschat [PT] RewriteRule ^/SD(.*)$ /www [PT] RewriteRule ^/$/www [PT] Deephay Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -The official User-To-User support forum of the Apache HTTP Server Project.See URL:http://httpd.apache.org/userslist.html for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] rewrite problem
and the log level is 3I've checkedOn 3/22/06, Deephay [EMAIL PROTECTED] wrote: So they're not being hit...- request not landing in scope (VH, Directory, etc,) but the Alias works well, but the cgi scripts are special and it is needed to use rewrite.. - request URL doesn't match patternthose rules works fine in apache 1.3, it is just upgraded it to 2.0.55 todaybecause I think apache2 is more flexibleis there anything else could effect? Enable rewrite logging and see what appears - see docs for details. I enabledthe log and the file rewrite.log was successfully created, but nothing's in the fileRewriteLogLevel?Rgds,Owen BoyleDisclaimer: Any disclaimer attached to this message may be ignored. Regards, Deephay On 3/22/06, Boyle Owen [EMAIL PROTECTED] wrote: -Original Message- From: Deephay [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 22. März 2006 12:18 To: users@httpd.apache.org Subject: [ [EMAIL PROTECTED] rewrite problem Greetings all, I am currently using apache 2.0.55, but I have some problem with the rewrite rules here. It seems that all the rules that I wrote in the apache2.conf do not work at all. Define do not work at all... 404? wrong page? timeout? computer explodes? I have already create a symbolic link in the mods_enabled, and when I try to restart the server, it is all OK. Any suggestion could be helpful, thx lot! Enable rewrite logging and see what appears - see docs for details. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. here's the corresponding part: ScriptAlias / /home/bbs/cgi-bin/ RewriteEngine On RewriteRule ^/SD(.*)/bbschat(.*) /www/bbschat [PT] RewriteRule ^/SD(.*)$ /www [PT] RewriteRule ^/$/www [PT] Deephay Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -The official User-To-User support forum of the Apache HTTP Server Project.See URL: http://httpd.apache.org/userslist.html for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] RedirectMatch
Hi Boyle , Much to your reply .. We have a apache + tomcat (mod_jk2 )installation . we have certain configuration for our apache which passes all requests to tomcat . Now in the apache configuration at respective file called 011-subnetworks ( at sites-enabled directory ) -- VirtualHost * ServerName bbb.domain.com RedirectMatch (.*)\.*$ https://www.domain.com/bbb$1 /VirtualHost - apache2.conf - # Based upon the NCSA server configuration files originally by Rob McCool. # Changed extensively for the Debian package by Daniel Stone [EMAIL PROTECTED] # and also by Thom May [EMAIL PROTECTED]. # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at URL:http://www.apache.org/docs/mod/core.html#lockfile); # you will save yourself a lot of trouble. ServerRoot /etc/apache2 # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. LockFile /var/lock/apache2/accept.lock # PidFile: The file in which the server should record its process # identification number when it starts. PidFile /var/run/apache2.pid # Timeout: The number of seconds before receives and sends time out. Timeout 300 # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to Off to deactivate. KeepAlive On # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. MaxKeepAliveRequests 100 # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. KeepAliveTimeout 15 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers . number of server processes to start # MinSpareServers .. mini( under sites-enabled directory )mum number of server processes which are kept spare # MaxSpareServers .. maximum number of server processes which are kept spare # MaxClients ... maximum number of server processes allowed to start # MaxRequestsPerChild .. maximum number of requests a server process serves IfModule prefork.c StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 20 MaxRequestsPerChild 0 /IfModule # pthread MPM # StartServers . initial number of server processes to start # MaxClients ... maximum number of server processes allowed to start # MinSpareThreads .. minimum number of worker threads which are kept spare # MaxSpareThreads .. maximum number of worker threads which are kept spare # ThreadsPerChild .. constant number of worker threads in each server process # MaxRequestsPerChild .. maximum number of requests a server process serves IfModule worker.c StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 /IfModule # perchild MPM # NumServers ... constant number of server processes # StartThreads . initial number of worker threads in each server process # MinSpareThreads .. minimum number of worker threads which are kept spare # MaxSpareThreads .. maximum number of worker threads which are kept spare # MaxThreadsPerChild ... maximum number of worker threads in each server process # MaxRequestsPerChild .. maximum number of connections per server process (then it dies) IfModule perchild.c NumServers 5 StartThreads 5 MinSpareThreads 5 MaxSpareThreads 10 MaxThreadsPerChild 20 MaxRequestsPerChild 0 AcceptMutex fcntl /IfModule User www-data Group www-data # The following directives define some format nicknames for use with # a CustomLog directive (see below). LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ combined LogFormat %h %l %u %t \%r\ %s %b common LogFormat %{Referer}i - %U referer LogFormat %{User-agent}i agent # Global error log. ErrorLog /var/log/apache2/error.log # Include module configuration: Include /etc/apache2/mods-enabled/*.load Include /etc/apache2/mods-enabled/*.conf # Include all the user configurations: Include /etc/apache2/httpd.conf # Include ports listing( under sites-enabled directory ) Include /etc/apache2/ports.conf # Include generic snippets of statements Include /etc/apache2/conf.d/[^.#]* #Let's have some Icons, shall we? Alias /icons/
[EMAIL PROTECTED] RedirectMatch
Hi Boyle, In regard to my earlier mail,' You must understand there is directory called /usr/projects/domain/htdocs/bbb . The system at apache is running such that a http get request for /usr/projects/domain/htdocs/bbb/index.jsp would display /usr/projects/domain/htdocs/index.jsp with it parts being dynamically generated exclusively for bbb.domain.com . I am yet to find a way to figure it out how should i modify the RedirectMatch entry to achieve this purpose. Any lights ... Regards.. ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] RedirectMatch
-Original Message- From: Sanjay Saha [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 22. März 2006 13:35 To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] RedirectMatch Hi Boyle , Hi Sanjay, I don't mean to be rude, but I don't feel inclined to pore over your config file... It's up to you to distill your problem into a simple query that a helper on the list can read and understand. I ask again: - give an example of an input URL (NB: URL - not file-path) - give an example of the output URL you want - give an example of the output URL you actually want I can't help if I can't understand what you're trying to do... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. Much to your reply .. We have a apache + tomcat (mod_jk2 )installation . we have certain configuration for our apache which passes all requests to tomcat . Now in the apache configuration at respective file called 011-subnetworks ( at sites-enabled directory ) -- VirtualHost * ServerName bbb.domain.com RedirectMatch (.*)\.*$ https://www.domain.com/bbb$1 /VirtualHost - apache2.conf - # Based upon the NCSA server configuration files originally by Rob McCool. # Changed extensively for the Debian package by Daniel Stone [EMAIL PROTECTED] # and also by Thom May [EMAIL PROTECTED]. # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at URL:http://www.apache.org/docs/mod/core.html#lockfile); # you will save yourself a lot of trouble. ServerRoot /etc/apache2 # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. LockFile /var/lock/apache2/accept.lock # PidFile: The file in which the server should record its process # identification number when it starts. PidFile /var/run/apache2.pid # Timeout: The number of seconds before receives and sends time out. Timeout 300 # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to Off to deactivate. KeepAlive On # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. MaxKeepAliveRequests 100 # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. KeepAliveTimeout 15 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers . number of server processes to start # MinSpareServers .. mini( under sites-enabled directory )mum number of server processes which are kept spare # MaxSpareServers .. maximum number of server processes which are kept spare # MaxClients ... maximum number of server processes allowed to start # MaxRequestsPerChild .. maximum number of requests a server process serves IfModule prefork.c StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 20 MaxRequestsPerChild 0 /IfModule # pthread MPM # StartServers . initial number of server processes to start # MaxClients ... maximum number of server processes allowed to start # MinSpareThreads .. minimum number of worker threads which are kept spare # MaxSpareThreads .. maximum number of worker threads which are kept spare # ThreadsPerChild .. constant number of worker threads in each server process # MaxRequestsPerChild .. maximum number of requests a server process serves IfModule worker.c StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 /IfModule # perchild MPM # NumServers ... constant number of server processes # StartThreads . initial number of worker threads in each server process # MinSpareThreads .. minimum number of worker threads which are kept spare # MaxSpareThreads .. maximum number of worker threads which are kept spare # MaxThreadsPerChild ... maximum number of worker threads in each server process # MaxRequestsPerChild .. maximum number of connections per server process (then it dies) IfModule perchild.c NumServers 5 StartThreads 5 MinSpareThreads 5
RE: [EMAIL PROTECTED] RE: Reverse proxy with response update (once again)
Thanks Nick for your answer, -Message d'origine- De : Nick Kew [mailto:[EMAIL PROTECTED] Envoyé : mercredi 22 mars 2006 11:55 À : users@httpd.apache.org Objet : Re: [EMAIL PROTECTED] RE: Reverse proxy with response update (once again) On Wednesday 22 March 2006 08:47, FRAS Eddy RD-TECH-REN wrote: As far as I understand, these modules have very limited features : mod_proxy_xml is an output filter to rewrite links in a proxy situation. Links rewriting is one of the feature I'd like to have but is not enough. OK, now you've told us what you don't want, how about what you _do_ want? That's what I tried to explain in my first post but had no answer ... It was certainly not clear enough ! :-) There are a lot of filters available, and the single most powerful one (mod_publisher) is itself highly extensible by plugging in your own modules to its parse. Chain more than one filter if you really need to - though it should rarely be necessary to chain more than one filter in a single class (such as markup transforming filter). I would like to be able to send the entire response stream to a servlet for treatment (and xslt is only one part of this treatment). XSLT would be a different filter, and can of course be chained. But of course, XSLT cannot be streamed, so any XSLT will kill your performance if you have any larger documents. That's my problem. I'm using a Cocoon environment to do a lot of work on an XML response stream and its SAX-based pipeline architecture is, I think, the best solution to have good performances. So, what I would like to is to be able to say to the Apache reverse proxy, when you receive that content type, send the response to that servlet (here Cocoon running on Tomcat). So the filter I need is a java one and I don't know if it can works. Thanks, Eddy - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Password protect apache home directories
-Original Message- From: Paul Matthews [mailto:[EMAIL PROTECTED] hey thanks for that Owen, but i'm looking on the website i had up but i don't see any place to download the file? can you tell me where you download mod files for apache? You don't have to download it, you just have to compile it... The code is already included in the apache distro, it's just that it doesn't get compiled by default. That's the meaning of extension in the context of an apache module. Follow the instructions (http://httpd.apache.org/docs/2.2/install.html#configure) - you're looking for something like --enable-authz_owner=shared... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] error log messages
Hello I have apache2 and use the mod_jk2. I get these messages in my error log: [notice] channelApr.receive(): Received len=12 type=3 and: [notice] uriMap: creating duplicate of uri www.domain.com/www.somotherdomain.net/*.jsp What do these mean? Are these related to mod_jk2? thanks - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Password protect apache home directories
On Wednesday 22 March 2006 11:19, Paul Matthews wrote: [Wed Mar 22 20:58:19 2006] [error] [client 192.168.1.34] access to /~root/ failed, reason: unknown require directive:file-owner Looks clear enough to me. You don't have the module that implements file-owner loaded. To answer your next two questions, it's in modules/aaa in your source directory, and the page in the documentation to look for how to build it is apxs. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] RedirectMatch
Hi Boyle , The simple query would be , you asked:- give an example of an input URL (NB: URL - not file-path) = bbb.domain.com = https://www.bbb.domain.com/index.jsp = www.bbb.domain.com =domain.com/bbb you asked:- give an example of the output URL you want =http://www.domain.com/bbb/index.jsp =http://www.domain.com/bbb/ you asked:- give an example of the output URL you actually want =http://www.domain.com/bbb/index.jsp The thing is , the redirected url must always be having =http://www.domain.com/bbb/index.jsp OR =http://www.domain.com/bbb/ Because inside the ServerRoot there is no directory or file called bbb . All thee is index.jsp And inside the index.jsp the mapped url is ready . Regards.. --- Boyle Owen [EMAIL PROTECTED] wrote: -Original Message- From: Sanjay Saha [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 22. März 2006 13:35 To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] RedirectMatch Hi Boyle , Hi Sanjay, I don't mean to be rude, but I don't feel inclined to pore over your config file... It's up to you to distill your problem into a simple query that a helper on the list can read and understand. I ask again: - give an example of an input URL (NB: URL - not file-path) - give an example of the output URL you want - give an example of the output URL you actually want I can't help if I can't understand what you're trying to do... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. Sanjay Saha Senior System Administrator http://www.sanjaysaha.in Cel=+919830223862 ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Retry: HostnameLookups timeout?
Hi All, I posted this one Thursday last week but so far got no answer, so I'll try again today. I have a small problem with some reverse lookups for which I hope somebody here might be able to help me with. Generally reverse lookups work well, but for some IP addresses the reverse lookup times out. With the help of our network admins, I was able to identify the problem. It is a name server problem of the ISP from which a host connects. For what ever reason, there is no answer from the problem nameserver. With HostnameLookups on, and these problem namseservers, apache waits about 12 minutes before sending any data back to the host that requested the page. On a normal Linux and Solaris command line, an nslookup, host, or dig fails within 10 seconds with a timeout. To get around this problem, I wanted to configure how long apache waits for a response, however I have not been able to find such an option. I also looked in the source code, but was not able to find where this timeout is set. Either solution is fine for me, however of course a configuration directive to set timeouts for HostnameLookups would be much more preferable. Does any one know what directive there is to set, of if there is even one? And if there's no directive, where in the source code do I look to set this? All help on this will be greatly appreciated. greetings from Austria. Markus - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Retry: HostnameLookups timeout?
What about using some kind of handler that forks its own lookup routine outside of apache (or mod_perl, perl, phython, php, etc?) Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Mar 22, 2006, at 9:14 AM, Markus Mayer wrote: Hi All, I posted this one Thursday last week but so far got no answer, so I'll try again today. I have a small problem with some reverse lookups for which I hope somebody here might be able to help me with. Generally reverse lookups work well, but for some IP addresses the reverse lookup times out. With the help of our network admins, I was able to identify the problem. It is a name server problem of the ISP from which a host connects. For what ever reason, there is no answer from the problem nameserver. With HostnameLookups on, and these problem namseservers, apache waits about 12 minutes before sending any data back to the host that requested the page. On a normal Linux and Solaris command line, an nslookup, host, or dig fails within 10 seconds with a timeout. To get around this problem, I wanted to configure how long apache waits for a response, however I have not been able to find such an option. I also looked in the source code, but was not able to find where this timeout is set. Either solution is fine for me, however of course a configuration directive to set timeouts for HostnameLookups would be much more preferable. Does any one know what directive there is to set, of if there is even one? And if there's no directive, where in the source code do I look to set this? All help on this will be greatly appreciated. greetings from Austria. Markus - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] SoS - mod_authn_pop3 compilation
* On 21/03/06 14:22 +, Nick Kew wrote: | On Tuesday 21 March 2006 14:08, Odhiambo Washington wrote: | | warta# apxs -i -a -c mod_authn_pop3.c | | Where did this mod_authn_pop3 come from? | | The error messages look like something written for an incompatible | API version - perhaps an early 2.1, or trunk before there was any 2.1. | | There's no guarantee of API compatibility in development versions, | until they reach at least beta. I later read again about this module: http://mod-auth.sourceforge.net/docs/mod_authn_pop3/ I downloaded the sources from CVS and tried compiling against apache21 and apache22. No luck! I even posted to the author with no luck as well ;) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Andrea: Unhappy the land that has no heroes. Galileo: No, unhappy the land that _needs heroes. -- Bertolt Brecht, Life of Galileo - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Retry: HostnameLookups timeout?
Thanks for the answer. It looks like I didn't really include enough info to make my question clear. In the httpd.conf file of our apache 2.0.55 we have HostnameLookups ON to get the name resolution of all hosts that come our way. If there is a problem with a name server somewhere which maintains the record for the host we are trying to lookup, the thread hangs for about 12 minutes waiting for an answer. I think your suggestion wont work in my case. We are using the reverselookups in the apache logging, and how I can make apache use an external script for this purpose is somehting I have no idea about. I think also such a solution is something that would not go down well with higher up people here. Any other ideas? regards Markus On Wednesday 22 March 2006 16:38, Boysenberry Payne wrote: What about using some kind of handler that forks its own lookup routine outside of apache (or mod_perl, perl, phython, php, etc?) Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Mar 22, 2006, at 9:14 AM, Markus Mayer wrote: Hi All, I posted this one Thursday last week but so far got no answer, so I'll try again today. I have a small problem with some reverse lookups for which I hope somebody here might be able to help me with. Generally reverse lookups work well, but for some IP addresses the reverse lookup times out. With the help of our network admins, I was able to identify the problem. It is a name server problem of the ISP from which a host connects. For what ever reason, there is no answer from the problem nameserver. With HostnameLookups on, and these problem namseservers, apache waits about 12 minutes before sending any data back to the host that requested the page. On a normal Linux and Solaris command line, an nslookup, host, or dig fails within 10 seconds with a timeout. To get around this problem, I wanted to configure how long apache waits for a response, however I have not been able to find such an option. I also looked in the source code, but was not able to find where this timeout is set. Either solution is fine for me, however of course a configuration directive to set timeouts for HostnameLookups would be much more preferable. Does any one know what directive there is to set, of if there is even one? And if there's no directive, where in the source code do I look to set this? All help on this will be greatly appreciated. greetings from Austria. Markus - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Retry: HostnameLookups timeout?
-Original Message- From: Markus Mayer [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 22. März 2006 16:15 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Retry: HostnameLookups timeout? Generally reverse lookups work well, but for some IP addresses the reverse lookup times out. To get around this problem, I wanted to configure how long apache waits for a response, however I have not been able to find such an option. I suspect that this is not apache's problem... In the OSI model, Apache works on the application layer so any requests for services from other machines are passed down to the TCP/IP layer for routing. It is there that the DNS lookup takes place. From apache's POV, all it does is ask the TCP/IP layer to get the hostname for a particular IP - apache doesn't care about the implementation... I also looked in the source code, but was not able to find where this timeout is set. look in server/core.c; apache uses apr_getnameinfo() which in turn uses the system function getnameinfo() (do man getaddrinfo for details) Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. Either solution is fine for me, however of course a configuration directive to set timeouts for HostnameLookups would be much more preferable. Does any one know what directive there is to set, of if there is even one? And if there's no directive, where in the source code do I look to set this? All help on this will be greatly appreciated. greetings from Austria. Markus - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] SoS - mod_authn_pop3 compilation
Odhiambo Washington wrote: | Where did this mod_authn_pop3 come from? http://mod-auth.sourceforge.net/docs/mod_authn_pop3/ The mod-auth stuff at sourceforge represents early development of the new 2.1/2.2 authnz framework, from long before the API had stabilised[1]. I don't know if there's a more uptodate version. If google doesn't help, try IRC: the author of mod_authn_pop3 is often to be found there (but doesn't AFAIK read this list). [1] Of course, the 2.0 API is in general preserved, but that doesn't apply to new areas such as authnz. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] How to write a postfile for Apache's ab load test tool ?
Hi, I'm trying to use the ab tool provided with Apache web server (http://httpd.apache.org/docs/2.0/programs/ab.html ) to do some basic load testing of a site, and would like to use the -p flag to supply a link to a postfile containing data to POST to the server. Does anyone know what format the data in this file should take ? I have a TCP monitoring tool that has enabled me to capture data being posted from my browser to the web server, so I have the informationneeded. Ideally I'd like to be able to POST uploaded files to the server as well, so any examples on how to do this from the postfile would beappreciated. Thanks.
Re: [EMAIL PROTECTED] Diff b/w httpd and tomcat
Khawar Wahab wrote: Need some help. I want to run a web-server on my home network and experiment with different web technologies. I'm confused whether Apache httpd is the server or tomcat is? I have hosted a JSP based site using tomcat. If tomcat is a web-server, why httpd? if both are servers what's the diff? which is better? help!!! Thanks K The diff is that Apache web-server is a webserver mainly for displaying static contents and dynamic contents using CGI scripts by default. You can use Apache also for other dynamic contents but you have to put support for it. e.g adding some so modules and doing some configuration changes in the httpd.conf file. On the other hand Tomcat is also some kind of web-server but I always refer to it as an Application Server instead. As far as I know Apache web-server is faster at serving static contents while Tomcat is faster at serving dynamic ones. The best idea of using a web-server for serving both static and dynamic contents is using a kind of a mixture of both (Apache Tomcat). In such a case you have to integrate Tomcat with Apache web-server. I hope it helps. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] mod_proxy_balance sticky sessions without cookies?
[EMAIL PROTECTED] wrote: can you send your patch details so that I can see exactly what change you made in mod_proxy_balancer.c? Here it is what i did from mod_proxy_balancer.c: --- mod_proxy_balancer.c.ORIG 2005-11-10 16:20:05.0 +0100 +++ mod_proxy_balancer.c2006-01-31 18:03:56.0 +0100 @@ -111,9 +111,17 @@ const char *name) { char *path = NULL; +char *session_id = NULL; +int i; +session_id= apr_pstrdup(pool, name); +/* Change 'JSESSIONID' to 'jsessionid' to match the value in the url */ +if (isupper(name[0])) { +for (i=0;i=strlen(session_id);i++) +session_id[i] = tolower(session_id[i]); +} -for (path = strstr(url, name); path; path = strstr(path + 1, name)) { -path += (strlen(name) + 1); +for (path = strstr(url, session_id); path; path = strstr(path + 1, session_id)) { +path += strlen(session_id); if (*path == '=') { /* * Session path was found, get it's value Thanks a bunch Oliver. I'm not sure if this is the same problem or not, but this code will definitely allow me to find out. - Sam - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] real time monitoring
Hi there, I have apache-1.3.34 on FreeBSD running with about 50 virtual hosts. I am wanting to monitor how much each site is using bandwidth and even better have real time monitoring so I can see who is getting a lot of hits. I have apachetop installed but really its only good for reading a few files at a time. I would like to be able to look at the overall usage of my apache server at one single point in time - hopefully real-time. Is there a package out there that suits my needs? hopefully open=source? Thanks in advance. cheers, Noah - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] really need help
Hi all i am still having problems setting myself up with Apache and have a cpl of quick questions which of the two files does Apache use httpd or httpd.default and should they both be the same through out, namely i am trying to use port 8080 as i think my isp blocks port 80 and have changed it in one file but not the other. the second question is how do i find out if my isp is blocking port 80 or if there is some setting i have missed as i have checked all my settings on router and have set up exceptions within the firewall. i have used a port checker on the net and port 80 is stealth and secure, not sure where its getting blocked, and port 8080 is stealth but allows icmp ping any help would be great fully appreciated i am running win xp home sp2 router is belkin g604t Jason Henderson - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Mod_Authz_Unixgroup
Hi everyone, i've come accross an apache mod that i'm trying to get working, but i'm getting some error messages when i try and follow the install.txt doc the install file is at the bottom of the e-mail, i can the command it told me to run and i got this output [EMAIL PROTECTED] mod_authz_unixgroup-1.0.0]# /usr/sbin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c so i have the mod_so.c ... but when i follow the next step i get this error message [EMAIL PROTECTED] mod_authz_unixgroup-1.0.0]# apxs -c mod_authz_unixgroup.c /bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DAP_HAVE_DESI GNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/incl ude/apr-0 -I/usr/include/httpd -c -o mod_authz_unixgroup.lo mod_authz_unixgroup.c touch mod_authz_unixgroup.slo mod_authz_unixgroup.c:5:22: mod_auth.h: No such file or directory mod_authz_unixgroup.c: In function `authz_unixgroup_check_user_access': mod_authz_unixgroup.c:184: error: `AUTHZ_GROUP_NOTE' undeclared (first use in this function) mod_authz_unixgroup.c:184: error: (Each undeclared identifier is reported only once mod_authz_unixgroup.c:184: error: for each function it appears in.) apxs:Error: Command failed with rc=65536 INSTALL.TXT file Step 1: Ensure that your Apache server is configured to handle dynamically loaded modules. To check this, run Apache server with the -l command flag, like httpd -l If mod_so.c is one of the compiled-in modules, then you are ready to go. Step 2: Compile the module using the following command in the mod_authz_unixgroup distribution directory: apxs -c mod_authz_unixgroup.c 'Apxs' is the Apache extension tool. It is part of the standard Apache installation. If you don't have it, then your Apache server is probably not set up for handling dynamically loaded modules. This should create a file named 'mod_authz_unixgroup.so'. Step 3: Install the module. Apxs can do this for you too. Do the following command (as root so you can write to Apache's directories and config files): apxs -i -a mod_authz_unixgroup.la This will create mod_authz_unixgroup.so and copy it into the proper place, and add appropriate AddModule and LoadModule commands to the configuration files. (Actually, it may get the LoadModule command wrong. See below.) Step 4: Go to the CONFIGURATION instructions below. Paul Matthews I.T Trainee | The Cathedral School Ph (07) 47222 194 | Fax (07) 47222 111 PO Box 944 Aitkenvale Q 4814 E: [EMAIL PROTECTED] W: www.cathedral.qld.edu.au Anglican coeducation | Day and Boarding | Early Childhood to Year 12 Educating for life-long success *** IMPORTANT NOTICE REGARDING CONFIDENTIALITY This electronic email message is intended only for the addressee and may contain confidential information. If you are not the addressee, you are notified that any transmission, distribution or photocopying of this email is strictly prohibited. The confidentiality attached to this email is not waived, lost or destroyed by reasons of a mistaken delivery to you. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Connection refused, most times.
Everything looks ok in server-status. And I have no zombies. Server uptime: 3 minutes 38 seconds Total accesses: 5 - Total Traffic: 120 kB CPU Usage: u1.69 s.21 cu.01 cs0 - .876% CPU load .0229 requests/sec - 563 B/second - 24.0 kB/request 1 requests currently being processed, 6 idle workers ... Look at 'server-status' and see how many workers you have available. Maybe you also have a bunch of 'zombie' threads that need to killed. URL: http://servername/server-status You may need to enable the server-status in the httpd.conf file. Apache Server Status for esystems.bankofamerica.com Server Version: Apache/2.0.48 (Win32) mod_perl/1.99_13-dev Perl/v5.8.3 PHP/4.3.4 Server Built: Nov 2 2003 23:31:38 Current Time: Tuesday, 21-Mar-2006 15:10:54 Eastern Standard Time Restart Time: Thursday, 16-Mar-2006 05:05:06 Eastern Standard Time Parent Server Generation: 0 Server uptime: 5 days 10 hours 5 minutes 48 seconds Total accesses: 618854 - Total Traffic: 7.4 GB 1.32 requests/sec - 16.6 kB/second - 12.5 kB/request 12 requests currently being processed, 238 idle workers W__K__K__KK_K_KK__K_K_KK__.. -Original Message- From: Brian Wagener [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 14:56 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Connection refused, most times. I am having problems with my local webserver, where 9 out of 10 times when I try to access page, I get connection refused, but if I come back an hour later 1 out of 10 times it does work. The clients are windows XP, and apache is running on gentoo Linux. At first I thought maybe a firewall was to blame, but as you see below, the traffic is getting through. Can anyone see anything from looking at the tcp logs below? Thanks in Advance, Brian On server using tcpdump on Gentoo Linux: 08:41:29.556167 IP 10.0.0.147.1092 10.0.0.1.80: S 3674532880:3674532880(0) win 65535 mss 1460,nop,nop,sackOK 08:41:29.556232 IP 10.0.0.1.80 10.0.0.147.1092: R 0:0(0) ack 3674532881 win 0 08:41:30.017045 IP 10.0.0.147.1092 10.0.0.1.80: S 3674532880:3674532880(0) win 65535 mss 1460,nop,nop,sackOK 08:41:30.017129 IP 10.0.0.1.80 10.0.0.147.1092: R 0:0(0) ack 1 win 0 08:41:30.517615 IP 10.0.0.147.1092 10.0.0.1.80: S 3674532880:3674532880(0) win 65535 mss 1460,nop,nop,sackOK 08:41:30.517692 IP 10.0.0.1.80 10.0.0.147.1092: R 0:0(0) ack 1 win 0 On client using Ethereal in WinXP: 54 13.030348 10.0.0.14710.0.0.1 TCP 1092 http [SYN] Seq=0 Ack=0 Win=65535 Len=0 MSS=1460 55 13.030637 10.0.0.1 10.0.0.147TCP http 1092 [RST, ACK] Seq=0 Ack=0 Win=0 Len=0 59 13.491376 10.0.0.14710.0.0.1 TCP 1092 http [SYN] Seq=0 Ack=0 Win=65535 Len=0 MSS=1460 60 13.491911 10.0.0.1 10.0.0.147TCP http 1092 [RST, ACK] Seq=0 Ack=1 Win=0 Len=0 64 13.992120 10.0.0.14710.0.0.1 TCP 1092 http [SYN] Seq=0 Ack=0 Win=65535 Len=0 MSS=1460 65 13.992676 10.0.0.1 10.0.0.147TCP http 1092 [RST, ACK] Seq=0 Ack=1 Win=0 Len=0 - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] really need help
telnet ip 80 GET If you can get information, it means you can accept your web site. If the connection is refused, you should try telnet to your localhost:80 so that you can sure whether your server is running. On 3/23/06, Jason Henderson [EMAIL PROTECTED] wrote: Hi all i am still having problems setting myself up with Apache and have a cpl of quick questions which of the two files does Apache use httpd or httpd.default and should they both be the same through out, namely i am trying to use port 8080 as i think my isp blocks port 80 and have changed it in one file but not the other. the second question is how do i find out if my isp is blocking port 80 or if there is some setting i have missed as i have checked all my settings on router and have set up exceptions within the firewall. i have used a port checker on the net and port 80 is stealth and secure, not sure where its getting blocked, and port 8080 is stealth but allows icmp ping any help would be great fully appreciated i am running win xp home sp2 router is belkin g604t Jason Henderson - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] [Question]how to output to access log from original module?
Hi everyone! I am going to develop original module based on Apache httpd Ver.2.0.55. [Question]How to output to access log from my module with original format without modefication core sources:core.c, http_core.c,mod_log_config.c Is it possible? Many thanks. T.Okamoto - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] [Question]how to output to access log from original module?
On 3/22/06, Okamoto Toshiaki [EMAIL PROTECTED] wrote: Hi everyone! I am going to develop original module based on Apache httpd Ver.2.0.55. [Question]How to output to access log from my module with original format without modefication core sources:core.c, http_core.c,mod_log_config.c Is it possible? You can write something to a note or env variable that can then be logged with the appropriate format string. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Concurrent Connecting Module - Directory Level
Hello Apache People! I'm running Apache 1.3.33 on Slackware 10.2 (2.4.31). I have mod_throttle installed for virtual host total bandwith limiting, mod_bandwidth installed for speed reductions and global connection limiting, and am looking for a solution to limit the maximum number of conncurrent connections from an IP on the Directory and File level. I was hoping mod_choke would do the job, however, the MaxConnectionsPerUser directive is only valid in the vhost and server config contexts. This is the solution I'm trying to solve: The server I am administrating is temporarily on a slow connection, so I have to limit the maximum download speed to 1/3 of the possible bandwidth. Unfortunatly, the purpose of the server is for letting others download mp3s from this record label's server, so the maximum allowed concurrent connections to mp3s is 2. I'm trying to limit it further so that it's 3 globally downloading mp3s at once and only allowing one download of an mp3 from a single IP. mod_choke sounds like it'd do the job...if I could use it in the file/directory context. Creating a separate vhost is out of the question because producers are allowed to upload mp3s whereever they want. Thanks in advance, Cody Harris -- Website: http://vectec.net Forums: http://vectec.net/forums - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] [Question]how to output to access log from original module?
Hi Joshua. Thank for your quick Response. On 2006/03/23 11:43, Joshua Slive wrote: On 3/22/06, Okamoto Toshiaki [EMAIL PROTECTED] wrote: Hi everyone! I am going to develop original module based on Apache httpd Ver.2.0.55. [Question]How to output to access log from my module with original format without modefication core sources:core.c, http_core.c,mod_log_config.c Is it possible? You can write something to a note or env variable that can then be logged with the appropriate format string. Would you teach me a more pricisely to write to a note or pointer to related documents or codes? Joshua. T. Okamoto - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] monitoring apache log files real-time
Hi there, I have apache-1.3.34 on FreeBSD running with about 50 virtual hosts. I am wanting to monitor how much each site is using bandwidth and even better have real time monitoring so I can see who is getting a lot of hits. I have apachetop installed but really its only good for reading a few files at a time. I would like to be able to look at the overall usage of my apache server at one single point in time - hopefully real-time. Is there a package out there that suits my needs? hopefully open=source? Thanks in advance. cheers, Noah - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Re: [apachemlen] Re: [EMAIL PROTECTED] [Question]how to output to access log from original module?
Self following. On 2006/03/23 13:34, Okamoto Toshiaki wrote: Hi Joshua. Thank for your quick Response. On 2006/03/23 11:43, Joshua Slive wrote: On 3/22/06, Okamoto Toshiaki [EMAIL PROTECTED] wrote: Hi everyone! I am going to develop original module based on Apache httpd Ver.2.0.55. [Question]How to output to access log from my module with original format without modefication core sources:core.c, http_core.c,mod_log_config.c Is it possible? You can write something to a note or env variable that can then be logged with the appropriate format string. Would you teach me a more pricisely to write to a note or pointer to related documents or codes? Joshua. Add to Customlog directive folling term %{MY-LOG1}n In my module call following function apr_table_set(r-notes,MY-LOG, LOGValue); I have one question about notes table:r-notes. Is there limitations of table: Maximum sizeof value? T. Okamoto - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thank you T.Okamoto - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]