RE: [EMAIL PROTECTED] permissions problem
The error log says that the file Apache is trying to read is /radar/data/hi3.html. The error log normally will report the absolute file system path contrary to the access log that reports the URL path requested. At the same time, from the information given, it is my understanding that the URL you are trying to get is http://whatever/radar/data/hi3.html (from the browser's message about not having permissions to access /radar/data/hi3.html on the server). Those two pieces of information put together seem to indicate that your DocumentRoot is /. You also say that documents in the radar directory are served correctly, which totally confuses me. Could you provide the following pieces of information: 1. ServerRoot from httpd.conf 2. DocumentRoot from httpd.conf 3. The path to your httpd.conf file 4. the output of the command ps -ef | grep httpd 5. the output of the command ls -l /var/www/html/radar/data/hi3.html -ascs From: Dr. Stephen Judd [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 4:50 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] permissions problem On 2006 Jan 30, at 10:09 PM, Joshua Slive wrote: On 1/30/06, Dr. Stephen Judd [EMAIL PROTECTED] wrote: On 2006 Jan 30, at 4:01 PM, Joshua Slive wrote: On 1/30/06, David Salisbury [EMAIL PROTECTED] wrote: [Mon Jan 30 15:54:49 2006] [error] (13)Permission denied: access to /radar/data/hi3.html denied I'm not so sure about your forbidden by rule assumption. I believe if you were to Deny access to an IP address you get a simple permission denied. So I wouldn't discount a configuration problem.. maybe even a hidden .htaccess guy hanging out. No, in this case, permission denied (errorno=EACCES=13) is what the OS is returning when apache tries to open the file. Try logging in as the user specified in the User/Group directive and see if you can access the file. Joshua. The config file says this: User apache Group apache The straightforward way of doing what you ask for does not work: [EMAIL PROTECTED] ~]# su apache This account is currently not available. I don't know exactly what that means or how to get around it, but I investigated this much further the other day and found some oddities... I wrote a little script to look into the issue of who the user is: ?php clearstatcache(); $yuzer= $_ENV['USER']; $lognm= $_ENV['LOGNAME']; print USER= $yuzer, LOGNAME= $lognmbr/\n; $getperms= fileperms('data') 0777; print fileperms are: $getperms br/\n; if ($getperms ==0) print cannot accessbr/\n; ? When invoked via the web, it apparently runs as root(!) (not apache?!) and gives a message saying that it cannot do a stat: USER= root, LOGNAME= root fileperms are: 0 cannot access When invoked from the command line (in any of several users I tried) it works fine and accesses the file. I'm baffled. Is the root user that it purports to be the same as the usual system root user? If so, why can it not access a file that everyone else can? If not, then who is it?? USER/LOGNAME are probably inherited from the parent apache process. If you create a file in /tmp, you'll probably find it is owned by apache. Yes. You are right about that. That makes the message from the script all the more confusing. I suppose that it gets invoked as root and then switches its identity to apache as soon as it can. You'd think that its identity as root would be gone long before it ran my script, but whatever. Your problem still sounds very much like SELinux to me. Are you absolutely positive you are not running that? What exact version of redhat are you running? I'm quite sure I'm not running SELinux. Here is my evidence: [EMAIL PROTECTED] ~]$ echo $MACHTYPE i686-redhat-linux-gnu As for version, I dunno. How do I find out? If not, check the permissions on every file and directory starting with the one you are trying to access and going all the way up the tree. I've done this --and redone it-- because it sure seems like the thing to do. But no explanation lies in there. The permissions on the radar directory are these: drwxr-xr-x 3 radar radargrp 4096 Jan 27 22:21 radar The permissions on the
Re: [EMAIL PROTECTED] high load average on Apache 1.3 hosting 8000 conc. users forum
Hello, Can we start first by checking if my httpd.conf is well configured? I have 2 webservers, load balanced by a Foundry switch. both httpd.conf's are: KeepAlive On MaxKeepAliveRequests 300 KeepAliveTimeout 15 MinSpareServers 10 MaxSpareServers 30 StartServers 50 MaxClients 250 MaxRequestsPerChild 1000 remember, i usually get 2800+ connections which show on the VBulletin forum around 8000 concurrent users. Thank you, -- [EMAIL PROTECTED] [EMAIL PROTECTED] ---BeginMessage--- [EMAIL PROTECTED] a écrit : Mainly VBulletin is a php script. I don't serve much static html files. How can php be tuned to optimize its performance? Usually, any php-forum has an option to make it storing generated pages as html-static. In that case, pages are regenerated only when a user make something new in it. This act nearly as a cache. In that case, your webserver will serves only static pages : your php, wich is I think a module dynamycally linked in your apache, will made is job only when he has to do it: not regenerating the same page again and again. Try to make a ration on how much time php regenerate the same page (how much people are seeing it) and how much times the page is changed (someone reply in a forum) ? (The ration might be worst on the thread list indexes). After that, you should enable a mod expire on your graphic content and/or html pages or delegate this part on another server. Try to see if you can enable mod_deflate and or mod_gzip but serving only pre-gzipped files: I remember this was an option but I didn't see it for a long time. Usually, when looking for an enhanced way to serve static content, you should take a look at http://www.lighttpd.net/ or http://www.acme.com/software/thttpd/ or boa or even zeus.. With apache, you can achieve nearly these enhanced performances server when playing with kqueue, poll/epoll, threaded based server. The worst multiplexing model being select-prefork one. I have nothing against apache and I respect it's developper's great work but it's too general to serve high loads web servers. Continuing to descend low in the system, you should look more carefully at your tcp-stacks buffers but it's depend on your system. But if you don't know what's this, forget this asap. ;-) JB. - 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] ---End Message--- - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] extend 20 char limit to 60 in directory listing
-Original Message- From: John Stile [mailto:[EMAIL PROTECTED] Sent: Dienstag, 31. Januar 2006 05:31 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] extend 20 char limit to 60 in directory listing Problem: When I get a list of all the files in that directory, the file names are cut off after 20 characters. Question: How/where do I would extend this limit to 60 characters. I haven't found the right way to do this yet. http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#indexoptions look at DescriptionWidth. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] HTTP auth and custom login pages
-Original Message- From: Andy Moran [mailto:[EMAIL PROTECTED] Sent: Dienstag, 31. Januar 2006 00:38 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] HTTP auth and custom login pages We have a bunch of folders protected by htaccess valid-user directives, but management has decided that they want a nice login page rather than the browser prompting for a username and password. Is it possible to create a form page that then sends the auth information to apache via POST or some such? That's not how basic auth works. There's no real login or session from the server's POV. The browser has to get a 401 Unauthorized before it knows that the resource is protected. That's what makes it prompt for a user/pass. Then it caches the credentials and submits them with every subsequent request in that realm. To do what the management want, you need to build a session and that means cookies and server-sided logic (PHP, CGI, Cocoon etc..) I'd hate to have to come up with an entirely new authentication scheme. .htaccess files are so damn convenient. To expand on Nick's point about server performance - it's a common misconception that Auth directives *have* to go in a .htacess file. In fact, they can also go straight into the config in a suitable Directory container. Then the config is loaded in memory and it's pretty fast. If the directives are in a .htacess file, it has to be opened, read into memory and closed *for every request* in that dir (this is in case anything has changed in the file since the last request). Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. --Andy - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] newbe question - File upload howto
Hi Guys, I have a apache server running on Windows server. Need to add option to upload file to the server and need help ... I have a form to select the file: form method='POST' enctype='multipart/form-data' action='fup.cgi' File to upload: input type=file name=upfilebr input type=submit value=Press to upload the file! /form Now .. i need the CGI or somthing to upload the file to c:\temp Help .. Oren - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Is this list working?
-Original Message- From: Brian E Miller [mailto:[EMAIL PROTECTED] Sent: Montag, 30. Januar 2006 17:52 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Is this list working? Importance: High Could someone please respond to this email? I have sent several emails out with no response (or bounces) neither have I received anything except users-digest and I am wondering if this list is working. If so, it is the quietest list I have been on. I get 40 mails a day so it seems to be working. Your posts are listed in the archive (http://marc.theaimsgroup.com/?a=11383718313r=1w=2). Maybe you only subscribed to the digest? Check your settings using the link in the sig, ie: For additional commands, e-mail: [EMAIL PROTECTED] Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. -thanks -- Thank you, Brian E. Miller hingedmind.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] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] newbe question - File upload howto
-Original Message- From: Oren Gozlan [mailto:[EMAIL PROTECTED] Sent: Dienstag, 31. Januar 2006 11:05 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] newbe question - File upload howto Hi Guys, I have a apache server running on Windows server. Need to add option to upload file to the server and need help ... I have a form to select the file: form method='POST' enctype='multipart/form-data' action='fup.cgi' File to upload: input type=file name=upfilebr input type=submit value=Press to upload the file! /form Now .. i need the CGI or somthing to upload the file to c:\temp 1) go to google 2) type in cgi file upload 3) stand well back Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. Help .. Oren - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] newbe question - File upload howto
On 1/31/06 5:05 AM, Oren Gozlan [EMAIL PROTECTED] wrote: Hi Guys, I have a apache server running on Windows server. Need to add option to upload file to the server and need help ... I have a form to select the file: form method='POST' enctype='multipart/form-data' action='fup.cgi' File to upload: input type=file name=upfilebr input type=submit value=Press to upload the file! /form Now .. i need the CGI or somthing to upload the file to c:\temp This doesn't really have to do directly with apache server. It has more to do with the language that you are using to handle requests. You will need to read about how to do uploads in whatever language you are using, be it php, perl, java, etc. Sean - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] How to make webservice global
hello all, i am working on Apache 2.0.55 is there any way to make my webservice global i.e it works fine in local lan but how to make it accessible from internet Bring words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.
[EMAIL PROTECTED] Apache 2.0.55 SSL and POST problem
I have an SSL enabled Apache 2.0.55, with a CGI enabled Location accessible via SSL. When I try to execute a POST against this location, I get a 405 Method not allowed response. The same directives work fine under a non-SSL enabled server. There is no LIMIT directive that tries to restrict POST. I'm getting the following in error_log: [Mon Jan 30 16:34:47 2006] [error] SSL Re-negotiation in conjunction with POST method not supported! hint: try SSLOptions +OptRenegotiate Does anyone know what may be preventing the POST here ? I can show more of the appropriate Apache config if necessary. I've google for this but am currently baffled - am I missing something obvious here ? -- Regards Stephen Collyer Netspinner Ltd - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] How to make webservice global
From: mohan devanoor [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 07:30To: users@httpd.apache.orgSubject: [EMAIL PROTECTED] How to make webservice global hello all, i am working on Apache 2.0.55 is there any way to make my webservice global i.e it works fine in local lan but how to make it accessible from internet You need to enable Port forwarding on your router. Forward port 80 to the IP of your webserver. So that anyone hitting your outside IP address on port 80 will be forwarded to the internal webserver. Thanx Aaron N Wagner Monitoring Systems and Network Tools CCO-Command Center Operations 804.515.6298
Re: [EMAIL PROTECTED] newbe question - File upload howto
Oren, There are lots of scripts available for download on the internet if you look hard enough. We use the Upload Plus utility from PerlscriptsJavaScript.com. Our script uploads a file to one of our servers and emails the sender, recipient, and our Departmental Supervisor. Hope this helps. Matt [EMAIL PROTECTED] 1/31/2006 4:05:27 AM Hi Guys, I have a apache server running on Windows server. Need to add option to upload file to the server and need help ... I have a form to select the file: form method='POST' enctype='multipart/form-data' action='fup.cgi' File to upload: input type=file name=upfilebr input type=submit value=Press to upload the file! /form Now .. i need the CGI or somthing to upload the file to c:\temp Help .. Oren - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] AddDefaultCharset and Multiple Encodings
On 1/31/06, Skating Jim [EMAIL PROTECTED] wrote: The AddDefaultCharset directive overrides any encoding settings in served content. Is there a way to force a default encoding only when none is explicitly indicated in the content? No, it doesn't. It set's an HTTP charset only when none exists. Perhaps what you are seeing is the fact that browsers will use the charset specified in the html head when no HTTP charset is present. But this has really nothing to do with apache. I have seen certain modules that will read the html, extract the charset, and put it in the http headers. But I don't think I know of any way to do exactly what you are looking for. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] permissions problem
On 1/30/06, Dr. Stephen Judd [EMAIL PROTECTED] wrote: Your problem still sounds very much like SELinux to me. Are you absolutely positive you are not running that? What exact version of redhat are you running? I'm quite sure I'm not running SELinux. Here is my evidence: [EMAIL PROTECTED] ~]$ echo $MACHTYPE i686-redhat-linux-gnuAs for version, I dunno. How do I find out? SELinux is not a distribution in itself. It is a set of tools built on top of a linux distribution. The symptoms of your problem, together with the fact that you have no idea what distribution you are running, still lead me to believe that you are running selinux. I'm not a redhat expert, so I can't tell you how to track down your distribution details. But information on selinux is linked from the last question in the FAQ listed here: http://httpd.apache.org/docs/2.2/faq/error.html#error.permissiondenied Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Apache 2.0.55 SSL and POST problem
-Original Message- From: Stephen Collyer [mailto:[EMAIL PROTECTED] Sent: Dienstag, 31. Januar 2006 13:34 To: Apache Users Subject: [EMAIL PROTECTED] Apache 2.0.55 SSL and POST problem I have an SSL enabled Apache 2.0.55, with a CGI enabled Location accessible via SSL. When I try to execute a POST against this location, I get a 405 Method not allowed response. The same directives work fine under a non-SSL enabled server. There is no LIMIT directive that tries to restrict POST. I'm getting the following in error_log: [Mon Jan 30 16:34:47 2006] [error] SSL Re-negotiation in conjunction with POST method not supported! hint: try SSLOptions +OptRenegotiate Does anyone know what may be preventing the POST here ? Taking a wild guess, I'd say maybe SSL Re-negotiation in conjunction with POST method is not supported... It's a long shot, but you might try putting SSLOptions +OptRenegotiate in your config. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. I can show more of the appropriate Apache config if necessary. I've google for this but am currently baffled - am I missing something obvious here ? The error message? -- Regards Stephen Collyer Netspinner Ltd - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] make error
I'm now trying to install 2.0.55 and receiving the error below. I'm not using the ksh. Found newer headers. Will rebuild apr.exp. -f apr.exp exports.c export_vars.h /bin/ksh: -f: not found make[3]: *** [delete-exports] Error 127 make[3]: Leaving directory `/export/home/jman/download/src/apache/httpd-2.0.55/srclib/apr' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/jman/download/src/apache/httpd-2.0.55/srclib/apr' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/jman/download/src/apache/httpd-2.0.55/srclib' make: *** [all-recursive] Error 1 # echo $SHELL /sbin/sh What is going on? Thanks, Jon - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache 2.0.55 SSL and POST problem
Joe Orton wrote: On Tue, Jan 31, 2006 at 12:34:27PM +, Stephen Collyer wrote: I have an SSL enabled Apache 2.0.55, with a CGI enabled Location accessible via SSL. When I try to execute a POST against this location, I get a 405 Method not allowed response. This is http://issues.apache.org/bugzilla/show_bug.cgi?id=12355 - which was fixed in 2.2.0; you can apply this patch to 2.0.x releases: http://issues.apache.org/bugzilla/attachment.cgi?id=16495 Joe Thanks - that certainly looks like the problem. I notice that there are some potential workarounds mentioned on that page. Is there an official workaround, or should someone with a 2.0 Apache simply bite the bullet and apply the patch ? (or move to 2.2.0 ?) -- Regards Stephen Collyer Netspinner Ltd - 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] Segmentation fault with FreeBSD 6, Apache 2.2 and MySQL 5
Hello, I'm trying to get 2.2 DB authentication working with my MySQL 5 server. Everything compiles just fine, and I can load the mod_dbd and mod_auth modules and configure the connection and start the server. The problem is when I include a query directive; the server segfaults when trying to start it. Has anyone gotten a similar setup to work, on FreeBSD or not? The docs are hard to follow/bad at explaining how to get this stuff up and running... Thanks, Josh - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache 2.0.55 SSL and POST problem
On Tue, Jan 31, 2006 at 02:42:27PM +, Stephen Collyer wrote: Joe Orton wrote: On Tue, Jan 31, 2006 at 12:34:27PM +, Stephen Collyer wrote: I have an SSL enabled Apache 2.0.55, with a CGI enabled Location accessible via SSL. When I try to execute a POST against this location, I get a 405 Method not allowed response. This is http://issues.apache.org/bugzilla/show_bug.cgi?id=12355 - which was fixed in 2.2.0; you can apply this patch to 2.0.x releases: http://issues.apache.org/bugzilla/attachment.cgi?id=16495 Joe Thanks - that certainly looks like the problem. I notice that there are some potential workarounds mentioned on that page. Is there an official workaround, or should someone with a 2.0 Apache simply bite the bullet and apply the patch ? (or move to 2.2.0 ?) Ignore all the patches in the PR other than the one I referenced above - that is the same as the code which went into 2.2. There is no official fix for 2.0 unless and until something gets committed, but the above patch is as close as you'll get until then. 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: [EMAIL PROTECTED] Apache 2.0.55 SSL and POST problem
Boyle Owen wrote: Taking a wild guess, I'd say maybe SSL Re-negotiation in conjunction with POST method is not supported... :-) It's a long shot, but you might try putting SSLOptions +OptRenegotiate in your config. Fair comment. However, I am aware of *what* the error message says, and what it's telling me to do, but I wanted to know why SSL is screwing up the POST in the first place. A single line comment in a log file doesn't really give me enough background. -- Regards Stephen Collyer Netspinner Ltd - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache 2.0.55 SSL and POST problem
Joe Orton wrote: On Tue, Jan 31, 2006 at 02:42:27PM +, Stephen Collyer wrote: Joe Orton wrote: On Tue, Jan 31, 2006 at 12:34:27PM +, Stephen Collyer wrote: I have an SSL enabled Apache 2.0.55, with a CGI enabled Location accessible via SSL. When I try to execute a POST against this location, I get a 405 Method not allowed response. This is http://issues.apache.org/bugzilla/show_bug.cgi?id=12355 - which was fixed in 2.2.0; you can apply this patch to 2.0.x releases: http://issues.apache.org/bugzilla/attachment.cgi?id=16495 Joe Thanks - that certainly looks like the problem. I notice that there are some potential workarounds mentioned on that page. Is there an official workaround, or should someone with a 2.0 Apache simply bite the bullet and apply the patch ? (or move to 2.2.0 ?) Ignore all the patches in the PR other than the one I referenced above - that is the same as the code which went into 2.2. There is no official fix for 2.0 unless and until something gets committed, but the above patch is as close as you'll get until then. Right. Howver, by workaround I was referring to a configuration change (maybe adding that SSLOptions +OptRenegotiate ?). I'm unclear as to why the error message suggests a config fix, but a patch is necessary - I guess the question is, if I can fix the problem by changing the config (and it's not clear to me yet if I can), what does the patch buy me ? The closing of a security hole maybe ? -- Regards Stephen Collyer Netspinner Ltd - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] make error
I've worked around the previous error and am now getting: In file included from unixd.h:22, from unixd.c:23: /export/home/jman/download/src/apache/httpd-2.0.55/include/ap_listen.h:62: syntax error before `extern' In file included from unixd.c:23: unixd.h:49: parse error before `get_suexec_identity' unixd.h:68: parse error before `}' unixd.h:68: warning: data definition has no type or storage class I'm using gcc-2.95 on Solaris 8 i86. Thanks. - Original Message - From: Jonathan Mangin [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Tuesday, January 31, 2006 9:38 AM Subject: [EMAIL PROTECTED] make error I'm now trying to install 2.0.55 and receiving the error below. I'm not using the ksh. Found newer headers. Will rebuild apr.exp. -f apr.exp exports.c export_vars.h /bin/ksh: -f: not found make[3]: *** [delete-exports] Error 127 make[3]: Leaving directory `/export/home/jman/download/src/apache/httpd-2.0.55/srclib/apr' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/jman/download/src/apache/httpd-2.0.55/srclib/apr' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/jman/download/src/apache/httpd-2.0.55/srclib' make: *** [all-recursive] Error 1 # echo $SHELL /sbin/sh What is going on? Thanks, Jon - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Segmentation fault with FreeBSD 6, Apache 2.2 and MySQL 5
On Tuesday 31 January 2006 15:01, Josh Endries wrote: Hello, I'm trying to get 2.2 DB authentication working with my MySQL 5 server. Everything compiles just fine, and I can load the mod_dbd and mod_auth modules and configure the connection and start the server. The problem is when I include a query directive; the server segfaults when trying to start it. What query directive? And can you get a traceback from the crash (either run it with -X under gdb or get a coredump)? -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] extend 20 char limit to 60 in directory listing
On Mon, 2006-01-30 at 20:30 -0800, John Stile wrote: Problem: When I get a list of all the files in that directory, the file names are cut off after 20 characters. Question: How/where do I would extend this limit to 60 characters. I haven't found the right way to do this yet. I haven't seen any responses to this difficult question, so I add my research, with the hope that a helpful sole will offer advice. I do not have an index.html (set by the DirectoryIndex directive), so mod_dir is not called. Instead, the page is generated by mod_autoindex (set by the Options +Indexes directive), and some aspects of the layout are controlled by: AddIcon, AddIconByEncoding and AddIconByType. The FancyIndexing is set in the IndexOptions global directive, But this is a very deep area, full of lots of details, and I can't find an explicit control for the file name column size. This feels like a snipe hunt. HELP! - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] extend 20 char limit to 60 in directory listing
On Tue, 2006-01-31 at 10:49 +0100, Boyle Owen wrote: -Original Message- From: John Stile [mailto:[EMAIL PROTECTED] Sent: Dienstag, 31. Januar 2006 05:31 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] extend 20 char limit to 60 in directory listing Problem: When I get a list of all the files in that directory, the file names are cut off after 20 characters. Question: How/where do I would extend this limit to 60 characters. I haven't found the right way to do this yet. http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#indexoptions look at DescriptionWidth. That was very close. Thank you for the help. The magic incantation: IndexOptions NameWidth=60 Reference: http://www.apachefreaks.com/apache2/mod/mod_autoindex.html#indexoptions:namewidth - 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] Precompiled Mod_SSL binaries for Win32 and Apache 1.3
Anyone have a link to such a binary? I can't find one at all! -- Jason Czerak ([EMAIL PROTECTED]) __ Thisemailtransmissionandanydocuments,filesorpreviousemail messagesattachedtoitmaycontaininformationthatisconfidentialor legallyprivileged.Ifyouarenottheintendedrecipientoraperson responsiblefordeliveringthistransmissiontotheintendedrecipient, youareherebynotifiedthatyoumustnotreadthistransmissionand thatanydisclosure,copying,printing,distributionoruseofthis transmissionisstrictlyprohibited.Ifyouhavereceivedthistransmission inerror,pleaseimmediatelynotifythesenderbytelephoneorreturnemail anddeletetheoriginaltransmissionanditsattachmentswithoutreading orsavinginanymanner.
Re: [EMAIL PROTECTED] permissions problem
On 2006 Jan 31, at 9:33 AM, Joshua Slive wrote: On 1/30/06, Dr. Stephen Judd [EMAIL PROTECTED] wrote: Your problem still sounds very much like SELinux to me. Are you absolutely positive you are not running that? What exact version of redhat are you running? I'm quite sure I'm not running SELinux. Here is my evidence: [EMAIL PROTECTED] ~]$ echo $MACHTYPE i686-redhat-linux-gnuAs for version, I dunno. How do I find out? SELinux is not a distribution in itself. It is a set of tools built on top of a linux distribution. The symptoms of your problem, together with the fact that you have no idea what distribution you are running, still lead me to believe that you are running selinux. Thanks for the push. Your diagnosis of my particular ignorance appears correct. I'll post again when I sort this out. I'm not a redhat expert, so I can't tell you how to track down your distribution details. But information on selinux is linked from the last question in the FAQ listed here: http://httpd.apache.org/docs/2.2/faq/error.html#error.permissiondenied Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] make error
Are these kinds of problems too vague or is there a better place to ask? - Original Message - From: Jonathan Mangin [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Tuesday, January 31, 2006 10:31 AM Subject: Re: [EMAIL PROTECTED] make error I've worked around the previous error and am now getting: In file included from unixd.h:22, from unixd.c:23: /export/home/jman/download/src/apache/httpd-2.0.55/include/ap_listen.h:62: syntax error before `extern' In file included from unixd.c:23: unixd.h:49: parse error before `get_suexec_identity' unixd.h:68: parse error before `}' unixd.h:68: warning: data definition has no type or storage class I'm using gcc-2.95 on Solaris 8 i86. Thanks. - Original Message - From: Jonathan Mangin [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Tuesday, January 31, 2006 9:38 AM Subject: [EMAIL PROTECTED] make error I'm now trying to install 2.0.55 and receiving the error below. I'm not using the ksh. Found newer headers. Will rebuild apr.exp. -f apr.exp exports.c export_vars.h /bin/ksh: -f: not found make[3]: *** [delete-exports] Error 127 make[3]: Leaving directory `/export/home/jman/download/src/apache/httpd-2.0.55/srclib/apr' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/jman/download/src/apache/httpd-2.0.55/srclib/apr' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/jman/download/src/apache/httpd-2.0.55/srclib' make: *** [all-recursive] Error 1 # echo $SHELL /sbin/sh What is going on? Thanks, Jon - 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]
[EMAIL PROTECTED] using mod_rewrite to get around unknown directive in .htaccess
An Apache module is enabled on our 1.3.34 https server, and not on our http server. The http and https servers serve the same document tree. One .htaccess file in a users web tree (say, ~user/secure/.htaccess) contains directives that will only work on the https server. When a user visits the page on the http tree, they get an Internal Server Error message. This, I would expect. However, I would like to make it so that when the user tries to view the page VIA http, he is automatically redirected to the https page using mod_rewrite. Now, the directives in the .htaccess file exist, and everything works. The problem is that even though I include the rewrite directives in the upper level (~user/.htaccess) file that will may http://server/~user/secure to https://server/~user/secure, the server still tries http://server/~user/secure/.htaccess first, and dies with the internal server error, so it does not end up redirecting. Is there a simple way around this? Thanks in advance.. 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: [EMAIL PROTECTED] using mod_rewrite to get around unknown directive in .htaccess
On 1/31/06, Jason Keltz [EMAIL PROTECTED] wrote: An Apache module is enabled on our 1.3.34 https server, and not on our http server. The http and https servers serve the same document tree. One .htaccess file in a users web tree (say, ~user/secure/.htaccess) contains directives that will only work on the https server. When a user visits the page on the http tree, they get an Internal Server Error message. This, I would expect. However, I would like to make it so that when the user tries to view the page VIA http, he is automatically redirected to the https page using mod_rewrite. Now, the directives in the .htaccess file exist, and everything works. The problem is that even though I include the rewrite directives in the upper level (~user/.htaccess) file that will may http://server/~user/secure to https://server/~user/secure, the server still tries http://server/~user/secure/.htaccess first, and dies with the internal server error, so it does not end up redirecting. Is there a simple way around this? Use httpd.conf to turn off .htacess processing (AllowOverride) in the relevant directory inside the VirtualHost section for the non-ssl host. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Apache starts then aborts on windows
Hi ! I have a problem with Apache 2.0.55 i can't understand... all instalation is working fine on win2003 server, but when a try to load a custom module wrote in delphi apache starts and seconds after aborts with no messages. When i start it as a service the events logs show me the following message: The apache2 service terminated unexpactedly... My module's size is apromatelly 1,2 Mb and i observed that when i decrease the module's size apache becomes able to load and execute the module. It seems a limit... Is this a configuration problem? I would appreciate some help !! Thanks, Jorge. Será que você realmente precisa imprimir este e-mail? Lembre-se: A preservação do Meio Ambiente também depende de você. Is it absolutely necessary to print this e-mail? Remember: Environmental protection also depends on you. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] using mod_rewrite to get around unknown directive in .htaccess
On Tue, 31 Jan 2006, Joshua Slive wrote: On 1/31/06, Jason Keltz [EMAIL PROTECTED] wrote: An Apache module is enabled on our 1.3.34 https server, and not on our http server. The http and https servers serve the same document tree. One .htaccess file in a users web tree (say, ~user/secure/.htaccess) contains directives that will only work on the https server. When a user visits the page on the http tree, they get an Internal Server Error message. This, I would expect. However, I would like to make it so that when the user tries to view the page VIA http, he is automatically redirected to the https page using mod_rewrite. Now, the directives in the .htaccess file exist, and everything works. The problem is that even though I include the rewrite directives in the upper level (~user/.htaccess) file that will may http://server/~user/secure to https://server/~user/secure, the server still tries http://server/~user/secure/.htaccess first, and dies with the internal server error, so it does not end up redirecting. Is there a simple way around this? Use httpd.conf to turn off .htacess processing (AllowOverride) in the relevant directory inside the VirtualHost section for the non-ssl host. Hi Joshua, Unfortunately, this won't do it since multiple users can use the directives on the https server in any directory. Is there no IgnoreErrors directive in .htaccess? What I really don't get is that if I redefine the error message in the top-level .htaccess, that does indeed get read which shows that the server reads the top-level .htaccess before reading the bottom-level one. How come an Error code web page redefinition works, but a mod_rewrite rule does not.. Jas. - 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] Two htpasswd-style files
Hello - Is it possible for AuthUserFile to accept two arguments, i.e. two seperate htpasswd-style files? Would I throw two arguments at it, or have two seperate AuthUserFile directives, pointing to their own htpasswd-style files? 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]
Re: [EMAIL PROTECTED] using mod_rewrite to get around unknown directive in .htaccess
On 1/31/06, Jason Keltz [EMAIL PROTECTED] wrote: On Tue, 31 Jan 2006, Joshua Slive wrote: Use httpd.conf to turn off .htacess processing (AllowOverride) in the relevant directory inside the VirtualHost section for the non-ssl host. Hi Joshua, Unfortunately, this won't do it since multiple users can use the directives on the https server in any directory. Is there no IgnoreErrors directive in .htaccess? What I really don't get is that if I redefine the error message in the top-level .htaccess, that does indeed get read which shows that the server reads the top-level .htaccess before reading the bottom-level one. How come an Error code web page redefinition works, but a mod_rewrite rule does not.. It does work. It is just that apache must ALSO read the .htaccess file in the subdirectory, since it may have additional RewriteRules (or other directives) that will change the parent directory configuration. And simply ignoring config-file syntax errors would be a security problem. You could, of course, simply create a stub module that impliments the directive as a no-op. That would be relatively easy. You haven't fully specified your problem, so it is difficult to suggest solutions. The obvious one is to use AccessFileName .htaccess-secure .htaccess on the ssl site. Then if anyone is using directives that work only on the ssl server, tell them to rename their .htaccess to .htaccess-secure. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Two htpasswd-style files
On 1/31/06, Dan Trainor [EMAIL PROTECTED] wrote: Hello - Is it possible for AuthUserFile to accept two arguments, i.e. two seperate htpasswd-style files? Would I throw two arguments at it, or have two seperate AuthUserFile directives, pointing to their own htpasswd-style files? I believe that this can be done in 2.2 using mod_authn_alias, but I haven't tried it. I'm fairly sure its not possible with the stock 1.3 or 2.0 modules. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] using mod_rewrite to get around unknown directive in .htaccess
On 1/31/06, Joshua Slive [EMAIL PROTECTED] wrote: On 1/31/06, Jason Keltz [EMAIL PROTECTED] wrote: On Tue, 31 Jan 2006, Joshua Slive wrote: Use httpd.conf to turn off .htacess processing (AllowOverride) in the relevant directory inside the VirtualHost section for the non-ssl host. Hi Joshua, Unfortunately, this won't do it since multiple users can use the directives on the https server in any directory. Is there no IgnoreErrors directive in .htaccess? What I really don't get is that if I redefine the error message in the top-level .htaccess, that does indeed get read which shows that the server reads the top-level .htaccess before reading the bottom-level one. How come an Error code web page redefinition works, but a mod_rewrite rule does not.. It does work. It is just that apache must ALSO read the .htaccess file in the subdirectory, since it may have additional RewriteRules (or other directives) that will change the parent directory configuration. And simply ignoring config-file syntax errors would be a security problem. You could, of course, simply create a stub module that impliments the directive as a no-op. That would be relatively easy. You haven't fully specified your problem, so it is difficult to suggest solutions. The obvious one is to use AccessFileName .htaccess-secure .htaccess on the ssl site. Then if anyone is using directives that work only on the ssl server, tell them to rename their .htaccess to .htaccess-secure. Oh, and a third alternative is to use an ErrorDocument 500 /cgi-bin/go-to-ssl.cgi which could then issue the redirect without the client ever seeing the error. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Two htpasswd-style files
Hi - Yea, I tested this. If two AuthUserFile directives are specified, the last entry takes precidence. If two arguements are given to AuthUserFile, an internal service error prints. Thanks for the help, though -dant Joshua Slive wrote: On 1/31/06, Dan Trainor [EMAIL PROTECTED] wrote: Hello - Is it possible for AuthUserFile to accept two arguments, i.e. two seperate htpasswd-style files? Would I throw two arguments at it, or have two seperate AuthUserFile directives, pointing to their own htpasswd-style files? I believe that this can be done in 2.2 using mod_authn_alias, but I haven't tried it. I'm fairly sure its not possible with the stock 1.3 or 2.0 modules. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Redirect
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, How do I redirect http://mail.sample.com to http://www.sample.com/mail/src/? Thanks, Michael Louie Loria -BEGIN PGP SIGNATURE- Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8 Comment: Public Key: http://www.lorztech.com/GPG.txt Comment: Google, Skype, Yahoo ID: michaellouieloria iQEVAwUBQ+F3abXBHi2y3jwfAQpEvQgAoFLo/PexHsE9iuYD5d1RBObL9XtTk3+E ZUH0xKl2QpuGgXDdN84+gJD+WnWTx+QIandyvCeR43KGDjAz0nP0kbnTC0EMC0dw PF1ebVSF851m6TEUBZkGiXgRmWvYBC+frMSZZaPl3GeAS1UzByJ0U9inY5Z8hvWh bp/RBxjeOPw09rv07kNsXsxMI1rwhuhrXbEggSf6mGQ45yefcX/FnVxHM0i+ij0y K+w/tlLj3TY1qGPlVTDTzlWW1Nyxi7DXptj5dexQmFRPP9In8ZyN+gOPVL2KYNJY XiPDjr7S00yKbogMRk/hTkonTXffLuQiaoFaRaCQpxe1WxffgVkHdQ== =Ilbf -END PGP SIGNATURE- __ 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: [EMAIL PROTECTED] Precompiled Mod_SSL binaries for Win32 and Apache 1.3
http://hunter.campbus.com/ - Original Message - From: Jason J. Czerak To: users@httpd.apache.org Sent: Tuesday, January 31, 2006 11:15 PM Subject: [EMAIL PROTECTED] Precompiled Mod_SSL binaries for Win32 and Apache 1.3 Anyone have a link to such a binary? I can't find one at all! -- Jason Czerak ([EMAIL PROTECTED]) __Thisemailtransmissionandanydocuments,filesorpreviousemailmessagesattachedtoitmaycontaininformationthatisconfidentialorlegallyprivileged.Ifyouarenottheintendedrecipientorapersonresponsiblefordeliveringthistransmissiontotheintendedrecipient,youareherebynotifiedthatyoumustnotreadthistransmissionandthatanydisclosure,copying,printing,distributionoruseofthistransmissionisstrictlyprohibited.Ifyouhavereceivedthistransmissioninerror,pleaseimmediatelynotifythesenderbytelephoneorreturnemailanddeletetheoriginaltransmissionanditsattachmentswithoutreadingorsavinginanymanner.
Re: [EMAIL PROTECTED] Redirect
Try google on redirect html and take the very first link. If that's not what you meant, please be more clear. sj On 2006 Jan 31, at 10:08 PM, Michael Louie Loria wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, How do I redirect http://mail.sample.com to http://www.sample.com/ mail/src/? Thanks, Michael Louie Loria -BEGIN PGP SIGNATURE- Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8 Comment: Public Key: http://www.lorztech.com/GPG.txt Comment: Google, Skype, Yahoo ID: michaellouieloria iQEVAwUBQ+F3abXBHi2y3jwfAQpEvQgAoFLo/PexHsE9iuYD5d1RBObL9XtTk3+E ZUH0xKl2QpuGgXDdN84+gJD+WnWTx+QIandyvCeR43KGDjAz0nP0kbnTC0EMC0dw PF1ebVSF851m6TEUBZkGiXgRmWvYBC+frMSZZaPl3GeAS1UzByJ0U9inY5Z8hvWh bp/RBxjeOPw09rv07kNsXsxMI1rwhuhrXbEggSf6mGQ45yefcX/FnVxHM0i+ij0y K+w/tlLj3TY1qGPlVTDTzlWW1Nyxi7DXptj5dexQmFRPP9In8ZyN+gOPVL2KYNJY XiPDjr7S00yKbogMRk/hTkonTXffLuQiaoFaRaCQpxe1WxffgVkHdQ== =Ilbf -END PGP SIGNATURE- __ 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] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] AddDefaultCharset and Multiple Encodings
I agree with your distinction between what Apache does and how the browser responds to it. Sorry for the inaccuracy on my part. The basis for my comment is that the Apache documentation for AddDefaultCharset says: This should override any charset specified in the body of the response via a META element, though the exact behavior is often dependent on the user's client configuration. Mozilla 1.7.12 and Opera 8.51 give priority to the HTTP charset encoding and therefore comply with the should statement in the Apache documentation. IE6.0 gives priority to the Content-Type meta element in the HTML head instead. Unfortunately, taking the advice of the Apache documentation prevents the more compliant browsers from correctly rendering the content from a given server using the AddDefaultCharset directive unless that same charset encoding is used across the entire site. Although Apache is not responsible for this, compliance with the should statement in its documentation is. I think the Apache documentation should not recommend overriding the meta element, because what's in the meta element is most likely to be correct. Does this make sense or am I still off target? Jim --- Joshua Slive [EMAIL PROTECTED] wrote: (...cut...) No, it doesn't. It set's an HTTP charset only when none exists. Perhaps what you are seeing is the fact that browsers will use the charset specified in the html head when no HTTP charset is present. But this has really nothing to do with apache. (...cut...) __ 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]
[EMAIL PROTECTED] Cookie problem in IE, but not FF
Hello All, I recently upgraded to the following (on a rhel3 box): Apache/2.0.55 mod_ssl/2.0.55 OpenSSL/0.9.8 DAV/2 mod_apreq2-20050712/2.1.3-dev mod_perl/2.0.2 Perl/v5.8.0 And now I find myself stuck for hours on what I am convinced is a no-brainer. Here is what I am trying to do ($r below is of course an Apache2::RequestRec object): --start-- my $jar = Apache2::Cookie::Jar-new($r); $m-out(Jar Status: . $jar-status() .br); --end-- In Firefox 1.5, this prints: Jar Status: Success However, in IE 6.0.28, I am getting: Jar Status: Missing input data Other than that, I don't know what to tell you. I have placed some install information below (how I compiled mod_perl, apache, openssl in case it helps). I imagine this is an httpd.conf issue, but I have no idea what to ask or where to go from here. *Any* help is very, very appreciated! Jason # openssl cd openssl-0.9.8a ./config --prefix=/usr/local/ssl/install --openssldir=/usr/local/ssl/install/openssl make make install # Apache2 tar -zxvf httpd-2.2.0.tar.gz cd httpd-2.2.0 ./configure -with-mpm=worker --enable-modules=all --enable-mods-shared=all --enable-deflate --enable-ssl --with-ssl=/usr/local/ssl/install/openssl make make install # mod_perl 2 tar -zxvf mod_perl-2.0-current.tar.gz cd mod_perl-2.0.2 perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs make make test make install ls -l /usr/local/apache2/modules/mod_perl.so - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] AddDefaultCharset and Multiple Encodings
From: Skating Jim [EMAIL PROTECTED] I agree with your distinction between what Apache does and how the browser responds to it. Sorry for the inaccuracy on my part. The basis for my comment is that the Apache documentation for AddDefaultCharset says: This should override any charset specified in the body of the response via a META element, though the exact behavior is often dependent on the user's client configuration. Mozilla 1.7.12 and Opera 8.51 give priority to the HTTP charset encoding and therefore comply with the should statement in the Apache documentation. IE6.0 gives priority to the Content-Type meta element in the HTML head instead. Hmm, strange. I have seen that if I use the charset ISO-8859-2 in a meta tag in an xhtml file, IE 6 uses the ISO-8859-1 charset specified in the HTTP headers even though I don't want this. Unfortunately, taking the advice of the Apache documentation prevents the more compliant browsers from correctly rendering the content from a given server using the AddDefaultCharset directive unless that same charset encoding is used across the entire site. Although Apache is not responsible for this, compliance with the should statement in its documentation is. I think the Apache documentation should not recommend overriding the meta element, because what's in the meta element is most likely to be correct. Does this make sense or am I still off target? Yes I also think that the prefered charset should be the one specified in the meta tag, especially in xhtml files, because they are a kind of XML files and I know that the XML files should be able to have the charset specified inside. Teddy - 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]