Re: mod_rewrite - einfache virtuelle Hosts in mod_rewrite Syntax - Apache 1.3
Oliver Etzel - GoodnGo.COM (R) wrote: Ich habe folgendes versucht: Wo? Wenn du namensbasierte virtualhosts nutzt und kein virtuelhost...-container matched (ServerName/ServerAlias), wird normal der oberste virtualhost... ausgeführt. \d ist eine PCRE, Apache 1.3 unterstützt aber nur POSIX-RegEx. Das Beispiel aus dem Rewriteguide ist alt, sehr alt aus einer zeit, wo in der Substitution der RewriteRule nicht auf eine Backreference aus einer Condition zugegriffen werden konnte. RewriteEngine on # sieht deine domain wirklich so aus? #RewriteCond %{HTTP_HOST} ^webmail\.(domain_[0-9]\.com)$ # vielleicht ehr RewriteCond %{HTTP_HOST} ^webmail\.([^.]+\.com)$ RewriteRule ^/(.*) /home/%1/webmail/$1 [L] -- Robert -- Apache HTTP Server Mailing List users-de unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: [EMAIL PROTECTED] Apache 2.2 seems to have problems with CIFS mounted filesystems
Tim Garton wrote: but it makes it extremely easy for all our users to develop websites without having to explain to them how to ftp or sftp data to the webserver. This may be obvious but here goes :-) I make web space available on the linux box and use samba to share this space with the windows machines. There is the issue with XPhome (I use this technique at home) but apart from this it works well. Jacqui - 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] CGI script with without dash in name on Apache 2.0.55
I have a very strange problem. I have written a cgi script that has an image file (counter) as output. I run it like this: www.site.com/cgi-bin/nph?width=5link=http://www.hitsite.com This runs perfectly. However when I rename the program from 'nph' - 'nph-hits' (same UID/GID and system rights) and I run it my browser asks what to do with the file (octet-stream save as/open with)?!?! So like this: www.site.com/cgi-bin/nph-hits?width=5link=http://www.hitsite.com The content of the script and all the rights are exactly the same?! However Apache seems to be handling it differently. I am running Apache 2.0.55 with just plain perl 5.8.4 (no mod_perl). This is very strange to say the least. I can rename the file to anything as long as there is no dash in there. So that's probably causing the problem but I can't find any information on this. Who has a solution for this? (The program needs to have a dash because of a migration from an older tool with a dash in the name). Regards, Jan - 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.2 seems to have problems with CIFS mounted filesystems
On Tue, Feb 14, 2006 at 01:43:12PM -0800, Tim Garton wrote: Has anyone else run into anything like this? Just upgraded to Apache 2.2.0 on a linux box running 2.6.10 kernel. This machine mounts some windows shares via CIFS (eg. mount -t cifs //windowsfs/share /local/mount/point) For some of the virtual hosts the UserDir's lie on these mounted CIFS filesystems. After upgrading to 2.2, whenever you try to visit one of these UserDir pages, if it's an .html page you get the html but no images work, if it's anything else you get a blank page. Additionally, we see these in our error logs: [Mon Feb 13 14:55:08 2006] [info] [client 172.16.10.7] (75)Value too large for defined data type: core_output_filter: writing data to the network Could you capture the strace output when this happens? e.g. strace -o /tmp/httpd.strace httpd -X ... send a request which triggers the error CTRL-C. then gzip and upload /tmp/httpd.strace somewhere; please don't post it to this list. It might be useful also to know the: - Linux distribution - CPU architecture - glibc version Regards, joe - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] CGI script with without dash in name on Apache 2.0.55
I want to run PHP and coldfusion pages on few sites hosted on my Apache web server. How can i configure this, that only few sites should run these pages while others should deny for it from the same web server. Plz. reply me if you know any thing about. Thanks, On Wed, 2006-02-15 at 11:11, André Malo wrote: * Jan van den Berg [EMAIL PROTECTED] wrote: www.site.com/cgi-bin/nph?width=5link=http://www.hitsite.com This runs perfectly. However when I rename the program from 'nph' - 'nph-hits' (same UID/GID and system rights) and I run it my browser asks what to do with the file (octet-stream save as/open with)?!?! So like this: www.site.com/cgi-bin/nph-hits?width=5link=http://www.hitsite.com The content of the script and all the rights are exactly the same?! However Apache seems to be handling it differently. I am running Apache 2.0.55 with just plain perl 5.8.4 (no mod_perl). mod_cgi has a feature called 'nph-scripts'. All output from scripts named 'nph-*' is not parsed according to the CGI/HTTP rules, but passed directly to the browser. nph stands for 'no parsed header'. Yes, this feature is badly documented and kind of a legacy one. nd - 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] CGI script with without dash in name on Apache 2.0.55
Great! So that is the answer. Is there also a solution; disabling this function ie or going around it? Thanks, Jan -Oorspronkelijk bericht- Van: André Malo [mailto:[EMAIL PROTECTED] Verzonden: woensdag 15 februari 2006 12:12 Aan: users@httpd.apache.org Onderwerp: Re: [EMAIL PROTECTED] CGI script with without dash in name on Apache 2.0.55 * Jan van den Berg [EMAIL PROTECTED] wrote: www.site.com/cgi-bin/nph?width=5link=http://www.hitsite.com This runs perfectly. However when I rename the program from 'nph' - 'nph-hits' (same UID/GID and system rights) and I run it my browser asks what to do with the file (octet-stream save as/open with)?!?! So like this: www.site.com/cgi-bin/nph-hits?width=5link=http://www.hitsite.com The content of the script and all the rights are exactly the same?! However Apache seems to be handling it differently. I am running Apache 2.0.55 with just plain perl 5.8.4 (no mod_perl). mod_cgi has a feature called 'nph-scripts'. All output from scripts named 'nph-*' is not parsed according to the CGI/HTTP rules, but passed directly to the browser. nph stands for 'no parsed header'. Yes, this feature is badly documented and kind of a legacy one. nd - 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] Apache performance
Hello all, I have a small project of distributing a single 30M file to 10.000 Users. I build up a small php site that will gather user registration information and generate a link to that file. Then users will be able to download the file. I was wondering if some of you could help me out with the bottlenecks I might be facing. Are there particular points that I must take care of? For the moment I'm using 2.0.53 in the prefork model. StartServers 20 MinSpareServers 25 MaxSpareServers 50 MaxClients 256 MaxRequestsPerChild 0 Should I also increase ServerLimit? Should I play with HTTP1/1 or disable it? (The site has one image) When I launch hundreds of connections to the site and make a top, I see for example that 98% of my processes are sleeping... with only 2-3 running. but iptraf clearly shows that the whole bandwidth is being taken... Am I only serving 2-3 clients? CPU and I/Os are null... Am I missing something? Advices would highly be appreciated :) Thanks LoPo - 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] CGI script with without dash in name on Apache 2.0.55
* Jan van den Berg [EMAIL PROTECTED] wrote: Great! So that is the answer. Is there also a solution; disabling this function ie or going around it? You can't disable it but you could use mod_rewrite to point the URL to a script with another name. nd - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] RE [EMAIL PROTECTED] Re: Apache 2 on Suse 9.1 Reverse Proxy not working
2. Server responds with rewrite of URL: http://lucas.delexian.com/welcome/index.jsp The server is making a reversproxy for the locations /ocs but not for /welcome So i think you need Location /welcome/ ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap / /welcome/ ProxyHTMLURLMap /welcome /welcome RequestHeader unset Accept-Encoding /Location perhaps too Here you need to use ProxyPass /ocs ajp://lucas.delexian.com:8009 Is ajp as part of mod_ajp only avaible since Apache 2.2 ? Greets Oliver -Ursprüngliche Nachricht- Von: Joost de Heer [mailto:[EMAIL PROTECTED] Gesendet: Mi 15.02.2006 00:37 An: [EMAIL PROTECTED] Cc: users@httpd.apache.org Betreff: [EMAIL PROTECTED] Re: Apache 2 on Suse 9.1 Reverse Proxy not working 1. issue the following URL: http://lucas.delexian.com/ocs 2. Server responds with rewrite of URL: http://lucas.delexian.com/welcome/index.jsp 3. However, server message is: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. The .jsp makes me think you want to proxy to a Tomcat machine. Then: ProxyPass /ocs http://lucas.delexian.com:8009 Here you need to use ProxyPass /ocs ajp://lucas.delexian.com:8009 Joost - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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]
AW: [EMAIL PROTECTED] Apache performance
Perhaps this http://www.cohprog.com/mod_bandwidth.html bye OLiver -Ursprüngliche Nachricht- Von: Bob Bo [mailto:[EMAIL PROTECTED] Gesendet: Mi 15.02.2006 13:29 An: users@httpd.apache.org Betreff: [EMAIL PROTECTED] Apache performance Hello all, I have a small project of distributing a single 30M file to 10.000 Users. I build up a small php site that will gather user registration information and generate a link to that file. Then users will be able to download the file. I was wondering if some of you could help me out with the bottlenecks I might be facing. Are there particular points that I must take care of? For the moment I'm using 2.0.53 in the prefork model. StartServers 20 MinSpareServers 25 MaxSpareServers 50 MaxClients 256 MaxRequestsPerChild 0 Should I also increase ServerLimit? Should I play with HTTP1/1 or disable it? (The site has one image) When I launch hundreds of connections to the site and make a top, I see for example that 98% of my processes are sleeping... with only 2-3 running. but iptraf clearly shows that the whole bandwidth is being taken... Am I only serving 2-3 clients? CPU and I/Os are null... Am I missing something? Advices would highly be appreciated :) Thanks LoPo - 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] winmail.dat- 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] RE [EMAIL PROTECTED] Re: Apache 2 on Suse 9.1 Reverse Proxy not working
Actually, after the URL gets rewritten to: http://lucas.delexian.com/welcome/index.jsp I added '/ocs' to where it's suppose to be in the URL, like so: http://lucas.delexian.com/ocs/welcome/index.jsp The above link allows me to see the page I want. My thinking is that from the starting URL: http://lucas.delexian.com apache is redirecting to: http://lucas.delexian.com:8009 However, the resultant page on port 8009 completes with: http://lucas.delexian.com:8009/welcome/index.jsp So, apache rewrites with: http://lucas.delexian.com/welcome/index.jsp -- taking the original URL, and concatenating it with 'welcome/index.jsp' ---BeginMessage--- 2. Server responds with rewrite of URL: http://lucas.delexian.com/welcome/index.jsp The server is making a reversproxy for the locations /ocs but not for /welcome So i think you need Location /welcome/ ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap / /welcome/ ProxyHTMLURLMap /welcome /welcome RequestHeader unset Accept-Encoding /Location perhaps too Here you need to use ProxyPass /ocs ajp://lucas.delexian.com:8009 Is ajp as part of mod_ajp only avaible since Apache 2.2 ? Greets Oliver -Ursprüngliche Nachricht- Von: Joost de Heer [mailto:[EMAIL PROTECTED] Gesendet: Mi 15.02.2006 00:37 An: [EMAIL PROTECTED] Cc: users@httpd.apache.org Betreff: [EMAIL PROTECTED] Re: Apache 2 on Suse 9.1 Reverse Proxy not working 1. issue the following URL: http://lucas.delexian.com/ocs 2. Server responds with rewrite of URL: http://lucas.delexian.com/welcome/index.jsp 3. However, server message is: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. The .jsp makes me think you want to proxy to a Tomcat machine. Then: ProxyPass /ocs http://lucas.delexian.com:8009 Here you need to use ProxyPass /ocs ajp://lucas.delexian.com:8009 Joost - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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] CGI script with without dash in name on Apache 2.0.55
I solved it by printing my own http headers with my script. Basically this means just adding this first to the output: print HTTP/1.1 200 OK -Oorspronkelijk bericht- Van: André Malo [mailto:[EMAIL PROTECTED] Verzonden: woensdag 15 februari 2006 13:59 Aan: users@httpd.apache.org Onderwerp: Re: [EMAIL PROTECTED] CGI script with without dash in name on Apache 2.0.55 * Jan van den Berg [EMAIL PROTECTED] wrote: Great! So that is the answer. Is there also a solution; disabling this function ie or going around it? You can't disable it but you could use mod_rewrite to point the URL to a script with another name. nd - 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] Installation / Permissions Problem Apache 1.3.31 with Mod_SSL
I'm trying to set up Apache 1.3.31 with Mod_SSL on a win 2003 server. I was given a local administrator user account to do the install. However when I try to install apache as a service from the command line, I get 'cannot find file' errors related to 2 LoadModule directives (Mod_SSL.so and php4apache.dll). The files exist where I've indicated in httpd.conf so I'm assuming that I have a permissions problem. Thing is, I have the whole setup (with MySQL and PHP) working on my desktop, so I know it works. However my desktop is Win 2K and Win 2003 is built on an XP platform, so approaching the problem from a different angle, does apache 1.3.31 run on an XP platform or do I need a later version? Thanks, David - 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] force 404 error
I want to know if it is possible to force a 404 error even when a file or directory exist. I manage my website using svn. I pull a working copy into my htdocs directory. This also creates .svn directorys with svn meta data. Right now they return 403 forbiden. However I would like it if they could return 404 not found when the directory is typed in to the address bar. Such as: http://example.com/.svn The file is there, but I want the user to see a 404. Thanks. Ukiah -- Well done is better than well said. - Benjamin Franklin (1706-1790) - 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]
AW: [EMAIL PROTECTED] force 404 error
ErrorDocument 403 /path/to/errorfile/404.html see http://httpd.apache.org/docs/2.0/custom-error.html bye Oliver Schaudt -Ursprüngliche Nachricht- Von: Uk1ah Sm1th [mailto:[EMAIL PROTECTED] Gesendet: Mi 15.02.2006 16:29 An: users@httpd.apache.org Betreff: [EMAIL PROTECTED] force 404 error I want to know if it is possible to force a 404 error even when a file or directory exist. I manage my website using svn. I pull a working copy into my htdocs directory. This also creates .svn directorys with svn meta data. Right now they return 403 forbiden. However I would like it if they could return 404 not found when the directory is typed in to the address bar. Such as: http://example.com/.svn The file is there, but I want the user to see a 404. Thanks. Ukiah -- Well done is better than well said. - Benjamin Franklin (1706-1790) - 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] winmail.dat- The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] RE [EMAIL PROTECTED] ProxyPass/ProxyPassReverse switch from http to https on redirect? (Apache 2.2.0)
Should I post a bug report? Than Do it -Ursprüngliche Nachricht- Von: Kresimir Peharda [mailto:[EMAIL PROTECTED] Gesendet: Di 14.02.2006 21:04 An: users@httpd.apache.org Betreff: Re: [EMAIL PROTECTED] RE [EMAIL PROTECTED] ProxyPass/ProxyPassReverse switch from http to https on redirect? (Apache 2.2.0) --- [EMAIL PROTECTED] wrote: Can you turn on LogLevel Debug and post some lines out of it. If occur, Lines around proxy: HTTPS: declining URL or proxy: HTTP: serving URL Ok, I tried that, but nothing like HTTPS in the logs. As I said, I suspect that the problem is in rewriting replies properly. Requests are fine. At this stage I am suspecting a bug, unless someone is ready to convince me that rewriting replies to always start with http, and never with https is wanted behaviour. In addition to the LogLevel Debug you can use a RewriteRule in Conjunction with ProxyPreserveHost on instead of a ProxyPass/ProxyPassReverse combination So instead of ProxyPass /b-end/ http://backend/ ProxyPassReverse /b-end/ http://backend/ use RewriteRule ^/b-end/(.*)$ http://backend/$1 [P,L] ProxyPreserveHost On Than turn on RewriteLog logs/fe-rewrite.log and RewriteLogLevel 9 I did that too. So, RewriteRule works just like ProxyPass, but ProxyPreserveHost On does not have the same effect like ProxyPassReverse. Any ideas on how to use Header directive or external filters to rewrite headers in replies? From my experiment with external filters I could deduce that they work on the content of replies, rather than on their headers. Is that true? Should I post a bug report? Cheers, Kresimir __ 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] winmail.dat- 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 + mod_parser
Hello! I have parser3 - web programming language. When I use it as Action all right, but there is a trouble when I compile it as module mod_parser3: I couldn't get access to the ENV variables such as PATH_INFO (current URI). How can I fix this problem? Thank you. -- WBR, Andrew - 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] force 404 error
On Wed, Feb 15, 2006 at 04:54:51PM +0100, [EMAIL PROTECTED] wrote: ErrorDocument 403 /path/to/errorfile/404.html see http://httpd.apache.org/docs/2.0/custom-error.html bye I am not looking for how to make custom error pages. I am looking for a way to change a http response from 200 to 404. I have some directorys that exist on my server, .svn directorys. When a user types in http://example.com/.svn the NORMALLY get a 200 response and the file. This is because the .svn directory is there and readable. I want a user to recieve a 404 file not found INSTEAD of the 200, without me having to manually delete the .svn directorys. I don't want users to even know that the .svn directorys exist. Thanks .U -- Well done is better than well said. - Benjamin Franklin (1706-1790) - 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] force 404 error
On 2/15/06, Uk1ah Sm1th [EMAIL PROTECTED] wrote: I want to know if it is possible to force a 404 error even when a file or directory exist. I manage my website using svn. I pull a working copy into my htdocs directory. This also creates .svn directorys with svn meta data. Right now they return 403 forbiden. However I would like it if they could return 404 not found when the directory is typed in to the address bar. Such as: http://example.com/.svn The file is there, but I want the user to see a 404. RedirectMatch 404 \.svn will probably work Otherwise, AliaseMatch \.svn /path/to/nowhere 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]
AW: [EMAIL PROTECTED] force 404 error
Right now they return 403 forbiden In your first post you talked of a HTTP_FORBIDDEN (403) not from a HTTP_OK (200) With ErrorDocument 403 404.html you send each user which gets a HTTP_FORBIDDEN (403) your HTTP_NOT_FOUND page I am looking for a way to change a http response from 200 to 404 This is new and cannot be covered alone by the thing above Here should help a RewriteRule and a RewriteCond in a manner like this RewriteCond %{REQUEST_URI} .svn RewriteRule ^(.*)$ 404.html Oli -Ursprüngliche Nachricht- Von: Uk1ah Sm1th [mailto:[EMAIL PROTECTED] Gesendet: Mi 15.02.2006 17:20 An: users@httpd.apache.org Betreff: Re: [EMAIL PROTECTED] force 404 error On Wed, Feb 15, 2006 at 04:54:51PM +0100, [EMAIL PROTECTED] wrote: ErrorDocument 403 /path/to/errorfile/404.html see http://httpd.apache.org/docs/2.0/custom-error.html bye I am not looking for how to make custom error pages. I am looking for a way to change a http response from 200 to 404. I have some directorys that exist on my server, .svn directorys. When a user types in http://example.com/.svn the NORMALLY get a 200 response and the file. This is because the .svn directory is there and readable. I want a user to recieve a 404 file not found INSTEAD of the 200, without me having to manually delete the .svn directorys. I don't want users to even know that the .svn directorys exist. Thanks .U -- Well done is better than well said. - Benjamin Franklin (1706-1790) - 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] winmail.dat- 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 + mod_parser
On 2/15/06, liksx [EMAIL PROTECTED] wrote: Hello! I have parser3 - web programming language. When I use it as Action all right, but there is a trouble when I compile it as module mod_parser3: I couldn't get access to the ENV variables such as PATH_INFO (current URI). How can I fix this problem? I don't know anything about mod_parser3; you are probably better off asking in a forum dedicated to that module. But in general, PATH_INFO is an env variable that is created specifically for CGI scripts. It is the responsibility of mod_parser3 to expose this part of the API to its scripts if it wants to do so. 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] java.lang.OutOfMemoryException : Java heap space for download due to ExtensionsFilter
On 2/15/06, Dattaprasad Kamat [EMAIL PROTECTED] wrote: Hi All, I need help ... I'm using the Tomahawk library in our project. In web.xml I have an entry as follows ..., filter filter-nameMyFacesExtensionsFilter/filter-name Sounds liek you found the wrong mailing list. We discuss the Apache HTTP Server here. Perhaps you are looking for: http://myfaces.apache.org/ 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] PHP and Cold Fusion on Apache (Linux)
On 2/15/06, Muhammad Rizwan [EMAIL PROTECTED] wrote: Hello I want to run PHP and cold fusion pages my Apache web server. How can i configure these with my apache. Plz. reply me if you know any thing about. Well, start by going to the PHP website, download PHP, and follow its installation instructions. Then do the same for coldfusion. That might not be a very helpful response, but there is not much we can do for you here unless you start by doing a little work yourself. Then if you get stuck, come back with a much more specific question including details on what you have tried and what your system looks like. 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] Odd interaction between mod_rewrite and mod_cgi
On 2/14/06, Sean Conner [EMAIL PROTECTED] wrote: About eight months ago I wrote about this problem. Today I had some spare time to test it again, this time with Apache 2.0.55 and it *still* persists. First, the original email: I have a few CGI scripts, written in C (legacy stuff that I don't wish to rewrite if possible) that work fine under Apache 1.3. When moved to Apache 2.0.54 (latest version) they still work, but Apache seems to include additional output at the bottom of the page: HTTP/1.1 200 OK Date: Sat, 09 Jul 2005 07:14:04 GMT Server: Apache/2.0.54 (Unix) DAV/2 Content-Length: 0 Connection: close Content-Type: text/plain Sounds like: http://issues.apache.org/bugzilla/show_bug.cgi?id=22898 In general, there are not many people insterested in nph scripts anymore, so I'd guess that little testing or debugging is done on them. They aren't useful for very much. 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] force 404 error
On Wed, Feb 15, 2006 at 05:38:05PM +0100, [EMAIL PROTECTED] wrote: Right now they return 403 forbiden In your first post you talked of a HTTP_FORBIDDEN (403) not from a HTTP_OK (200) Sorry about the confusion. I currently have the .svn directorys set as forbidden. With ErrorDocument 403 404.html you send each user which gets a HTTP_FORBIDDEN (403) your HTTP_NOT_FOUND page I am looking for a way to change a http response from 200 to 404 This is new and cannot be covered alone by the thing above Here should help a RewriteRule and a RewriteCond in a manner like this RewriteCond %{REQUEST_URI} .svn RewriteRule ^(.*)$ 404.html Oli I thinks this is what I'm looking for. Could it be put inside a DirectoryMatch item? DirectoryMatch ^/.*/\.svn/ RewriteCond .* RewriteRule ^(.*)$ /errors/404.html /DirectoryMatch thanks again. -Urspr?ngliche Nachricht- Von: Uk1ah Sm1th [mailto:[EMAIL PROTECTED] Gesendet: Mi 15.02.2006 17:20 An: users@httpd.apache.org Betreff: Re: [EMAIL PROTECTED] force 404 error On Wed, Feb 15, 2006 at 04:54:51PM +0100, [EMAIL PROTECTED] wrote: ErrorDocument 403 /path/to/errorfile/404.html see http://httpd.apache.org/docs/2.0/custom-error.html bye I am not looking for how to make custom error pages. I am looking for a way to change a http response from 200 to 404. I have some directorys that exist on my server, .svn directorys. When a user types in http://example.com/.svn the NORMALLY get a 200 response and the file. This is because the .svn directory is there and readable. I want a user to recieve a 404 file not found INSTEAD of the 200, without me having to manually delete the .svn directorys. I don't want users to even know that the .svn directorys exist. Thanks .U -- Well done is better than well said. - Benjamin Franklin (1706-1790) - 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] -- Well done is better than well said. - Benjamin Franklin (1706-1790) - 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.2 seems to have problems with CIFS mounted filesystems
Ok, I took Joe's advice. You can find the strace at: http://staff.hightechhigh.org/~tgarton/httpd.strace.gz The other info you asked for is: Linux distro - Slackware 10.1 CPU arch - x86(Pentium III) glibc version - 2.3.2 Tim Joe Orton wrote: On Tue, Feb 14, 2006 at 01:43:12PM -0800, Tim Garton wrote: Has anyone else run into anything like this? Just upgraded to Apache 2.2.0 on a linux box running 2.6.10 kernel. This machine mounts some windows shares via CIFS (eg. mount -t cifs //windowsfs/share /local/mount/point) For some of the virtual hosts the UserDir's lie on these mounted CIFS filesystems. After upgrading to 2.2, whenever you try to visit one of these UserDir pages, if it's an .html page you get the html but no images work, if it's anything else you get a blank page. Additionally, we see these in our error logs: [Mon Feb 13 14:55:08 2006] [info] [client 172.16.10.7] (75)Value too large for defined data type: core_output_filter: writing data to the network Could you capture the strace output when this happens? e.g. strace -o /tmp/httpd.strace httpd -X ... send a request which triggers the error CTRL-C. then gzip and upload /tmp/httpd.strace somewhere; please don't post it to this list. It might be useful also to know the: - Linux distribution - CPU architecture - glibc version Regards, joe -- Tim Garton Director of Technology High Tech High Work: (619) 243-5009 Cell: (619) 347-9531 Fax: (619) 243-5050 [EMAIL PROTECTED] http://www.hightechhigh.org begin:vcard fn:Tim Garton n:Garton;Tim org:High Tech High adr:;;2861 Womble Rd.;San Diego;CA;92106;USA email;internet:[EMAIL PROTECTED] title:Director of Information Technology tel;work:619-243-5009 tel;cell:619-347-9531 x-mozilla-html:FALSE url:http://www.hightechhigh.org version:2.1 end:vcard - 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 install error with apache 2.2.0 and Solaris
Sorry for the poorly formatted followup here, I just joined the list. Anyway, I'm using Solaris 8, using /usr/ccs/bin/make and I get the same errors regarding sed. From the output it appears to be using the libtool shipped with 2.2.0 (as I do not have libtool installed on the system) so am I supposed to try using a different version of libtool also? Thanks, Jeff Long Rather than claim solaris make isn't supported (it is) please post the errors you get? If you are able to make the errors clear, there is a good chance that it won't be broken by the end of this week. On libtool, what version do you have installed and from where? It looks like when you installed libtool it picked up the wrong rules about the sed or shell that was detected so that escaping isn't working right. You might try installing libtool (a modern one) from scratch. Jose Marcio Martins da Cruz wrote: Hello, When installing apache 2.2.0 on a Sparc Solaris 10 machine, I got the following warnings... /export/private/sources/apache/httpd-2.2.0/srclib/apr/libtool --silent --mode=install cp mod_alias.la /opt/httpd-2.2.0/modules/ sed: command garbled: /^dlname=/{s/.*='\([^']*\)'/\1/;p} sed: command garbled: /^library_names/{s/library_names='\([^']*\)'/\1/;p} Warning! dlname not found in /opt/httpd-2.2.0/modules/mod_alias.la. Assuming installing a .so rather than a libtool archive. I'm using gnu make. make install doesn't work with Sun make. Is this a bug ? - 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 2.2 on OS X 10.4
I'm working on getting Apache 2.2 set up on Mac OS X 10.4. The main job of apache will be to pass request to Tomcat 5.5 using mod_proxy_ajp. I know it works because I've built it and got it running. But I've been having some problems because it's crashing under heavy load (1000 concurrent clients making one request). I have two questions: 1) I build Apache on my laptop (also running OS X 10.4) and copied the binaries to my server. I've never done anything like this before, so I'm wondering if this is the correct way to build binaries. The laptop and server are both PPC and have the same Darwin kernel. 2) Is anybody else using Apache 2.2 on OS X 10.4. Any gotchas? What MPM module are you using? Any special configuration to think about. Thanks, Ian - 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.2 on OS X 10.4
If it's crashing, can you give us the gdb backtrace of the offending (failed) thread? One gentle pointer, you need to use a unix filesystem rather than the Mac filesystem to ensure case sensitivity, or be extremely careful securing resources. An update to APR in the next month and to httpd over the next couple months should clear up that issue. Apple distributes a module to specifically address this, but they use the old-style force-to-lowercase method to resolve ambiguity, while the apr and httpd projects are working on a true case-canonicalization solution, which will twist any requested filename to it's true name. Bill Ian Shafer wrote: I'm working on getting Apache 2.2 set up on Mac OS X 10.4. The main job of apache will be to pass request to Tomcat 5.5 using mod_proxy_ajp. I know it works because I've built it and got it running. But I've been having some problems because it's crashing under heavy load (1000 concurrent clients making one request). I have two questions: 1) I build Apache on my laptop (also running OS X 10.4) and copied the binaries to my server. I've never done anything like this before, so I'm wondering if this is the correct way to build binaries. The laptop and server are both PPC and have the same Darwin kernel. 2) Is anybody else using Apache 2.2 on OS X 10.4. Any gotchas? What MPM module are you using? Any special configuration to think about. Thanks, Ian - 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] Odd interaction between mod_rewrite and mod_cgi
It was thus said that the Great Joshua Slive once stated: In general, there are not many people insterested in nph scripts anymore, so I'd guess that little testing or debugging is done on them. They aren't useful for very much. Be that as it may, but is there some other way for a CGI script to return an HTTP status? That's primarily why *I* use the nph- feature (and no, rewriting the script in PHP is not an option). -spc (Nor is mod-perl for that matter ... ) - 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] force 404 error
You can put RewriteCond/RewriteRule inside server config, virtual host, directory, .htaccess see http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond You don't need the DirectoryMatch because the same thing makes RewriteCond for you. REQUEST_URI is the part after host:port e.g www.example.com:8000/dir1/dir2/.svn the /dir1/dir2/.svn-part RewriteCond %{REQUEST_URI} ^(.*)/.svn(.*)$ RewriteRule ^(.*)$ /errors/404.html This should do the trick to rewrite all .svn which could be in any URI. bye Oli -Ursprüngliche Nachricht- Von: Uk1ah Sm1th [mailto:[EMAIL PROTECTED] Gesendet: Mi 15.02.2006 18:04 An: users@httpd.apache.org Betreff: Re: [EMAIL PROTECTED] force 404 error On Wed, Feb 15, 2006 at 05:38:05PM +0100, [EMAIL PROTECTED] wrote: Right now they return 403 forbiden In your first post you talked of a HTTP_FORBIDDEN (403) not from a HTTP_OK (200) Sorry about the confusion. I currently have the .svn directorys set as forbidden. With ErrorDocument 403 404.html you send each user which gets a HTTP_FORBIDDEN (403) your HTTP_NOT_FOUND page I am looking for a way to change a http response from 200 to 404 This is new and cannot be covered alone by the thing above Here should help a RewriteRule and a RewriteCond in a manner like this RewriteRule ^(.*)$ 404.html Oli I thinks this is what I'm looking for. Could it be put inside a DirectoryMatch item? DirectoryMatch ^/.*/\.svn/ RewriteCond .* RewriteRule ^(.*)$ /errors/404.html /DirectoryMatch thanks again. -Urspr?ngliche Nachricht- Von: Uk1ah Sm1th [mailto:[EMAIL PROTECTED] Gesendet: Mi 15.02.2006 17:20 An: users@httpd.apache.org Betreff: Re: [EMAIL PROTECTED] force 404 error On Wed, Feb 15, 2006 at 04:54:51PM +0100, [EMAIL PROTECTED] wrote: ErrorDocument 403 /path/to/errorfile/404.html see http://httpd.apache.org/docs/2.0/custom-error.html bye I am not looking for how to make custom error pages. I am looking for a way to change a http response from 200 to 404. I have some directorys that exist on my server, .svn directorys. When a user types in http://example.com/.svn the NORMALLY get a 200 response and the file. This is because the .svn directory is there and readable. I want a user to recieve a 404 file not found INSTEAD of the 200, without me having to manually delete the .svn directorys. I don't want users to even know that the .svn directorys exist. Thanks .U -- Well done is better than well said. - Benjamin Franklin (1706-1790) - 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] -- Well done is better than well said. - Benjamin Franklin (1706-1790) - 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] winmail.dat- 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] Odd interaction between mod_rewrite and mod_cgi
On 2/15/06, Sean Conner [EMAIL PROTECTED] wrote: It was thus said that the Great Joshua Slive once stated: In general, there are not many people insterested in nph scripts anymore, so I'd guess that little testing or debugging is done on them. They aren't useful for very much. Be that as it may, but is there some other way for a CGI script to return an HTTP status? That's primarily why *I* use the nph- feature (and no, rewriting the script in PHP is not an option). Yes, there is a Status header, as in Status: 404 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] Odd interaction between mod_rewrite and mod_cgi
It was thus said that the Great Joshua Slive once stated: On 2/15/06, Sean Conner [EMAIL PROTECTED] wrote: It was thus said that the Great Joshua Slive once stated: In general, there are not many people insterested in nph scripts anymore, so I'd guess that little testing or debugging is done on them. They aren't useful for very much. Be that as it may, but is there some other way for a CGI script to retu= rn an HTTP status? That's primarily why *I* use the nph- feature (and no, rewriting the script in PHP is not an option). Yes, there is a Status header, as in Status: 404 Oh wow ... I'll have to try that. Is it also available in Apache 1.3? (just on the off chance that you might know ... ) -spc (Thank 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] Apache 2.2 seems to have problems with CIFS mounted filesystems
On Wed, Feb 15, 2006 at 09:49:52AM -0800, Tim Garton wrote: Ok, I took Joe's advice. You can find the strace at: http://staff.hightechhigh.org/~tgarton/httpd.strace.gz The other info you asked for is: Linux distro - Slackware 10.1 CPU arch - x86(Pentium III) glibc version - 2.3.2 Thanks. The error: sendfile64(8, 9, [0], 5571) = -1 EOVERFLOW (Value too large for defined data type) should never happen; I suppose this could be a bug in the CIFS driver, but it's a little odd. You can use EnableSendfile off to work around the issue. Upgrading the kernel might fix it properly. 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] Odd interaction between mod_rewrite and mod_cgi
It was thus said that the Great Nick Kew once stated: On Wednesday 15 February 2006 22:07, Sean Conner wrote: Oh wow ... I'll have to try that. Is it also available in Apache 1.3? (just on the off chance that you might know ... ) Of course. It's in every version of Apache. More importantly, it's part of the CGI spec. That's something you should read. Ah. I actually never did that---I just based my code off the NSCA sample CGI scripts (when I originally wrote the code in ... oh ... 1996 or therefore) and when I needed to send the status, poured through the Apache code and found the nph- hack (which tells you how long ago this code was written). -spc (heh ... ) - 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] wildcard in proxypass logic
Hello, I'm new to this list and apologize if my protocol is incorrect. I'm tryingto setupproxy using wildcards. The apacheis being used as a front endsecuritylayer to a pool of tomcat servers.The ideaisto provide a means to route different product server requests to different tomcat servers pools, where the more popular products would have bigger pools. But since there could potentially be a large number of product (most of which would not be that popular), we wanted to have a default tomcat pool, hence the use of the wildcard. So with the following httpd.conf settings requests for product1/services and product2/services are proxied correctly, but requests for product3/services return a 403 Forbidden error, where as I would have thought it would be handled by the wild card entry. Any insight to the problem or alternative solutions are appreciated. Thanks. Location /product1/services/ Order Allow,Deny Allow from all ProxyPass http://poduct1-tomcat:8080/web-app/services/ ProxyPassReverse/ /Location Location /product2/services/ Order Allow,Deny Allow from all ProxyPass http://poduct2-tomcat:8080/web-app/services/ ProxyPassReverse/ /Location Location /*/services/ Order Allow,Deny Allow from all ProxyPass http://default-tomcat:8080/web-app/services/ ProxyPassReverse/ /Location
[EMAIL PROTECTED] Modify the output of top to show the page being served
Hi List, Is it possible to modify the output of top to show the page being served in the command column? In mod_perl you can do $0 = $url; and that will work. Is there a configuration directive to achieve the same thing when not using mod_perl ? Thanks Khai - 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]