[EMAIL PROTECTED] conf.d never match because overlaps earlier Alias
Hello, i'm experimenting with a lokal apache, for study purpose only. This is Apache 2.0.55 (Debian testing) with mod_python/3.1.3 Python/2.3.5. Starting the server cuases this (noncritical) error message: [Sat Feb 11 06:25:01 2006] [warn] The Alias directive in /etc/apache2/conf.d/dwww at line 3 will probably never match because it overlaps an earlier Alias. [Sat Feb 11 06:25:03 2006] [warn] The Alias directive in /etc/apache2/conf.d/dwww at line 3 will probably never match because it overlaps an earlier Alias. I didn't configure too much myself by now, it's mostly the standard config. I also didn't touch the 'dwww' directive. I can show you what i have: apache2.conf: #Let's have some Icons, shall we? Alias /icons/ "/usr/share/apache2/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all sites-enabled/000-default: NameVirtualHost * # ServerName woody ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/ ErrorLog /var/log/apache2/error.log LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all Alias /doc/ "/usr/share/doc/" Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Allow from 127.0.0.0/255.0.0.0 ::1/128 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all ## XXX: Site specific stuff Alias /homewerks/ "/home/WERKS/" AuthType Basic AuthName "apache_homewerks" AuthUserFile /etc/apache2/passwords # AuthGroupFile /etc/apache2/groups Require valid-user # Require user michl # Need Indexes to access the directory list: Options FollowSymLinks Indexes Includes MultiViews AllowOverride None Order deny,allow # Allow from 127.0.0.0/255.0.0.0 ::1/128 Allow from woody # Allow from puck # Allow from puckwin # Allow from .lan0 # Allow from .lan1 # Deny from all conf.d/dwww Alias /dwww /var/lib/dwww/html/ Order deny,allow Deny from all Allow from localhost 127.0.0.1/255.255.255.0 Order deny,allow Deny from all Allow from localhost 127.0.0.1/255.255.255.0 - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] apache 2.2 build failure
hi al... trying to build apache 2.2 with the http proxy and load balancing modules enabled. ./configure went trough fine. the making fails. i'm attaching the full output of where the error happens but here is a few lines of it thanks... /usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_balancer.c:735: undefined reference to `proxy_module' modules/proxy/.libs/libmod_proxy_balancer.a(mod_proxy_balancer.o)(.text+0x1685):/usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_balancer.c:86: undefined reference to `ap_proxy_initialize_worker_share' modules/proxy/.libs/libmod_proxy_balancer.a(mod_proxy_balancer.o)(.text+0x17de): In function `find_best_byrequests': /usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_balancer.c:816: undefined reference to `ap_proxy_retry_worker' modules/proxy/.libs/libmod_proxy_balancer.a(mod_proxy_balancer.o)(.text+0x1902): In function `find_best_bytraffic': /usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_balancer.c:876: undefined reference to `ap_proxy_retry_worker' modules/proxy/.libs/libmod_proxy_balancer.a(mod_proxy_balancer.o)(.text+0x1956): In function `ap_proxy_balancer_register_hook': /usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_balancer.c:928: undefined reference to `proxy_hook_pre_request' modules/proxy/.libs/libmod_proxy_balancer.a(mod_proxy_balancer.o)(.text+0x1966):/usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_balancer.c:929: undefined reference to `proxy_hook_post_request' modules/proxy/.libs/libmod_proxy_balancer.a(mod_proxy_balancer.o)(.text+0x1979):/usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_balancer.c:930: undefined reference to `proxy_hook_canon_handler' *** Error code 1 Stop in /usr/local/src/httpd-2.2.0. *** Error code 1 Stop in /usr/local/src/httpd-2.2.0. any ideas? Making all in support gcc -g -O2-I/usr/local/src/httpd-2.2.0/srclib/pcre -I. -I/usr/local/src/httpd-2.2.0/os/unix -I/usr/local/src/httpd-2.2.0/server/mpm/prefork -I/usr/local/src/httpd-2.2.0/modules/http -I/usr/local/src/httpd-2.2.0/modules/filters -I/usr/local/src/httpd-2.2.0/modules/proxy -I/usr/local/src/httpd-2.2.0/include -I/usr/local/src/httpd-2.2.0/modules/generators -I/usr/local/src/httpd-2.2.0/modules/mappers -I/usr/local/src/httpd-2.2.0/modules/database -I/usr/local/src/httpd-2.2.0/srclib/apr/include -I/usr/local/src/httpd-2.2.0/srclib/apr-util/include -I/usr/local/include -I/usr/local/src/httpd-2.2.0/modules/proxy/../generators -I/usr/local/src/httpd-2.2.0/modules/ssl -I/usr/local/src/httpd-2.2.0/modules/dav/main -c /usr/local/src/httpd-2.2.0/server/buildmark.c /usr/local/src/httpd-2.2.0/srclib/apr/libtool --silent --mode=link gcc -g -O2 -L/usr/local/lib -o httpd modules.lo buildmark.o -export-dynamic server/libmain.la modules/aaa/libmod_authn_file.la modules/aaa/libmod_authn_default.la modules/aaa/libmod_authz_host.la modules/aaa/libmod_authz_groupfile.la modules/aaa/libmod_authz_user.la modules/aaa/libmod_authz_default.la modules/aaa/libmod_auth_basic.la modules/filters/libmod_include.la modules/filters/libmod_filter.la modules/loggers/libmod_log_config.la modules/metadata/libmod_env.la modules/metadata/libmod_headers.la modules/metadata/libmod_setenvif.la modules/proxy/libmod_proxy_http.la modules/proxy/libmod_proxy_ajp.la modules/proxy/libmod_proxy_balancer.la modules/ssl/libmod_ssl.la modules/http/libmod_http.la modules/http/libmod_mime.la modules/generators/libmod_status.la modules/generators/libmod_autoindex.la modules/generators/libmod_asis.la modules/generators/libmod_cgi.la modules/mappers/libmod_negotiation.la mod ules/mappers/libmod_dir.la modules/mappers/libmod_actions.la modules/mappers/libmod_userdir.la modules/mappers/libmod_alias.la modules/mappers/libmod_rewrite.la modules/mappers/libmod_so.la server/mpm/prefork/libprefork.la os/unix/libos.la -lm /usr/local/src/httpd-2.2.0/srclib/pcre/libpcre.la /usr/local/src/httpd-2.2.0/srclib/apr-util/libaprutil-1.la -lexpat /usr/local/src/httpd-2.2.0/srclib/apr/libapr-1.la -lcrypt -lpthread modules/proxy/.libs/libmod_proxy_http.a(mod_proxy_http.o)(.text+0x7c): In function `proxy_http_canon': /usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_http.c:61: undefined reference to `ap_proxy_canon_netloc' modules/proxy/.libs/libmod_proxy_http.a(mod_proxy_http.o)(.text+0xc4):/usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_http.c:83: undefined reference to `ap_proxy_canonenc' modules/proxy/.libs/libmod_proxy_http.a(mod_proxy_http.o)(.text+0x4d0): In function `ap_proxy_http_cleanup': /usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_http.c:1586: undefined reference to `ap_proxy_release_connection' modules/proxy/.libs/libmod_proxy_http.a(mod_proxy_http.o)(.text+0x52b): In function `ap_proxy_http_process_response': /usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_http.c:1209: undefined reference to `ap_proxy_make_fake_req' modules/proxy/.libs/libmod_proxy_http.a(mod_proxy_http.o)(.text+0xa07):/usr/local/src/httpd-2.2.0/modules/proxy/mod_proxy_http
Re: [EMAIL PROTECTED] email sending utility
Thanks. From: Nick Kew <[EMAIL PROTECTED]> Reply-To: users@httpd.apache.org To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] email sending utility Date: Sat, 11 Feb 2006 01:32:31 + On Friday 10 February 2006 23:48, Shipra Mehta wrote: > Hi, > > I am using Apache for windows XP v. 2.0.55. I would like to send email to > user (user specified email address in ) Never, ever do that from a server accessible to the public. It *will* be hijacked to send spam. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] email sending utility
On Friday 10 February 2006 23:48, Shipra Mehta wrote: > Hi, > > I am using Apache for windows XP v. 2.0.55. I would like to send email to > user (user specified email address in ) Never, ever do that from a server accessible to the public. It *will* be hijacked to send spam. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] undocumented POST size limit?
Joshua Slive wrote: I don't believe 2.0 supports >2GB posts, but I think that 2.2 does. But my guess is you'll also find that neither of your clients properly supports this. OK, thanks. Do you know of any documentation for either of those assertions? The apache side is documented here: http://httpd.apache.org/docs/2.2/new_features_2_2.html (See "Large File Support".) Ah, I see. Testing 2.2 now. The browser assertion is just based on rumour and reported lack-of-success on this list. Hm, OK. So this is sort of OT then, but wouldn't it seem like simply a matter of using a large-enough datatype to store the size of the file (specifically use an integer larger than 32 bits)? I don't see what else a browser would/could really want to do with an about-to-upload file that would be different for a file <2GB than for one >2GB. -- Anthony DiSante Encodable Industries http://encodable.com/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] email sending utility
Thanks. Shipra Mehta --- From: Richard de Vries <[EMAIL PROTECTED]> Reply-To: users@httpd.apache.org To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] email sending utility Date: Fri, 10 Feb 2006 17:03:38 -0800 (PST) Indigostar has a sendmail for Windows application. You can find it here: http://www.indigostar.com/sendmail.htm If you google, you may even find a similar free application somewhere. --- Shipra Mehta <[EMAIL PROTECTED]> wrote: > Hi, > > I am using Apache for windows XP v. 2.0.55. I would > like to send email to > user (user specified email address in "text" name =email>) > with a file containing results of a program called > by my cgi file. I am not > able to use sendmail (I guess it works for unix). > Could you help me with > this problem of email utility in apache for windows. > > > > Shipra Mehta > --- > > > > - > The official User-To-User support forum of the > Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for > more info. > To unsubscribe, e-mail: > [EMAIL PROTECTED] >" from the digest: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ 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 http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] email sending utility
Indigostar has a sendmail for Windows application. You can find it here: http://www.indigostar.com/sendmail.htm If you google, you may even find a similar free application somewhere. --- Shipra Mehta <[EMAIL PROTECTED]> wrote: > Hi, > > I am using Apache for windows XP v. 2.0.55. I would > like to send email to > user (user specified email address in "text" name =email>) > with a file containing results of a program called > by my cgi file. I am not > able to use sendmail (I guess it works for unix). > Could you help me with > this problem of email utility in apache for windows. > > > > Shipra Mehta > --- > > > > - > The official User-To-User support forum of the > Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for > more info. > To unsubscribe, e-mail: > [EMAIL PROTECTED] >" from the digest: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ 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 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] Does anyone know how well MSIE support HTTP to TLS upgrade (RFC 2817) now ?
Does anyone know how well MSIE support HTTP to TLS upgrade (RFC 2817) now ? Does Microsoft has any plan to support RFC 2817? Khai - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] email sending utility
Hi, I am using Apache for windows XP v. 2.0.55. I would like to send email to user (user specified email address in ) with a file containing results of a program called by my cgi file. I am not able to use sendmail (I guess it works for unix). Could you help me with this problem of email utility in apache for windows. Shipra Mehta --- - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] mod_rewrite w/ mod_proxy_ajp loses JSESSION
Hi, has anyone experienced this? when I do a rewrite, something like www.mysite.com/something TO www.mysite.com/tomcatContext/somewhere?foo=something and dispatch it with AJP, it spawns a new user session. If the original URL looks like www.mysite.com/tomcatContext/something then all is good. It's only a problem when I use mod_rewrite to write in the name of the Tomcat context. Any ideas? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] busy error logs
See Sean's answer, ignore the comment below; all it does is hang the server and cause it provide no respose to the client for not-found errors. David Salisbury wrote: I'll take a stab. I'm guessing you could doing something along the lines of ErrorDocument 404 /dev/null if you're on a unix type box. -ds - Original Message - From: "Andrew Brosnan" <[EMAIL PROTECTED]> To: Sent: Friday, February 10, 2006 3:02 PM Subject: [EMAIL PROTECTED] busy error logs Hi, I'm hoping to exclude certain items from being logged in the error logs. According to one section of the docs this does not seem possible, yet another section suggests that it is. Can this be done? More specifically, I'm working on a busy server which is logging lots of 404 errors for a particular group of files. Problem is, when I want to tail -f the error log for *my* work, the log buzzes by to fast to be useful, and it's quite cluttered with errors I don't care about. What do others do in a case like this? Thanks - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] busy error logs
It was thus said that the Great Andrew Brosnan once stated: > > Hi, > > I'm hoping to exclude certain items from being logged in the error logs. > According to one section of the docs this does not seem possible, yet > another section suggests that it is. Can this be done? > > More specifically, I'm working on a busy server which is logging lots of > 404 errors for a particular group of files. Problem is, when I want to > tail -f the error log for *my* work, the log buzzes by to fast to be > useful, and it's quite cluttered with errors I don't care about. What do > others do in a case like this? GenericUnixPrompt> tail -f access_log | grep /interested/url or GenericUnixPrompt> tail -f access_log | grep -v ' 404 ' -spc (Should cut down on the clutter ... ) - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] busy error logs
I'll take a stab. I'm guessing you could doing something along the lines of ErrorDocument 404 /dev/null if you're on a unix type box. -ds - Original Message - From: "Andrew Brosnan" <[EMAIL PROTECTED]> To: Sent: Friday, February 10, 2006 3:02 PM Subject: [EMAIL PROTECTED] busy error logs Hi, I'm hoping to exclude certain items from being logged in the error logs. According to one section of the docs this does not seem possible, yet another section suggests that it is. Can this be done? More specifically, I'm working on a busy server which is logging lots of 404 errors for a particular group of files. Problem is, when I want to tail -f the error log for *my* work, the log buzzes by to fast to be useful, and it's quite cluttered with errors I don't care about. What do others do in a case like this? Thanks - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] busy error logs
Hi, I'm hoping to exclude certain items from being logged in the error logs. According to one section of the docs this does not seem possible, yet another section suggests that it is. Can this be done? More specifically, I'm working on a busy server which is logging lots of 404 errors for a particular group of files. Problem is, when I want to tail -f the error log for *my* work, the log buzzes by to fast to be useful, and it's quite cluttered with errors I don't care about. What do others do in a case like this? Thanks - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Virtual Hosts on 127.0.0.*
Joshua Slive wrote: On 2/10/06, Diona Kidd <[EMAIL PROTECTED]> wrote: (98)Address already in use: make_sock: could not bind to address 127.0.0.10:80 no listening sockets available, shutting down Unable to open logs What am I missing? I'm running Debian 3.1, no iptable rules configured, no firewall. Does anyone else have a setup like this? Check your front-end instance of apache. It probably has something like Listen 80 Listen 443 These will grab all IP addresses on the machine, including the loopback. Change those to grab only the external addresses. FYI, for Win32 XP SP2 users, there is a hotfix from Microsoft if you are trying to using 127.0.0.2 - 127.255.255.255 - because Microsoft had the silly idea that loopback addresses other than 127.0.0.1 were bad, and they broke this rather standard behavior in that service pack. Bill - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Rewriting HTTP_HOST to directories
My apologies. To clarify: The RewriteMap will contain the domain and the user it maps to. If the user joeblow has test.com, then the map will be: test.com joeblow Thanks. Joshua Slive wrote: On 2/10/06, Mike Z <[EMAIL PROTECTED]> wrote: Good afternoon, After reading through the mod_rewrite and rewrite guide docs and tinkering with things a bit, I have to admit I'm still in the dark. Here is what I'm attempting to do: I'm setting up service to offer domain names to users on a free web hosting service. Currently, when a user signs up with the free service, they receive a subdirectory on our site, in the form of /var/www/html/ourhost.com/user. As doing virtual hosts for all the potential users is impractical, and the mass virtual hosting can't translate into this directory structure, I'd like to use a RewriteMap to translate domains to these directories, e.g. test.com /var/www/html/ourhost.com/user Can someone provide me with a bit of help as to how to accomplish this? Your problem is not well-specified. How is apache supposed to know the user? Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Rewriting HTTP_HOST to directories
On 2/10/06, Mike Z <[EMAIL PROTECTED]> wrote: > Good afternoon, > > After reading through the mod_rewrite and rewrite guide docs and > tinkering with things a bit, I have to admit I'm still in the dark. Here > is what I'm attempting to do: > > I'm setting up service to offer domain names to users on a free web > hosting service. Currently, when a user signs up with the free service, > they receive a subdirectory on our site, in the form of > /var/www/html/ourhost.com/user. As doing virtual hosts for all the > potential users is impractical, and the mass virtual hosting can't > translate into this directory structure, I'd like to use a RewriteMap to > translate domains to these directories, e.g. > > test.com /var/www/html/ourhost.com/user > > Can someone provide me with a bit of help as to how to accomplish this? Your problem is not well-specified. How is apache supposed to know the user? Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] problem : mod_authnz_ldap with AuthType Digest
On 2/10/06, Keigo IMAI <[EMAIL PROTECTED]> wrote: > (Then, why is it possible to use AuthType Digest with > AuthBasicProvider??? It works fine on our setting.) AuthDigestProvider has a default value. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Rewriting HTTP_HOST to directories
Good afternoon, After reading through the mod_rewrite and rewrite guide docs and tinkering with things a bit, I have to admit I'm still in the dark. Here is what I'm attempting to do: I'm setting up service to offer domain names to users on a free web hosting service. Currently, when a user signs up with the free service, they receive a subdirectory on our site, in the form of /var/www/html/ourhost.com/user. As doing virtual hosts for all the potential users is impractical, and the mass virtual hosting can't translate into this directory structure, I'd like to use a RewriteMap to translate domains to these directories, e.g. test.com /var/www/html/ourhost.com/user Can someone provide me with a bit of help as to how to accomplish this? Thank you, Mike - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] problem : mod_authnz_ldap with AuthType Digest
David Bell wrote: Perhaps you need a AuthDigestProvider line instead of AuthBasicProvider? Thanks. Now I realized the problem... As you have pointed out, Basic AuthType must be used with AuthBasicProvider, and Digest with AuthDigestProvider. (Then, why is it possible to use AuthType Digest with AuthBasicProvider??? It works fine on our setting.) However, I found that AuthDigestProvider does not support LDAP now. So mod_authnz_ldap can only be used with AuthType Basic. When I wrote "AuthDigestProvider ldap", I got following and apache wouldn't start: Syntax error on line 23 of /opt/local/apache2/conf/extra/httpd- dav.conf: The 'ldap' Authn provider doesn't support Digest Authentication Thanks a lot again. Best regards. On 2006/02/11, at 4:14(+0900), David Bell wrote: I got that error when I didn't have AuthBasicProvider LDAP and using Basic AuthType. Perhaps you need a AuthDigestProvider line instead of AuthBasicProvider? Cheers, Dave Keigo IMAI wrote: Hello, I encountered a problem when using mod_authnz_ldap with digest password. OS : Mac OS X Server 10.4 Apache : 2.2.0 (attached config.log) Once I try to get the page with authentication by LDAP and Digest password (submitting id and pass), then it immediately returns a 500 error to my browser. Below is the part of my httpd.conf file. Alias /uploads "/opt/local/apache2/uploads" Options All Order allow,deny Allow from all AuthBasicAuthoritative off AuthName upload # switch here Digest or Basic AuthType Digest #AuthType Basic # - # switch below ldap or file AuthBasicProvider ldap AuthLDAPURL ldap://osxserver/dc=somewhere,dc=jp?uid AuthzLDAPAuthoritative off #AuthBasicProvider file #AuthUserFile "/opt/local/apache2/user.passwd" # --- require valid-user And when I accessed to: http:///uploads/ then I got a 500 error. Apache2 says: [Sat Feb 11 02:57:39 2006] [error] Internal error: pcfg_openfile () called with NULL filename [Sat Feb 11 02:57:39 2006] [error] [client xxx.yyy.zzz.www] (9) Bad file descriptor: Could not open password file: (null) (when loglevel is 'debug') ...However, it works fine when I switch to: 1. "AuthType Basic" or, 2. "AuthBasicProvider file" respectively, like the comment of above fragment of conf file. So I am sure that all modules including mod_authnz_ldap and mod_auth_digest are loaded properly. And more, I guess that the combination of mod_authnz_ldap with Digest password causes this. Is there anyone who encountered this problem? ...or, is this an OSX specific bug? Any help will be appreciated. (And, sorry for my unskilled English.) regards, Keigo IMAI - --- - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- __ /_/\ / \\ \ David Richard Bell /_\ \\ / Web Project Manager /_/ \/ / / Web Experience and Design /_/ / \//\500 Eldorado Blvd. UBRM05-A350 \_\//\ / /Broomfield, CO. 80021 \_/ / /\ / Phone 1-303-547-3375 / x51534 \_/ \\ \ Email: [EMAIL PROTECTED] \_\ \\ \_\/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Virtual Hosts on 127.0.0.*
Beautiful and simple! Worked like a charm. ;) Thanks Joshua... Joshua Slive wrote: > On 2/10/06, Diona Kidd <[EMAIL PROTECTED]> wrote: >> >> (98)Address already in use: make_sock: could not bind to address >> 127.0.0.10:80 >> no listening sockets available, shutting down >> Unable to open logs >> >> What am I missing? I'm running Debian 3.1, no iptable rules configured, >> no >> firewall. Does anyone else have a setup like this? > > Check your front-end instance of apache. It probably has something like > Listen 80 > Listen 443 > > These will grab all IP addresses on the machine, including the > loopback. Change those to grab only the external addresses. > > Joshua. > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Modern Flow Technology Solutions http://www.modernflow.com Office: 704.347.2886 [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Virtual Hosts on 127.0.0.*
On 2/10/06, Diona Kidd <[EMAIL PROTECTED]> wrote: > > (98)Address already in use: make_sock: could not bind to address > 127.0.0.10:80 > no listening sockets available, shutting down > Unable to open logs > > What am I missing? I'm running Debian 3.1, no iptable rules configured, no > firewall. Does anyone else have a setup like this? Check your front-end instance of apache. It probably has something like Listen 80 Listen 443 These will grab all IP addresses on the machine, including the loopback. Change those to grab only the external addresses. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] problem : mod_authnz_ldap with AuthType Digest
I got that error when I didn't have AuthBasicProvider LDAP and using Basic AuthType. Perhaps you need a AuthDigestProvider line instead of AuthBasicProvider? Cheers, Dave Keigo IMAI wrote: Hello, I encountered a problem when using mod_authnz_ldap with digest password. OS : Mac OS X Server 10.4 Apache : 2.2.0 (attached config.log) Once I try to get the page with authentication by LDAP and Digest password (submitting id and pass), then it immediately returns a 500 error to my browser. Below is the part of my httpd.conf file. Alias /uploads "/opt/local/apache2/uploads" Options All Order allow,deny Allow from all AuthBasicAuthoritative off AuthName upload # switch here Digest or Basic AuthType Digest #AuthType Basic # - # switch below ldap or file AuthBasicProvider ldap AuthLDAPURL ldap://osxserver/dc=somewhere,dc=jp?uid AuthzLDAPAuthoritative off #AuthBasicProvider file #AuthUserFile "/opt/local/apache2/user.passwd" # --- require valid-user And when I accessed to: http:///uploads/ then I got a 500 error. Apache2 says: [Sat Feb 11 02:57:39 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Sat Feb 11 02:57:39 2006] [error] [client xxx.yyy.zzz.www] (9)Bad file descriptor: Could not open password file: (null) (when loglevel is 'debug') ...However, it works fine when I switch to: 1. "AuthType Basic" or, 2. "AuthBasicProvider file" respectively, like the comment of above fragment of conf file. So I am sure that all modules including mod_authnz_ldap and mod_auth_digest are loaded properly. And more, I guess that the combination of mod_authnz_ldap with Digest password causes this. Is there anyone who encountered this problem? ...or, is this an OSX specific bug? Any help will be appreciated. (And, sorry for my unskilled English.) regards, Keigo IMAI - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- __ /_/\ / \\ \ David Richard Bell /_\ \\ / Web Project Manager /_/ \/ / / Web Experience and Design /_/ / \//\500 Eldorado Blvd. UBRM05-A350 \_\//\ / /Broomfield, CO. 80021 \_/ / /\ / Phone 1-303-547-3375 / x51534 \_/ \\ \ Email: [EMAIL PROTECTED] \_\ \\ \_\/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Virtual Hosts on 127.0.0.*
Hi all, This may not be an Apache issue but it's related. Perhaps someone here has some input. I'm trying to set up virtual hosts on 127.0.0.* so I can use a front instance of apache for SSL negotiations and proxy back to the heavy-lifting, mod_perl apache when necessary. For security reasons, I was thinking that if I put the second apache on 127.0.0.* then the request would not go out and back in. Apache runs fine on an external address and my config (for internal 127.0.0.*) looks like so: Listen 127.0.0.10:80 NameVirtualHost 127.0.0.10 (normal vhost stuff here) When I start Apache, I get the error: (98)Address already in use: make_sock: could not bind to address 127.0.0.10:80 no listening sockets available, shutting down Unable to open logs What am I missing? I'm running Debian 3.1, no iptable rules configured, no firewall. Does anyone else have a setup like this? Thanks in advance, Diona Kidd - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] mod_rewrite directive in main config does not trickle down into the https instance
excellent feedback. Thank you! I was unaware of the TraceEnable method. I must have read over it :( I agree, it's not really dangerous anymore, but it's something that should be considered when applying a defense-in-depth strategy. Thanks again for the prompt reply! --- Joshua Slive <[EMAIL PROTECTED]> wrote: > On 2/10/06, Richard de Vries > <[EMAIL PROTECTED]> wrote: > > Hey all, > > > > I configured a couple of mod_rewrite directives in > the > > main configuration file to disable the TRACE/TRACK > > methods. However, these rules do not seem to make > it > > into the HTTPS instance; even though I put them in > the > > main config, and not in the virtual hosts. > > > > # Disable/Block TRACE/TRACK requests. > > RewriteEngine on > > RewriteOptions inherit > > RewriteLog logs/mod_rewrite.log > > RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) > > RewriteRule .* - [F] > > > > I was hoping to not have to explicitly put these > rules > > in the SSL's config, to keep things clean and > simple. > > 1. You are wasting your time because the TRACK > method doesn't even > exist in Apache and the TRACE method is not > dangerous. > > 2. If you really want to waste your time, then use a > recent version of > apache that has the TraceEnable directive to solve > this "problem". > > 3. If you must use mod_rewrite, then put > RewriteEngine On > RewriteOptions inherit > inside the block for your ssl vhost. > > Joshua. > > - > The official User-To-User support forum of the > Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for > more info. > To unsubscribe, e-mail: > [EMAIL PROTECTED] >" from the digest: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ 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 http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] mod_rewrite directive in main config does not trickle down into the https instance
On 2/10/06, Richard de Vries <[EMAIL PROTECTED]> wrote: > Hey all, > > I configured a couple of mod_rewrite directives in the > main configuration file to disable the TRACE/TRACK > methods. However, these rules do not seem to make it > into the HTTPS instance; even though I put them in the > main config, and not in the virtual hosts. > > # Disable/Block TRACE/TRACK requests. > RewriteEngine on > RewriteOptions inherit > RewriteLog logs/mod_rewrite.log > RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) > RewriteRule .* - [F] > > I was hoping to not have to explicitly put these rules > in the SSL's config, to keep things clean and simple. 1. You are wasting your time because the TRACK method doesn't even exist in Apache and the TRACE method is not dangerous. 2. If you really want to waste your time, then use a recent version of apache that has the TraceEnable directive to solve this "problem". 3. If you must use mod_rewrite, then put RewriteEngine On RewriteOptions inherit inside the block for your ssl vhost. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] mod_rewrite directive in main config does not trickle down into the https instance
Hey all, I configured a couple of mod_rewrite directives in the main configuration file to disable the TRACE/TRACK methods. However, these rules do not seem to make it into the HTTPS instance; even though I put them in the main config, and not in the virtual hosts. # Disable/Block TRACE/TRACK requests. RewriteEngine on RewriteOptions inherit RewriteLog logs/mod_rewrite.log RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] I was hoping to not have to explicitly put these rules in the SSL's config, to keep things clean and simple. Any suggestions ? Thank you! R __ 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 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] undocumented POST size limit?
On 2/10/06, Anthony DiSante <[EMAIL PROTECTED]> wrote: > Joshua Slive wrote: > >> And just to clarify, the server's filesystem is ext3; it does support files > >> >2GB, i.e.: > > > > I don't believe 2.0 supports >2GB posts, but I think that 2.2 does. > > But my guess is you'll also find that neither of your clients properly > > supports this. > > OK, thanks. Do you know of any documentation for either of those assertions? The apache side is documented here: http://httpd.apache.org/docs/2.2/new_features_2_2.html (See "Large File Support".) The browser assertion is just based on rumour and reported lack-of-success on this list. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] undocumented POST size limit?
Joshua Slive wrote: And just to clarify, the server's filesystem is ext3; it does support files >2GB, i.e.: I don't believe 2.0 supports >2GB posts, but I think that 2.2 does. But my guess is you'll also find that neither of your clients properly supports this. OK, thanks. Do you know of any documentation for either of those assertions? -- Anthony DiSante Encodable Industries http://encodable.com/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] undocumented POST size limit?
The language is Perl. I realize that FTP is the more traditional solution to this problem, but 1) it's not me who wants to send these massive files, it's a client of mine (I am the author of the uploader he's using), and 2) I'd still like to know what the technical limitations of the protocol/software are for files of this size. -- Anthony DiSante Encodable Industries http://encodable.com/ [EMAIL PROTECTED] wrote: What script language are you using to process the uploaded file? You may be better off using pure ftp for file uploads of that size. HTH Keith In theory, theory and practice are the same; In practice they are not. On Fri, 10 Feb 2006, Anthony DiSante wrote: To: users@httpd.apache.org From: Anthony DiSante <[EMAIL PROTECTED]> Subject: [EMAIL PROTECTED] undocumented POST size limit? Hello, I'm running Apache 2.0.54 on a Linux system here. Across my LAN, I can upload a 1.4GB file to it via POST with a CGI script, no problem. But if I try to upload a 2.1GB file, the upload never starts; the server refuses it. I checked the server's access log to see what was going on. When the client was Internet Explorer, the access log shows just a single line: 192.168.1.10 - - [10/Feb/2006:06:58:22 -0500] "POST /cgi-bin/upload/filechucker.cgi?&serial=1182736... HTTP/1.1" 413 428 "http://192.168.1.5/cgi-bin/upload/filechucker.cgi"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" As you can see, the response code is 413, which is "Request Entity Too Large". And the client receives an error page in the browser. When the client is Firefox, however, the request is never logged at all, and no error is sent to the browser -- it just sits there as though you'd never attempted to start the upload in the first place. In both cases, though, the upload never even begins. I'm trying to figure out why this is. The Apache docs mention a LimitRequestBody directive which would seem to be it, except that it defaults to 0, i.e. unlimited. And even when I explicitly set it to 0 in my Apache config, I get the same behavior. Can anyone else confirm this behavior, or report that they actually CAN upload a file >2GB? Or is there some other setting that could be limiting the size of POST data? Thanks, -- Anthony DiSante Encodable Industries http://encodable.com/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] firefox file upload hanging on AMD64
Jacqui Caren wrote: I am in the process of doing a build on the clients test box (not AMD64 but same sofware) so I am hoping this is a ADM64ism caused by a bad build/config somewhere - the shipped test case will hopefully NOT fail on the clients hardware :-) OK, the test case attached to the OP does NOT fail on the clients box. Good news! My gut feel says that one of the 'kernel upgrades' the boss has made has screwed up something - esp.y since others have mentioned that .k upgrades have caused similar problems, I feel it may be worthwhile spending a few hours one evening trying to track the problem down. Assuming I have some time next week, can someone suggest doc URL's to help debug/track down this problem? Other than manual source code traversal in apache 1.3.x, I have not debugged apache in any form or manner, so a link to debug options people find usefull would help. I am an old hand with doing rebuilds (the AMD64 is *fast*) and using an process debugger such as gdb to breakpoint, trace etc, so feel free to get "technical" :-) Jacqui - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Help! - question about file permissions and apache
Boyle Owen wrote: -Original Message- From: Michael McCullough [mailto:[EMAIL PROTECTED]] > Ok, thanks for the info. I think I have it working now. Can you check it out again if you have the time at "http://myanel.servebeer.com". It still has the canned files there, I want to make sure people can connect before O put my website up. Thanks again. Still getting a timeout... (08.10H GMT) 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 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 for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hmmm, back to the drawing board. I just can't figure this one out. Thanks again.
Re: [EMAIL PROTECTED] proxypassreverse redirection
On 2/10/06, Frederick, Fabian <[EMAIL PROTECTED]> wrote: > It's exactly what I need ! 401 with proxyerroroverride displays my new page > but keeps displaying www-auth box.Do you have a sample of such a script I > could use to change 401 -> 404 for instance ? #!/bin/sh echo Status: 301 echo Location: http://yoursite.example.com/path/to/other/page.html echo (Not tested.) Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] default mime.types does not contain "gz" - any reason why not?
On 2/10/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > Greetings, > > I have just realised that the default version of mime.types which comes with > apache distros 1.3 & 2.0 does not contain an extension for the type > "application/x-gzip". This means that if you have a file on your site like > download.tar.gz, it will be served with "Content-type: application/x-tar" (I > guess apache falls back to the .tar when it can't find anything for .gz). To expand slightly on what nick said, this is not defined in mime.types because in many situations you want .gz to represent a content-encoding rather than a content type. Whether windows browsers will deal with that correctly is a whole other story. But it is left for AddEncoding/AddType in httpd.conf to give users the option. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] proxypassreverse redirection
It's exactly what I need ! 401 with proxyerroroverride displays my new page but keeps displaying www-auth box.Do you have a sample of such a script I could use to change 401 -> 404 for instance ? Fabian -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Joshua Slive Envoyé : jeudi 9 février 2006 19:15 À : users@httpd.apache.org Objet : Re: [EMAIL PROTECTED] proxypassreverse redirection On 2/9/06, Frederick, Fabian <[EMAIL PROTECTED]> wrote: > Is it possible to redirect a proxypassreverse in some cases ? eg > if internal server returns a 401 I'd like to avoid displaying auth box. ProxyErrorOverride may work for this (I haven't tried myself). But you'd need to point ErrorDocument 401 on the proxy server to a cgi script that would rewrite the status code. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] undocumented POST size limit?
On 2/10/06, Anthony DiSante <[EMAIL PROTECTED]> wrote: > And just to clarify, the server's filesystem is ext3; it does support files > >2GB, i.e.: I don't believe 2.0 supports >2GB posts, but I think that 2.2 does. But my guess is you'll also find that neither of your clients properly supports this. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] No go with Apache 2.0.55 and PHP 5.1.x
> If you are getting PHP code in the browser, have you set the > following in your httd.conf file: > > AddType application/x-httpd-php .php PHP should be configured with AddHandler and "anyone advocating in this century AddType for php needs a clue", to semi-quote Fajita. Joost - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Apache errors
> -Original Message- > From: Sergio Ferreira [mailto:[EMAIL PROTECTED] > Sent: Freitag, 10. Februar 2006 14:34 > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Apache errors > > > Hi Owen > > >> Hi list, > >> > >> does anyone knows what these errors means? and how to fix It? > >> > >> [Thu Feb 09 16:09:22 2006] [error] channelApr.receive(): > >> Error receiving > >> message body -1 11 > >> > >> [Thu Feb 09 16:09:22 2006] [error] > >workerEnv.processCallbacks() Error > >> reading reply > >> > >> [Thu Feb 09 16:09:22 2006] [error] ajp13.service() ajpGetReply > >> recoverable > > > >After pasting the error into Google (hint.. hint..) I found: > > > >http://www.mail-archive.com/tomcat-dev@jakarta.apache.org > /msg55696.html > > > If you took a close look at error messages, even you, will > realize there is > a little bit difference between the error messages. Send me > to google wasn´t > a cordial attitude. Fine. Fix it yourself then... > > BTW, I went searching on the google before try to get some help here. And am I psychic? You should have stated that.. > > Thanks anyway, > > Best Regards, > > Sergio > > > - > The official User-To-User support forum of the Apache HTTP > Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > 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 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] default mime.types does not contain "gz" - any reason why not?
On Friday 10 February 2006 12:31, [EMAIL PROTECTED] wrote: > Users are not really supposed to edit the mime.types file > directly. I think this is what the AddType directive is for. Broadly speaking, yes. > # AddType allows you to add to or override the MIME configuration > # file mime.types for specific file types. > AddType application/x-compress .Z > AddType application/x-gzip .gz .tgz > AddType application/x-httpd-php .php > AddType application/x-httpd-php .hml > AddType application/x-httpd-php .htm > AddType application/x-httpd-php .html > AddType application/x-httpd-php .js All of those would be badly wrong. Compress and gzip are encodings; PHP is a handler. None of them is a type. -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Apache errors
Hi Owen >> Hi list, >> >> does anyone knows what these errors means? and how to fix It? >> >> [Thu Feb 09 16:09:22 2006] [error] channelApr.receive(): >> Error receiving >> message body -1 11 >> >> [Thu Feb 09 16:09:22 2006] [error] >workerEnv.processCallbacks() Error >> reading reply >> >> [Thu Feb 09 16:09:22 2006] [error] ajp13.service() ajpGetReply >> recoverable > >After pasting the error into Google (hint.. hint..) I found: > >http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg55696.html If you took a close look at error messages, even you, will realize there is a little bit difference between the error messages. Send me to google wasn´t a cordial attitude. BTW, I went searching on the google before try to get some help here. Thanks anyway, Best Regards, Sergio - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Apache errors
> -Original Message- > From: Sergio Ferreira [mailto:[EMAIL PROTECTED] > Sent: Freitag, 10. Februar 2006 13:55 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Apache errors > > > Hi list, > > does anyone knows what these errors means? and how to fix It? > > [Thu Feb 09 16:09:22 2006] [error] channelApr.receive(): > Error receiving > message body -1 11 > > [Thu Feb 09 16:09:22 2006] [error] workerEnv.processCallbacks() Error > reading reply > > [Thu Feb 09 16:09:22 2006] [error] ajp13.service() > ajpGetReply recoverable After pasting the error into Google (hint.. hint..) I found: http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg55696.html Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > error 12 > > > Thanks, > > Sergio > > > > - > The official User-To-User support forum of the Apache HTTP > Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > 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 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] default mime.types does not contain "gz" - any reason why not?
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Freitag, 10. Februar 2006 13:32 > To: Apache list > Subject: Re: [EMAIL PROTECTED] default mime.types does not > contain "gz" - any reason why not? > > > Users are not really supposed to edit the mime.types file > directly. I think this is what the AddType directive is for. Good point - I'd forgotten about AddType... But I'm not so convinced that we're not supposed to edit mime.types. Certainly, if you have a private or proprietary file type that needs a certain mime-type to make it load seamlessly in the client you'd be advised to use AddType. But .gz is hardly that! After all, .zip is in in there and the application/x-gzip type is defined, just with no extension assigned. It looks more like an omission to me... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > The Apache webmaster may have edited the mime.types file. > Most likely, he/she has just added the following directive > to httpd.conf. > > # AddType allows you to add to or override the MIME configuration > # file mime.types for specific file types. > AddType application/x-compress .Z > AddType application/x-gzip .gz .tgz > AddType application/x-httpd-php .php > AddType application/x-httpd-php .hml > AddType application/x-httpd-php .htm > AddType application/x-httpd-php .html > AddType application/x-httpd-php .js > > Keith > > In theory, theory and practice are the same; > In practice they are not. > > On Fri, 10 Feb 2006, Boyle Owen wrote: > > > To: Apache list From: Boyle Owen > > <[EMAIL PROTECTED]> Subject: [EMAIL PROTECTED] default > > mime.types does not contain "gz" - any reason > > why not? > > > > Greetings, > > > > I have just realised that the default version of > > mime.types which comes with apache distros 1.3 & 2.0 does > > not contain an extension for the type > > "application/x-gzip". This means that if you have a file > > on your site like download.tar.gz, it will be served with > > "Content-type: application/x-tar" (I guess apache falls > > back to the .tar when it can't find anything for .gz). > > > > This is not a problem for a unix machine, it just saves the > file as download.tar.gz and then you can gunzip it as normal. > However, on a Windows platform, the combination of the two > dots in the filename and the misleading mime-type causes the > OS to save the file as "download.tar.tar". Thus it can't be > recognised by WinZip et al. > > > > [Let's leave aside, for the moment, the issue of why would > > want to download a tar.gz on a Windows machine :-] > > > > The simple fix is to assign "application/x-gzip" the > > extension "gz" in mime.types. Then the file is served with > > "Content-type: application/x-gzip", windows can save the > > file without munging the name and WinZip is happy. > > > > Is this simply an omission or is anyone aware of any > > reason why application/x-gzip should not be assigned an > > extension? > > > > Rgds, > > Owen Boyle > > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > PS - I checked the apache download sites and they send the > > correct mime-type for httpd-2.2.0.tar.gz, for example. > > Does this mean that the apache site webmaster must have > > had to edit his own mime.types? If so, he might've > > committed the change to the distro too :-) > > - > The official User-To-User support forum of the Apache HTTP > Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > 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 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] Setting up HTTPS with a 3rd party software
Hello, I have difficulties with getting mod_ssl to work in Apache 2.2, I ran into a weird bug (discussed in this list with a developer). I need SSL, so I have to options: 1, Downgrading to 2.0.x 2, Setting up SSL with a 3rd party package, e.g. stunnel I'd prefer the second one, because Apache 2.2 has some cool new features I'd benefit from. I've installed stunnel and it works, but when I try to see for example https://somedomain.hu it passes the HTTP query to my webserver, but the HTTP header contains the URI, and I get error 403. I suppose it should be rewrited to http://somedomain.hu somehow, but I don't know how. If somebody has succeeded to set up HTTPS with stunnel or with some other 3rd party application, please let me know how. Thanks in advance, Gabor Kovesdan - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Apache errors
Hi list, does anyone knows what these errors means? and how to fix It? [Thu Feb 09 16:09:22 2006] [error] channelApr.receive(): Error receiving message body -1 11 [Thu Feb 09 16:09:22 2006] [error] workerEnv.processCallbacks() Error reading reply [Thu Feb 09 16:09:22 2006] [error] ajp13.service() ajpGetReply recoverable error 12 Thanks, Sergio - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] undocumented POST size limit?
What script language are you using to process the uploaded file? You may be better off using pure ftp for file uploads of that size. HTH Keith In theory, theory and practice are the same; In practice they are not. On Fri, 10 Feb 2006, Anthony DiSante wrote: > To: users@httpd.apache.org > From: Anthony DiSante <[EMAIL PROTECTED]> > Subject: [EMAIL PROTECTED] undocumented POST size limit? > > Hello, > > I'm running Apache 2.0.54 on a Linux system here. Across my LAN, I can > upload a 1.4GB file to it via POST with a CGI script, no problem. But if > I try to upload a 2.1GB file, the upload never starts; the server refuses > it. > > I checked the server's access log to see what was going on. When the > client was Internet Explorer, the access log shows just a single line: > > 192.168.1.10 - - [10/Feb/2006:06:58:22 -0500] "POST > /cgi-bin/upload/filechucker.cgi?&serial=1182736... HTTP/1.1" 413 428 > "http://192.168.1.5/cgi-bin/upload/filechucker.cgi"; "Mozilla/4.0 > (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" > > As you can see, the response code is 413, which is "Request Entity Too > Large". And the client receives an error page in the browser. > > When the client is Firefox, however, the request is never logged at all, > and no error is sent to the browser -- it just sits there as though you'd > never attempted to start the upload in the first place. > > In both cases, though, the upload never even begins. I'm trying to figure > out why this is. The Apache docs mention a LimitRequestBody directive > which would seem to be it, except that it defaults to 0, i.e. unlimited. > And even when I explicitly set it to 0 in my Apache config, I get the same > behavior. > > Can anyone else confirm this behavior, or report that they actually CAN > upload a file >2GB? Or is there some other setting that could be limiting > the size of POST data? > > Thanks, > > -- > Anthony DiSante > Encodable Industries > http://encodable.com/ > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] undocumented POST size limit?
Anthony DiSante wrote: I'm running Apache 2.0.54 on a Linux system here. Across my LAN, I can upload a 1.4GB file to it via POST with a CGI script, no problem. But if I try to upload a 2.1GB file, the upload never starts; the server refuses it. I checked the server's access log to see what was going on. When the client was Internet Explorer, the access log shows just a single line: 192.168.1.10 - - [10/Feb/2006:06:58:22 -0500] "POST /cgi-bin/upload/filechucker.cgi?&serial=1182736... HTTP/1.1" 413 428 "http://192.168.1.5/cgi-bin/upload/filechucker.cgi"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" As you can see, the response code is 413, which is "Request Entity Too Large". And the client receives an error page in the browser. When the client is Firefox, however, the request is never logged at all, and no error is sent to the browser -- it just sits there as though you'd never attempted to start the upload in the first place. In both cases, though, the upload never even begins. I'm trying to figure out why this is. The Apache docs mention a LimitRequestBody directive which would seem to be it, except that it defaults to 0, i.e. unlimited. And even when I explicitly set it to 0 in my Apache config, I get the same behavior. Can anyone else confirm this behavior, or report that they actually CAN upload a file >2GB? Or is there some other setting that could be limiting the size of POST data? And just to clarify, the server's filesystem is ext3; it does support files >2GB, i.e.: [server]$ dd if=/dev/zero of=/tmp/file2.2GB.junk bs=512 count=450 450+0 records in 450+0 records out [server]$ ls -alh /tmp/file2.2GB.junk -rw-r--r-- 1 me users 2.2G Feb 10 07:36 /tmp/file2.2GB.junk [server]$ ls -al /tmp/file2.2GB.junk -rw-r--r-- 1 me users 230400 Feb 10 07:36 /tmp/file2.2GB.junk -- Anthony DiSante Encodable Industries http://encodable.com/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] default mime.types does not contain "gz" - any reason why not?
Users are not really supposed to edit the mime.types file directly. I think this is what the AddType directive is for. The Apache webmaster may have edited the mime.types file. Most likely, he/she has just added the following directive to httpd.conf. # AddType allows you to add to or override the MIME configuration # file mime.types for specific file types. AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php .hml AddType application/x-httpd-php .htm AddType application/x-httpd-php .html AddType application/x-httpd-php .js Keith In theory, theory and practice are the same; In practice they are not. On Fri, 10 Feb 2006, Boyle Owen wrote: > To: Apache list From: Boyle Owen > <[EMAIL PROTECTED]> Subject: [EMAIL PROTECTED] default > mime.types does not contain "gz" - any reason > why not? > > Greetings, > > I have just realised that the default version of > mime.types which comes with apache distros 1.3 & 2.0 does > not contain an extension for the type > "application/x-gzip". This means that if you have a file > on your site like download.tar.gz, it will be served with > "Content-type: application/x-tar" (I guess apache falls > back to the .tar when it can't find anything for .gz). > > This is not a problem for a unix machine, it just saves the file as > download.tar.gz and then you can gunzip it as normal. However, on a Windows > platform, the combination of the two dots in the filename and the misleading > mime-type causes the OS to save the file as "download.tar.tar". Thus it can't > be recognised by WinZip et al. > > [Let's leave aside, for the moment, the issue of why would > want to download a tar.gz on a Windows machine :-] > > The simple fix is to assign "application/x-gzip" the > extension "gz" in mime.types. Then the file is served with > "Content-type: application/x-gzip", windows can save the > file without munging the name and WinZip is happy. > > Is this simply an omission or is anyone aware of any > reason why application/x-gzip should not be assigned an > extension? > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. > > PS - I checked the apache download sites and they send the > correct mime-type for httpd-2.2.0.tar.gz, for example. > Does this mean that the apache site webmaster must have > had to edit his own mime.types? If so, he might've > committed the change to the distro too :-) - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] undocumented POST size limit?
Hello, I'm running Apache 2.0.54 on a Linux system here. Across my LAN, I can upload a 1.4GB file to it via POST with a CGI script, no problem. But if I try to upload a 2.1GB file, the upload never starts; the server refuses it. I checked the server's access log to see what was going on. When the client was Internet Explorer, the access log shows just a single line: 192.168.1.10 - - [10/Feb/2006:06:58:22 -0500] "POST /cgi-bin/upload/filechucker.cgi?&serial=1182736... HTTP/1.1" 413 428 "http://192.168.1.5/cgi-bin/upload/filechucker.cgi"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" As you can see, the response code is 413, which is "Request Entity Too Large". And the client receives an error page in the browser. When the client is Firefox, however, the request is never logged at all, and no error is sent to the browser -- it just sits there as though you'd never attempted to start the upload in the first place. In both cases, though, the upload never even begins. I'm trying to figure out why this is. The Apache docs mention a LimitRequestBody directive which would seem to be it, except that it defaults to 0, i.e. unlimited. And even when I explicitly set it to 0 in my Apache config, I get the same behavior. Can anyone else confirm this behavior, or report that they actually CAN upload a file >2GB? Or is there some other setting that could be limiting the size of POST data? Thanks, -- Anthony DiSante Encodable Industries http://encodable.com/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] default mime.types does not contain "gz" - any reason why not?
Greetings, I have just realised that the default version of mime.types which comes with apache distros 1.3 & 2.0 does not contain an extension for the type "application/x-gzip". This means that if you have a file on your site like download.tar.gz, it will be served with "Content-type: application/x-tar" (I guess apache falls back to the .tar when it can't find anything for .gz). This is not a problem for a unix machine, it just saves the file as download.tar.gz and then you can gunzip it as normal. However, on a Windows platform, the combination of the two dots in the filename and the misleading mime-type causes the OS to save the file as "download.tar.tar". Thus it can't be recognised by WinZip et al. [Let's leave aside, for the moment, the issue of why would want to download a tar.gz on a Windows machine :-] The simple fix is to assign "application/x-gzip" the extension "gz" in mime.types. Then the file is served with "Content-type: application/x-gzip", windows can save the file without munging the name and WinZip is happy. Is this simply an omission or is anyone aware of any reason why application/x-gzip should not be assigned an extension? Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. PS - I checked the apache download sites and they send the correct mime-type for httpd-2.2.0.tar.gz, for example. Does this mean that the apache site webmaster must have had to edit his own mime.types? If so, he might've committed the change to the distro too :-) +-- 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 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] Setting proper permissions on the web directories
> -Original Message- > From: lists [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 9. Februar 2006 20:06 > To: Apache List > Subject: [EMAIL PROTECTED] Setting proper permissions on the web > directories > > Hi there - I have been searching a bit (google and the list > archives - went back as far > as 2004) for the "recommended" permissions for a web > directory with apache. I always > seem to have a problem with incorrect permissions on my hobby > box (stuff owned by the > incorrect user, default permissions when a new file is > created, etc). How are other > people getting around this? When apache accesses files, it does so with the identity of the user defined by the "User" directive. Most people create a user (eg, "apache" or "web" or something) just for this. If your files are owned by someone else (eg, "fred") then, depending on permissions, apache may or may not have trouble. The default Unix umask os 022 which means that plain files have mode 644 (write only by owner, read by anyone). If all the server does is serve these files (ie, read) then you should have no problems. If it tries to modify the files (ie, write), it probably can't. If it needs to make new files, it needs write permission in the directory. If the files are executable, you need the "x" bit set (eg mode 755). And so on... One simple fix might be to run apache as the user who owns the files and dirs (eg, "User fred"). But most people don't like giving a webserver a free hand in their personal space. Alternatively, make the apache user part of the same group as fred (do "man usermod" to see how). Then set the content directories to be group writeable ("chmod -R g+w dirname" will recursively descend the directory and make everything group writeable). Or, do it the other way round - change the ownership of all the files to apache and don't let fred edit them (su - apache if you need to edit). There are lots of ways to set up and the method you choose depends on what you want to do (read only?, modify?, create?) and how many other users you want to access the files. Learn "ls -l"... you will be typing it a lot. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > Sticky bits? Other ways? > > > > Sorry for the noob question. > > d > > - > The official User-To-User support forum of the Apache HTTP > Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > 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 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] firefox file upload hanging on AMD64
> -Original Message- > From: Jacqui Caren [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 9. Februar 2006 16:06 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] firefox file upload hanging on AMD64 > > > A development system I use is failing to upload data 99% of the > time - it very infrequently works 1 in every 1000 or so hits. Try using curl to make the upload form the command line. In verbose mode, you can see all the headers etc. and maybe you can spot what's going wrong, eg: /usr/local/bin/curl --verbose -F [EMAIL PROTECTED] http://server/upload-page-url where "uploadfile" is the "name" of the tag (NB, the "@" is necessary in front of the file name). If you need any other CGI parameters, add them with additional "-F" options (eg, -F userid=joe, etc.) Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > I could not find anything in the downloaded list archives > or via altavista and was wondering of anyone else has hit this? > > > -- > > I am still trying to get a truly minimal test case but here is > the gist of the problem. > > POST (file upload) data seems to cause Apache2.0.45 to 'hang'. > The backend is perl and CGI.pm (latest stable versions) > I have also updated firefox to latest stable to no end. > > In building a minimal test case I am have eliminated CGI.pm > by use of a CGI script that does nothing other than "hello world" :-) > > Jacqui > > A test case is attached. I am trying this on other linuxen > to see if it is AMD64 specific. A post without a file works > but with even a small file hangs. > > Some config details > --- > [EMAIL PROTECTED] ~]$ uname -a > Linux x 2.6.12 #1 Wed Jul 6 09:04:02 BST 2005 x86_64 >AMD Athlon(tm) 64 Processor 3000+ unknown GNU/Linux > [EMAIL PROTECTED] ~]$ /usr/local/ebs/ap2/bin/httpd -v > Server version: Apache/2.0.55 > Server built: Feb 9 2006 10:12:05 > [EMAIL PROTECTED] ~]$ /usr/local/ebs/ap2/bin/httpd -V > Server version: Apache/2.0.55 > Server built: Feb 9 2006 10:12:05 > Server's Module Magic Number: 20020903:11 > Architecture: 64-bit > Server compiled with > -D APACHE_MPM_DIR="server/mpm/prefork" > -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="/usr/local/ebs/ap2" > -D SUEXEC_BIN="/usr/local/ebs/ap2/bin/suexec" > -D DEFAULT_PIDLOG="logs/httpd.pid" > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > -D DEFAULT_LOCKFILE="logs/accept.lock" > -D DEFAULT_ERRORLOG="logs/error_log" > -D AP_TYPES_CONFIG_FILE="conf/mime.types" > -D SERVER_CONFIG_FILE="conf/httpd.conf" > [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 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] Help! - question about file permissions and apache
> -Original Message- > From: Michael McCullough [mailto:[EMAIL PROTECTED] > > Ok, thanks for the info. I think I have it working now. Can > you check it > out again if you have the time at "http://myanel.servebeer.com";. It > still has the canned files there, I want to make sure people > can connect > before O put my website up. Thanks again. Still getting a timeout... (08.10H GMT) 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 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 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]