Re: [EMAIL PROTECTED] url proxying

2008-04-11 Thread Vincent Bray
On 11/04/2008, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > thanks. > SSLProxyEngine On > ProxyPass /abc/ https://remoteserver:8443/abc/ > > If I try the URL http://myapache/abc/ > the redirection works but the url changes so proxying is not working as > expected. Remember to use: ProxyPas

Re: [EMAIL PROTECTED] mod_rewrite question - How to avoid Apache's 301 redirect to add trailing slash?

2008-02-27 Thread Vincent Bray
On 27/02/2008, chengas123 <[EMAIL PROTECTED]> wrote: > Yes, that essentially is exactly what I'd like to do. However, I'm not sure > how to. I know how to test if the requested resource is a directory, but > does anyone have any ideas on how I would test if the rewritten URL is an > existing

Re: [EMAIL PROTECTED] mod_deflate with ie6 with http/1.0 problems

2008-02-27 Thread Vincent Bray
On 27/02/2008, J. Peng <[EMAIL PROTECTED]> wrote: > I have found a problem, if apache (my version 2.0.59) with mod_deflate > enabled, and if requesting the objects by IE6 with HTTP/1.0 protocal, > the browser can't get the objects correctly. What's the problem? In what way is this incorrect? >

Re: [EMAIL PROTECTED] Dynamic configuration of Apache as a Load-balancer of a Tomcat farm using mod_jk

2008-02-27 Thread Vincent Bray
On 27/02/2008, franck quinard <[EMAIL PROTECTED]> wrote: > But I have to constantly stop and start Tomcat instances on different > machines (via a script) for different reasons. I would like to know if there > is a way to > write a client that would tell Apache HTTP Server that a new worker is > av

Re: [EMAIL PROTECTED] Custom modules cleanup handler not being invoked in apache 2.0.59

2008-02-27 Thread Vincent Bray
Hi Rajesh, This question would be better on the [EMAIL PROTECTED] mailing list. http://httpd.apache.org/lists.html#modules-dev -- noodl On 26/02/2008, Rajesh Rao <[EMAIL PROTECTED]> wrote: > Hi, > > I'm working with a custom apache module that needs to cleanup on child exit. > Under a steady

Re: [EMAIL PROTECTED] Apache log errors

2008-02-26 Thread Vincent Bray
On 26/02/2008, Krishna Chandra Prajapati <[EMAIL PROTECTED]> wrote: > My web server log error is " NULL::dba can't connect to mysql" This isn't an apache error; at a guess, it's probably a PHP issue. Are you running PHP on this request? -- noodl -

Re: [EMAIL PROTECTED] Server hanging with requests in "W" state

2008-02-25 Thread Vincent Bray
On 25/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > We're having some strange problems with our webservers (https), which are > Apache 2.0.52 on RHEL4 and 2.0.46 on RHEL 3. This could be due to MSIE's duff SSL implementation. Do you have something like this in your SSL config? Browser

Re: [EMAIL PROTECTED] mod_proxy delay detecting application restart

2008-02-25 Thread Vincent Bray
On 25/02/2008, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > Is there a way to > configure a smaller refresh interval or avoid instance status caching > all together? Try this: ProxyPass /myapp/ http://localhost:8105/myapp/ retry=5 I don't know if that's right but the docs suggest it is. http

Re: [EMAIL PROTECTED] Invalid command 'DBDriver', perhaps misspelled - gentoo, apache 2.2.8

2008-02-19 Thread Vincent Bray
On 19/02/2008, Norman Khine <[EMAIL PROTECTED]> wrote: > * Apache2 has detected a syntax error in your configuration files: > Syntax error on line 45 of /etc/apache2/vhosts.d/domain.conf > Invalid command 'DBDriver', perhaps misspelled or defined by a module > not included in the server configura

Re: [EMAIL PROTECTED] Proxy a response from a Proxy Pass

2008-02-18 Thread Vincent Bray
On 17/02/2008, Pat Malatack <[EMAIL PROTECTED]> wrote: > Is this possible to do with apache or should i have the internal server make > the > request of the second one? You should have your internal server make the second request. Apache has no support for this because what you're asking for isn'

Re: [EMAIL PROTECTED] Server Side Include (SSI) is slower than PHP ?

2008-02-18 Thread Vincent Bray
On 18/02/2008, howard chen <[EMAIL PROTECTED]> wrote: > I am running Apache/2.2.6 on Windows XP, testing on a very simple > include testes, e.g. > > SSI > === > > > > > > These kinds of includes cause Apache to run an internal redirect for each included file. This is just a guess but if your

Re: [EMAIL PROTECTED] Clustered Reverse proxy

2008-02-06 Thread Vincent Bray
On 06/02/2008, Sam Crawley <[EMAIL PROTECTED]> wrote: > I'm looking to setup a reverse proxy with Apache 2.2 and mod_cache / > mod_proxy. I need to be able to do the following things: > > 1. Force an item in the cache to expire now (i.e. the next time someone > accesses it, it will get it from the

Re: [EMAIL PROTECTED] error reading information on service httpd: No such file or directory - starting apache webserver automatically on Fedora

2008-01-29 Thread Vincent Bray
On 29/01/2008, MShah <[EMAIL PROTECTED]> wrote: > > I have installed Apache WEb Server on Fedora Linux and was it starts up, but > I want to set it up to start automatically when the system boots up and when > I enter the following command: > > chkconfig --level 235 httpd on > > I get the following

Re: [EMAIL PROTECTED] TLS SNI with user certificates.

2008-01-29 Thread Vincent Bray
Hi, I'd suggest taking this to the [EMAIL PROTECTED] mailing list. Tell them I sent you if they complain ;-) -- noodl - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/user

Re: [EMAIL PROTECTED] Apache proxy + virtual hosts: primary ip is always forwarded

2008-01-29 Thread Vincent Bray
On 29/01/2008, Chirouze Olivier <[EMAIL PROTECTED]> wrote: > Guess what? My question is: is there a way to have the "secondary" IP > address used instead (the one on which the request was received)? > That would allow for a much better tracking of requests (on firewalls, > for instance). I'm fairl

Re: [EMAIL PROTECTED] mod_rewrite and Redirect directive

2008-01-29 Thread Vincent Bray
On 29/01/2008, Szymon Bakowski <[EMAIL PROTECTED]> wrote: > mod-rewrite and Redirect directive: what I wanted to achieve is to > include from within VirtualHost a file for permanent redirections > (using simply "Redirect" inside )and one for mod_rewrite directives. > From some reason I cannot make

Re: [EMAIL PROTECTED] Help w/ Rewrite

2007-12-17 Thread Vincent Bray
On 16/12/2007, Bryan Richardson <[EMAIL PROTECTED]> wrote: > Thanks. I took a look at the Wiki links you provided, and I think I'll > try using Redirect instead. Any hints as to how I would use Redirect > in this situation? Redirect is a simpler solution but will only work in the main server confi

Re: [EMAIL PROTECTED] Help w/ Rewrite

2007-12-16 Thread Vincent Bray
On 16/12/2007, Bryan Richardson <[EMAIL PROTECTED]> wrote: [snip] > root directory. I've tried both ^(.*)$ and /^(.*)$ for the rewrite rule. > Any suggestions? Thanks! -- BTR The first of those should work but the second not (it's not really a valid regex as ^ mid-string doesn't have a special m

Re: [EMAIL PROTECTED] access.log

2007-12-15 Thread Vincent Bray
On 15/12/2007, Steve Reilly <[EMAIL PROTECTED]> wrote: > apache2 cannot write to access log files in /var/log/apache2/ It sounds like you've just run out of disk space. Also, there's no need to repeat NameVirtualHost before each of your vhosts. -- noodl ---

Re: [EMAIL PROTECTED] RewriteRule exposing system directories

2007-12-14 Thread Vincent Bray
On 14/12/2007, Neil A. Hillard <[EMAIL PROTECTED]> wrote: > To me this doesn't make sense. All rewriting is relative to the > DocumentRoot anyway so you shouldn't have to include it in the > RewriteRule. You can't use RewriteRule to map to arbitrary directories > in the filesystem. Hi Neil, Tha

Re: [EMAIL PROTECTED] RewriteRule exposing system directories

2007-12-13 Thread Vincent Bray
On 13/12/2007, Samuel Vogel <[EMAIL PROTECTED]> wrote: > I don't understand why it worked beforehand with my insecure RewriteRule. > Also in my opinion mod_rewrite should/does not change the path, it just > makes it appear different!? > > For example, when I call "samy.domain.de/wbb" it works, but

Re: [EMAIL PROTECTED] RewriteRule exposing system directories

2007-12-13 Thread Vincent Bray
On 13/12/2007, Samuel Vogel <[EMAIL PROTECTED]> wrote: > I did that, but unfortunately it breaks something else, which worked > before. When a page in a subdirectory tried to get an image from an > directory relative to the docroot, that does not work anymore. > This can be seen here: http://tinyur

Re: [EMAIL PROTECTED] RewriteRule exposing system directories

2007-12-13 Thread Vincent Bray
On 13/12/2007, Samuel Vogel <[EMAIL PROTECTED]> wrote: > I just noticed a really bad security problem on my servers! > The following RewriteRule exposes my system directories like /etc and > /var etc. : Hi, This is a common misconception, sadly. Documented here: http://wiki.apache.org/httpd/Rewr

Re: [EMAIL PROTECTED] log file upload

2007-12-12 Thread Vincent Bray
On 13/12/2007, Jean-Christophe Roux <[EMAIL PROTECTED]> wrote: > The users of my site can upload images using regular html forms. I would > like to log the uploads so that I know such IP address at such time has > uploaded such file. This is the last part that I am unable to do. Going > through the

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Vincent Bray
On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: > should i change to apache user or something else? i'll have couple people > in this office upload files (.pdf, .php, .js, .doc, .xls, etc...) to > /var/www/html/ folder and i don't want to give root password to them. Don't use the apache use

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Vincent Bray
On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: > thanks. couple more questions: > > how do i install/enable mod_status so i can use apachectl status? I don't remember exactly. There's either going to be a specific config file for it in /etc/httpd/conf.d or else you should search /etc/httpd

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Vincent Bray
On 11/12/2007, Vincent Bray <[EMAIL PROTECTED]> wrote: > On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: > > yum install links, but only elinks package return. > > elinks should do fine. I should also mention that this status option relies on mod_status being conf

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Vincent Bray
On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: > yum install links, but only elinks package return. elinks should do fine. -- noodl - The official User-To-User support forum of the Apache HTTP Server Project. See http://

Re: [EMAIL PROTECTED] Named Virtual Hosts on Apache on OS X 10.5 -Apache 2

2007-12-10 Thread Vincent Bray
On 11/12/2007, Bob Hartung <[EMAIL PROTECTED]> wrote: > Hi all, Hi, > 127.0.0.1main.localhost > 127.0.0.1alternate.localhost That's fine. You can combine them in a single line too, so 127.0.0.1 main.local alt.local > Original htdocs known as Documents was in /Library/WebServer/ > > I h

Re: [EMAIL PROTECTED] Using ProxyPass exclude with directory containing .htaccess

2007-12-09 Thread Vincent Bray
On 10/12/2007, Paul <[EMAIL PROTECTED]> wrote: > Thanks again, I've removed the limit directive, but still can't get the > protection working. > (don't worry, the .htpasswd file isn't in the document root - I just > made a typo when removing the real directories for posting - well > spotted though!

Re: [EMAIL PROTECTED] Using ProxyPass exclude with directory containing .htaccess

2007-12-09 Thread Vincent Bray
On 10/12/2007, Paul <[EMAIL PROTECTED]> wrote: > Thanks, I have tried using but I haven't got it to prompt > for a username and password yet. I just copied the contents of .htaccess: > > > AuthType Basic > AuthName 'Members Only' > AuthUserFile /var/www/mysite/.htpasswd > > require valid-user >

Re: [EMAIL PROTECTED] Using ProxyPass exclude with directory containing .htaccess

2007-12-09 Thread Vincent Bray
On 10/12/2007, Paul <[EMAIL PROTECTED]> wrote: > I've successfully been using ProxyPass to serve my application. I've > excluded the 'common' directory using > > ProxyPass /common/ ! > > However, if I put an .htaccess file in that common directory, it no > longer excludes it from the proxy pass - t

Re: [EMAIL PROTECTED] Apache server behind squid proxy

2007-12-07 Thread Vincent Bray
On 07/12/2007, Johan Andersson <[EMAIL PROTECTED]> wrote: > Sorry, didn't work. Apache won't start. > I get this in error_log: > [Fri Dec 07 19:42:56 2007] [info] Loading certificate & private key of > SSL-aware server > [Fri Dec 07 19:42:56 2007] [error] Server should be SSL-aware but has no > cer

Re: [EMAIL PROTECTED] [repost] PhP Rewrite Map File Problem

2007-12-07 Thread Vincent Bray
On 07/12/2007, Josh Trutwin <[EMAIL PROTECTED]> wrote: > > to. This works fine until someone updates that file through > > releasing pages on their site (via a CMS). Occasionally, (maybe 5% > > of the time) when this file is updated the above error occurs on > > every request. The ONLY way to fix

Re: [EMAIL PROTECTED] Apache server behind squid proxy

2007-12-07 Thread Vincent Bray
On 06/12/2007, Johan Andersson <[EMAIL PROTECTED]> wrote: > But I have problems to get Apache to understand that it should use > https:// instead of http://, for example: > If I request https://server/dir Apache tries to redirect the browser to > http://server/dir (as it doesn't know the browser ac

Re: [EMAIL PROTECTED] Using SSI in proxied content

2007-12-05 Thread Vincent Bray
On 05/12/2007, Marko Asplund <[EMAIL PROTECTED]> wrote: > > I'm trying to setup a Apache reverse proxy to run server-side include > commands included in proxied content. > Apache proxies content coming from Tomcat using mod_proxy_ajp. > SSI commands get run in local content, but not in proxied cont

Re: [EMAIL PROTECTED] separate log for directories

2007-12-05 Thread Vincent Bray
On 05/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, how can I write separate log files for : > > mydomain.com/directory1 > > and > > mydomain.com/directory2 ? > > Iam trying ErrorLog and CustomLog inside but is > not possible to do it. The logging directives are specific to serve

Re: [EMAIL PROTECTED] HttpURLConnection - java.net.ConnectException: Connection timed out

2007-12-05 Thread Vincent Bray
On 05/12/2007, sh_santosh <[EMAIL PROTECTED]> wrote: >I am usging Apache-Tomcat 5.5.20 and Axis 1.2 RC. > I am invoking the web services method by my java client program. Hi, This list is for user support of the Apache HTTPD project, not Tomcat or Axis. Try one of these lists instead: http:

Re: [EMAIL PROTECTED] virtual hosts and authentication

2007-12-05 Thread Vincent Bray
On 05/12/2007, robert rottermann <[EMAIL PROTECTED]> wrote: > I try to set up a syste where the user authentication is done by apache > which the should forward the request to an application server (zope). I'm not sure if this works in a gateway configuration but try it anyway: SetEnv Proxy-Chain

Re: [EMAIL PROTECTED] strange expires problem

2007-11-29 Thread Vincent Bray
On 30/11/2007, goommy <[EMAIL PROTECTED]> wrote: > users,您好! Uh, hi. > I have a trouble with set expires time with apache! > I want to expires statement to control the cache time,But there is a strange > problem occurd! > > when i set ExpiresActive on >ExpiresByType text/html A61 , >

Re: [EMAIL PROTECTED] mod_rewrite with percent encoded slashes...

2007-11-27 Thread Vincent Bray
On 27/11/2007, Neil A. Hillard <[EMAIL PROTECTED]> wrote: > Does anyone have any suggestion why a slash that's been converted to %2F > causes the request to miss mod_rewrite (and come back with a 404)? http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes Magic :-) -- noodl --

Re: [EMAIL PROTECTED] how to preload a dll and loading a .js into a .cgi in cgi-bin

2007-11-27 Thread Vincent Bray
On 27/11/2007, CraigT <[EMAIL PROTECTED]> wrote: > I'm not sure what 'top posting' is.Am I doing something wrong? http://catb.org/jargon/html/T/top-post.html > I had tried to load the C DLLs from several places like the Perl/lib > directory. Apache will not start and I get no error messages

Re: [EMAIL PROTECTED] how to preload a dll and loading a .js into a .cgi in cgi-bin

2007-11-25 Thread Vincent Bray
On 25 Nov 2007, at 13:29, CraigT wrote: I have tried the LoadFile directive but Apache would not start. That's why I was asking if there was a way to do it in the startup.pl file. The commands that I tried follow and were placed at the end of the HTTPD file. LoadFile "C:/usr/www/steepusa/

Re: [EMAIL PROTECTED] how to preload a dll and loading a .js into a .cgi in cgi-bin

2007-11-24 Thread Vincent Bray
On 24 Nov 2007, at 11:26, CraigT wrote: 1) How can I preload a dll. I preload language modules (Perl) in a startup file executed in the HTTPD file. I think this is the place, but I don't know how to do code it. I'm not exactly sure what you're asking here, but you might need the LoadFile

Re: [EMAIL PROTECTED] mod_proxy problem

2007-11-23 Thread Vincent Bray
On 22 Nov 2007, at 15:19, Til Obes wrote: Hello, i have a problem with mod_proxy. I want to redirect all requests to another apache running on localhost:8080. So the url https://s1.example.com/ will be proxied to http://localhost:8080/. But i have a problem with phpmyadmin running inside this v

Re: [EMAIL PROTECTED] Serving a file while it is being created

2007-11-23 Thread Vincent Bray
On 23 Nov 2007, at 19:14, Nick Birren wrote: Hi I'm trying to serve a video file with Apache while it is still being created (I have a separate server-side application that generates videos, the process takes a few minutes per video and I would like my users to be able to start downloading

Re: [EMAIL PROTECTED] Need help with enabling index.cgi on CentOS

2007-11-23 Thread Vincent Bray
On 23 Nov 2007, at 17:57, Scott Ehrlich wrote: I have a new install of CentOS 5 32-bit, and installed bugzilla and phpmyadmin from their respective source web pages, performing a yum install for everything else. I am now unable to get bugzilla's index.cgi page to appear correctly. After fi

Re: [EMAIL PROTECTED] Question about Authentication in sub-folders

2007-11-12 Thread Vincent Bray
On 12/11/2007, Jean-Yves Avenard <[EMAIL PROTECTED]> wrote: > However, now I would like to disable authentication for a sub-folder > so anyone can see it. http://wiki.apache.org/httpd/BypassAuthenticationOrAuthorizationRequirements http://httpd.apache.org/docs/2.2/mod/core.html#satisfy :-) -- n

Re: [EMAIL PROTECTED] My Apache server doesn't execute my CGI script, but download it

2007-11-12 Thread Vincent Bray
On 12/11/2007, thomas Armstrong <[EMAIL PROTECTED]> wrote: > If I access http://210.15.21.186/foo/uploader/hello.cgi, Apache downloads it. > > But if I execute it via shell, it displays a "hello world" message. > 'hello.cgi' script and 'uploader' directory are 755 chmoded. Are you sure you have mo

Re: [EMAIL PROTECTED] change the prefix of apache after its installation

2007-11-01 Thread Vincent Bray
On 01/11/2007, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > During the compilation phase, I specified prefix to be > /usr/local/apache224. apache is now installed and > running. > > What needs to be done so that I rename apache224 to > apache2?? Either recompile or start httpd with the relevant arg

Re: [EMAIL PROTECTED] 回复: Re: [EMAIL PROTECTED] why response so slowly if adding IP restriction

2007-10-29 Thread Vincent Bray
On 30/10/2007, decker xu <[EMAIL PROTECTED]> wrote: > It turns to be very well when I modify the comments as following > > #david @ wireless > Allow from 172.17.100.231 You might also want to consider replacing all those IP addresses with a prefix, like: Allow from 192.168.5 -- noodl

Re: [EMAIL PROTECTED] why response so slowly if adding IP restriction

2007-10-29 Thread Vincent Bray
On 30/10/2007, decker xu <[EMAIL PROTECTED]> wrote: > I built a forum for my group memebers in intranet, and I want to add some IP > restriction in apache configuration files such as following : > Allow from 172.17.100.231# david @ wireless This line might be the problem. Apache's config file for

Re: [EMAIL PROTECTED] ProxyPassReverse Incorrectly Handling Redirects

2007-10-29 Thread Vincent Bray
On 29/10/2007, Selvig, Andy <[EMAIL PROTECTED]> wrote: > I agree, though, it would help to see the headers. What's the easiest > way to examine the headers as they're being processed by Apache? http://wiki.apache.org/httpd/WatchingHttpHeaders -- noodl ---

Re: [EMAIL PROTECTED] ProxyPassReverse Incorrectly Handling Redirects

2007-10-29 Thread Vincent Bray
Your initial question was how to get mod_proxy_html to deal with relative urls in Location: headers, right? I still maintain that it *probably* can't, given its author's propensity to follow the spec. In any case, it would help to see some examples of working and otherwise headers. I blame niq :)

Re: [EMAIL PROTECTED] ProxyPassReverse Incorrectly Handling Redirects

2007-10-29 Thread Vincent Bray
On 29/10/2007, Selvig, Andy <[EMAIL PROTECTED]> wrote: > The problem comes in when the application sends redirects to relative > pages. If the application redirects to /main/list, my browser goes to > this page: That's perhaps because the Location: header of redirects must always be a full url. If

Re: [EMAIL PROTECTED] Trouble rendering JSPs

2007-10-14 Thread Vincent Bray
On 12/10/2007, Andrew <[EMAIL PROTECTED]> wrote: > NameVirtualHost *:80 > > ServerName mysite.com > DocumentRoot "C:/.../Tomcat 6.0/webapps/mysite/" > > > LoadModule jk_module modules/mod_jk.so > Include "C:/.../Tomcat 6.0/conf/auto/mod_jk.conf" Just a wild guess as I'm not familliar wit

Re: [EMAIL PROTECTED] there's a strange text in the error log.

2007-10-14 Thread Vincent Bray
On 14/10/2007, Alexey Vlasov <[EMAIL PROTECTED]> wrote: > Hi. > > From time to time i see in the log the following: [bigsnip] That's a known bug, fixed and just waiting for the next release. http://issues.apache.org/bugzilla/show_bug.cgi?id=43334 > And by the way, after working for a while Apach

Re: [EMAIL PROTECTED] how to run encrypted executable through apache?

2007-10-13 Thread Vincent Bray
On 14/10/2007, sarta53 <[EMAIL PROTECTED]> wrote: > However, I have made progress. I found that if I wrap a call to the encrypted > perl executable with an unencrypted perl wrapper, it works! > Here is the contents of the wrapper script: > > #!/usr/bin/perl > print `/var/www/cgi-bin/ss.pl.x`; Sil

Re: [EMAIL PROTECTED] how to run encrypted executable through apache?

2007-10-13 Thread Vincent Bray
On 13/10/2007, sarta53 <[EMAIL PROTECTED]> wrote: > Indeed it does work, and the permissions are 755. Here is the output: > > [cgi-bin]$ ss.pl.x > Content-type: text/html > > > > screen >

Re: [EMAIL PROTECTED] how to run encrypted executable through apache?

2007-10-13 Thread Vincent Bray
On 13/10/2007, sarta53 <[EMAIL PROTECTED]> wrote: > Thanks for the advice. Indeed, the errorlog said "premature end of script > headers" > > I enabled ScriptLog and don't know what it tells me. Here is the output from > the failed request: > > %% [Sat Oct 13 14:59:04 2007] GET /cgi-bin/ss.pl.x?

Re: [EMAIL PROTECTED] how to run encrypted executable through apache?

2007-10-13 Thread Vincent Bray
On 13/10/2007, sarta53 <[EMAIL PROTECTED]> wrote: > I am using apache that was installed via apt-get onto ubuntu linux 7.04 (it > says version 1.3.34-4.1) > > I use a utility called shc (http://aplawrence.com/Linux/shc.html) to > encrypt a perl script by creating an executable by putting a C wrapp

Re: [EMAIL PROTECTED] mod_cache/mod_proxy, and the 'server' header.

2007-10-08 Thread Vincent Bray
On 08/10/2007, Ian P. Christian <[EMAIL PROTECTED]> wrote: > I'm proxying requests to a backend server, and using mod_cache to cache. > > I've noticed on the first request, I get the Server header from my > backend, and every request that hits cache shows the frontend Server > header, as below: Pr

Re: [EMAIL PROTECTED] APR and APR-UTIL

2007-10-08 Thread Vincent Bray
On 08/10/2007, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > hi > > sorry to insist on this thread: > > bash-3.00# ./httpd -V > Server version: Apache/2.0.59 > Server built: Oct 8 2007 19:15:01 > Server's Module Magic Number: 20020903:12 > Server loaded: APR 0.9.12, APR-UTIL 0.9.12 > Compiled usi

Re: [EMAIL PROTECTED] mod_vhost_alias conflicting with VirtualHost containers

2007-10-08 Thread Vincent Bray
On 08/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi people, I have a problem with mod_vhost_alias conflicting with > VirtualHost containers. This is the relevant part of my conf Try something like this: NameVirtualHost *:80 ServerName dummy VirtualDocumentRoot /what/ever Serv

Re: [EMAIL PROTECTED] mod_disk_cache and mod_rewrite

2007-10-08 Thread Vincent Bray
On 08/10/2007, Janne Kario <[EMAIL PROTECTED]> wrote: > The problem is that mod_rewrite and mod_disk_cache don't appear to well > together and mod_disk_cache seems to ignore all that mod_rewrite does. I've found that to be a problem too. In my case, I used a reverse proxy on the rewrite rule to se

Re: [EMAIL PROTECTED] wrong apache version shown from $_SERVER['SERVER_SOFTWARE'] on Fedora 7

2007-09-22 Thread Vincent Bray
On 22/09/2007, Rikard Bosnjakovic <[EMAIL PROTECTED]> wrote: > On 22/09/2007, Zen Kato <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] ~]$ ps auxww|grep httpd > > root 2090 0.0 4.3 103260 21852 ?Ss 13:59 0:00 > > /usr/sbin/httpd > > apache2200 0.0 0.7 24868 3908 ?

Re: [EMAIL PROTECTED] wrong apache version shown from $_SERVER['SERVER_SOFTWARE'] on Fedora 7

2007-09-21 Thread Vincent Bray
On 22/09/2007, Zen Kato <[EMAIL PROTECTED]> wrote: > I installed F7 and then upgraded to .. to what? Are you sure you don't have two versions of apache installed, one in your path and the other in root's? I'd suggest running `which httpd` to see there the 2.2.6 binary is, and `px auxww` to see w

Re: [EMAIL PROTECTED] NameVirtualHost question

2007-09-17 Thread Vincent Bray
On 18/09/2007, Néstor Boscán <[EMAIL PROTECTED]> wrote: > I have a server that has an Apache Server 1.3. The server only has 1 IP and > can be access using two differente names server1 and server2. I would like > to create a VirtualHost for each name that sets the ServerName. Now I tried > the foll

Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-15 Thread Vincent Bray
On 14/09/2007, Mark A. Craig <[EMAIL PROTECTED]> wrote: > I want to use rotatelogs.exe to archive my logs with Apache 2.2 running > in Windows 2000. WHen I try to configure it the server fails to start > and bitches about Unicode characters on line 1 of httpd.conf that aren't > actually there. I'

Re: [EMAIL PROTECTED] building httpd 2.2.4 for PPC on Intel Mac

2007-09-14 Thread Vincent Bray
On 14/09/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > but when I try "sudo apachectl start", I get no httpd processes, and > this message in my error log: > > > "[emerg] (14)Bad address: Couldn't set permissions on > cross-process lock; check User and Group directives" > > T

Re: [EMAIL PROTECTED] apache books

2007-09-13 Thread Vincent Bray
On 13/09/2007, Lori D. Cole <[EMAIL PROTECTED]> wrote: > Would anyone like to recommend their top couple of Apache books for a > newbie? Thank you. Try the official bookstore: http://www.apachebookstore.com/ -- noodl - The of

Re: [EMAIL PROTECTED] Paranoia check regarding mod_proxy / mod_rewrite

2007-09-12 Thread Vincent Bray
On 13/09/2007, gb1071nx <[EMAIL PROTECTED]> wrote: > > I've just recently compiled and installed the mod_rewrite and mod_proxy > modules. My specific reason for doing so is that I wanted to use AJAX > calls between two internal (intranet) domains, but due to 'same origin' > policy, could not. Go

Re: [EMAIL PROTECTED] utf-8 encoded htaccess?

2007-09-10 Thread Vincent Bray
On 10/09/2007, Martin Strand <[EMAIL PROTECTED]> wrote: > It really seems to be a UA problem. According to those RFCs, both 'realm' > and 'filename' are supposed to be 'quoted-string' and should be treated > exactly the same. It just seems so weird that three major browser vendors > would miss this

Re: [EMAIL PROTECTED] How to mask an URL with .htaccess

2007-09-10 Thread Vincent Bray
On 10/09/2007, thomas Armstrong <[EMAIL PROTECTED]> wrote: > I want to make http://mysite.com/post/004.htm --> > http://mysite.com/post.php?id=004 > but not redirecting but masking the URL (the first URL must be shown > and not the second one). > > My .httaccess: > -- > Rewr

Re: [EMAIL PROTECTED] utf-8 encoded htaccess?

2007-09-09 Thread Vincent Bray
On 10/09/2007, Martin Strand <[EMAIL PROTECTED]> wrote: > This must be a UA problem - none of IE/FF/Opera decodes the name, they > must've forgotten to read rfc2617. :) Or quite possibly an apache problem, given that this string must be shoehorned in to the WWW-Authenticate header along with the o

Re: [EMAIL PROTECTED] Apache 2.2.3 with mod_authn_dbd and pgsql

2007-09-09 Thread Vincent Bray
On 10/09/2007, Dustin Schuemann <[EMAIL PROTECTED]> wrote: > Im trying to use mod_authn_dbd with pgsql my table structure is 3 > columns username,password,group. When I try to login into the > protected directory I get a 500 error. My apache conf is below. My > logs are [Sun Sep 09 20:04:05 2007] [

Re: [EMAIL PROTECTED] utf-8 encoded htaccess?

2007-09-09 Thread Vincent Bray
On 10/09/2007, Martin Strand <[EMAIL PROTECTED]> wrote: > I'm using non-ascii characters for AuthName but they show up as garbage in > firefox. > Changing the encoding for .htaccess from utf-8 to iso-8859-1 solves the > problem but I'd like to support utf-8. It takes a bit of backtracing through a

Re: [EMAIL PROTECTED] Forbidden access to userdir

2007-09-08 Thread Vincent Bray
On 08/09/2007, kris duff <[EMAIL PROTECTED]> wrote: > I also tried your's and it don't works. Assuming you're on a gnu system, try: namei -m /home/my_user/public_html/index.html .. making sure to spell out the path in full. That'll show you any parts of the path that don't have +x set for the re

Re: [EMAIL PROTECTED] Forbidden access to userdir

2007-09-08 Thread Vincent Bray
On 08/09/2007, kris duff <[EMAIL PROTECTED]> wrote: > And the error_log : > [...] (13)Permission denied: access to /~my_user > denied This is a filesystem permissions error. Most likely, your home directory is closed to the apache user. It's important to realise that on unix systems, a user access

Re: [EMAIL PROTECTED] Hosting two webapps within same virtualhost but with different DocumentRoots

2007-09-08 Thread Vincent Bray
On 08/09/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have two applications that need to be hosted on my webserver. Requests > for both apps come in via the same F5 and DNS name but with different URLs > after the DNS name(e.g http://foo.bar.com/app1 and > http://foo.bar.com/app2). > The

Re: [EMAIL PROTECTED] reverse proxy (mod_proxy_html?) screws up js within body tag.......

2007-09-05 Thread Vincent Bray
On 06/09/07, Jeff <[EMAIL PROTECTED]> wrote: > > > language="JavaScript" style="text-align: center"> > > bgcolor="#4b6c8b" > onLoad="toggleCoApp();document.frmApplicationShort.elements[0].focus();"> This is invalid html (form should be in body, not between head and body) and from what I recall,

Re: [EMAIL PROTECTED] Apache 2.2.4 [an error occurred while processing this directive]

2007-09-04 Thread Vincent Bray
On 04/09/07, Malcolm Walker <[EMAIL PROTECTED]> wrote: > PS I'm still quite good at playing FreeCell {8;-)) Ah ha! I discovered that recently (along with hearts), and am 98% games won. Time for an online Freecell deathmatch? :-) -- noodl -

Re: [EMAIL PROTECTED] Apache 2.2.4 [an error occurred while processing this directive]

2007-09-04 Thread Vincent Bray
On 04/09/07, Malcolm Walker <[EMAIL PROTECTED]> wrote: > Your jibe is forgiven. {8;-)) But just because the technology is old > doesn't mean it isn't any use. I assume there are `better' and newer > ways of achieving the same object. Perhaps PHP is more appropriate? Depends on what you're tryin

Re: [EMAIL PROTECTED] Apache able to cache entire HTML page?

2007-09-04 Thread Vincent Bray
On 04/09/07, Ben Spencer <[EMAIL PROTECTED]> wrote: > Question: > Can apache cache everything for an undefined amount of time > (days/months/years) without concern of the backend server's headers? With > some playing, we got this to work by removing headers, but, this seemed > overly complicated an

Re: [EMAIL PROTECTED] How to make a httpd daemon serve everything with a settable delay

2007-09-03 Thread Vincent Bray
On 03/09/07, Krist van Besien <[EMAIL PROTECTED]> wrote: > In the second test case the server only returns the content after a > settable delay. In this case the webserver is supposed to keep the > connection open, but only return a page after for example 20 seconds. That's an interesting question

Re: [EMAIL PROTECTED] Using mod_proxy to create transparent site moving

2007-09-03 Thread Vincent Bray
On 03/09/07, Rikard Bosnjakovic <[EMAIL PROTECTED]> wrote: > So, am I on the right track? Is mod_proxy The Tool that I should use? Yep. Try this guide for further explaination of ProxyPass and friends. http://www.apachetutor.org/admin/reverseproxies mod_rewrite can be used to set up proxying too

Re: [EMAIL PROTECTED] Large POSTs through Apache reverse proxy to mongrel (Rails) failing

2007-09-02 Thread Vincent Bray
On 02/09/07, Nick Kew <[EMAIL PROTECTED]> wrote: > But I don't think that's supported in 2.0. Upgrade to 2.2 > for a lot of proxy fixes. It appears to be supported in 2.0 but isn't documented in that branch. See: http://issues.apache.org/bugzilla/show_bug.cgi?id=43183 -- noodl ---

Re: [EMAIL PROTECTED] Apache 2.2.4 [an error occurred while processing this directive]

2007-09-01 Thread Vincent Bray
On 01/09/07, Malcolm Walker <[EMAIL PROTECTED]> wrote: > Yes you are correct and I am very grateful for your reply but I find I > am out of my depth. I had read (several times both before my post and > after your reply) the article on configuring Virtual Hosts and I remain > unaware of how to amen

Re: [EMAIL PROTECTED] Apache 2.2.4 [an error occurred while processing this directive]

2007-08-31 Thread Vincent Bray
Hi, You seem to have two problems in your config. First, You're not using any virtual hosts, and your DocumentRoot is F:/webs, so presumably you're using a URL like http://localhost/mcjdreamweaver/ to access your site. In this case, using an include with a local uri ref like /includes/something wo

Re: [EMAIL PROTECTED] logging incomming traffic

2007-08-30 Thread Vincent Bray
On 30/08/2007, Eric Gorr <[EMAIL PROTECTED]> wrote: > I was wondering if it was possible to configure apache to record how > many bytes were sent to it from the client as well. http://httpd.apache.org/docs/2.2/mod/mod_logio.html Cheers, -- noodl -

Re: [EMAIL PROTECTED] VirtualHost with third level domain

2007-08-29 Thread Vincent Bray
On 29/08/2007, netmail <[EMAIL PROTECTED]> wrote: > Hi guys > > I have fedora with Apache 2.2.3 . Try killing /etc/httpd/conf.d/welcome.conf -- noodl - The official User-To-User support forum of the Apache HTTP Server Project.

Re: [EMAIL PROTECTED] min spare servers Directive

2007-08-28 Thread Vincent Bray
On 28/08/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > What I am unclear about is that if the server limit is 575 and I have > actually reached this limit will there be 8 additional children > started(MinSpareServers) that is not serving requests but will be if any > of the other children stop

Re: [EMAIL PROTECTED] mod_rewrite or mod_access

2007-08-27 Thread Vincent Bray
On 26/08/07, Jack Stone <[EMAIL PROTECTED]> wrote: > >From: "Vincent Bray" <[EMAIL PROTECTED]> > >RewriteEngine On > >RewriteCond %{REMOTE_ADDR} !^trusted.host.pattern$ > >RewriteRule ^/_vti - [F] > Thanks for those suggestions. Used the mod_rewri

Re: [EMAIL PROTECTED] mod_rewrite or mod_access

2007-08-25 Thread Vincent Bray
On 25/08/07, Jack Stone <[EMAIL PROTECTED]> wrote: > We still use MSFrontPage on certain sites and was wondering how best to > block visitors who use FP in attempts to abuse the sites, BUT, not block our > own valid users? > > Figured best to use mod_rewrite or mod_access for this purpose, but unsu

Re: [EMAIL PROTECTED] Deploying war on Apache HTTP Server

2007-08-25 Thread Vincent Bray
On 25/08/07, Jaqui Greenlees <[EMAIL PROTECTED]> wrote: > ahh, so a .war is some sort of Java file format, nice > to know. Not that a non java enabled browser would do > anything but try to download it, at least now I know > it's not always malware, at least not any more than > any java app is. He

Re: [EMAIL PROTECTED] Deploying war on Apache HTTP Server

2007-08-25 Thread Vincent Bray
On 25/08/07, Vincent Bray <[EMAIL PROTECTED]> wrote: > You need Tomcat (or any number of alternatives) to host the .war. > Apache's written in C, not Java, so can't run those kinds of things > directly. Sorry, when I say "Apache", of course I mean "Apache H

Re: [EMAIL PROTECTED] Deploying war on Apache HTTP Server

2007-08-25 Thread Vincent Bray
On 25/08/07, ibm123 <[EMAIL PROTECTED]> wrote: > I am pretty new to Apache Http Server (AHS). I was looking into the document > for deploying the war file on AHS but could not found anything. I am not > sure whether I can deploy war on AHS or not. If not then I should use Tomcat > but how to integr

Re: [EMAIL PROTECTED] redirecting nonexcisting subfolders

2007-08-25 Thread Vincent Bray
On 25/08/07, Ebbe Hjorth <[EMAIL PROTECTED]> wrote: > Hi, > > I am running an apache 2.2 on a freebsd server, and would like to redirect > users from ex. xxx.dk/1234 to xxx.dk - how can i do that? is that a server > setup? or can i do that from a php script? because now when i type > xxx.dk/1234 i

Re: [EMAIL PROTECTED] Apache taking up all CPU Time

2007-08-25 Thread Vincent Bray
On 25/08/07, Samuel Vogel <[EMAIL PROTECTED]> wrote: > Actually there are more than 10 instances running. > This is just the way the prefork MPM works. > > Does anybody else have suggestions? This page looks somewhat out of date but may help explain how to use e.g. strace to see what the server's

Re: [EMAIL PROTECTED] config timefmt not working without a filename

2007-08-24 Thread Vincent Bray
On 24/08/07, Kateri Abeyta <[EMAIL PROTECTED]> wrote: > I'm not seeing any other files called index.something in any of our virtual > hosts. This same thing happens on all of them (kids.denverlibrary.org, > teens.denverlibrary.org, etc.). I didn't mean index.something literally.. I also can't re

  1   2   3   >