Re: [EMAIL PROTECTED] Virtual hosts and mod_rewrite

2008-09-08 Thread Eric Covener
server" Is there an error log entry corresponding to the error? -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> f

Re: [EMAIL PROTECTED] finding the cause of a hung apache with 500+ child processes

2008-09-08 Thread Eric Covener
pstack against all the child processes you find when you have a hang, if you're curious about what they're doing. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP

Re: [EMAIL PROTECTED] HTTPS and SSL certificate issue + PKIX = javax.net.ssl.SSLHandshakeException

2008-09-08 Thread Eric Covener
er's issuer certificate, and all intermediate certificates between the root and your cert? For the latter, mod_ssl can send the certificate chain instead. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support

Re: [EMAIL PROTECTED] Apache and lingering close

2008-09-10 Thread Eric Covener
On Wed, Sep 10, 2008 at 10:05 AM, Arnab Ganguly <[EMAIL PROTECTED]> wrote: > Hi All, > I am getting lot of CLOSE_WAIT ,SYNC_RCV and TIME_WAIT state when I do a > netstat and result it is Apache pause. What does server-status say? What's MaxClients set to? Can you describe the

Re: [EMAIL PROTECTED] Apache and lingering close

2008-09-10 Thread Eric Covener
gt; Apache server is available still. > Thanks > -A Re: the high number of CLOSE_WAIT -- Do you have threads hanging in something like CGI or proxy? Any idea what the actual problem is? -- Eric Covener [EMAIL PROTECTED] - T

Re: [EMAIL PROTECTED] Checking if file or directory exist

2008-09-10 Thread Eric Covener
il.php isn't. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTEC

Re: [EMAIL PROTECTED] Checking if file or directory exist

2008-09-11 Thread Eric Covener
9 > where's RewriteBase? > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule . /p.php [L] You're not capturing or passing anything, and how do you get to mail.php? -- Eric Covener [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Url rewrite and Tomcat

2008-09-11 Thread Eric Covener
amp;pag=$4 [L] [PT] flag? -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAI

[EMAIL PROTECTED] redirects conundrum

2008-09-12 Thread Eric Bowman
example.com/a/"; which breaks everything else. Is there a way to prevent /balancer-manager from redirecting similar to how /bar doesn't redirect, but without proxying? Thanks in advance, Eric -- Eric Bowman Boboco Ltd [EMAIL PROTECTED] http:/

Re: [EMAIL PROTECTED] redirects conundrum

2008-09-12 Thread Eric Bowman
edirecting, we end up with big cookies that get sent with every request to the server. By redirecting to /a/, our cookies end up with the /a/ path and hence don't get sent with all the requests to /bar. Thanks, Eric -- Eric Bowman Boboco Ltd [EMAIL PROTECTED] http://www.boboco.ie/

Re: [EMAIL PROTECTED] redirects conundrum

2008-09-12 Thread Eric Bowman
Ben Spencer wrote: > You might want to look at > > http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule > > the "'redirect|R [=code]' (force redirect)" section? > > That's the ticket -- thanks! -- Eric Bowman Boboco Ltd [EMAIL PROT

Re: [EMAIL PROTECTED] PHP and .htaccess

2008-09-15 Thread Eric Covener
ff along with the RewriteBase) -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PR

Re: [EMAIL PROTECTED] chronological order for apache logs

2008-09-15 Thread Eric Covener
t; [15/08/2008] - ... > Not without post-processing. Requests are logged as they complete. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.

Re: [EMAIL PROTECTED] find out group-membership with php

2008-09-15 Thread Eric Covener
a member of. Authorization info doesn't seem to be propogated by Apache. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.

Re: [EMAIL PROTECTED] Help on Apache pause

2008-09-16 Thread Eric Covener
looking at backtraces of the running threads. They're likely stuck in some kind of handler. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apach

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Eric Covener
Is there some sort of workaround or hidden > parameter in the Apache LDAP modules that might fix this? Thanks! Is there any other header set by IE when it does this automatic authentication? Is the password really sent along with it? -- Eric

Re: [EMAIL PROTECTED] close to success with RewriteRule

2008-09-16 Thread Eric Covener
replacement string, ti will be interpeted as relative to your RewriteBase (but your RewriteBase can't just be made up, it has to be the URL that got you there) -- Eric Covener [EMAIL PROTECTED] - The official Use

Re: [EMAIL PROTECTED] close to success with RewriteRule

2008-09-16 Thread Eric Covener
ot protocol/host/post) http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritebase welcome/inde.php also has to be valid relative to your htaccess -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support for

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Eric Covener
solve my problem. I would rather use >> mod_authnz_ldap that mod_auth_sspi as it is included with Apache and is >> well-supported. The authentication/authorization modules don't read from the REMOTE_USER envir

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Eric Covener
om the beginning, anything before the backslash and > the backslash itself, if any such things. > - then match whatever is left, and capture it as $1 n/a to OP problem, but I think the regex can be shrunk to ([^\\]+) -- Eric Covener [EMAIL PROTECTED] -

Re: [EMAIL PROTECTED] Make Apache dump core in windows.

2008-09-17 Thread Eric Covener
es. > Thanks in advance. > Regards, > Prathima. > You need to configure drwtsn32 and tell it to be your crash debugger (drwtsn32 -i) -- Eric Covener [EMAIL PROTECTED] - The official User-To-User suppor

Re: [EMAIL PROTECTED] Responding to ping

2008-09-17 Thread Eric Covener
new connections (see ListenBacklog) -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-m

Re: [EMAIL PROTECTED] Re: close to success with RewriteRule

2008-09-17 Thread Eric Covener
n and was >> unable to complete your request. >> What does your error log say? -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/users

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Eric Covener
/ before maintenance.html, and Protect the rule by preceding it with RewriteCond %{REQUEST_URI} !=/maintenance.html (you can do the latter via your regex, but it's usually simpler to guard it the other way) -- Eric Covener [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Re: close to success with RewriteRule

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 3:39 PM, Yoom Nguyen <[EMAIL PROTECTED]> wrote: > Eric, > > There are nothing under the error_log. However, the access_log continue to > display the same line > > "GET /maintenance.html HTTP/1.1" 302 219 "--" "Mozilla/4.0

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Eric Covener
y gets unamangeable as you need to add captures (putting you into the realm of lookahead/lookbehind) and 2nd/3rd/4th escape hatches -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Serve

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 4:58 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Eric Covener wrote: >> >> On Wed, Sep 17, 2008 at 4:02 PM, André Warnier <[EMAIL PROTECTED]> wrote: >>>> >>>> (you can do the latter via your regex, but

Re: [EMAIL PROTECTED] Re: close to success with RewriteRule

2008-09-18 Thread Eric Covener
sensitive. Lines that begin with the hash character "#" are considered comments, and are ignored. Comments may not be included on a line after a configuration directive. Blank lines and white space occurring before a directive are ignored, so you ma

Re: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread Eric Covener
ust ultimately have the PT flag (and your substitution must be a URI not a filesystem path) but as Andre mentions you must be dilligent re: which point you use PT to copy the filename back to the URI. Subsequent rules don't run after the L or PT flags, when your rules are in httpd.conf ou

Re: [EMAIL PROTECTED] java app URL rewrite

2008-09-18 Thread Eric Covener
On Thu, Sep 18, 2008 at 6:26 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > Subsequent rules don't run after the L or PT flags, when your rules > are in httpd.conf outside of directory/location. Whoops, credited Andre's observation here in the first draft and lost it. -

Re: [EMAIL PROTECTED] Apache Control : Starting and Stopping Apache from foreign application

2008-09-18 Thread Eric Covener
read might give you some background: http://www.mail-archive.com/[EMAIL PROTECTED]/msg39402.html -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://h

Re: [EMAIL PROTECTED] Configuration Problems

2008-09-20 Thread Eric Covener
ndard path? > And spaces in paths will give you headaches, as soon as you start doing more > advanced things such a rewriting URLs for instance. Shouldn't be different then any other directive -- If you embed a space in an argument, quote the argument. --

Re: [EMAIL PROTECTED] Turning on-off Apache service in Win XP Pro SP 3

2008-09-21 Thread Eric Covener
.exe can create a service with -k install -n $servicename -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info.

Re: [EMAIL PROTECTED] Differences between different Apaches in file requests

2008-09-23 Thread Eric Covener
- [23/Sep/2008:15:35:30 +0200] "GET /%ED.JPG HTTP/1.1" 403 291 Nothing like mod_security in the picture? -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [EMAIL PROTECTED] Differences between different Apaches in file requests

2008-09-23 Thread Eric Covener
is no. Sorry, I meant "in the picture" as an idiom for "involved" -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/use

Re: [EMAIL PROTECTED] Problem compiling apache httpd 2.2.9 on HP-UX

2008-09-23 Thread Eric Covener
d in the Apache lib directory at runtime: perl -pi.bak -e 's#[^ ]+libexpat.la#-L$curdir/srclib/apr-util/xml/expat/lib/.libs/ -lexpat#; s#[^ ]+libapr-1.la##;" (the libapr part is probably for an issue not directly r

Re: [EMAIL PROTECTED] Differences between different Apaches in file requests

2008-09-24 Thread Eric Covener
n modern windows, I don't think filenames are stored in a local codepage, so that filename doesn't map to any file. It's likely reported as 403 instead of a 404 because a utility function barfs on the non-utf8 input (before calling into Windows to stat the ma

Re: [EMAIL PROTECTED] Problème avec mod_proxy et mod_ssl

2008-09-24 Thread Eric Covener
o write it out to the backend, but the 2nd line of the cert looks like a new header to the backend (headers are separated by newlines). -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP

Re: [EMAIL PROTECTED] Differences between different Apaches in file requests

2008-09-24 Thread Eric Covener
On Wed, Sep 24, 2008 at 4:40 PM, #V[Á]lentín <[EMAIL PROTECTED]> wrote: > So... maybe there is no solution? If it's only a few URLs, you might be able to use mod_rewrite to map from the singlebyte to the utf-8. -- Eric Covener [E

Re: [EMAIL PROTECTED] Differences between different Apaches in file requests

2008-09-25 Thread Eric Covener
O this should be a decent hint to keep someone from looking at permissions or authorization. Net, you have to carefully link to your non US-ASCII content on all platforms, you can't just type something semantically equivalent

Re: [EMAIL PROTECTED] Differences between different Apaches in file requests

2008-09-25 Thread Eric Covener
motivate trapping this error early (i.e. don't bother trying to map to a file if there's invalid utf-8 somewhere in the URL on windows). -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of t

Re: [EMAIL PROTECTED] Differences between different Apaches in file requests

2008-09-25 Thread Eric Covener
On Thu, Sep 25, 2008 at 9:26 AM, André Warnier <[EMAIL PROTECTED]> wrote: > Eric Covener wrote: > [...] >> >> IMO The 403 is returned in a path where errors imply a high likelyhood >> of someone actively trying to fool the server -- I don't think a 403 >>

Re: [EMAIL PROTECTED] Disable keepalive at runtime

2008-09-25 Thread Eric Covener
gt; RewriteCond %{HTTP_COOKIE} ^.*NO_KEEPALIVE=TRUE.*$ >> RewriteRule ^.*$ - [E=NO_KEEPALIVE:1] no-keepalive is the environment variable you want to set http://httpd.apache.org/docs/2.2/env.html#special -- Eric Covener [EMAIL PROTECTED] ---

Re: [EMAIL PROTECTED] Disable keepalive at runtime

2008-09-25 Thread Eric Covener
he URL and still manage to get it wrong > >> >> http://httpd.apache.org/docs/2.2/env.html#special -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See htt

Re: [EMAIL PROTECTED] Tricky URL rewriting question

2008-09-26 Thread Eric Covener
g domain.com to > otherdomain.com, so URL masking basically but across domains. You can proxy with the 'P' flag. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project.

Re: [us...@httpd] PDO install kills webserver

2008-09-28 Thread Eric Covener
ne instead of inside Apache (assuming it's not some conflict between the new postgress module and something else you're loading into Apache) -- Eric Covener [EMAIL PROTECTED] - The official User-To-User suppo

Re: [EMAIL PROTECTED] Question

2008-09-28 Thread Eric Covener
an Alias for those directories? Did you add a block matching the one for your DocumentRoot to allow access? -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http:

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread Eric Covener
gt; > How do I add an alias and/or add a directory block that will work? > > Here is what I am trying to do: > in the index.html file in C:/xampp/htdocs...I am trying to hyperlink like > this Music > Alias /music "d:/my music" Order allow,deny A

Re: [EMAIL PROTECTED] Question about virtual hosts

2008-09-29 Thread Eric Covener
> >DocumentRoot /home/jason.pruim/pruimphotography.info > common > Copy the container for your original document root to allow Apache to serve files from somewhere else. -- Eric Covener [EMAIL PROTECTED] -

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread Eric Covener
refresh config file. > > furthermore the link path upon clicking shows file:///D:/My Music rather > than http://localhost/D:/My Music Create a link to /music , not a link to a path in your filesystem (your HTML editor prob

Re: [EMAIL PROTECTED] Question

2008-09-29 Thread Eric Covener
tory listing. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Deny/Allow directives within have no effect [Workaround]

2008-09-29 Thread Eric Covener
;GET /protected/index.html >> HTTP/1.0" 200 7675 "-" "Wget/1.11" You need to use , not . This content isn't served out of /path/to/protected, so the configuration for that directory isn't applicable. -- Eric Covener [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Question about SSL and Apache and a certificate error

2008-09-29 Thread Eric Covener
error): You can't do this -- you get that popup during the SSL handshake, which has completed long before you can get redirected. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache

Re: [EMAIL PROTECTED] Deny/Allow directives within have no effect [Workaround]

2008-09-29 Thread Eric Covener
On Mon, Sep 29, 2008 at 5:20 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Eric Covener wrote: >>>> >>>> >>>>Order deny,allow >>>>Allow from 192.168 >>>>Deny from all >>>>Al

Re: [EMAIL PROTECTED] Creating a relocatable build of apache

2008-09-29 Thread Eric Covener
tall" into an extremely unlikely to exist path. (also, invoke apachectl instead of httpd to make sure bin/envvars is used) -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP

Re: [EMAIL PROTECTED] Creating a relocatable build of apache

2008-09-29 Thread Eric Covener
ll need to update every reference you can find under your install tree, replacing the old root with the new root. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Proje

Re: [EMAIL PROTECTED] Protecting a Directory

2008-10-03 Thread Eric Covener
ror and was unable to complete your > request. Either the server is overloaded or there was an error in a CGI > script. Read your error log. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the

Re: [EMAIL PROTECTED] Protecting a Directory

2008-10-03 Thread Eric Covener
> AuthUserFile xampp/htdocs//.htpasswd Is that really a relative path? Also, your passwords should not be under your DocumentRoot or any Aliases. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support fo

Re: [EMAIL PROTECTED] Serving blank page when content size increases

2008-10-05 Thread Eric Covener
On Sun, Oct 5, 2008 at 2:51 PM, Alec Lebedev <[EMAIL PROTECTED]> wrote: > There are no errors written in error_log, but access_log reflects that the > file was being accessed. > Any thoughts? EnableSendfile off EnableMMAP off -- Eric Covener [

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-06 Thread Eric Covener
ainst. To compare against the query string, precede your rule with Rewritecond %{QUERY_STRING} pagina=home (and remove the query string part. The 2nd parameter of your RewriteRule should be a full URL (host/port/path) or just "/" in this case would work, and should not have any regex

Re: [EMAIL PROTECTED] Address rewriting with mod_rewrite

2008-10-06 Thread Eric Covener
On Mon, Oct 6, 2008 at 12:18 PM, Mauro Sacchetto <[EMAIL PROTECTED]> wrote: > Il lunedì 6 ottobre 2008 15:55:33 Eric Covener ha scritto: >> The query string (after the question mark) isn't part of what you're >> comparing against. To compare against the query st

Re: [EMAIL PROTECTED] Problem with DynDns and Apache Virtual Hosts

2008-10-08 Thread Eric Covener
e > url pointing a page from the first domain. Maybe a redirect setup by your distros packaging in your default vhost. -- Eric Covener [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] initgroups() failure

2008-10-08 Thread Eric Covener
e seen initgroups() crash when LDAP is used on linux from nsswitch.conf and Apache is linked with some other LDAP. Does initgroups have anything interesting in the manual your system for those errno values? -- Eric Covener [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Problem with DynDns and Apache Virtual Hosts

2008-10-09 Thread Eric Covener
respond if the client ends up at an IP address the server is listening on. If you don't want to show your real content, make your default vhost serve a dummy page or return an error. -- Eric Covener [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Problem with DynDns and Apache Virtual Hosts

2008-10-09 Thread Eric Covener
On Thu, Oct 9, 2008 at 5:28 PM, Bartłomiej Siwek <[EMAIL PROTECTED]> wrote: > P.S. I don't know if I mentioned this but the box runs Debian 4.0 > Debian has a redirect in the "default" vhost. Check your configuration. -- Eric Covener [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Directory Access need deny

2008-10-12 Thread Eric Covener
72.16.0.0/255.255.0.0 Looks good here. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To uns

Re: [EMAIL PROTECTED] files ending with '.' treated as if the '.' is not there

2008-10-13 Thread Eric Covener
afhd' one. manual for mod_mime describes this interaction between multiple extensions (all of which are considered) and AddHandler http://httpd.apache.org/docs/2.2/mod/mod_mime.html#multipleext -- Eric Covener [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] files ending with '.' treated as if the '.' is not there

2008-10-13 Thread Eric Covener
ram which allows a user to rename a file, but > bans server-executable extensions such as '.php', '.cgi', etc, the > programmer would not automatically realise that the user can get around that > by placing a '.' at the end. > > I'd like to know i

Re: [EMAIL PROTECTED] "support" for end-user source modifications

2008-10-13 Thread Eric Covener
ost straighforward of the requirements. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe,

Re: [EMAIL PROTECTED] "support" for end-user source modifications

2008-10-14 Thread Eric Covener
On Tue, Oct 14, 2008 at 1:15 PM, Rick Jones <[EMAIL PROTECTED]> wrote: > Eric Covener wrote: >> >> On Mon, Oct 13, 2008 at 8:25 PM, Rick Jones <[EMAIL PROTECTED]> wrote: >> >> >>> http://www.spec.org/web2005/docs/1.20/run_rules.html#OpenSourceRules &

Re: [EMAIL PROTECTED] memory usage in apache2 on debian 32 and 64bits

2008-10-14 Thread Eric Covener
.. > > I've seen in a Debian 64 bits that a apache runs every process with more > than 100MB. This is a pain in the neck to obtain a big number of > processes waiting for a connection. I assume this is the worker MPM. Are ThreadsPerChild and ulimit -s the same on both systems?

Re: [EMAIL PROTECTED] mod_rewrite, mod_proxy, order of execution?

2008-10-15 Thread Eric Covener
On Wed, Oct 15, 2008 at 7:25 AM, howard chen <[EMAIL PROTECTED]> wrote: > Thanks. > > On Wed, Oct 15, 2008 at 7:19 PM, Eric Covener <[EMAIL PROTECTED]> wrote: >> Only where they overlap and it's before 2.2, because it's undefined as >> to which will r

Re: [EMAIL PROTECTED] mod_rewrite, mod_proxy, order of execution?

2008-10-15 Thread Eric Covener
On Wed, Oct 15, 2008 at 7:07 AM, howard chen <[EMAIL PROTECTED]> wrote: > Hello, > > On Wed, Oct 15, 2008 at 6:49 PM, Eric Covener <[EMAIL PROTECTED]> wrote: >> On Wed, Oct 15, 2008 at 4:47 AM, howard chen <[EMAIL PROTECTED]> wrote: >>> >>>

Re: [EMAIL PROTECTED] mod_rewrite, mod_proxy, order of execution?

2008-10-15 Thread Eric Covener
ProxyPass when it "overlaps" with other RewriteRules. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for mor

Re: [EMAIL PROTECTED] Apache directory access & Suse AppArmor

2008-10-15 Thread Eric Covener
Apache config and traditional filesystem permissions. > This should be a physical on-disk directory, not a URL-path or a directory name under your document root. If there's no literal directory /images/ in your filesystem, this snippet configuration never applies. -- Eric

Re: [EMAIL PROTECTED] Apache directory access & Suse AppArmor

2008-10-16 Thread Eric Covener
On Wed, Oct 15, 2008 at 8:52 AM, Yoom Nguyen <[EMAIL PROTECTED]> wrote: > Eric, > > It seems if I enable /srv/www/domainroot/images/* via AppArmor then > I don't even need to declare in Apache configuration > file. Is this true? It's true that making the files

Re: [EMAIL PROTECTED] Apache directory access & Suse AppArmor

2008-10-16 Thread Eric Covener
On Wed, Oct 15, 2008 at 10:55 PM, Yoom Nguyen <[EMAIL PROTECTED]> wrote: > Eric, > > I got most of what you described but there are still something unclear to me. > If I want the WHOLE directory /images to allow view by the OS (AppArmor) and > deny view via the network by

Re: [EMAIL PROTECTED] unicode in basic auth

2008-10-17 Thread Eric Covener
d on the Accept-Language header. mod_authnz_ldap is a little unique in that it knows what to convert _to_ because the spec says things are stored in UTF-8. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User suppo

Re: [EMAIL PROTECTED] Apache directory access & Suse AppArmor

2008-10-17 Thread Eric Covener
ur error log and access log. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EM

Re: [EMAIL PROTECTED] [EMAIL PROTECTED]

2008-10-17 Thread Eric Covener
th a rewritecond: RewriteCond %{REQUEST_URI} !vanity_url RewriteRule (.*)$ /domain$1 [PT,L] -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apa

Re: [EMAIL PROTECTED] Cross-domain problem

2008-10-18 Thread Eric Covener
configure server1 to reverse proxy it to server2. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html Anything else would be OT here. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apach

Re: [EMAIL PROTECTED] Reverse proxy (cross domain) - ProxyPass issue

2008-10-19 Thread Eric Covener
quest HTML to server1: > oXmlHttpRequest.open("GET", > "http://server1.aabbcc.com/RemoteServerTest/RemoteServer.asp";, false); Stop creating new threads. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User suppo

Re: [EMAIL PROTECTED] DirectoryIndex reset ?

2008-10-19 Thread Eric Covener
umentation issue. > > In any case, here it is : > > Suggestion : > DirectoryIndex disable (or none) committed to trunk in http://svn.apache.org/viewvc?rev=706001&view=rev and proposed for backport to 2.2.x -- potential hitch in breaking existing "Director

Re: [EMAIL PROTECTED] Reverse proxy (cross domain) - ProxyPass issue

2008-10-19 Thread Eric Covener
argument looks correct. See the examples that use a path followed by a URL: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTT

Re: [EMAIL PROTECTED] Reverse proxy (cross domain) - ProxyPass issue

2008-10-19 Thread Eric Covener
On Sun, Oct 19, 2008 at 9:13 AM, Amir Porat <[EMAIL PROTECTED]> wrote: > > Now I'm getting "permission denied" msg. > > Do I need to add this: ./configure --enable-proxy?? Probably not. What does your error log say?

Re: [EMAIL PROTECTED] Reverse proxy (cross domain) - ProxyPass issue

2008-10-19 Thread Eric Covener
15:30:56 2008] [notice] Child 27688: Starting thread to listen > on port 80. Maybe the 403 just comes from the backend server -- have you looked at any logs there? Try LogLevel debug on both, sending the request directly to the origin server, or looking at a packet trace between the two webs

Re: [EMAIL PROTECTED] DirectoryIndex reset ?

2008-10-19 Thread Eric Covener
On Sun, Oct 19, 2008 at 11:21 AM, Sascha Kersken <[EMAIL PROTECTED]> wrote: > Hey all, > > Eric Covener schrieb: >>> >>> Suggestion : >>> DirectoryIndex disable (or none) >>> >> >> committed to trunk in http://svn.apache.org/v

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread Eric Covener
t; > The problem is that Apache doesn´t try to use the flat file to authenticante > the users. It only uses the LDAP authenticate module, even though the > directive AuthzLDAPAuthoritative is set to off. You need to tell basic auth to look there: AuthBasicProvider ldap file -- Eric

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread Eric Covener
On Tue, Oct 21, 2008 at 1:58 PM, Rodney Ramos <[EMAIL PROTECTED]> wrote: > Hi, Eric. Thank you for your answers. > > I´ve tried to do what you said, setting the directive AuthBasicProvider as > below: > > AuthBasicProvider ldap file > > But the problem is the same

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread Eric Covener
On Tue, Oct 21, 2008 at 1:43 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Eric Covener wrote: >> >> On port 389, MSAD might send you on a lengthy wild goose-chase of LDAP >> referrals. >> > Eric, can you elaborate a bit on that, or direct me/us to some addi

Re: [EMAIL PROTECTED] Rewrite rule preventing directory authentication

2008-10-22 Thread Eric Covener
RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule . /index.php [L] > SecFilterEngine off > > > Problem is that the first .htaccess clashes with the second, making > the protected directory give a 404: Have you tried In the subdir,

Re: [EMAIL PROTECTED] Rewrite rule preventing directory authentication

2008-10-22 Thread Eric Covener
say I fully understand what you're describing. -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info.

Re: [EMAIL PROTECTED] vhosts problem

2008-10-23 Thread Eric Covener
l sideof the conection is your 192.168.0.190, it can then only choose between the 192.168.0.190 vhosts and not the other ones with the external IP address. You can use a single NameVirtualHost *:80 and make all your VirtualHost containers *:80, and then the ServerName/ServerAlias will "just work",

Re: [EMAIL PROTECTED] vhosts problem

2008-10-23 Thread Eric Covener
/html/abcorg gives you a nice concise view. Every dir has to be readable by the apache user (usually the "other" permissions), and the final directory also must be executable. This could also be SELinux, if that's possible on your system. http://wiki.apache.org/httpd/13Permissi

Re: [EMAIL PROTECTED] directory contents not displaying

2008-10-23 Thread Eric Covener
On Thu, Oct 23, 2008 at 11:32 AM, Marc Fromm <[EMAIL PROTECTED]> wrote: > I built a new server running linux and httpd-2.2.3-11.el5_1.3. Are the files listed by mod_autoindex or some of your own code? SELinux? -- Eric Covener [EMAIL

Re: [EMAIL PROTECTED] vhosts problem

2008-10-24 Thread Eric Covener
ced, how to config > httpd run well? > Read your RHEL documentation and see ls -lZ output of a directory/file that can be served (likely in the default docrot. There's httpd-specific SELlinux policy, if you want httpd to serve files you have to mark them properly with chcon. --

Re: [EMAIL PROTECTED] Issue with SSL configuration.

2008-10-28 Thread Eric Covener
> [Tue Oct 28 10:20:00 2008] [error] [client HOST] Invalid method in > request \x16\x03\x01 This is an SSL handshake coming in over a non-SSL virtualhost. In isolation your vhost looked correct, can you include apachectl/httpd/apache2ctl -S output? -- Eric Covener [EMAIL PRO

Re: [us...@httpd] q: transfer encoding request header "te: chunked"

2008-10-30 Thread Eric Covener
. Can the header "te: chunked" >explain such behaviour or is there something else wrong? If it's a chunked request body, it's likely not a GET -- so it won't be cached. See "what can be cached" here: http:

Re: [EMAIL PROTECTED] Issue with SSL configuration.

2008-10-30 Thread Eric Covener
. If so, that's not right - a proxy is >> simply a way of forwarding HTTP requests so that all data are >> transferred by HTTP. No need for the servers to see each other's files. You haven't configured Apache to proxy anything. http://htt

Re: [us...@httpd] Ubuntu - Apache replies "Could not reliably determine the server's fully qualified..."

2008-10-31 Thread Eric Covener
al for you to understand > this particular message: > "httpd: Could not reliably determine the server's fully qualified > domain name, using 127.0.1.1 for ServerName" Add a ServerName directive to your configuration. The value should be a fully qualified domain name that c

<    1   2   3   4   5   6   7   8   9   10   >