[EMAIL PROTECTED] trouble sending environmental variable

2007-07-23 Thread JJ
Hello: I am new at this and have apache 2 on my local machine. On this machine, I can open a terminal, start python, and import the scipy module. That module requires that the LD_LIBRARY_PATH vaiable be set, which it is in my .rcbash file. However, when I run a cgi script the import of scipy fai

FW: [EMAIL PROTECTED] Help!! mod_rewrite location header cant get correct syntax

2007-07-23 Thread Jeff Murch
Also yes extended mode is On. Jeff -Original Message- From: Jeff Murch [mailto:[EMAIL PROTECTED] Sent: Monday, July 23, 2007 8:36 PM To: 'users@httpd.apache.org' Subject: RE: [EMAIL PROTECTED] Help!! mod_rewrite location header cant get correct syntax Joshua, I appreciate the help and

RE: [EMAIL PROTECTED] Help!! mod_rewrite location header cant get correct syntax

2007-07-23 Thread Jeff Murch
Joshua, I appreciate the help and the good answers. I have one last (At least for this project) problem. I'm using mod_proxy_html and expecting it to rewrite the HTML links on my reverse proxied pages. It is on the HTML but not anywhere within the js. I am going to see if I have an older versio

RE: [EMAIL PROTECTED] Help!! mod_rewrite location header cant get correct syntax

2007-07-23 Thread Jeff Murch
Thanks Joshua. That convinced me to go back and keep trying with the ProxyPassReverse directive since I wasn't happy with the header unset. It works fine after I messed with the syntax a bit. Do you know if you can do conditional header directives such as: If header = foo.bar.com Unset header

Re: [EMAIL PROTECTED] Re: authentication - one of several groups

2007-07-23 Thread Eric Covener
On 7/23/07, Dmitri Colebatch <[EMAIL PROTECTED]> wrote: Hi Eric, On 7/24/07, Eric Covener <[EMAIL PROTECTED]> wrote: > It looks to me like 2.0.x mod_auth_ldap wants > > require group cn=foo > require group cn=bar > > Instead of > require group cn=foo cn=bar > > Which is different then the way he

Re: [EMAIL PROTECTED] Help!! mod_rewrite location header cant get correct syntax

2007-07-23 Thread Joshua Slive
On 7/23/07, Jeff Murch <[EMAIL PROTECTED]> wrote: The source web server is sending it as a redirect and it is redirecting the browser off my reverse proxy to a site that is not available to the outside world. I've headers unset location and set location "were it should go" but I'd like to be able

Re: [EMAIL PROTECTED] Re: authentication - one of several groups

2007-07-23 Thread Dmitri Colebatch
Hi Eric, On 7/24/07, Eric Covener <[EMAIL PROTECTED]> wrote: It looks to me like 2.0.x mod_auth_ldap wants require group cn=foo require group cn=bar Instead of require group cn=foo cn=bar Which is different then the way he treates require user (where he'll iterate through multiple users on on

RE: [EMAIL PROTECTED] Help!! mod_rewrite location header cant get correct syntax

2007-07-23 Thread Jeff Murch
The source web server is sending it as a redirect and it is redirecting the browser off my reverse proxy to a site that is not available to the outside world. I've headers unset location and set location "were it should go" but I'd like to be able to use a regex with wildcards. Jeff -Origin

Re: [EMAIL PROTECTED] Command line capturing of requests/sec

2007-07-23 Thread Ramdas . Hegde
Thanks, that was useful. ?auto does have requests/sec and there is a Perl script log_server_status in the httpd support directory which might do stuff that i need. -Ramdas "Joshua Slive"

Re: [EMAIL PROTECTED] Help!! mod_rewrite location header cant get correct syntax

2007-07-23 Thread Joshua Slive
On 7/23/07, Eric Covener <[EMAIL PROTECTED]> wrote: On 7/23/07, Jeff Murch <[EMAIL PROTECTED]> wrote: > I need to rewrite a location header as follows but I can't seem to get the > syntax correct: > > RewriteRule ^Location: http://server1.domain.com Location: > server2.domain.com [R,L] Somethin

Re: [EMAIL PROTECTED] Help!! mod_rewrite location header cant get correct syntax

2007-07-23 Thread Eric Covener
On 7/23/07, Jeff Murch <[EMAIL PROTECTED]> wrote: I need to rewrite a location header as follows but I can't seem to get the syntax correct: RewriteRule ^Location: http://server1.domain.com Location: server2.domain.com [R,L] Something like this? RewriteCond %{HTTP:Location} ^http://server1\.

Re: [EMAIL PROTECTED] Re: authentication - one of several groups

2007-07-23 Thread Eric Covener
On 7/23/07, Dmitri Colebatch <[EMAIL PROTECTED]> wrote: I'm assuming that the lack of response means no one else is using this feature. I'd like to ask one more time before raising a bug - can anyone see any reason why I shouldn't raise a bug for this? It looks to me like 2.0.x mod_auth_ldap w

[EMAIL PROTECTED] Help!! mod_rewrite location header cant get correct syntax

2007-07-23 Thread Jeff Murch
I need to rewrite a location header as follows but I can't seem to get the syntax correct: RewriteRule ^Location: http://server1.domain.com Location: server2.domain.com [R,L] I know I have to have a delimiter between old and new values? Jeff

[EMAIL PROTECTED] Re: authentication - one of several groups

2007-07-23 Thread Dmitri Colebatch
I'm assuming that the lack of response means no one else is using this feature. I'd like to ask one more time before raising a bug - can anyone see any reason why I shouldn't raise a bug for this? cheers, dim On 7/20/07, Dmitri Colebatch <[EMAIL PROTECTED]> wrote: Hi all, This is a problem th

[EMAIL PROTECTED] Re: Custom 404 Error Page returning 200 status code - Apache/1.3.27 (Unix)

2007-07-23 Thread Lanny Marcus
"Crash" Dummy <[EMAIL PROTECTED]> wrote on 23 July 2007: > If you want to send the request to a different domain while preserving > the error code returned to the requester, you can put a redirect meta > tag in the local error page. In your eaxmple, "/error_pages/404.html" > would look like this:

Re: [EMAIL PROTECTED] Custom 404 Error Page returning 200 status code - Apache/1.3.27 (Unix)

2007-07-23 Thread Lanny Marcus
On 23 July 2007, Vincent Bray <[EMAIL PROTECTED]> wrote: > The docs: > http://httpd.apache.org/docs/2.2/mod/core.html#errordocument Vincent: I'd read that in the FAQ, but, I'm truly a newbie to Apache. My understanding of what should go into .htaccess is *extremely* limited. The replies you se

Re: [EMAIL PROTECTED] Want to avoid 304 error

2007-07-23 Thread Joshua Slive
On 7/23/07, Bello Martinez Sergio <[EMAIL PROTECTED]> wrote: Joshua Slive escribió: > > Interesting. If what you say is true, then it's a bug in apache, and > perhaps one that will be very difficult to fix. You should report it > to the bug database. The problem might be that the 304 response >

Re: [EMAIL PROTECTED] Want to avoid 304 error

2007-07-23 Thread Bello Martinez Sergio
Joshua Slive escribió: Interesting. If what you say is true, then it's a bug in apache, and perhaps one that will be very difficult to fix. You should report it to the bug database. The problem might be that the 304 response doesn't contain a content-type header and therefore can't be activate

Re: [EMAIL PROTECTED] Want to avoid 304 error

2007-07-23 Thread Joshua Slive
On 7/23/07, Bello Martinez Sergio <[EMAIL PROTECTED]> wrote: Ok, thanks. So, the reason of my error was to suppose that including ExpiresActive On ExpiresByType text/javascript "access plus 2 minutes" (note that the value '2 minutes' is for testing purp

Re: [EMAIL PROTECTED] Want to avoid 304 error

2007-07-23 Thread Bello Martinez Sergio
Ok, thanks. So, the reason of my error was to suppose that including ExpiresActive On ExpiresByType text/javascript "access plus 2 minutes" (note that the value '2 minutes' is for testing purposes only) would apply this header to response even if the return

Re: [EMAIL PROTECTED] Want to avoid 304 error

2007-07-23 Thread Joshua Slive
On 7/23/07, Bello Martinez Sergio <[EMAIL PROTECTED]> wrote: - Headers request/response after expiry time: HTTP/1.x 304 Not Modified Date: Mon, 23 Jul 2007 17:49:31 GMT Server: Apache/2.0.54 (Linux/SUSE) Connection: Keep-Alive Keep-Alive: timeout=15, max=98 So, here's y

Re: [EMAIL PROTECTED] Want to avoid 304 error

2007-07-23 Thread Bello Martinez Sergio
Of course. Here you are - FIREFOX 2.0.0.5 (Headers captured with Live HTTP Headers) - Headers first request (empty cache) and response: GET /javascript/prueba.js HTTP/1.1 Host: 1.1.2.47 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.

Re: [EMAIL PROTECTED] Dynamic virtual host

2007-07-23 Thread Matt Richards
Sorry, it wasn't intended that way. :) However, I'll be more mindful of how detailed I am in the future. On 7/23/07, Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/23/07, Matt Richards <[EMAIL PROTECTED]> wrote: > http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html > http://en.wikipedia.org/wik

Re: [EMAIL PROTECTED] Command line capturing of requests/sec

2007-07-23 Thread Joshua Slive
On 7/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: My application uses Apache httpd 2.0.48 . Is there a way to capture the value of number of requests/sec that the webserver has processed, something similar to what the /server-status page displays when mod_status is enabled? I am looking

[EMAIL PROTECTED] Command line capturing of requests/sec

2007-07-23 Thread Ramdas . Hegde
My application uses Apache httpd 2.0.48 . Is there a way to capture the value of number of requests/sec that the webserver has processed, something similar to what the /server-status page displays when mod_status is enabled? I am looking for a command line script rather than using a web interface

[EMAIL PROTECTED] problems with the IE.

2007-07-23 Thread Roberto Tortolero
Good afternoon. I like to thanks all the comments that i received on my last issue, but now i have another one related with the infamous IE. the problem is that i have web page that redirect the web site according to web browser which the user is using, this is made by javascript. the web site if

Re: [EMAIL PROTECTED] Dynamic virtual host

2007-07-23 Thread Joshua Slive
On 7/23/07, Matt Richards <[EMAIL PROTECTED]> wrote: http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html http://en.wikipedia.org/wiki/Rewrite_engine http://www.oav.net/projects/mod_vhs/ http://www.oav.net/projects/mod_vhs/masterclass-linuxexpert.pdf On 7/22/07, Admin - SDAKAR WEB <[EMAIL PR

[EMAIL PROTECTED] mod_perl install

2007-07-23 Thread ROTH, MARK, ATTSI
Well, I built mod_perl, and did the make install... but for some reason, the /usr/local/apache2/lib/perl directory, with all that belongs there, wasn't created and filled. Any clues, anyone? Solaris 8, apache 2.2.4 installed from Sun freeware, mod_perl seems to have built correctly, and the files

Re: [EMAIL PROTECTED] Last Modified date of a document

2007-07-23 Thread Duncan Brannen
Re: the example there, sorry if I'm pointing out the obvious, but I guess you've a typo in the URL you're trying to get the Last-Modified for as you've got a 404 there. I'm thinking you won't get a Last-Modified returned on that ;) Cheers, Duncan Kaushal Shriyan wrote: On 7/23/07, *J

Re: [EMAIL PROTECTED] Last Modified date of a document

2007-07-23 Thread Joshua Slive
On 7/23/07, Kaushal Shriyan <[EMAIL PROTECTED]> wrote: I am not getting the Last Modified Date Header :( which i was interested in, is there any other method to get the Last Modified Date Header apart from direct access to the File System Sure there are lots of other ways to get it. You could

Re: [EMAIL PROTECTED] Last Modified date of a document

2007-07-23 Thread Kaushal Shriyan
On 7/23/07, Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/23/07, Kaushal Shriyan <[EMAIL PROTECTED]> wrote: > Thanks Victor > > But the information I was looking for Last Modified Date is missing when i > run GET http://192.168.0.1/ HTTP/1.0 > > Please advice me how to go ahead in finding the Las

Re: [EMAIL PROTECTED] Want to avoid 304 error

2007-07-23 Thread Joshua Slive
On 7/23/07, Bello Martinez Sergio <[EMAIL PROTECTED]> wrote: Thanks again, Joshua. You are right, it's my application that set 'must-revalidate' header. But it's not the problem, I've deleted it and all works exactly the same. I suspect the 304 return code is the reason because Firefox set '1970-

RE: [EMAIL PROTECTED] RE: RE: Newbie problems, trying to get Apache HTTP Server working

2007-07-23 Thread ROTH, MARK, ATTSI
Dumb question: is that where apache's installed, and looking? You sure it's not /var/www/html? mark > -Original Message- > From: Graham Frank [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 22, 2007 2:58 AM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] RE: RE: New

Re: [EMAIL PROTECTED] Want to avoid 304 error

2007-07-23 Thread Bello Martinez Sergio
Thanks again, Joshua. You are right, it's my application that set 'must-revalidate' header. But it's not the problem, I've deleted it and all works exactly the same. I suspect the 304 return code is the reason because Firefox set '1970-01-01 01:00:00 (already expired)" expiry date, and not that

[EMAIL PROTECTED] Re: Custom 404 Error Page returning 200 status code - Apache/1.3.27 (Unix)

2007-07-23 Thread "Crash" Dummy
If you want to send the request to a different domain while preserving the error code returned to the requester, you can put a redirect meta tag in the local error page. In your eaxmple, "/error_pages/404.html" would look like this: http://www.remotedomain.com";> ;xx

Re: [EMAIL PROTECTED] Last Modified date of a document

2007-07-23 Thread Joshua Slive
On 7/23/07, Kaushal Shriyan <[EMAIL PROTECTED]> wrote: Thanks Victor But the information I was looking for Last Modified Date is missing when i run GET http://192.168.0.1/ HTTP/1.0 Please advice me how to go ahead in finding the Last Modified Date Information If you saw HTTP response headers

Re: [EMAIL PROTECTED] Want to avoid 304 error

2007-07-23 Thread Joshua Slive
On 7/23/07, Bello Martinez Sergio <[EMAIL PROTECTED]> wrote: Thank you for your respose. I've checked that browsers don´t work as you say they're supposed to work. When Apache aswers with a 304 response, the only cache-related header it includes by default into the response is 'Cache-Control: mus

Re: [EMAIL PROTECTED] Last Modified date of a document

2007-07-23 Thread Kaushal Shriyan
Thanks Victor But the information I was looking for Last Modified Date is missing when i run GET http://192.168.0.1/ HTTP/1.0 Please advice me how to go ahead in finding the Last Modified Date Information Thanks in Advance Kaushal On 7/23/07, Victor Trac <[EMAIL PROTECTED]> wrote: You'll n

Re: [EMAIL PROTECTED] Last Modified date of a document

2007-07-23 Thread Joshua Slive
On 7/23/07, Victor Trac <[EMAIL PROTECTED]> wrote: You'll need something a http version, e.g.: GET http://192.168.0.1/ HTTP/1.0 Getting closer, but still not quite. This is documented here: http://wiki.apache.org/httpd/WatchingHttpHeaders Joshua.

Re: [EMAIL PROTECTED] Last Modified date of a document

2007-07-23 Thread Victor Trac
You'll need something a http version, e.g.: GET http://192.168.0.1/ HTTP/1.0 --Victor On 7/23/07, Kaushal Shriyan <[EMAIL PROTECTED]> wrote: Thanks Owen Boyle How do i run the GET or HEAD command is it telnet 192.168.0.1 80 GET http://192.168.0.1/ Correct me if I am wrong Thanks and Reg

Re: [EMAIL PROTECTED] Last Modified date of a document

2007-07-23 Thread Kaushal Shriyan
On 7/23/07, Boyle Owen <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Kaushal Shriyan [mailto:[EMAIL PROTECTED] > Sent: Monday, July 23, 2007 7:37 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Last Modified date of a document > > Hi > > How can i know the Last Mod

Re: [EMAIL PROTECTED] Custom 404 Error Page returning 200 status code - Apache/1.3.27 (Unix)

2007-07-23 Thread Vincent Bray
On 23/07/07, Vincent Bray <[EMAIL PROTECTED]> wrote: On 23/07/07, Lanny Marcus <[EMAIL PROTECTED]> wrote: > Hello: The last line in the .htaccess file is > ErrorDocument 404 http://www.mydomainname.com/missing.html PS. 1.3.27 is somewhat out of date. Expired, one might say. How about using a (m

RE: [EMAIL PROTECTED] Last Modified date of a document

2007-07-23 Thread Boyle Owen
> -Original Message- > From: Kaushal Shriyan [mailto:[EMAIL PROTECTED] > Sent: Monday, July 23, 2007 7:37 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Last Modified date of a document > > Hi > > How can i know the Last Modified date of a document from the > URL, is ther

Re: [EMAIL PROTECTED] Custom 404 Error Page returning 200 status code - Apache/1.3.27 (Unix)

2007-07-23 Thread Vincent Bray
On 23/07/07, Lanny Marcus <[EMAIL PROTECTED]> wrote: Hello: The last line in the .htaccess file is ErrorDocument 404 http://www.mydomainname.com/missing.html The docs: http://httpd.apache.org/docs/2.2/mod/core.html#errordocument say: = Note that when you specify an ErrorDocument that poin

[EMAIL PROTECTED] Custom 404 Error Page returning 200 status code - Apache/1.3.27 (Unix)

2007-07-23 Thread Lanny Marcus
Hello: The last line in the .htaccess file is ErrorDocument 404 http://www.mydomainname.com/missing.html If someone tries to view a page that does not exist, the Custom 404 Error Page is displayed, properly. I am trying to get Google to verify that I am the owner of this site (so I can use their

RE: [EMAIL PROTECTED] Help needed with Location Directive

2007-07-23 Thread Chaitanya Nuguri
Thanks Boyle, for pointing that out. That worked. -Original Message- From: Boyle Owen [mailto:[EMAIL PROTECTED] Sent: 20 July 2007 13:25 To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Help needed with Location Directive > -Original Message- > From: ApacheIndian_chet

Re: [EMAIL PROTECTED] RewriteMap issue - Escaping a space

2007-07-23 Thread Andrew Dixon
Hi Joshua. Worked like a dream. Thanks. Andrew. On 19/07/07, Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/19/07, Andrew Dixon <[EMAIL PROTECTED]> wrote: > I tried using the THE_REQUEST, but that get a space in it as well as it > gives: > > GET /sub_page.cfm/title/Paris > Outbound/section/Gen

Re: [EMAIL PROTECTED] Want to avoid 304 error

2007-07-23 Thread Bello Martinez Sergio
Thank you for your respose. I've checked that browsers don´t work as you say they're supposed to work. When Apache aswers with a 304 response, the only cache-related header it includes by default into the response is 'Cache-Control: must-revalidate'. Internet Explorer 6.0 does nothing with it,

Re: [EMAIL PROTECTED] Dynamic virtual host

2007-07-23 Thread Matt Richards
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html http://en.wikipedia.org/wiki/Rewrite_engine http://www.oav.net/projects/mod_vhs/ http://www.oav.net/projects/mod_vhs/masterclass-linuxexpert.pdf

Re: [EMAIL PROTECTED] RE: RE: RE: Newbie problems, trying to get Apache HTTP Server working

2007-07-23 Thread Cary Conover
This is from My Blackberry. - Original Message - From: "Karri K." [EMAIL PROTECTED] Sent: 07/22/2007 01:17 AM MST To: users@httpd.apache.org Subject: [EMAIL PROTECTED] RE: RE: RE: Newbie problems, trying to get Apache HTTP Server working As it is said in Apache's website: "...Anothe