[us...@httpd] httpd.conf: Invalid argument
I am working with Apache v2.2.6 and with v2.2.12, but when i try to start Apache i receive de next error message: httpd: Could not open configuration file /usr/local/apache2.2/conf/httpd.conf: Invalid argument, the file exists and have permissions, The SO is Linux x86_64 x86_64 x86_64 GNU/Linux, Someone can tell me where is the error with Apache?? Thanks
Re: [us...@httpd] 100% CPU utilization by Apache
Actually the problem is I do not have mysql installed :) so I can be sure that there is no query running. Any more guesses. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers - 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: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] default server serving to change
On 14.06.10 11:56, Tapas Mishra wrote: I have 5 websites running on a webserver. I read Apache docs Apache serves the vhost file in alphabetical order of name of vhost file. I have a few subdomains on main domain http://mydomain.com as follows http://site1.mydomain.com http://site2.mydomain.com http://site3.mydomain.com http://site4.mydomain.com in one of them which is served by default I want to redirect to correct http://mydomain.com so I added in http://site1.mydomain.com the ReWriteRule in vhost of site1.mydomain.com as follows why rewrite rule when you can issue redirect by redirect directive? Redirect / http://sice.mydomain.com/ (note the trailing slash, it should be there) -- Matus UHLAR - fantomas, uh...@fantomas.sk ; 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. REALITY.SYS corrupted. Press any key to reboot Universe. - 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: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] RE: Where should I start Logging..... ?
Hi Between 2 instance of JBOSS 4.2.1 and Apache 2.x we use mod_jk [ available from Apache Tomcat Connector Web site ] http://tomcat.apache.org/connectors-doc/news/20100101.html#1%20March%20-%20JK-1.2.30%20released with regards karthik -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Tuesday, June 15, 2010 5:02 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] RE: Where should I start Logging. ? On Tue, Jun 15, 2010 at 6:52 AM, Karthik Nanjangude karthik.nanjang...@xius-bcgi.com wrote: Hi Is there a Timestamp validation in Apache before which the Bad Gate way is displayed ? If yes where need to fine tune If no What is the cause of this Bad Gate way at Apache level ,if the Web container at internal port is displaying the correct info ? Do you use mod_proxy_http or some proprietary plugin? -- Eric Covener cove...@gmail.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: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] default server serving to change
On Thu, Jun 17, 2010 at 5:15 PM, Matus UHLAR - fantomas uh...@fantomas.sk wrote: the ReWriteRule in vhost of site1.mydomain.com as follows why rewrite rule when you can issue redirect by redirect directive? Redirect / http://sice.mydomain.com/ Site1.mydomain.com and mydomain.com are on same Physical machine while rest are on different ones. I could not understand your reply. -- Tapas - 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: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] OPTIONS Requests Hanging Around
Hey, folks. I'm seeing a bunch of OPTIONS * requests that are hanging around for a long time. The entries in my server-status that look like this: 3-2 15981/211/71054 C 5.9361210 0 0.0 17.96 6065.14 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 8-0 30088 1/880/18596 G 2.37171552 0 0.0 73.43 1455.55 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 8-0 30088 1/880/18596 G 2.37171552 0 0.0 73.43 1455.55 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 and 10-0- 0/0/1123. 0.54427 0 0.0 0.00 95.22 127.0.0.1 pnt-web.lehman.com OPTIONS * HTTP/1.0 11-0- 0/0/1281. 1.47523 0 0.0 0.00 96.53 127.0.0.1 pnt-web.lehman.com OPTIONS * HTTP/1.0 12-0- 0/0/1433. 5.11435 0 0.0 0.00 116.47 127.0.0.1 pnt-web.lehman.com OPTIONS * HTTP/1.0 13-0- 0/0/1029. 1.26494 0 0.0 0.00 76.65 127.0.0.1 pnt-web.lehman.com OPTIONS * HTTP/1.0 14-0- 0/0/798 . 0.35474 0 0.0 0.0056.96 127.0.0.1 pnt-web.lehman.com OPTIONS * HTTP/1.0 15-0- 0/0/1453. 2.36414 0 0.0 0.00 111.63 127.0.0.1 pnt-web.lehman.com OPTIONS * HTTP/1.0 16-0- 0/0/1420. 1.86471 0 0.0 0.00 103.11 127.0.0.1 pnt-web.lehman.com OPTIONS * HTTP/1.0 17-0- 0/0/1106. 0.53469 0 0.0 0.00 79.76 127.0.0.1 pnt-web.lehman.com OPTIONS * HTTP/1.0 18-0- 0/0/. 0.41492 0 0.0 0.00 82.23 127.0.0.1 pnt-web.lehman.com OPTIONS * HTTP/1.0 19-0- 0/0/465 . 0.41436 0 0.0 0.0037.14 127.0.0.1 pnt-web.lehman.com OPTIONS * HTTP/1.0 There are also a number of much better behaved OPTIONS requests that come and go. Most of what I've seen in my googling regarding this just indicates that OPTIONS requests are a) standard method requests, and b) used by apache internally to communicate with children to see if they're up and running properly. Any thoughts? Thanks. Eric ___ This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing. Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group. ___ - 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: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] Disabling the SNI functionality?
When I use an application on Windows Vista that communicates with our server (using Apache 2.2.13 and OpenSSL 0.9.8k), it succeeds if I use the IP address of the server, but it fails when I use the FQDN of the server. When using the FQDN, I noticed that the packet (Client Hello) comes to the server with the FQDN (server name) in it. I believe this is part of the new SNI (Server Name Indication) feature of TLS. Is there a way, without recompiling Apache or OpenSSL, to disable this SNI checking on the server? I tried putting the SSLStrictSNIVHostCheck directive in the .conf file, but it had no effect. Also, making the ServerName directive in the .conf file the same as what is coming across in the packet, had no effect either. Or, is there a way within Vista to disable the sending of the server name in the packet? Thanks in advance, Dan
RE: [us...@httpd] Rails, fcgid and environment variables
With Rails phusion -- and thus likely with fcgid -- the environment variables you are seeing are likely what was in the Apache subprocess when your persistent Rails or--more generaly--fcgid--process was spawned. To be safe, I suggest you clear them during Ruby initialization, to avoid confusion later. The per-request AUTHENTICATE_* variables from are NOT in the separate Rails process environment--they are passed as request headers. --Pete -Original Message- From: LeVon Smoker [mailto:lsm...@hrcsb.org] Sent: Thursday, June 03, 2010 3:31 PM To: users@httpd.apache.org Subject: [us...@httpd] Rails, fcgid and environment variables Is there a way to make environment variables stay set when using mod_fcgid? I have the following section in an apache config: VirtualHost x.x.x.x:80 ServerName local.domain DocumentRoot /var/www/myapp/charts RewriteEngine On Directory / AuthName Charts AuthType Basic AuthBasicProvider ldap AuthLDAPBindDN ldapb...@local.domain AuthLDAPBindPassword xxx AuthLDAPUrl ldap://x.x.x.x:3268/?sAMAccountName,memberOf?sub AuthzLDAPAuthoritative off Require ldap-group cn=Charts,ou=Groups,dc=hrcsb,dc=org Require ldap-group cn=IT,ou=Groups,dc=hrcsb,dc=org Require valid-user /Directory RewriteCond %{ENV:AUTHENTICATE_MEMBEROF} (.*cn=(charts|it),.*) [NC] RewriteCond %{QUERY_STRING} ^(?!(.*batches=true.*)) RewriteRule ^/charts https://charts.local.domain/charts/?batches=true [L] RewriteCond %{ENV:AUTHENTICATE_SAMACCOUNTNAME} (.+) RewriteCond %{ENV:AUTHENTICATE_MEMBEROF} ^(?!(.*cn=(charts|it),.*)) [NC] RewriteCond %{QUERY_STRING} (.*batches=true.*) [NC] RewriteRule ^/charts https://charts.local.domain/charts/? [L] /VirtualHost The problem is that with fcgid, the environment variables get unset for some requests so my rewrites don't work. Any ideas? -- LeVon Smoker - 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: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] RE: OPTIONS Requests Hanging Around ...solved.
We found a big problem with one of the servers against which we authenticate, which was holding up both our server requests as well as that of the server to which we are proxying, and that was causing things to behave badly. Also, as most of you probably know, the '.' in the 4th column means '. Open slot with no current process', so I guess that the request and the process that served it are both done and gone. Nothing to worry about, but in the context of the other problems that we were seeing with the servers, it was causing some concern. In any case, thanks for being there. Eric -Original Message- From: Berg, Eric: IT (NYK) Sent: Thursday, June 17, 2010 2:15 PM To: users@httpd.apache.org Subject: [us...@httpd] OPTIONS Requests Hanging Around Hey, folks. I'm seeing a bunch of OPTIONS * requests that are hanging around for a long time. The entries in my server-status that look like this: 3-2 15981/211/71054 C 5.9361210 0 0.0 17.96 6065.14 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 8-0 30088 1/880/18596 G 2.37171552 0 0.0 73.43 1455.55 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 8-0 30088 1/880/18596 G 2.37171552 0 0.0 73.43 1455.55 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 and 10-0- 0/0/1123. 0.54427 0 0.0 0.0095.22 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 11-0- 0/0/1281. 1.47523 0 0.0 0.0096.53 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 12-0- 0/0/1433. 5.11435 0 0.0 0.00116.47 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 13-0- 0/0/1029. 1.26494 0 0.0 0.0076.65 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 14-0- 0/0/798 . 0.35474 0 0.0 0.0056.96 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 15-0- 0/0/1453. 2.36414 0 0.0 0.00111.63 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 16-0- 0/0/1420. 1.86471 0 0.0 0.00103.11 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 17-0- 0/0/1106. 0.53469 0 0.0 0.0079.76 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 18-0- 0/0/. 0.41492 0 0.0 0.0082.23 127.0.0.1 v.com OPTIONS * HTTP/1.0 19-0- 0/0/465 . 0.41436 0 0.0 0.0037.14 127.0.0.1 xxx.com OPTIONS * HTTP/1.0 There are also a number of much better behaved OPTIONS requests that come and go. Most of what I've seen in my googling regarding this just indicates that OPTIONS requests are a) standard method requests, and b) used by apache internally to communicate with children to see if they're up and running properly. Any thoughts? Thanks. Eric ___ This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing. Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group. ___ - 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: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org