Re: request from mod_rewrite without proxy enabled

2006-10-05 Thread Sebastian Kayser
* Alwin Michael Schronen [EMAIL PROTECTED] wrote: ich versuche über Apache2 auf Zope zuzugreifen. Ich erhalte folgende Fehlermeldung: [Tue Oct 03 19:37:33 2006] [error] [client 192.168.1.102] attempt to make remote request from mod_rewrite without proxy enabled:

Re: request from mod_rewrite without proxy enabled

2006-10-05 Thread Sebastian Kayser
* Alwin Michael Schronen [EMAIL PROTECTED] wrote: ich versuche über Apache2 auf Zope zuzugreifen. Ich erhalte folgende Fehlermeldung: [Tue Oct 03 19:37:33 2006] [error] [client 192.168.1.102] attempt to make remote request from mod_rewrite without proxy enabled:

RE: [EMAIL PROTECTED] rewrite not working

2006-10-05 Thread Boyle Owen
-Original Message- From: Tony Heal [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 10:41 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] rewrite not working I am trying to use rewrite To do what? Give example of input URL and desired output URL. and it is

[EMAIL PROTECTED] Does Apache support UNC path syntax on windows?

2006-10-05 Thread Chen, Charles
I tried to define the DocumentRoot using a UNC path on windows (such as \\remoteserver\sharename, instead of Y:) and apache seems not to be able to interpret it as a network shared drive. Any idea how to get this to work? Charles -Original Message- From: Boyle Owen [mailto:[EMAIL

Re: [EMAIL PROTECTED] rewrite not working

2006-10-05 Thread Nick Kew
On Thursday 05 October 2006 14:47, Tony Heal wrote: I want http://192.168.2.106/twiki (the base directory path is /var/www/twiki) to go to http://192.168.2.106/twiki/bin/view (path is /var/www/twiki/bin/view). More likely you just want Alias /twiki /var/www/twiki/bin/view (or maybe you want

RE: [EMAIL PROTECTED] rewrite not working

2006-10-05 Thread Tony Heal
That did it, thanks. Tony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Thursday, October 05, 2006 9:52 AM To: users@httpd.apache.org; [EMAIL PROTECTED] Subject: Re: [EMAIL PROTECTED] rewrite not working On 10/5/06, Tony Heal [EMAIL

RE: [EMAIL PROTECTED] rewrite not working

2006-10-05 Thread Chen, Charles
If you only want to rewrite for index.html: Directory /var/www/twiki/ # Options +FollowSymLinks # DirectoryIndex index.html # RewriteRule /index\.html /bin/view [R] RewriteEngine on RewriteRule ^/twiki/index\.html$ /twiki/bin/view/index.html [P,L] Order Allow,Deny Allow

[EMAIL PROTECTED] Encodings, languages and filenames

2006-10-05 Thread Johan R.-Ericson
Hello!I apologise if this is an FAQ but I've tried finding an answer to this question with the usual suspects (google, FAQs, mailing list archives) but no such luck [granted, I may have unknowingly already stumbled across the answer...]. I am having trouble with getting filenames to reproduce

[EMAIL PROTECTED] Apache/PHP and obfuscated URLs

2006-10-05 Thread Ed Sawicki
I see that Apache 2.0 does not convert an obfuscated URL into its canonical form. For example, with this URL: http://www.example.com/url/hack I see the Web page and the access log shows this: 10-05 07:41 GET /url/hack HTTP/1.1 200 With this obfuscated URL:

Re: [EMAIL PROTECTED] mod_rewrite on 2.0.50

2006-10-05 Thread Jeff DeFord
Unfortunately, I can not get mod_proxy_html to load. I grabbed the latest source for mod_proxy_html and compiled it as follows: apxs -c -a -I/usr/local/include/libxml2/ -i mod_proxy_html.c which returns what looks to be a successful compile and install: chmod 755

[EMAIL PROTECTED] rewrite proxy and query string

2006-10-05 Thread David Salisbury
Just wondering if this is possible. Due to a technicality, I would like urls on our site asking for /dir/prog?gl/clouds.men* to be reverse proxied from http://another.domain.com/dir/prog?gl/clouds.men* So I'm trying. RewriteEngine on RewriteRule ^(/dir/prog?gl/clouds.men*)

Re: [EMAIL PROTECTED] SetEnvIfNoCase regex help

2006-10-05 Thread Joshua Slive
On 10/5/06, Fenlason, Josh [EMAIL PROTECTED] wrote: I'm trying to set no-gzip dont-vary when the content-type is application/pdf or application/zip, but I'm having trouble getting the regex portion of the SetEnvIfNoCase directive right. Here's what I have so far that doesn't work:

Re: [EMAIL PROTECTED] Really strange

2006-10-05 Thread Norbul
Iam not sure, but brobably you didn't add .php in include functions, checki it. - Original Message - From: AR [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Thursday, October 05, 2006 9:25 PM Subject: Re: [EMAIL PROTECTED] Really strange Hi, Line 10 is:

RE: [EMAIL PROTECTED] SetEnvIfNoCase regex help

2006-10-05 Thread Fenlason, Josh
That's good to know. I couldn't figure out why it wasn't working. :) Thanks for the quick response. , Josh. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Thursday, October 05, 2006 2:25 PM To: users@httpd.apache.org Subject:

[EMAIL PROTECTED] Re: rewrite proxy and query string

2006-10-05 Thread Joost de Heer
Doesn't seem to work though by itself. For this to work though, the docs say for the P flag Note: mod_proxy must be enabled in order to use this flag. [snip] using either one of the above gets me a proxy: No protocol handler was valid for the URL error. I assume you're using Apache 2.x.

[EMAIL PROTECTED] Limiting vhosts in a shared environment

2006-10-05 Thread Cyber Dog
Hi All, I'm working on a managed hosting project right now, running Apache 2. We've got quite a few vhosts set up running on shared hardware. Today we hit an interesting snag: one host, which gets fairly high traffic, running Ruby under FastCGI basically hit a condition that would hang their

Re: [EMAIL PROTECTED] Really strange

2006-10-05 Thread John Garvin
On 10/5/06, AR [EMAIL PROTECTED] wrote: Hi, I have this line of code in PHP: include_once('../config.inc.php'); I'm 100% sure that the file config.inc.php is a directory up. config.inc.php is in /var/www/html and the file that calls it is in /var/www/html/classes nevertheless, i'm getting

Re: [EMAIL PROTECTED] Apache/PHP and obfuscated URLs

2006-10-05 Thread Joshua Slive
On 10/5/06, Ed Sawicki [EMAIL PROTECTED] wrote: If I set AllowEncodedSlashs On, the request still results in a 404 message because of the other obfuscated characters. I'll try Apache version 2.2 later. As I said earlier, I'm happy that Apache behaves this way but I'd like to know why Apache/PHP

Re: [EMAIL PROTECTED] rewrite proxy and query string

2006-10-05 Thread David Salisbury
Thanks for the tip, and I have looked into it. Acutally, right now, in my deconstruction of this, I'm just trying to get mod_rewrite to rewrite _anything_! RewriteEngine on RewriteLogLevel 9 RewriteRule ^sda-bin(.*) ddl-bin$1 ScriptAlias /sda-bin/ /some/dir/# doesn't seem to mater

Re: [EMAIL PROTECTED] rewrite proxy and query string

2006-10-05 Thread Joshua Slive
On 10/5/06, David Salisbury [EMAIL PROTECTED] wrote: Thanks for the tip, and I have looked into it. Acutally, right now, in my deconstruction of this, I'm just trying to get mod_rewrite to rewrite _anything_! RewriteEngine on RewriteLogLevel 9 RewriteRule ^sda-bin(.*) ddl-bin$1 ScriptAlias

[EMAIL PROTECTED] permissions on command in script

2006-10-05 Thread Robert Bram
Hi All, I am using Windows Apache HTTP Server 2.0.55 with Cygwin on XP. I am trying to run the following bash script in my C:\Program Files\Apache Group\Apache2\cgi-bin dir: #!C:/cygwin/bin/bash.exe PATH=/usr/bin echo -e Content-type: text/html\n\n searchResult=`su rbram -c grep 'search term'

[EMAIL PROTECTED] Looking for some ideas on how to stop someone view an html page directly using Server Side Includes

2006-10-05 Thread Randy Paries
I need some ideas on how to solve this problem. I am thinking there has to be a way...I have a web server with thousands of users(each with their own sub-directories)In each of these sub directories is a file called main.html(btw these are the only htmls the rest of the site is jsp and perl, i

Re: [EMAIL PROTECTED] Looking for some ideas on how to stop someone view an html page directly using Server Side Includes

2006-10-05 Thread Chris Cheshire
What about putting main.html inside the WEB-INF folder hierarchy and having your index page do the SSI include of the main page. The web server should be set up to automatically deny all access to everything under WEB-INF but as an SSI type request this will not come into effect. I have done