Fwd: [EMAIL PROTECTED] Help needed in writing RewriteRule

2007-05-21 Thread Indraveni
My apache server is also running in indraveni hostname. Note: forwarded message attached. Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Click here: http://in.messenger.yahoo.com/webmessengerpromo.php--- Begin Message --- Hi, I am trying to deploy my pl

[EMAIL PROTECTED] Help needed in writing RewriteRule

2007-05-21 Thread Indraveni
Hi, I am trying to deploy my plone site using apache2 web server. I am using Debian Operating System, apache2 -2.2, and plone 2.5.1. I have my plone site running in the following link, http://localhost:8081/cdac, and my apache webserver running in http://localhost:80. Now I want to redi

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-21 Thread Tim Johnson
On Tuesday 22 May 2007 02:05, Stephen wrote: > > I don't see a `DocumentRoot' variable in the apache2 httpd.conf. > > Can I add that variable and will it have the same effect . Hi Stephen: > Look at some of the nested/included *.conf files. There is no path called `included'. the directo

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-21 Thread Stephen
Tim Johnson wrote: Hello: Using apache2 on kubuntu 7.04 (amd_64) On my older machine, which is slack 10.0, and (I think) apache 1.3.32, httpd.conf contains a DocumentRoot variable which can "override" the apache default document path. I don't see a `DocumentRoot' variable in the apache2 http

[EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-21 Thread Tim Johnson
Hello: Using apache2 on kubuntu 7.04 (amd_64) On my older machine, which is slack 10.0, and (I think) apache 1.3.32, httpd.conf contains a DocumentRoot variable which can "override" the apache default document path. I don't see a `DocumentRoot' variable in the apache2 httpd.conf. Can I add that

Re: [EMAIL PROTECTED] Default Language autoindex output

2007-05-21 Thread Bob Scrachy
If I've been reading the support docs correction (whcih i probably haven't) the only thing AddCharset UTF-8 .utf8 does is define index.html files as having that particular charset. quote # Commonly used filename extensions to character sets. You probably # want to avoid clashes with the l

Re: [EMAIL PROTECTED] Default Language autoindex output

2007-05-21 Thread William A. Rowe, Jr.
Bob Scrachy wrote: > So I'm out of luck if i want to have french descriptions for files in my > apache generated index? not if you edit your httpd.conf in utf-8. Bill - The official User-To-User support forum of the Apache HTTP

Re: [EMAIL PROTECTED] Default Language autoindex output

2007-05-21 Thread Bob Scrachy
So I'm out of luck if i want to have french descriptions for files in my apache generated index? "William A. Rowe, Jr." <[EMAIL PROTECTED]> wrote: Bob Scrachy wrote: > How does one change the default charset of autoindex to french characters? Rename your files. httpd on unix dumps them however

Re: [EMAIL PROTECTED] Default Language autoindex output

2007-05-21 Thread William A. Rowe, Jr.
Bob Scrachy wrote: > How does one change the default charset of autoindex to french characters? Rename your files. httpd on unix dumps them however you've encoded them. Most sane folks use utf-8 these days. - The official Use

[EMAIL PROTECTED] Default Language autoindex output

2007-05-21 Thread Bob Scrachy
How does one change the default charset of autoindex to french characters? Thank you ~Bob

[EMAIL PROTECTED] Experience in mod_rewrite in Apache 2.2

2007-05-21 Thread Dmitriy Gorbenko
Hello everyone, Recently I begin learn capabilities of mod_rewrite, and found that task, which I want to resolv, did not resolvs with help of mod_rewrite (or I wrongly thinking, and I want to consult). So, I have Router host, which stand on border between my local network an Internet. Also,

Re: [EMAIL PROTECTED] Automatic rewrite of Latin-1 and Accentless URL to UTF-8 IRI

2007-05-21 Thread Patrick Andries
Hapax a écrit : Nick Kew a écrit : On Mon, 21 May 2007 02:55:24 -0400 Hapax <[EMAIL PROTECTED]> wrote: Hello, I was wondering if someone would know how to automatically support the rewriting (aliasing ?) of URL on a whole site to do the following. [chop] Are you talking about H

Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread Joshua Slive
On 5/21/07, Neil A. Hillard <[EMAIL PROTECTED]> wrote: Hi, Joshua Slive wrote: > In any case, this isn't going to work. The regular expression used in > RewriteCond (and RewriteRule and SetEnvIf) cannot contain variables. > It is compiled at server-start and doesn't have access to anything >

Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread Neil A. Hillard
Hi, Joshua Slive wrote: > On 5/21/07, Krist van Besien <[EMAIL PROTECTED]> wrote: >> On 5/21/07, West, Chris <[EMAIL PROTECTED]> wrote: >> > Hi Krist, >> > >> > Sorry to get back to you again, I have tried the format you described >> > and still have problems, is the following how you would expect

RE: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread West, Chris
Thanks Joshua, After much banging of head on walls I was beginning to suspect that it wasn't going to work. I'll cut my losses now. Regards Chris West Information Analyst EDS - UKIMEA Commercial AIU WoodHill House (2nd Floor) Westburn Road Aberdeen AB16 5GB ( Phone:+44 (0)1224 422517) + mailt

Re: [EMAIL PROTECTED] Literal Question Mark in Rewrite Substitution

2007-05-21 Thread Joshua Slive
On 5/21/07, Jeffrey Robert Spies <[EMAIL PROTECTED]> wrote: This question has been asked all over the internet, but I have yet to find an answer. I want a literal question mark in my substitution: RewriteRule ^user/([^/\.]+)/\?([^/\.]+)\=([^/\.]+)$ /index.php?user= $1&$2=$3 [R] Backslashing it

Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread Joshua Slive
On 5/21/07, Krist van Besien <[EMAIL PROTECTED]> wrote: On 5/21/07, West, Chris <[EMAIL PROTECTED]> wrote: > Hi Krist, > > Sorry to get back to you again, I have tried the format you described > and still have problems, is the following how you would expect the > rewrite condition to look? I hav

[EMAIL PROTECTED] Literal Question Mark in Rewrite Substitution

2007-05-21 Thread Jeffrey Robert Spies
This question has been asked all over the internet, but I have yet to find an answer. I want a literal question mark in my substitution: RewriteRule ^user/([^/\.]+)/\?([^/\.]+)\=([^/\.]+)$ /index.php?user= $1&$2=$3 [R] Backslashing it does not work. Trying to capture it with a .* fails. I

Re: [EMAIL PROTECTED] mod_define.so

2007-05-21 Thread Jens Schoenershoven
Hi, mod_define is a third party module (if I remember it correctly), first hit in google: http://www.science.uva.nl/htdocs/manual/mod/mod_define.html It only works for Apache 1.3 so there is no mod_define for 2.x. You have to do some code changes to apply it for Apache 2.x. Martijn wrote:

[EMAIL PROTECTED] mod_define.so

2007-05-21 Thread Martijn
Hello. While migrating from Apache 1.3.33 to Apache 2.0.52, I am using the old httpd.conf -that was written by someone else- as a basis to write a new one. I found the following line: LoadModule define_module libexec/apache/mod_define.so but I can't find a mod_define.so anywhere on the new sys

Re: [EMAIL PROTECTED] Automatic rewrite of Latin-1 and Accentless URL to UTF-8 IRI

2007-05-21 Thread Hapax
Nick Kew a écrit : On Mon, 21 May 2007 02:55:24 -0400 Hapax <[EMAIL PROTECTED]> wrote: Hello, I was wondering if someone would know how to automatically support the rewriting (aliasing ?) of URL on a whole site to do the following. [chop] Are you talking about HTT

RE: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread West, Chris
Thanks Krist, I will defintely do that and check it out. regards Chris West Information Analyst EDS - UKIMEA Commercial AIU WoodHill House (2nd Floor) Westburn Road Aberdeen AB16 5GB ( Phone:+44 (0)1224 422517) + mailto:[EMAIL PROTECTED] This email contains information which is confidential

Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread Krist van Besien
On 5/21/07, West, Chris <[EMAIL PROTECTED]> wrote: Hi Krist, Sorry to get back to you again, I have tried the format you described and still have problems, is the following how you would expect the rewrite condition to look? I have tried both, neither giving the result expected. 1. Rewrit

RE: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread West, Chris
Hi Krist, Sorry to get back to you again, I have tried the format you described and still have problems, is the following how you would expect the rewrite condition to look? I have tried both, neither giving the result expected. 1. RewriteCond %{HTTP_REFERER} ^.*%{ENV:SERVER_NAME}.*$ [OR]

RE: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread West, Chris
Hi Krist, The SERVER_NAME variable is a standard HTTP header environment variable from the request we issue for the website. Perhaps I was making a mistake with the way that I was referencing the variable. Thanks for the reply, I can now definitely discount the SetEnvIf method at least, and go b

Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread Krist van Besien
On 5/21/07, West, Chris <[EMAIL PROTECTED]> wrote: I am trying to perform some conditional logic in my httpd.conf file comparing two environment variables, the result of which will be used to limit the logging in my referer logfile. I have tried using both SetEnvIf and RewriteCond to perform

[EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread West, Chris
I am trying to perform some conditional logic in my httpd.conf file comparing two environment variables, the result of which will be used to limit the logging in my referer logfile. I have tried using both SetEnvIf and RewriteCond to perform the logic in the following ways. 1: Using SetEnvIf

RE: [EMAIL PROTECTED] shutting down apache from a 'C' program

2007-05-21 Thread Boyle Owen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, May 21, 2007 7:47 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] shutting down apache from a 'C' program > > Hi, > > We are trying to shutdown apache server through a 'C' program.

Re: [EMAIL PROTECTED] Automatic rewrite of Latin-1 and Accentless URL to UTF-8 IRI

2007-05-21 Thread Nick Kew
On Mon, 21 May 2007 02:55:24 -0400 Hapax <[EMAIL PROTECTED]> wrote: > Hello, > > I was wondering if someone would know how to automatically > support the rewriting (aliasing ?) of URL on a whole site to do the > following. [chop] Are you talking about HTTP headers or document bodies? In the