[users@httpd] Re: Best way to redirect within .htacces

2011-09-13 Thread Carsten Wiedmann
Am 13.09.2011 19:03, schrieb atanasp...@mail.bg: Am 13.09.2011 15:50, schrieb Frank Gingras: Please see: http://httpd.apache.org/docs/trunk/rewrite/remapping.html#canonicalhost I guess you are using Apache 2.2 and not trunk (2.3 Beta), so better look at [1]. I've already seen it, but un

[users@httpd] Re: [mod_fcgid] Question about FcgidCmdOptions (InitialEnv) and session (cookie) problem with PHP

2011-02-09 Thread Carsten Wiedmann
Am 14.01.2011 10:13, schrieb Carsten Wiedmann: 1) With FcgidInitialEnv I write: | FcgidInitialEnv FOO "C:\\ProgramData\\Foo" but with FcgidCmdOptions it's: | FcgidCmdOptions "C:/usr/bin/cgi.exe" \ | InitialEnv FOO=C:\ProgramData\Foo I have to use a single backslash a

[users@httpd] [mod_ftp] accessing root path with firefox

2011-02-08 Thread Carsten Wiedmann
Hello all, there seems to be a problem, if I try to access "ftp://localhost/"; with firefox. Access is not not possible. Instead Apache is trying to serve an index document (DirectoryIndex) or if enabled an autoindex (Options Indexes). e.g. without mod_autoindex and "DirectoryIndex none" the

[users@httpd] Re: [mod_fcgid] Question about FcgidCmdOptions (InitialEnv) and session (cookie) problem with PHP

2011-01-31 Thread Carsten Wiedmann
Am 31.01.2011 16:50, schrieb Igor Galić: - "Carsten Wiedmann" wrote: OK, this seams to be a bug? If I enable | FcgidFixPathinfo 1 many scripts are broken. e.g. there is no logo in phpinfo(). Which version of mod_fcgid are you using? Did you check bugzilla? Ah, sorry: Windo

[users@httpd] Re: [mod_fcgid] Question about FcgidCmdOptions (InitialEnv) and session (cookie) problem with PHP

2011-01-31 Thread Carsten Wiedmann
Hello, 2) I also have a problem with PHP apps like phpMyAdmin. e.g. Cookie login is not working. After each request a new session file is created in the OK, this seams to be a bug? If I enable | FcgidFixPathinfo 1 many scripts are broken. e.g. there is no logo in phpinfo(). With this setting

[users@httpd] Re: Help with config

2011-01-14 Thread Carsten Wiedmann
Am 14.01.2011 10:54, schrieb Bob Wilson: DocumentRoot "C:/Users/User/My Documents/htdocs" IMHO "My Documents" should written as "Documents" in the config file. Thanks, but we think we've narrowed it down to an ACL problem with the 'user' directory I don't think so... I guess you don't know

[users@httpd] [mod_fcgid] Question about FcgidCmdOptions (InitialEnv) and session (cookie) problem with PHP

2011-01-14 Thread Carsten Wiedmann
Hello, 1) With FcgidInitialEnv I write: | FcgidInitialEnv FOO "C:\\ProgramData\\Foo" but with FcgidCmdOptions it's: | FcgidCmdOptions "C:/usr/bin/cgi.exe" \ |InitialEnv FOO=C:\ProgramData\Foo I have to use a single backslash and not a double backslash as usual. Why? Another problem: How ca

[users@httpd] Re: Help with config

2011-01-14 Thread Carsten Wiedmann
Am 13.01.2011 13:41, schrieb Bob Wilson: DocumentRoot "C:/Users/User/My Documents/htdocs" Which doesn't work with error message 'The requested operation has failed!' IMHO "My Documents" should written as "Documents" in the config file. Regards, Carsten

[us...@httpd] Re: Apache httpd does not respect the HTTP RFCs !

2009-12-01 Thread Carsten Wiedmann
Carsten Wiedmann schrieb: > It's the same as with: > | RewriteRule ^.*$ - [R=400] > > BTW: > If "httpd-multilang-errordoc.conf" is enabled, all above solutions are also > not working nice. Because now the error document shows: Just for the records. This is doing

[us...@httpd] Re: Apache httpd does not respect the HTTP RFCs !

2009-12-01 Thread Carsten Wiedmann
William A. Rowe Jr. schrieb: >> Well, and the error document with [R=400] (or other status codes) is also >> not multi language. > > Right; presume for a moment that anyone hitting your server with a bogus dns > reference or by-ip is doing so in a less-than-friendly, spidery or malicious > manner.

[us...@httpd] Re: Apache httpd does not respect the HTTP RFCs !

2009-12-01 Thread Carsten Wiedmann
William A. Rowe Jr. schrieb: > RewriteRule .* - [R=400] Hm, ok, I've never realized, that I can set other status codes in RewriteRule [R], then the well known redirect status codes (Redirection 3xx). A little bit curious? With [R=400] it's the same as with the Perl script (thanks for this hin

[us...@httpd] Re: Apache httpd does not respect the HTTP RFCs !

2009-11-30 Thread Carsten Wiedmann
William A. Rowe Jr. schrieb: > I agree it should be easier, Rich and I have it down to 3-4 lines of rewrite > magic > to kick out a 400, but we should probably allow this to be explicit [default?] That would be nice. And if I'm be able to set the status code in a RewriteRule and/or Header directi

[us...@httpd] Re: Apache httpd does not respect the HTTP RFCs !

2009-11-30 Thread Carsten Wiedmann
André Warnier schrieb: > But is is interesting to see how in the end, a document such as RFC2616 > which is meant to "specify" a relatively strict set of rules, and of > which I am sure the phrasing is examined carefully and repeatedly (it > being after all a revision of an earlier document on the

[us...@httpd] Re: Apache httpd does not respect the HTTP RFCs !

2009-11-28 Thread Carsten Wiedmann
André Warnier schrieb: > So how do you enumerate invalid hosts explicitly then ? Right, it's a little bit curious, that you can't set 400 with mod_rewrite (or header), only 403 (or 410). That's what I'm always doing: httpd-vhosts.conf: | NameVirtualHost *:80 | | | ServerName nohost | R

[EMAIL PROTECTED] Re: NameVirtualHost versus VirtualHost documentation

2008-09-25 Thread Carsten Wiedmann
Chris Pratt schrieb: > Hello, I have reason to add an additional IP temporarily to a > Virtual Host. I looked on the latest Apache 2.2 Documentation > and found that while the documentation > allows for multiple IP addresses, the NameVirtualHost > documentation allows for only one IP:Port combinat

[EMAIL PROTECTED] Re: Logging Options - Extended W3C Log Format?

2007-10-15 Thread Carsten Wiedmann
J R M schrieb: I've recently had a request from one of our clients to provide their logs in the 'Extended W3C Log Format'. From poking around google and reading http://www.w3.org/TR/WD-logfile.html the fomat looks awfully strange. Is it possible to configure Apache in a way to create logfile