RE: [EMAIL PROTECTED] Apache 2.0.54 - Can't get it to run on Solaris 5.8
Could you post the contents of your /etc/nsswitch.conf and /etc/resolv.conf ? (You may anonymise the IP addresses) -ascs -Original Message- From: Nash, Marty [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 9:34 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Apache 2.0.54 - Can't get it to run on Solaris 5.8 Davide, Here's the output from the httpd -S ksh -x ./httpd -S + + /bin/pwd + 2 /dev/null PWD=/usr/local/apache2/bin ksh: ./httpd: cannot execute Here are the file permissions: ls -ld httpd -rwxr-x--- 1 root other 615413 Jun 23 15:13 httpd As for httpd.conf, this is the only thing I find when doing a search for SSL: IfDefine SSL LoadModule ssl_module modules/mod_ssl.so And: IfModule mod_ssl.c Include conf/ssl.conf /IfModule I found this in the ssl.conf file: # General setup for the virtual host DocumentRoot /usr/local/apache2/htdocs ServerName www.example.com:443 ServerAdmin [EMAIL PROTECTED] ErrorLog /usr/local/apache2/logs/error_log TransferLog /usr/local/apache2/logs/access_log # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on Is this my problem? Thanks, Marty -Original Message- From: Davide Bianchi [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 3:11 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Apache 2.0.54 - Can't get it to run on Solaris 5.8 Nash, Marty wrote: SSL/vhost, have no idea, how can I verify? httpd -S or just check in the httpd.conf file. Davide - 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]
[users@httpd] Error message
Hello, does someone know what this means: [Wed Jul 06 15:23:18 2005] [error] [client 127.0.0.1] request failed: error reading the headers, referer: http://xxx.yyy.ch:7100/Portal?cmd=CCIxmla Krist -- [EMAIL PROTECTED] Solothurn, Switzerland - 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]
[users@httpd] Error accessing some pages
Sme of my users got the error Due to the presence of characters known to be used in cross site scripting attacks, access is forbidden. This web site does not allow Urls which might include embedded HTML tags when accessing one of the Intranet applications. Kindly advise is this error from apache and how can it be resolved. Thank you _ Find just what you are after with the more precise, more powerful new MSN Search. http://search.msn.com.sg/ Try it now. - 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: [users@httpd] Error accessing some pages
Apache Apache wrote: when accessing one of the Intranet applications. Kindly advise is this error from apache and how can it be resolved. Thank you No. Is not from apache, is probably sent by your application. Fix the application or tell your users to use different browser. Davide - 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: [users@httpd] Error message
-Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. Juli 2005 12:53 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Error message Hello, does someone know what this means: [Wed Jul 06 15:23:18 2005] [error] [client 127.0.0.1] request failed: error reading the headers, referer: http://xxx.yyy.ch:7100/Portal?cmd=CCIxmla This doesn't look like a standard apache message (ie, from apache core or extension modules). Do you have any third-party modules loaded - particularly one which might want to read the Referer header? Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. Krist -- [EMAIL PROTECTED] Solothurn, Switzerland - 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: [users@httpd] file size error? But I don't have a file this big...
On Wed, 2005-07-06 at 14:58 -0700, Dan Trainor wrote: Jason Czerak wrote: Wed Jul 06 16:25:18 2005] [notice] child pid 24242 exit signal File size limit exceeded (25) [Wed Jul 06 16:27:00 2005] [notice] child pid 24368 exit signal File size limit exceeded (25) [Wed Jul 06 16:27:02 2005] [notice] child pid 24523 exit signal File size limit exceeded (25) [Wed Jul 06 16:30:14 2005] [notice] child pid 24630 exit signal File size limit exceeded (25) Funny, I don't have any files over 2 gig. Any ideas? I do however run weblogic on the other side of this apache process, but nothing is being pulled from weblogic that is that big. This a sun v40z quad box AMD64. Running RHEL4 - AMD64-bit stuff. I had to use a 32-bit compile of apache because weblogic sucks like that. # ./httpd -V Server version: Apache/2.0.54 Server built: Jun 20 2005 09:58:15 Server's Module Magic Number: 20020903:9 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR=server/mpm/worker -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT=/u01/apache2_ia32_worker -D SUEXEC_BIN=/u01/apache2_ia32_worker/bin/suexec -D DEFAULT_SCOREBOARD=logs/apache_runtime_status -D DEFAULT_ERRORLOG=logs/error_log -D AP_TYPES_CONFIG_FILE=conf/mime.types -D SERVER_CONFIG_FILE=conf/httpd.conf Check access and error logs. One of them is 2G. Nope, # pwd /u01 # find ./ -size +200k -printf Size: %kK\tPath: %p\n # find ./ -size +20k -printf Size: %kK\tPath: %p\n Size: 500504K Path: ./weblogic_projects/domains/platform/netui.log.1 Size: 250356K Path: ./weblogic_projects/domains/platform/netui.log Size: 727076K Path: ./apache2_ia32_worker/logs/_site_.com/access_log.1115856000 Size: 242696K Path: ./apache2_ia32_worker/logs/_site_.com/access_log.1117584000 Size: 273424K Path: ./apache2_ia32_worker/logs/_site_.com/access_log.1118102400 Size: 220272K Path: ./apache2_ia32_worker/logs/_site_.com/access_log.1119312000 Size: 277296K Path: ./apache2_ia32_worker/logs/_site_.com/access_log.1118707200 All files would be in a directory some place under /u01 only one rotated file is near 1 gig, the reast never get close to 300 megs. Files are rotated daily. This site gets on average 4hits/sec. Durning peak hours it's close to 50/sec... In theory I would have that many entries in /u01/apache/logs/error_log default log right? It's a one every 30 to 120 seconds if that. Thanks -dant - 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] -- Jason Czerak ([EMAIL PROTECTED]) PPD Medical Device -- New Hope, MN System Administrator Desk: 763.489.6128 Cell: 586.405.8366 (Nextel: 130*21*2819) Pager: 877.448.9280 ([EMAIL PROTECTED]) __ This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. - 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]
[users@httpd] Re: Help on Rewriting Rule
Dear sir, I had gone through the document about mass defined virtualhosts, i had enabled the module mod_vhost_alias. I want the Webserver to fetch the pages for each request from an directory structure as /home/domains/domainname/Webdir if the request is for either http://www.enmail.com or http://enmail.com , the web server should fetch the pages from /home/domains/enmail.com/Webdir. if the request is for either http://www.enmail.in or http://enmail.in , the web server should fetch the pages from /home/domains/enmail.in/Webdir. i also have another type of request to webserver i.e., mail.enmail.com , in this case the webserver should fetch the pages from /home/domains/enmail.com/Webdir/login UseCanonicalName Off VirtualDocumentRoot /home/domains/%2+/Webdir --- This would fetch www.enmail.com/www.enmail.in VirtualDocumentRoot /home/domains/%1+/Webdir --- This would fetch enmail.com/enmail.in How can i handly three type of request 1. http://www.enmail.com 2. http://enmail.com 3. http://mail.enmail.com Kindly assist to achieve this. Thanks in Advance SRajkumar On 7/7/05, Davide Bianchi [EMAIL PROTECTED] wrote: Rajkumar s wrote: It's a very tedious to set VirtualHost for each and every domain because there is about 200 domains, so instead can i have a rule to fetch the pages from particulardomain/webdir/ Sure you can. Read the documentation on apache's web site about mass-defined virtual host. Davide - 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: [users@httpd] Error message
According to google there are people getting this with IIS as well, there was someone who had it with JSP pages so maybe it's coming from tomcat?? -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: 07 July 2005 15:50 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Error message On 7/7/05, Boyle Owen [EMAIL PROTECTED] wrote: -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. Juli 2005 12:53 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Error message Hello, does someone know what this means: [Wed Jul 06 15:23:18 2005] [error] [client 127.0.0.1] request failed: error reading the headers, referer: http://xxx.yyy.ch:7100/Portal?cmd=CCIxmla This doesn't look like a standard apache message (ie, from apache core or extension modules). Do you have any third-party modules loaded - particularly one which might want to read the Referer header? We do not have any third party modules. I did truncate the referer part thoug (as it was quite long). Could it be that the referrer contains illegal characters? Krist -- [EMAIL PROTECTED] Solothurn, Switzerland - 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: [users@httpd] Large File Support in Apache 1.3.33
On Thu, Jul 07, 2005 at 08:10:42AM +1000, Dan Goodes wrote: Hi Folks I remember reading somewhere that Apache 1.3.33 supposedly supports large files 2G on 32-bit systems. However I'm not having much success. No, this won't work in 1.3 since 1.3 uses long to represent file sizes. This approach should work with recent 2.0 releases, however. But it causes incompatibilities with third-party modules and it's not really supported in 2.0 either. In the recent 2.1.6 alpha release large file support works out of the box, no special compiler flags needed. Regards, joe - 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: [users@httpd] file size error? But I don't have a file this big...
On Wed, Jul 06, 2005 at 02:58:22PM -0700, Dan Trainor wrote: Jason Czerak wrote: Wed Jul 06 16:25:18 2005] [notice] child pid 24242 exit signal File size limit exceeded (25) [Wed Jul 06 16:27:00 2005] [notice] child pid 24368 exit signal File size limit exceeded (25) [Wed Jul 06 16:27:02 2005] [notice] child pid 24523 exit signal File size limit exceeded (25) [Wed Jul 06 16:30:14 2005] [notice] child pid 24630 exit signal File size limit exceeded (25) ... Check access and error logs. One of them is 2G. 2.0.54 on Linux can handle 2Gb error/access log files. But some other module or script is definitely accessing or trying to create 2Gb files on this server. If you enable core dumps then you can find out exactly where; start the server with ulimit -c unlimited and add e.g. CoreDumpDirectory /tmp to your httpd.conf, then run gdb on the core dumps produced in /tmp. joe - 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: [users@httpd] Error message
-Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. Juli 2005 16:50 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Error message On 7/7/05, Boyle Owen [EMAIL PROTECTED] wrote: -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. Juli 2005 12:53 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Error message Hello, does someone know what this means: [Wed Jul 06 15:23:18 2005] [error] [client 127.0.0.1] request failed: error reading the headers, referer: http://xxx.yyy.ch:7100/Portal?cmd=CCIxmla This doesn't look like a standard apache message (ie, from apache core or extension modules). Do you have any third-party modules loaded - particularly one which might want to read the Referer header? We do not have any third party modules. I did truncate the referer part thoug (as it was quite long). Could it be that the referrer contains illegal characters? Cross reference the errorlog with the access log using the timestamp and identify the request that's causing it. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. Krist -- [EMAIL PROTECTED] Solothurn, Switzerland - 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] Re: Apache1.3.33 with mod_ssl compilation error
Error: Cannot find SSL binaries under /usr/local/ssl Apparently you don't have the SSL libraries in /usr/local/ssl/lib. 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: [users@httpd] file size error? But I don't have a file this big...
On Thu, 2005-07-07 at 10:16 -0500, Jason Czerak wrote: SOLVED. Stupid weblogic /tmp/wlproxy.log was up to 2gig. that was killing my processes. I switch things to only log error's to that file, not everything. Fixing this indirectly solved a random file upload timeout problem too. Because the process died. :) Thanks guys. On Thu, 2005-07-07 at 16:10 +0100, Joe Orton wrote: On Wed, Jul 06, 2005 at 02:58:22PM -0700, Dan Trainor wrote: Jason Czerak wrote: Wed Jul 06 16:25:18 2005] [notice] child pid 24242 exit signal File size limit exceeded (25) [Wed Jul 06 16:27:00 2005] [notice] child pid 24368 exit signal File size limit exceeded (25) [Wed Jul 06 16:27:02 2005] [notice] child pid 24523 exit signal File size limit exceeded (25) [Wed Jul 06 16:30:14 2005] [notice] child pid 24630 exit signal File size limit exceeded (25) ... Check access and error logs. One of them is 2G. 2.0.54 on Linux can handle 2Gb error/access log files. But some other module or script is definitely accessing or trying to create 2Gb files on this server. If you enable core dumps then you can find out exactly where; start the server with ulimit -c unlimited and add e.g. CoreDumpDirectory /tmp to your httpd.conf, then run gdb on the core dumps produced in /tmp. ohh so this may not be just log files? hm lemme check some other things. -- Jason Czerak ([EMAIL PROTECTED]) PPD Medical Device -- New Hope, MN System Administrator Desk: 763.489.6128 Cell: 586.405.8366 (Nextel: 130*21*2819) Pager: 877.448.9280 ([EMAIL PROTECTED]) __ This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. - 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]
[users@httpd] Apache not catching DNS
System: Solaris SunOS 5.9 Apache: 2.0.52 Tomcat: 4.1.31 Mod JK: 1.2.6 We have a Java webapp which we are moving to a new server. For initial testing on the new machine, we configured Apache and Tomcat to use the machine name, i.e. the ServerName directive in httpd.conf is: ServerName server.company.com:80 the Host value in server.xml is: Host name=server.company.com debug=0 appBase=webapps and the host value in workers.properties is: worker.ajp13.host=192.168.12.34 [this is the base IP of the machine] With this configuration, the webapp works perfectly: point a browser to http://server.company.com/webapp/ and the site behaves as it should. This morning, we disconnected the old machine from the network, added the webapp DNS IP to /etc/hosts on the new machine, updated httpd.conf, server.xml, and workers.properties to use the DNS, and restarted the server; and now the site cannot be found; browsing to http://public.site.com/webapp/ produces a standard Cannot find server page; browsing to http://server.company.com/webapp/ still produces the (static) index page, but calls to dynamic pages (servlets/JSP) fail (presumably because Tomcat expects requests from public.site.com). I suspect that this may be an IP/network issue (pinging public.site.com on the new machine times out)--but the network guys insist everything is configured correctly (ifconfig produces the expected results on the server); but assuming that it is an Apache issue, what is likely to be wrong? -- David Rickard Software Engineer TechBooks/GTS Your Single Source Solution! Los Angeles CA * York, PA * Boston,MA * New Delhi, India Visit us on the World Wide Web http://www.techbooks.com [EMAIL PROTECTED] 5650 Jillson St., Los Angeles, CA 90040 (323) 888-8889 x331 (323) 888-1849 (Fax)
Re: [users@httpd] Large File Support in Apache 1.3.33
Dan Goodes wrote: Hi Folks I remember reading somewhere that Apache 1.3.33 supposedly supports large files 2G on 32-bit systems. However I'm not having much success. I've compiled using the following (based on a tip I saw some time ago): CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ ./configure \ --with-layout=Apache \ --prefix=/opt/local/stow/apache-1.3.33-pm-fe/ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 will allow Apache to write log files greater than 2 G in size. Snip - 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: [users@httpd] Re: Help on Rewriting Rule
Sounds like a candidate for VirtualHost assuming all the domain names point to the same IP address, add something like this to your httpd.conf file: # x.x.x.x is the server's IP address NameVirtualHost x.x.x.x:80 # virtual host for www.enmail.com and enmail.com VirtualHost x.x.x.x:80 ServerName www.enmail.com ServerAlias enmail.com DocumentRoot /home/domains/enmail.com/Webdir Directory /home/domains/enmail.com/Webdir Order deny,allow Allow from all /Directory /VirtualHost # virtual host for www.enmail.in and enmail.in VirtualHost x.x.x.x:80 ServerName www.enmail.in ServerAlias enmail.in DocumentRoot /home/domains/enmail.in/Webdir Directory /home/domains/enmail.in/Webdir Order deny,allow Allow from all /Directory /VirtualHost On 7/7/05, Rajkumar s [EMAIL PROTECTED] wrote: Dear sir, I had gone through the document about mass defined virtualhosts, i had enabled the module mod_vhost_alias. I want the Webserver to fetch the pages for each request from an directory structure as /home/domains/domainname/Webdir if the request is for either http://www.enmail.com or http://enmail.com , the web server should fetch the pages from /home/domains/enmail.com/Webdir. if the request is for either http://www.enmail.in or http://enmail.in , the web server should fetch the pages from /home/domains/enmail.in/Webdir. i also have another type of request to webserver i.e., mail.enmail.com , in this case the webserver should fetch the pages from /home/domains/enmail.com/Webdir/login UseCanonicalName Off VirtualDocumentRoot /home/domains/%2+/Webdir --- This would fetch www.enmail.com/www.enmail.in VirtualDocumentRoot /home/domains/%1+/Webdir --- This would fetch enmail.com/enmail.in How can i handly three type of request 1. http://www.enmail.com 2. http://enmail.com 3. http://mail.enmail.com Kindly assist to achieve this. Thanks in Advance SRajkumar On 7/7/05, Davide Bianchi [EMAIL PROTECTED] wrote: Rajkumar s wrote: It's a very tedious to set VirtualHost for each and every domain because there is about 200 domains, so instead can i have a rule to fetch the pages from particulardomain/webdir/ Sure you can. Read the documentation on apache's web site about mass-defined virtual host. Davide - 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]
[users@httpd] Re: mod_proxy performance tips needed
Jason Joines wrote: I'm attempting to use mod_proxy under Apache 2.0.52 with the prefork MPM on SuSE Linux 8.1 to reverse proxy connections to the File Manager module of a Usermin 1.140 server running on SuSE Linux 9.2. The Apache server and the Usermin server are both using SSL. The Apache server is a PIII 1 GHz with 1 GB of RAM. Both servers and various test clients are all plugged into the same ethernet switch. I'm using various copies of a 128 MB file on the Usermin server to check speeds. If I download the file to either the client or the Apache server from the Usermin server directly, the average speed always exceeds 6 MB/s. However, downloading to the client via the proxy on the Apache server with these settings in my SSL VirtualHost section drops the speed to 0.023 MB/s: SSLProxyEngine on ProxyRequests Off Proxy * Order deny,allow Allow from all /Proxy ProxyPass /ourfiles https://userminserver:2 ProxyPassReverse /ourfiles https://userminserver:2 I tried adding ProxyReceiveBufferSize 2048 and the speed increased to 0.048 MB/s. ProxyRecieveBufferSize values of 4096, 8192 and 16384 yielded respective speeds of 0.049 MB/s, 0.053 MB/s and 0.24 MB/s. In each case, the download starts just as fast as the direct connections. The first 10 MB or so are almost instantaneous. However, the speed steadily declines. In each case other than ProxyReceiveBufferSize 16384, I killed the download off at about 70 MB as it had ground nearly to a halt. I guess I can keep keep bumping the ProxyReceiveBufferSize up but I'm concerned about what other impacts this might have on the Apache server as performing this proxy is not it's only task in life. Any suggestions would be much appreciated. Thanks, Jason Joines = I reran all the tests and this time the results were different. 16384 was one of the slowest settings. It seemed changing ProxyReceiveBufferSize wasn't really having any affect. I tried disabling SSL on the target box and that fixed the problem. Proxy speeds are no near direct connect speeds. Jason === - 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: [users@httpd] Re: Help on Rewriting Rule
My apologies, I didn't see that you want to do mass virtual hosts. On 7/7/05, Chris Hall [EMAIL PROTECTED] wrote: Sounds like a candidate for VirtualHost assuming all the domain names point to the same IP address, add something like this to your httpd.conf file: # x.x.x.x is the server's IP address NameVirtualHost x.x.x.x:80 # virtual host for www.enmail.com and enmail.com VirtualHost x.x.x.x:80 ServerName www.enmail.com ServerAlias enmail.com DocumentRoot /home/domains/enmail.com/Webdir Directory /home/domains/enmail.com/Webdir Order deny,allow Allow from all /Directory /VirtualHost # virtual host for www.enmail.in and enmail.in VirtualHost x.x.x.x:80 ServerName www.enmail.in ServerAlias enmail.in DocumentRoot /home/domains/enmail.in/Webdir Directory /home/domains/enmail.in/Webdir Order deny,allow Allow from all /Directory /VirtualHost On 7/7/05, Rajkumar s [EMAIL PROTECTED] wrote: Dear sir, I had gone through the document about mass defined virtualhosts, i had enabled the module mod_vhost_alias. I want the Webserver to fetch the pages for each request from an directory structure as /home/domains/domainname/Webdir if the request is for either http://www.enmail.com or http://enmail.com , the web server should fetch the pages from /home/domains/enmail.com/Webdir. if the request is for either http://www.enmail.in or http://enmail.in , the web server should fetch the pages from /home/domains/enmail.in/Webdir. i also have another type of request to webserver i.e., mail.enmail.com , in this case the webserver should fetch the pages from /home/domains/enmail.com/Webdir/login UseCanonicalName Off VirtualDocumentRoot /home/domains/%2+/Webdir --- This would fetch www.enmail.com/www.enmail.in VirtualDocumentRoot /home/domains/%1+/Webdir --- This would fetch enmail.com/enmail.in How can i handly three type of request 1. http://www.enmail.com 2. http://enmail.com 3. http://mail.enmail.com Kindly assist to achieve this. Thanks in Advance SRajkumar On 7/7/05, Davide Bianchi [EMAIL PROTECTED] wrote: Rajkumar s wrote: It's a very tedious to set VirtualHost for each and every domain because there is about 200 domains, so instead can i have a rule to fetch the pages from particulardomain/webdir/ Sure you can. Read the documentation on apache's web site about mass-defined virtual host. Davide - 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]
[users@httpd] Apache 2.2
Hello, Ive checked on the httpd.apache.org site for information on when the stable Apache 2.2 release will be made public but did not find an actual date. Does anyone know when Apache 2.2 will be made public? If this is not the appropriate alias for this kind of question please let me know. Thanks, Nick
Re: [users@httpd] configure PHP on Linux
I installed libxml2-2.6.19, and the problem about libxml when I configured php is gone. Thanks for your help. However, when I did # ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=~/xml/libxml2-2.6.19 .. checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore. I tried to find mysql*.h, but I could not find it. Is there special configuration that I need to do when installed MySQL in order to use MySQL with PHP? I could run mysql on my Linux machine. I apologize for sending my question to this email group, but there are many apache experts are familiar with PHP and MySQL installations. Thanks, Joe --- Ivan Barrera A. [EMAIL PROTECTED] wrote: Aman Raheja wrote: I have noticed this with some other software on redhat/fedora linux. try using the exact version and see if that works. You might otherwise want to look into the script itself and do some tweaking for it to accept what you are providing. on the other note you are on the wrong mailing list - this is not an apache issue. Please try the php users list. Thanks - Aman Raheja http://www.techquotes.com In fedorish, or redhat systems, you must install the -devel rpm's for that lib. In this case libxml2-devel. That package includes headers to compile software using the lib. rpmbuild --rebuild just build binary rpm's from a source rpm. Does not install them. Joseph Lee wrote: Hi, I have installed Apache and MySQL on my Linux machine. Now I am trying to install PHP5. I did # configure --with-mysql --with-apxs2=usr/local/apache2/bin/apxs --with-libxml-dir=/usr/src/redhat/RPMS/i386 but it complained about configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... /usr/src/redhat/RPMS/i386 configure: error: libxml2 version 2.5.10 or greater required So I went to xmlsoft.org and downloaded libxml2-2.6.11-1.src.rpm Then I did # rpmbuild --rebuild libxml2-2.6.11-1.src.rpm but it still gave me version 2.5.10 or greater required error. Is it because my libxml2 was not updated, even after I did rpmbuild --rebuild? Thanks, Joe - 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] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.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: [users@httpd] configure PHP on Linux
I think the problem I had was because I installed MySQL-server-5.0.7-0.i386.rpm and MySQL-client-5.0.7-0.i386.rpm, which are binary installations. I'll do source installation MySQL-5.0.7-0.glibc23.src.rpm now to see if it solves the problem. Thanks, Joe --- Joseph Lee [EMAIL PROTECTED] wrote: I installed libxml2-2.6.19, and the problem about libxml when I configured php is gone. Thanks for your help. However, when I did # ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=~/xml/libxml2-2.6.19 .. checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore. I tried to find mysql*.h, but I could not find it. Is there special configuration that I need to do when installed MySQL in order to use MySQL with PHP? I could run mysql on my Linux machine. I apologize for sending my question to this email group, but there are many apache experts are familiar with PHP and MySQL installations. Thanks, Joe --- Ivan Barrera A. [EMAIL PROTECTED] wrote: Aman Raheja wrote: I have noticed this with some other software on redhat/fedora linux. try using the exact version and see if that works. You might otherwise want to look into the script itself and do some tweaking for it to accept what you are providing. on the other note you are on the wrong mailing list - this is not an apache issue. Please try the php users list. Thanks - Aman Raheja http://www.techquotes.com In fedorish, or redhat systems, you must install the -devel rpm's for that lib. In this case libxml2-devel. That package includes headers to compile software using the lib. rpmbuild --rebuild just build binary rpm's from a source rpm. Does not install them. Joseph Lee wrote: Hi, I have installed Apache and MySQL on my Linux machine. Now I am trying to install PHP5. I did # configure --with-mysql --with-apxs2=usr/local/apache2/bin/apxs --with-libxml-dir=/usr/src/redhat/RPMS/i386 but it complained about configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... /usr/src/redhat/RPMS/i386 configure: error: libxml2 version 2.5.10 or greater required So I went to xmlsoft.org and downloaded libxml2-2.6.11-1.src.rpm Then I did # rpmbuild --rebuild libxml2-2.6.11-1.src.rpm but it still gave me version 2.5.10 or greater required error. Is it because my libxml2 was not updated, even after I did rpmbuild --rebuild? Thanks, Joe - 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] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.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] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.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: [users@httpd] configure PHP on Linux
Thank you, Ivan, for your quick response. I went to http://dev.mysql.com/downloads/mysql/5.0.html, but I could not find -devel file. So I downloaded mysql-5.0.7-beta.tar.gz, and did configure, make, and make install. Then I tried # ./configure --with-mysql=~/mysql/mysql-5.0.7-beta --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=~/xml/libxml2-2.6.19 and it gave me configure: error: Cannot find libmysqlclient under ~/mysql/mysql-5.0.7-beta. Note that the MySQL client library is not bundled anymore. Where can I find MySQL client tar ball? Thanks, Joe --- Ivan Barrera A. [EMAIL PROTECTED] wrote: Joseph Lee wrote: I think the problem I had was because I installed MySQL-server-5.0.7-0.i386.rpm and MySQL-client-5.0.7-0.i386.rpm, which are binary installations. I'll do source installation MySQL-5.0.7-0.glibc23.src.rpm now to see if it solves the problem. Just install the -devel packages. Thanks, Joe --- Joseph Lee [EMAIL PROTECTED] wrote: I installed libxml2-2.6.19, and the problem about libxml when I configured php is gone. Thanks for your help. However, when I did # ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=~/xml/libxml2-2.6.19 .. checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore. I tried to find mysql*.h, but I could not find it. Is there special configuration that I need to do when installed MySQL in order to use MySQL with PHP? I could run mysql on my Linux machine. I apologize for sending my question to this email group, but there are many apache experts are familiar with PHP and MySQL installations. Thanks, Joe --- Ivan Barrera A. [EMAIL PROTECTED] wrote: Aman Raheja wrote: I have noticed this with some other software on redhat/fedora linux. try using the exact version and see if that works. You might otherwise want to look into the script itself and do some tweaking for it to accept what you are providing. on the other note you are on the wrong mailing list - this is not an apache issue. Please try the php users list. Thanks - Aman Raheja http://www.techquotes.com In fedorish, or redhat systems, you must install the -devel rpm's for that lib. In this case libxml2-devel. That package includes headers to compile software using the lib. rpmbuild --rebuild just build binary rpm's from a source rpm. Does not install them. Joseph Lee wrote: Hi, I have installed Apache and MySQL on my Linux machine. Now I am trying to install PHP5. I did # configure --with-mysql --with-apxs2=usr/local/apache2/bin/apxs --with-libxml-dir=/usr/src/redhat/RPMS/i386 but it complained about configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... /usr/src/redhat/RPMS/i386 configure: error: libxml2 version 2.5.10 or greater required So I went to xmlsoft.org and downloaded libxml2-2.6.11-1.src.rpm Then I did # rpmbuild --rebuild libxml2-2.6.11-1.src.rpm but it still gave me version 2.5.10 or greater required error. Is it because my libxml2 was not updated, even after I did rpmbuild --rebuild? Thanks, Joe - 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] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com === message truncated === Sell on Yahoo! Auctions no fees. Bid on great items. http://auctions.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: [users@httpd] Apache 2.2
DiRico, Nick wrote: Hello, I've checked on the httpd.apache.org site for information on when the stable Apache 2.2 release will be made public but did not find an actual date. Does anyone know when Apache 2.2 will be made public? When it's ready. We don't do silly deadlines. That means we don't put ourselves under pressure to release hugely buggy products, as commercial vendors do. On the other hand, that same lack of pressure means that timescales stretch, and a release can be a long time coming. Please test-drive Apache 2.1 and tell us your experience with it. The more people use it (for non-critical servers), the sooner we get to know of bugs, and the more we can rely on it where no problems are reported. -- 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: [users@httpd] RewriteRule question: forward requests from one Apache server to another
Thanks for the tip. I prefer that way. The final config is: Server 1 NameVirtualHost *:80 VirtualHost *:80 ServerName server.mydomain.com ProxyPreserveHost On RewriteEngine On RewriteRule ^/(.*) http://60.234.nnn.nn:8008/$1 [L,P] /VirtualHost VirtualHost *:80 ServerName otherserver.mydomain.com ProxyPreserveHost On RewriteEngine On RewriteRule ^/(.*) http://60.234.nnn.nn:8008/$1 [L,P] /VirtualHost Server2 NameVirtualHost *:8008 VirtualHost *:8008 ServerName server.mydomain.com DocumentRoot /var/www/html /VirtualHost VirtualHost *:8008 ServerName otherserver.mydomain.com DocumentRoot /var/www/html2 /VirtualHost Hope this helps someone. Cameron - Original Message - From: Krist van Besien [EMAIL PROTECTED] To: users@httpd.apache.org; Cameron Beattie [EMAIL PROTECTED] Sent: Monday, July 04, 2005 10:33 PM Subject: Re: [EMAIL PROTECTED] RewriteRule question: forward requests from one Apache server to another On 6/29/05, Cameron Beattie [EMAIL PROTECTED] wrote: For those interested, I ended up using different ports to achieve the desired result. There may be a better way but this works for me: Good that it works now, but your original setup would have worked had you added: ProxyPreserveHost On to your config. WIth this option the original Host header is preserved, and the internal server can than select the correct virtual host based on it. Krist -- [EMAIL PROTECTED] Solothurn, Switzerland - 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]