Re: [EMAIL PROTECTED] Just relax everyone
Joshua Slive wrote: This gentleman (?) has been manually removed from the list and permanently banned from posting in the future. There is a *small* possibility that he and the german sounding person with the same complaint were having a problem with non latin-1 chars in their email address. I assume this was investigated and rejected? Jacqui - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Timezone problem
Apache records timezone in very strange ways. In my access log I can find: 85.71.22.45 - - [23/Jun/2006:06:07:20 -0500] "GET /Media/n.gif HTTP/1.1" 200 4272 "http://www.em.cz/SellingLeads/" "Mozilla/4.0 ( 85.71.22.45 - - [23/Jun/2006:13:07:20 +0200] "GET /Media/Reklama.gif HTTP/1.1" 200 5950 "http://www.em.cz/SellingLeads/" "Mozilla Please note that from the same IP I get -0500 timezone and 7 hours later +0200. Thank you for help L. - The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] how to create new request and how to send bak the response
Hello Gauri,Try to read http://www.apachetutor.org/dev/request to understant how to work with modules. You can build you own module following the down steps: First, you must have a handler source module. Your my_test.c would look something like this: #include #include static int MyTest (request_rec *r); static void RegisterHooks(apr_pool_t *p); module AP_MODULE_DECLARE_DATA my_test = { STANDARD20_MODULE_STUFF, NULL, /* Create per-directory config */ NULL, /* Merge per-directory config */ NULL, /* Create per-server config */ NULL, /* Merge per-server config */ NULL, /* Command apr_table_t */ RegisterHooks /* Register our hooks */ }; static void RegisterHooks ( apr_pool_t *p ) { ap_hook_handler(MyTest, NULL, NULL, APR_HOOK_MIDDLE); } static int MyTest (request_rec *r) { int APRStatus = OK; switch (r->finfo.filetype) { case APR_NOFILE: return(HTTP_NOT_FOUND); case APR_REG: break; default: return(DECLINED); } /* Your module's stuff */ return(APRStatus); } Next, compile you're my_test.c with apxs, an Apache command that will ensure that the module is compiled correctly. This will produce a shared library that Apache can load. Use commands like this: apxs -c -o my_test.so my_test.c mv .libs/my_test.so my_test.so Next, change the Apache configuration to have the following two lines: LoadModule my_test my_test.so SetHandler my_test Finally, restart Apache. The really hard stuff will be in the place of "Your module's stuff". There you'll need to create a bucket brigade to receive the contentsof the request, and a new bucket brigade to send the modifiedresponse back. This example assumes that you're writing a request handler, which will receive a request and send a response. However, you're probably interested in writing a filter which will be used to modify the requestwhich will ultimately be feed to a request handler further on in the request brigade. I don't have a lot of experience with filters, so I'll stop here. At the very least, you'll need to changeAPR_HOOK_MIDDLE to something else. Hope this helps,Tiago Semprebom "William A. Rowe, Jr." <[EMAIL PROTECTED]> escreveu: A good place for discussing how to write modules is the module developermailing list, [EMAIL PROTECTED] ([EMAIL PROTECTED]to subscribe).Plenty of module devs on that list who help lend a hand up on how-to.Billgauri walwadkar wrote:> Hi all,> I am very new in using Apache C-API.> I want to call one module and then give internal call to another > module(which returns a XML file ). How can I do that using C-API functions?> Whether |ap_get_client_block| > reads > request body or response body?> how to catch the response in internal calls? (How to get the xml file in > first module).> > Thanks> -Gauri> > > > Yahoo! India Answers: Share what you know. Learn something new Click > here > > Catch all the FIFA World Cup 2006 action on Yahoo! India Click here > > -The official User-To-User support forum of the Apache HTTP Server Project.See for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Abra sua conta no Yahoo! Mail - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz.
[EMAIL PROTECTED] configuration module array erased?
OS: solaris 9 Apache: 2.2 A module directive is defined like that: AP_INIT_TAKE1("MyDirective", my_directive_function, NULL, OR_FILEINFO,"Message"), Where my_directive_function is: static const char *my_directive_function (cmd_parms *cmd, void *dummy, const char *data) { server_rec* s = cmd->server; my_server_conf* sconf = ap_get_module_config(s->module_config, &my_module); my_item* p = (my_item*)apr_array_push(sconf->array); p->field = apr_pstrdup(cmd->pool, data); return NULL; } my_server_conf: typedef struct { apr_array_header_t* array; } my_server_conf; typedef struct { char *field; } my_item; The sconf->array is updated with success in my_directive_function(). But when i want to use it in a fixup function, it is empty: static int my_fixup_function (request_rec *r) { const apr_array_header_t *arr; my_item *items; int i; my_server_conf *sconf; ... sconf = ap_get_module_config(r->server->module_config, &my_module); arr = sconf->array; items = (my_item *)arr->elts; ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,"first element = %s",items[0].field); ... } In the error log i get: [Mon Jun 26 13:29:43 2006] [error] [client 123.456.78.90] first element = (null) I can't understand it (I browsed the mailing lists, apache faq, source code, apr header files). When i look at the configuration with mod_info (/server-info), values for this directive are correct. When i use a server under solaris 10 that works!!! Thank you, Manu. -- Emmanuel Leguy LIFL - UMR8022 CNRS - Bat M3 Tel: +33 3 28 77 85 32 USTL - Universite de Lille 1 Fax: +33 3 28 77 85 37 59655 VILLENEUVE D'ASCQ CEDEX - FRANCE mailto:[EMAIL PROTECTED] http://www.lifl.fr/ANNUAIRE/employee.php?login=leguye Ce mail est signe par un certificat X509 fourni par le CNRS La verification de ce certificat peut etre faite a l'adresse suivante: http://igc.services.cnrs.fr/CNRS-Standard/recherche.html smime.p7s Description: S/MIME Cryptographic Signature
Re: [EMAIL PROTECTED] configuration module array erased?
Emmanuel.Leguy a écrit : When i use a server under solaris 10 that works!!! The difference is that i don't use virtual hosting in the solaris 10 server... Manu. -- Emmanuel Leguy LIFL - UMR8022 CNRS - Bat M3 Tel: +33 3 28 77 85 32 USTL - Universite de Lille 1 Fax: +33 3 28 77 85 37 59655 VILLENEUVE D'ASCQ CEDEX - FRANCE mailto:[EMAIL PROTECTED] http://www.lifl.fr/ANNUAIRE/employee.php?login=leguye Ce mail est signe par un certificat X509 fourni par le CNRS La verification de ce certificat peut etre faite a l'adresse suivante: http://igc.services.cnrs.fr/CNRS-Standard/recherche.html smime.p7s Description: S/MIME Cryptographic Signature
[EMAIL PROTECTED] Apache in Windows XP Embedded
Hi! I've tried to install Apache 2.2 in a machine with Windows XP Embedded and when I try to start it, it writes this in the error.log file: [Mon Jun 26 15:16:18 2006] [notice] Apache/2.2.2 (Win32) configured -- resuming normal operations[Mon Jun 26 15:16:18 2006] [notice] Server built: Apr 29 2006 18:32:31[Mon Jun 26 15:16:18 2006] [crit] (OS 2)Le fichier spécifié est introuvable. : Parent: Unable to connect child stdout to NUL. [Mon Jun 26 15:16:18 2006] [crit] (OS 2)Le fichier spécifié est introuvable. : master_main: create child process failed. Exiting.[Mon Jun 26 15:16:48 2006] [notice] Parent: Forcing termination of child process 36 Obviously I've read FAQs, forums and google and I didn't find the solution. Does any Apache version works in a machine with Windows XP Embedded? Thanks for all! Jaime Duran
Re: [EMAIL PROTECTED] (again) Can not define "default" name virtual host
On 6/26/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote: Hello, this is my current configuration of apache (debian: 1.3.33-6sarge1): NameVirtualHost 195.168.3.66:80 ServerName default.fantomas.sk DocumentRoot /home/webs/default.fantomas.sk ServerName fantomas.fantomas.sk DocumentRoot /home/webs/fantomas.fantomas.sk ServerName 195.168.3.66 DocumentRoot /home/webs/195.168.3.66 However, with this configuration I was not able to reach virtual host 195.168.3.66. It seems that apache accepts name defined in as one of hames for name virtual host - when I switched to , I couldn't reach virtual host for fantomas.fantomas.sk. I can not simply use because of different virtual servers running at different IP addresses. Also, at other sites I'm configuring apache from databases that contain server-IP pairs, configuring given server at given IP, and exporting this configuration to DNS. Can anyone confirm this behaviour? Can anyone explain to my, why was name-based virtual hosting made this way? I'm fairly sure you are incorrect in your interpretation, although there is no way I'm going to load up a 1.3 server to test with. To see what is really going on, add %{Host}o and %v to your LogFormat to see what apache is seeing and how it is interpreting it. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Just relax everyone
On 6/26/06, Jacqui Caren <[EMAIL PROTECTED]> wrote: Joshua Slive wrote: > This gentleman (?) has been manually removed from the list and > permanently banned from posting in the future. There is a *small* possibility that he and the german sounding person with the same complaint were having a problem with non latin-1 chars in their email address. I assume this was investigated and rejected? There are all kinds of possible explanations. Most of them involve an error on the part of the people trying to unsubscribe; but it is also possible there is a problem with the list management software or the apache.org configuration. (For example, I know one person had a problem because apache.org was bouncing the his unsubscribe request as spam. We fixed that.) But that is irrelevant to the discussion here. Problems are delt with by calmly and politely requesting help. Mailbombing the list is a solution for nothing. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Timezone problem
On 6/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Apache records timezone in very strange ways. In my access log I can find: 85.71.22.45 - - [23/Jun/2006:06:07:20 -0500] "GET /Media/n.gif HTTP/1.1" 200 4272 "http://www.em.cz/SellingLeads/"; "Mozilla/4.0 ( 85.71.22.45 - - [23/Jun/2006:13:07:20 +0200] "GET /Media/Reklama.gif HTTP/1.1" 200 5950 "http://www.em.cz/SellingLeads/"; "Mozilla Please note that from the same IP I get -0500 timezone and 7 hours later +0200. I'm not an expert in this stuff, but mod_log_config is getting the timezone info from a call to localtime or localtime_r. Your logs probably indicate something funky happening at the OS level, rather than in apache. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Just relax everyone
Joshua Slive wrote: There are all kinds of possible explanations. Most of them involve an error on the part of the people trying to unsubscribe; but it is also possible there is a problem with the list management software or the apache.org configuration. (For example, I know one person had a problem because apache.org was bouncing the his unsubscribe request as spam. We fixed that.) I suspect he is not the only one. But that is irrelevant to the discussion here. I am not sure - if there is a problem with the system we lost a chance to find and fix it. If the problem leads to many non english users and small businesses to avoid using the lists we all lose out. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Logs indicating something not right!
I think my server is being used a proxy of some sort, but I cannot tell how.. ServerName CustomLog "|/usr/local/sbin/cronolog /srv/www/dhstracking/logs/%Y-%m-%d-XXX.log" combined DocumentRoot /srv/www/dhstracking/wwwroot HostnameLookups Off UseCanonicalName Off ServerSignature On DirectoryIndex login.do LoadModule rewrite_module /usr/lib64/apache2-prefork/mod_rewrite.so RewriteEngine On RewriteCond %{HTTPS} !=on RewriteLog "rewrite.log" RewriteRule /(.*) https://.com/$1 [R,L] AllowOverride None deny from all AllowOverride None deny from all I've posted my logs to an external URL. http://www.dfi-intl.com/~hidden/suspectlogs.txt. Essentially, my logs show hits for paths, URLs and files not even hosted on my box. Is my redirect too wide open? __ Errol Uriel Neal Jr. Sr. Network Administrator DFI International, Inc. 1717 Pennsylvania Ave NW, Suite 1300 Washington, DC 20006 Tel (202)452-6955 Fax (202)452-6910 [EMAIL PROTECTED] www.dfi-intl.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Timezone problem
Joshua, is it possible to explain a little bit more? Thank you Regards, L > On 6/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > > Apache records timezone in very strange ways. In my access log I can > > find: > > > > 85.71.22.45 - - [23/Jun/2006:06:07:20 -0500] "GET /Media/n.gif > > HTTP/1.1" > > 200 4272 "http://www.em.cz/SellingLeads/"; "Mozilla/4.0 ( > > 85.71.22.45 - - [23/Jun/2006:13:07:20 +0200] "GET /Media/Reklama.gif > > HTTP/1.1" 200 5950 "http://www.em.cz/SellingLeads/"; "Mozilla > > > > Please note that from the same IP I get -0500 timezone and 7 hours > > later +0200. > > I'm not an expert in this stuff, but mod_log_config is getting the > timezone info from a call to localtime or localtime_r. Your logs > probably indicate something funky happening at the OS level, rather > than in apache. > > Joshua. > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [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 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] Timezone problem
On Mon, Jun 26, 2006 at 11:53:27AM +0200, [EMAIL PROTECTED] wrote: >"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> > First, please do not use HTML in emails, or use at least multipart/mixed. Thank you. Second: localtime and localtime_r are standard functions of the C Library. So, in short, if your apache module calls the function localtime (or locatime_r), the C Library will return the the value your Operating system has. Rainer - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Just relax everyone
On 6/26/06, Jacqui Caren <[EMAIL PROTECTED]> wrote: I am not sure - if there is a problem with the system we lost a chance to find and fix it. If the problem leads to many non english users and small businesses to avoid using the lists we all lose out. You are deluding yourself if you think that it was possible to sensibly debug this problem with Mr. Xu. His actions proved beyond a doubt that there was no hope of a reasonable dialogue. On the other hand, people who politely address themselves to me or to the list almost always get help with their problems. The first line of help is usually "look at the instructions at the bottom of every message". But people who report problems with these instructions almost always get further detailed help. As far as problems with non-english users, that is highly unlikely. Apache.org hosts hundreds of mailing lists with well over 50,000 total subscribers. If there was any systematic issue of this type, I would have heard about it. There may be other issues that apply to very small subsets of users, and I would be happy discussing a problem with anyone who believes they face such an issue. I will not deal with people who are rude or inconsiderate to others, except by banishing them from the list. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] (again) Can not define "default" name virtual host
> On 6/26/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote: > >this is my current configuration of apache (debian: 1.3.33-6sarge1): > > > >NameVirtualHost 195.168.3.66:80 > > > > > >ServerName default.fantomas.sk > >DocumentRoot /home/webs/default.fantomas.sk > > > > > > > >ServerName fantomas.fantomas.sk > >DocumentRoot /home/webs/fantomas.fantomas.sk > > > > > > > >ServerName 195.168.3.66 > >DocumentRoot /home/webs/195.168.3.66 > > > > > >However, with this configuration I was not able to reach virtual host > >195.168.3.66. It seems that apache accepts name defined in > > as one of hames for name virtual host - > >when I switched to , I couldn't reach > >virtual host for fantomas.fantomas.sk. > > > >I can not simply use because of different virtual servers > >running at different IP addresses. Also, at other sites I'm configuring > >apache from databases that contain server-IP pairs, configuring given > >server > >at given IP, and exporting this configuration to DNS. > > > >Can anyone confirm this behaviour? Can anyone explain to my, why was > >name-based virtual hosting made this way? On 26.06.06 09:49, Joshua Slive wrote: > I'm fairly sure you are incorrect in your interpretation, although > there is no way I'm going to load up a 1.3 server to test with. > > To see what is really going on, add %{Host}o and %v to your LogFormat > to see what apache is seeing and how it is interpreting it. I think you've meant %{Host}i, but I added both: LogFormat "%{%s}t %v %V %{Host}o %{Host}i %a %h %>s %b %T %u \"%U\" \"%{Referer}i\" \"%{User-Agent}i\"" testing 1151335141 default.fantomas.sk default.fantomas.sk - default.fantomas.sk 195.168.3.66 fantomas.fantomas.sk 200 20 4 - "/" "-" "-" 1151335149 default.fantomas.sk 195.168.3.66 - 195.168.3.66 195.168.3.66 fantomas.fantomas.sk 200 20 4 - "/" "-" "-" 1151335157 fantomas.fantomas.sk fantomas.fantomas.sk - fantomas.fantomas.sk 195.168.3.66 fantomas.fantomas.sk 200 21 5 - "/" "-" "-" so, with the above configuration, requesting of 195.168.3.66 maps to "default.fantomas.sk" virtual host... -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. If Barbie is so popular, why do you have to buy her friends? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Logs indicating something not right!
On 6/26/06, Errol Neal <[EMAIL PROTECTED]> wrote: I've posted my logs to an external URL. http://www.dfi-intl.com/~hidden/suspectlogs.txt. Essentially, my logs show hits for paths, URLs and files not even hosted on my box. Is my redirect too wide open? I don't think these logs show anything particularly concerning. Yes, someone is trying to hack into your server. This happens all the time to every server on the Internet. But you are just returning redirects to your other website. I don't see how that could be a problem. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Just relax everyone
> I am not sure - if there is a problem with the system we lost a chance > to find and fix it. If the problem leads to many non english users and > small businesses to avoid using the lists we all lose out. Hi there, I'm not sure whether I can be of any assistance here, as I have tried to unsubscribe my hotmail account with the 'kenevel' username and move to a gmail/googlemail account instead as the new hotmail interface does not allow you to post in plain text. I tried to unsubscribe from [EMAIL PROTECTED] at the following times: 15/06/2006 at 10:34:23 to [EMAIL PROTECTED] 19/06/2006 at 13:45:57 to users-unsubscribe-[EMAIL PROTECTED] 22/06/2006 at 14:59:23 to [EMAIL PROTECTED] As of right now I'm still getting mail from the httpd-users' mailing list to the address I tried to unsubscribe. If you've got any questions about what I did, I'd be happy to answer them. Regards Michael - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] (again) Can not define "default" name virtual host
It maps there because it's the first in the list. If you want a VH to operate under the IP only, put it first. Matus UHLAR - fantomas wrote: >> On 6/26/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote: >>> this is my current configuration of apache (debian: 1.3.33-6sarge1): >>> >>> NameVirtualHost 195.168.3.66:80 >>> >>> >>> ServerName default.fantomas.sk >>> DocumentRoot /home/webs/default.fantomas.sk >>> >>> >>> >>> ServerName fantomas.fantomas.sk >>> DocumentRoot /home/webs/fantomas.fantomas.sk >>> >>> >>> >>> ServerName 195.168.3.66 >>> DocumentRoot /home/webs/195.168.3.66 >>> >>> >>> However, with this configuration I was not able to reach virtual host >>> 195.168.3.66. It seems that apache accepts name defined in >>> as one of hames for name virtual host - >>> when I switched to , I couldn't reach >>> virtual host for fantomas.fantomas.sk. >>> >>> I can not simply use because of different virtual servers >>> running at different IP addresses. Also, at other sites I'm configuring >>> apache from databases that contain server-IP pairs, configuring given >>> server >>> at given IP, and exporting this configuration to DNS. >>> >>> Can anyone confirm this behaviour? Can anyone explain to my, why was >>> name-based virtual hosting made this way? > > On 26.06.06 09:49, Joshua Slive wrote: >> I'm fairly sure you are incorrect in your interpretation, although >> there is no way I'm going to load up a 1.3 server to test with. >> >> To see what is really going on, add %{Host}o and %v to your LogFormat >> to see what apache is seeing and how it is interpreting it. > > I think you've meant %{Host}i, but I added both: > > LogFormat "%{%s}t %v %V %{Host}o %{Host}i %a %h %>s %b %T %u \"%U\" > \"%{Referer}i\" \"%{User-Agent}i\"" testing > > 1151335141 default.fantomas.sk default.fantomas.sk - default.fantomas.sk > 195.168.3.66 fantomas.fantomas.sk 200 20 4 - "/" "-" "-" > 1151335149 default.fantomas.sk 195.168.3.66 - 195.168.3.66 195.168.3.66 > fantomas.fantomas.sk 200 20 4 - "/" "-" "-" > 1151335157 fantomas.fantomas.sk fantomas.fantomas.sk - fantomas.fantomas.sk > 195.168.3.66 fantomas.fantomas.sk 200 21 5 - "/" "-" "-" > > so, with the above configuration, requesting of 195.168.3.66 maps to > "default.fantomas.sk" virtual host... > - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Logs indicating something not right!
Joshua Slive wrote: > On 6/26/06, Errol Neal <[EMAIL PROTECTED]> wrote: > >> I've posted my logs to an external URL. >> http://www.dfi-intl.com/~hidden/suspectlogs.txt. >> Essentially, my logs show hits for paths, URLs and files not even hosted >> on my box. Is my redirect too wide open? > > I don't think these logs show anything particularly concerning. Yes, > someone is trying to hack into your server. This happens all the time > to every server on the Internet. But you are just returning redirects > to your other website. I don't see how that could be a problem. To be clear, you are not be singled out as a target. It's more likely that an infected machine is conducting an automated attack sequence by scanning for IPs with a port 80 service, and then trying it's luck. > Joshua. > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [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 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] (again) Can not define "default" name virtual host
On 6/26/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote: I think you've meant %{Host}i, but I added both: Yes. LogFormat "%{%s}t %v %V %{Host}o %{Host}i %a %h %>s %b %T %u \"%U\" \"%{Referer}i\" \"%{User-Agent}i\"" testing 1151335141 default.fantomas.sk default.fantomas.sk - default.fantomas.sk 195.168.3.66 fantomas.fantomas.sk 200 20 4 - "/" "-" "-" 1151335149 default.fantomas.sk 195.168.3.66 - 195.168.3.66 195.168.3.66 fantomas.fantomas.sk 200 20 4 - "/" "-" "-" 1151335157 fantomas.fantomas.sk fantomas.fantomas.sk - fantomas.fantomas.sk 195.168.3.66 fantomas.fantomas.sk 200 21 5 - "/" "-" "-" so, with the above configuration, requesting of 195.168.3.66 maps to "default.fantomas.sk" virtual host... Ok. I can partially replicate this on my local server. I don't know exactly what is going on. I'll try to look again later if I have time, but you might want to file a bug report. At minimum, it doesn't seem to match what the documentation says. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] mod_actions
Title: mod_actions Hi, I can't make mod_actions works for apache version 2.0 and 2.2. I've added the following two lines in my httpd.conf file: AddHandler sdp-file-type .sdp Action sdp-file-type /cgi-bin/gen.cgi Whenever I try to access an .sdp file, I get a 404 not found error. In case you're wondering, the cgi script works and with server-info I see my action defined. Also, on a machine running apache 1.3, the same config works. Can somebody has a clue about how I could fix this ? Or is there another way I could do this (I simply wants all request for files .sdp to be redirected to a cgi script) ?
Re: [EMAIL PROTECTED] Just relax everyone
On 6/26/06, Michael Guyver <[EMAIL PROTECTED]> wrote: I'm not sure whether I can be of any assistance here, as I have tried to unsubscribe my hotmail account with the 'kenevel' username and move to a gmail/googlemail account instead as the new hotmail interface does not allow you to post in plain text. I tried to unsubscribe from [EMAIL PROTECTED] at the following times: 15/06/2006 at 10:34:23 to [EMAIL PROTECTED] 19/06/2006 at 13:45:57 to users-unsubscribe-[EMAIL PROTECTED] 22/06/2006 at 14:59:23 to [EMAIL PROTECTED] As of right now I'm still getting mail from the httpd-users' mailing list to the address I tried to unsubscribe. If you've got any questions about what I did, I'd be happy to answer them. Contact me off-list and tell me EXACTLY what happened after you sent the unsubscribe request. (Did you get an email requesting confirmation? Did you check your junk mail folder? Are you subscribed to the main list or the digest list? What is the exact email address you tried to unsubscribe?) Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] mod_actions
On 6/26/06, Ludovic Beliveau (QB/EMC) <[EMAIL PROTECTED]> wrote: I can't make mod_actions works for apache version 2.0 and 2.2. I've added the following two lines in my httpd.conf file: AddHandler sdp-file-type .sdp Action sdp-file-type /cgi-bin/gen.cgi Whenever I try to access an .sdp file, I get a 404 not found error. In case you're wondering, the cgi script works and with server-info I see my action defined. Also, on a machine running apache 1.3, the same config works. Can somebody has a clue about how I could fix this ? Or is there another way I could do this (I simply wants all request for files .sdp to be redirected to a cgi script) ? Check the 2.2 docs: http://httpd.apache.org/docs/2.2/mod/mod_actions.html Look in particular at the "virtual" keyword. Or alternatively, just use mod_rewrite to map these requests. (And yes, this was a change in behavior from 1.3 to 2.0. But my opinion is that the new behavior is better.) Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Just relax everyone
I read the bottom of the list emails and sent a request to [EMAIL PROTECTED] and here is the response. Notice the following instructions in particular: To stop subscription for this address, mail: <[EMAIL PROTECTED]> And If despite following these instructions, you do not get the desired results, please contact my owner at [EMAIL PROTECTED] Please be patient, my owner is a lot slower than I am ;-) Tony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 11:52 AM To: [EMAIL PROTECTED] Subject: ezmlm response Hi! This is the ezmlm program. I'm managing the users@httpd.apache.org mailing list. This is a generic help message. The message I received wasn't sent to any of my command addresses. --- Administrative commands for the users list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: <[EMAIL PROTECTED]> To remove your address from the list, send a message to: <[EMAIL PROTECTED]> Send mail to the following for info and FAQ for this list: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Similar addresses exist for the digest list: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> To get messages 123 through 145 (a maximum of 100 per request), mail: <[EMAIL PROTECTED]> To get an index with subject and author for messages 123-456 , mail: <[EMAIL PROTECTED]> They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: <[EMAIL PROTECTED]> The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "[EMAIL PROTECTED]", just add a hyphen and your address (with '=' instead of '@') after the command word: <[EMAIL PROTECTED]> To stop subscription for this address, mail: <[EMAIL PROTECTED]> In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at [EMAIL PROTECTED] Please be patient, my owner is a lot slower than I am ;-) Tony Heal Pace Systems Group, Inc. 800-624-5999 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Monday, June 26, 2006 11:58 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Just relax everyone On 6/26/06, Michael Guyver <[EMAIL PROTECTED]> wrote: > I'm not sure whether I can be of any assistance here, as I have tried > to unsubscribe my hotmail account with the 'kenevel' username and move > to a gmail/googlemail account instead as the new hotmail interface > does not allow you to post in plain text. > > I tried to unsubscribe from [EMAIL PROTECTED] at the following times: > > 15/06/2006 at 10:34:23 to [EMAIL PROTECTED] > 19/06/2006 at 13:45:57 to > users-unsubscribe-[EMAIL PROTECTED] > 22/06/2006 at 14:59:23 to [EMAIL PROTECTED] > > As of right now I'm still getting mail from the httpd-users' mailing > list to the address I tried to unsubscribe. If you've got any > questions about what I did, I'd be happy to answer them. Contact me off-list and tell me EXACTLY what happened after you sent the unsubscribe request. (Did you get an email requesting confirmation? Did you check your junk mail folder? Are you subscribed to the main list or the digest list? What is the exact email address you tried to unsubscribe?) Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [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 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] Caching large amounts of small images... the best way?
We are developing a new infrastructure that will serve up images directly from a database. In front of this process, we would like to place a cache of the most frequently accessed images. This would serve to reduce the load on the database image server. The images are small (under 200k). My question is what is the most effective way to do this (without a commercial cache solution like akamai). Some thoughts: some apache proxying tricks, squid, or a lightweight daemon that's dedicated to caching. Along those thought lines are the underlying filesystem, etc. Any pointers would be appreciated, thank you. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Apache does not connect to MySQL
Hi, I tried to set up an Apache server on Fedora Core 5. When I installed the system, I did select the php-mysql. But after installation, my php application can not connect MySQL server, I got : "Couldn't connect to the server : 127.0.0.1". And from the phpinfo() also shows : 'without-mysql'. The MySQL server is working. The system was : Linux core : 2.6.16-1.2133_FC5 Apache : 2.2.0 MySQL : 5.0.22 PHP: 5.1.4 Then I added 'extension=mysql.so' to php.ini. The Apache server worked fine. And php could connect to MySQL. After I did a system update, it failed again. Even I added the same "extension=mysql.so" to php.ini. My php application still can't connect to MySQL. Now my system is: Linux core : 2.6.16-1.2289_FC6 // does this mean Fedora Core 6? Apache : 2.2.2 MySQL : 5.0.22 PHP: 5.1.4 What's the problem? Thanks, Marcus - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Solved: Re: [EMAIL PROTECTED] Problem with Virtual Hots
Dan Thayer wrote: FUCK please stop emailing me, i'm getting about 30-50 a day!!! FFUUCCKK There is an unsubscribe link at the bottom of each e-mail. Please follow that. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Caching large amounts of small images... the best way?
On 6/26/06, Forrest Aldrich <[EMAIL PROTECTED]> wrote: We are developing a new infrastructure that will serve up images directly from a database. In front of this process, we would like to place a cache of the most frequently accessed images. This would serve to reduce the load on the database image server. The images are small (under 200k). My question is what is the most effective way to do this (without a commercial cache solution like akamai). Some thoughts: some apache proxying tricks, squid, or a lightweight daemon that's dedicated to caching. Along those thought lines are the underlying filesystem, etc. Any pointers would be appreciated, thank you. Apache's mod_cache + mod_disk_cache was designed for jobs exactly like this. Make sure you use version 2.2.2, since earlier versions had bugs. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Unsubscriptions issues...
Has anyone had problems unsubscribing from this mailing list? I've sent a number of messages over the past several months to the prescribed email address, but there's no effect. I've tried emailing Apache, but there's no general-support email, and no-one else will respond. Any ideas? My inbox gets flooded twenty-four hours a day, and the filtering doesn't seem to be working with my account. Dustin - The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Unsubscription issues...
Has anyone had problems unsubscribing from this mailing list? I've sent a number of messages over the past several months to the prescribed email address, but there's no effect. I've tried emailing Apache, but there's no general-support email, and no-one else will respond. Any ideas? My inbox gets flooded twenty-four hours a day, and the filtering doesn't seem to be working with my account. Dustin - The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Unsubscriptions issues...
On 6/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Has anyone had problems unsubscribing from this mailing list? I've sent a number of messages over the past several months to the prescribed email address, but there's no effect. I've tried emailing Apache, but there's no general-support email, and no-one else will respond. Any ideas? My inbox gets flooded twenty-four hours a day, and the filtering doesn't seem to be working with my account. I have removed you from the list. Please check your spam filters to see they have filtered email from [EMAIL PROTECTED] If you are sure that they haven't please send me an exact copy of one of your unsubscription requests. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] not able to do url rewriting
hi i use suse linux 10.1 64 bits (AMD) i copied my web site in local to convert it to php5 mysql apache work the problem i got in local is the url rewriting don't work my i modified in the httpd.conf Options None AllowOverride All Order deny,allow Deny from all # use .htaccess files for overriding, AccessFileName .htaccess # and never show them # Order allow,deny Deny from all in the /etc/sysconfig/apache2 i add rewrite my .htaccess Options +FollowSymlinks RewriteEngine on RewriteRule ^news([0-9]+)$ newssection.php?sec_nosection=$1 [L] in the apache error_log i get: [Mon Jun 26 13:05:09 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Mon Jun 26 13:05:09 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2) [Mon Jun 26 13:05:09 2006] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations [Mon Jun 26 13:05:46 2006] [error] [client ::1] File does not exist: /srv/www/htdocs/laboiteaprog/news1, referer: http://locg/ my web site in local is located in: /srv/www/htdocs/laboiteaprog why url rewriting don't work? thanks - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] not able to do url rewriting
On 6/26/06, Marc Collin <[EMAIL PROTECTED]> wrote: hi i use suse linux 10.1 64 bits (AMD) i copied my web site in local to convert it to php5 mysql apache work the problem i got in local is the url rewriting don't work my i modified in the httpd.conf Options None AllowOverride All Order deny,allow Deny from all # use .htaccess files for overriding, AccessFileName .htaccess # and never show them # Order allow,deny Deny from all in the /etc/sysconfig/apache2 i add rewrite my .htaccess Options +FollowSymlinks RewriteEngine on RewriteRule ^news([0-9]+)$ newssection.php?sec_nosection=$1 [L] To start with, unless absolutely necessary, I'd avoid putting the RewriteRule in .htaccess. You should just be able to put the following in the main section of httpd.conf: RewriteEngine On RewriteRule ^/laboiteaprog/news([0-9]+)$ /laboiteaprog/newssection.php?sec_nosection=$1 [L] If you really need to use .htaccess, then check if you have any other AllowOverride directives anyplace else in httpd.conf that may be overriding the one applying to . Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] SSL_set_cert_store symbol not found
When compiling apache 2.2 with: ./configure --prefix=/usr/local/apache\ --includedir=/usr/local/include\ --enable-so\ --enable-module=expires\ --enable-module=info\ --enable-module=proxy\ --enable-module=so\ --enable-module=rewrite\ --enable-module=auth_dbm\ --enable-module=usertrack\ --enable-module=log_agent\ --enable-module=log_referer\ --enable-module=auth_anon\ --enable-layout=Apache\ --with-ldap\ --enable-ldap\ --enable-authnz-ldap\ --enable-dav\ --enable-dav-lock\ --enable-deflate\ --enable--expires\ --enable-headers\ --enable-info\ --enable-mime-magic\ --enable-rewrite\ --enable-unique-id\ --enable-usertrack\ --with-pmp-prefork\ --enable-ssl\ --with-ssl=/usr/local/lib/openssl-0.9.8b\ --enable-mods-share=most I get the following error message: checking whether to enable mod_ssl... checking dependencies checking for SSL/TLS toolkit base... /usr/local/lib/openssl-0.9.8b checking for OpenSSL version... checking openssl/opensslv.h usability... yes checking openssl/opensslv.h presence... yes checking for openssl/opensslv.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes OK checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for SSLeay_version in -lcrypto... yes checking for SSL_CTX_new in -lssl... no checking for ENGINE_init... yes checking for ENGINE_load_builtin_engines... yes checking for SSL_set_cert_store... no configure: error: ... Error, SSL/TLS libraries were missing or unusable Upon looking at the config.log file, I see: configure:14271: cc -xarch=v9 -xcode=pic32 -o conftest -xarch=v9 -xcode=pic32 -x arch=v9 -xcode=pic32 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -L/ usr/local/lib -R/usr/local/lib -L/usr/local/lib/openssl-0.9.8b/lib conftest.c -l crypto -lm -luuid -lsendfile -lrt -lsocket -lnsl -lpthread >&5 "conftest.c", line 84: warning: statement not reached Undefined first referenced symbol in file SSL_set_cert_store conftest.o ld: fatal: Symbol referencing errors. No output written to conftest Looking at libssl.a, the only cert_store I see is: [139] | 19112| 8|FUNC |GLOB |0|2 |SSL_CTX_get_cert_store [140] | 19144| 36|FUNC |GLOB |0|2 |SSL_CTX_set_cert_store and that is in libssl.a, not libcrypto.a. It has the CTX part in there, but I see no reference to that in any C or header files. Note in the cc line above, that libssl.a is not referred to, only libcrypto.a (-lcrypto). I feel confident that I must have made a mistake somewhere along the line, just not sure where. I am on Solaris 10 with Sun C compiler 5.8. Thanks for any help! - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] mod_rewrite combined with scriptalias
I seem to be having trouble making url rewrite if it's inside a ScriptAlias'd directory. I have the following line in my httpd.conf file: ScriptAlias /cgi-bin/ /var/www/vhosts/site/cgi-bin/ And the following two rules in .htaccess: RewriteRule ^random/miva(.*)$ /mm5/merchant.mvc$1 [R=301] RewriteRule ^cgi-bin/miva(.*)$ /mm5/merchant.mvc$1 [R=301] The first rule properly rewrites when browsing to site/random/miva? directives=here&more=here, while the second rule refuses to rewrite. I've had a terrible time finding much reliable information on the issue, I've found one website that claims mod_rewrite will not work on a directory that is a scriptalias, because scriptalias is a 'deeper' apache module, and therefor takes precedence before mod_rewrite will kick in. My personal experience on this leads me to believe this could be true, but since I was only able to find the information on one site, with nothing to back it up, I figured i'd see what you guys had to say about that. Thanks in advance for your time. -Brad Bowman - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache dummy connection
Jim Albert wrote: T. Devergranne wrote: I have a lot of theses (Apache internal dummy connection), but I can't get rid of them, I don't know where they come from. Any hints ? 192.168.1.20 - - [09/Mar/2006:08:42:40 +] "GET / HTTP/1.0" 200 15545 "-" "Apache (internal dummy connection)" 192.168.1.20 - - [09/Mar/2006:08:42:41 +] "GET / HTTP/1.0" 200 15564 "-" "Apache (internal dummy connection)" 192.168.1.20 - - [09/Mar/2006:08:42:42 +] "GET / HTTP/1.0" 200 15440 "-" "Apache (internal dummy connection)" I'm using 2.2.0. Maybe this will help you: http://www.archivatna.com/t52552-internal-dummy-connection.html I've seen the discussion, but it doesn't help much. Anyone, an way out ? I've noticed this also starting with Apache2.2. I see a large number of those internal dummy connection requests during an apache graceful restart (SIGUSR1) and at the same time the cpu load on the Apache2.2 server maxes out at nearly 100%. I'm wondering if anyone else sees this high cpu usage with a graceful restart of Apache2.2. My home page (GET /) is dynamically generated (although running under mod_perl) but I use the following mod_rewrite rule to make / a very uncostly http request when the HTTP_USER_AGENT is "internal dummy request". RewriteEngine on RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC] RewriteRule ^/$ /small_static_page.html [L] Can anyone comment or confirm a similar experience with high cpu usage during a graceful restart of Apache2.2? My OS is Linux 2.6.16-1.2133_FC5smp In addition I see the following when doing a graceful restart of httpd: [Mon Jun 26 14:17:14 2006] [notice] Graceful restart requested, doing restart [Mon Jun 26 14:17:15 2006] [error] (9)Bad file descriptor: apr_socket_accept: (client socket) [Mon Jun 26 14:17:59 2006] [notice] Digest: generating secret for digest authentication ... [Mon Jun 26 14:17:59 2006] [notice] Digest: done I find very little on what the "Bad file descriptor: apr_socket_accept" error means. I am using Apache/2.2.0 on Linux 2.6.16-1.2133_FC5smp -- Jim Albert - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] mod_rewrite combined with scriptalias
On 6/26/06, Brad Bowman <[EMAIL PROTECTED]> wrote: I seem to be having trouble making url rewrite if it's inside a ScriptAlias'd directory. I have the following line in my httpd.conf file: ScriptAlias /cgi-bin/ /var/www/vhosts/site/cgi-bin/ And the following two rules in .htaccess: RewriteRule ^random/miva(.*)$ /mm5/merchant.mvc$1 [R=301] RewriteRule ^cgi-bin/miva(.*)$ /mm5/merchant.mvc$1 [R=301] The first rule properly rewrites when browsing to site/random/miva? directives=here&more=here, while the second rule refuses to rewrite. I've had a terrible time finding much reliable information on the issue, I've found one website that claims mod_rewrite will not work on a directory that is a scriptalias, because scriptalias is a 'deeper' apache module, and therefor takes precedence before mod_rewrite will kick in. My personal experience on this leads me to believe this could be true, but since I was only able to find the information on one site, with nothing to back it up, I figured i'd see what you guys had to say about that. Where is the .htaccess located? In the DocumentRoot or in the cgi-bin directory? The easiest fix for this would be to put the RewriteRule's in the httpd.conf instead of in .htaccess (with appropriate path adjustments). Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Mod-rewrite not finding text that is found by regex test site.
I'm trying to catch camelCase names. The mod_rewrite log file shows: RewriteCond: input='^/cgi-sys/cgiwrap/guille/wiki.pl/fooBar' pattern='^/cgi-sys/cgiwrap/guille/wiki.pl/(.*)([a-z])([A-Z])(.*)' => not-matched Testing at www.regular-expressions.info/javascriptexample.html gives: %1=/cgi-sys/cgiwrap/guille/wiki.pl/fo %2=0 %3=B %4=ar Which is what I would expect. Is this a bug? I'm using Apache 2.0.55. Mike - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Mod_Dav WindowsXP client
Setup, Apache 2.2.2 Win32 running on Windows 2000 Server. I have had little problem enabling WebDav on Apache and works great connecting from Windows XP without authentication. I can open and edit files freely. Whenever I turn on authentication I can no longer connect via Windows XP (IE6, File, Open, Web Folder.) It seems to be an issue with WindowsXP's built-in webdav client because I can successfully log in using 3rd party win32 tools such as JEdit. If I turn off DAV on the Location I can successfully login to the website so it seems I have the right AUTH setup. Anyone out there get WebDav to authenticate from WindowsXP's built in client? Or is there a WebDav Win32 client you guys recommend? Thanx. - Alias "/dav" "C:/binaries/apache2ssl/htdocs/dav" DAV On AuthType Basic AuthName "WebDAV Restricted" AuthUserFile c:\binaries\apache2ssl\conf\webdav.txt Require user ctoledo -- Christian Toledo Web Administrator WebCollage Inc. P: 646.827.2579 F: 212.563.2112 - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]