Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-13 Thread Kaya Saman
You have to simulate what the browser would do. So "URL" or "hostname" must be http://the.url.you.never/told/us.here, OK? :) Whoops, sorry got so caught up in my own stuff major apologies!! URL is http://zeta-ray.optiplex-networks.com/munin/ This is one of the systems I have .htaccess passw

Re: [us...@httpd] Retrieving original Date: header field (httpd 2.2.3)

2009-10-13 Thread David Jonas
On 10/13/2009 10:57 AM, David Jonas wrote: How can one retrieve the original Date: request header? I believe the client just wasn't sending it. Sorry about the noise. Arg. - The official User-To-User support forum of the Apache

[us...@httpd] Retrieving original Date: header field (httpd 2.2.3)

2009-10-13 Thread David Jonas
How can one retrieve the original Date: request header? I'm implementing an HMAC-based authentication in PHP similar to Amazon's S3 authentication and I require the original Date: string for the hash. PHP's apache_request_headers() returns all but the Date. I tried using %{HTTP:Date} in a mod_

[us...@httpd] Authorisation using LDAP

2009-10-13 Thread Foster, Stephen (ASPIRE)
Hi there, I'm wanting to configure apache to provide authorisation using LDAP, my users already authenticate via another method so I only want to authorize access if the user belongs to a particular group or role. And I want to apply this access to both static content in my DocumentRoot and

[us...@httpd] mod_autoindex: AddDescription in web dir?

2009-10-13 Thread ivo welch
brief question. I like the mod_autoindex directory index. I would like to use the description field (AddDescription), but I don'w want to have to edit the /etc/httpd/ files and restart the server every time I want to do this. instead, I would much prefer to have a file in the directory itself th

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-13 Thread Marc Patermann
Kaya Saman schrieb: Using host: hostname from telnet I get this: You have to simulate what the browser would do. So "URL" or "hostname" must be http://the.url.you.never/told/us.here, OK? :) You could try Firefox and LiveHTTPHeaders add-on. http://www.mozilla-europe.org/de/firefox/ https://addon

Re: [us...@httpd] .htaccess files not working from internet? intranet access fine

2009-10-13 Thread Kaya Saman
What denies you access, squid or apache? Not sure about this one which is why initially I came here in the first place but it looks like I have eliminated apache as the culprit since internally I can gain access to .htaccess uname/passwd files no probs. Issue is with WAN connection so

[us...@httpd] SSL: Configuring CA Chains

2009-10-13 Thread Lars.Ove.Claesson
Hi. I'm trying to configure a set of CA Chains using the SSLCACertificatePath-parameter. I have three separate chains, one for each Intermedia CA I have. All these chains have the same Root CA. I see a few things: - When using SSLCACertificatePath, it seems like Apache is ignoring the verific

Re: [us...@httpd] .htaccess files not working from internet? intranet access fine

2009-10-13 Thread Tom Evans
On Mon, 2009-10-12 at 00:57 +0300, Kaya Saman wrote: > Hi, > > this is my first post here :-) > > basically I have google'd this issue a bit and finally realized that > there was no viable solution that I could deduce results from! > > I have a few servers running apache and some folders which

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-13 Thread Dick Davies
Do yourself a big favour and use something like curl. Telnet is a crappy way to test http. On Tue, Oct 13, 2009 at 1:19 PM, Kaya Saman wrote: > Using host: hostname from telnet I get this: > > [code] > HTTP/1.0 400 Bad Request > Server: squid/2.6.STABLE15 > Date: Tue, 13 Oct 2009 12:17:34 GMT > C

[us...@httpd] virtualhost doubt

2009-10-13 Thread Andre Rodrigues
Hi, I´ve configured a virtualhost like this: ServerName portal # SSL config JkMount /app dmb JkMount /app2 dmb Errorlog /var/log/apache2/app-error_log If user types http://portal/app the Errorlog would be "Errorlog /var/log/apache2/app-error_log". OR If user type http://portal/app

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-13 Thread Kaya Saman
Using host: hostname from telnet I get this: [code] HTTP/1.0 400 Bad Request Server: squid/2.6.STABLE15 Date: Tue, 13 Oct 2009 12:17:34 GMT Content-Type: text/html Content-Length: 1186 Expires: Tue, 13 Oct 2009 12:17:34 GMT X-Squid-Error: ERR_INVALID_REQ 0 X-Cache: MISS from NetraT1-Proxy Via: 1.

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-13 Thread Kaya Saman
Dick Davies wrote: On Tue, Oct 13, 2009 at 12:33 PM, Kaya Saman wrote: You have to type the GET bit yourself :) Oops... newbie mistake haha :-) Output: [code] GET url HTTP/1.1 HTTP/1.0 400 Bad Request Server: squid/2.6.STABLE15 Date: Tue, 13 Oct 2009 12:14:05 GMT Content-Type: text

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-13 Thread Dick Davies
On Tue, Oct 13, 2009 at 12:33 PM, Kaya Saman wrote: > I used: telnet {mydomain.com} 80 and it just gives me connected??? No 'get > url' etc... - am on Ubuntu 9.04 currently but even within the Solaris and > Cent OS servers I don't get that kind of response. You have to type the GET bit yourself

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-13 Thread Kaya Saman
Got a wireshark output on this and get: X-cache=MISS but nothing really distinguishable within the http headers. :-( - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-13 Thread Kaya Saman
Many thanks for the responses :-) I am back now with possible job placements which is a good sign! Matt, I tried telnet but my telnet version doesn't give me as specific detailed output as that I used: telnet {mydomain.com} 80 and it just gives me connected??? No 'get url' etc... - am on

Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine

2009-10-13 Thread matt farey
You can use a telnet Telnet hostname 80 GET url HTTP/1.1 Host: hostname Enter enter And see what comes back It strike me squid is not passing back the headers or you would see the browser pop up, but squid *is* seeing the challenge since it fails with 403. Now do same telnet direct to pag

Re: [us...@httpd] .htaccess files not working from internet? intranetaccess fine

2009-10-13 Thread Dick Davies
What's in the error/access logs on apache, Kaya? That should tell you whether it's apache blocking the request, or Squid. On Tue, Oct 13, 2009 at 9:45 AM, Kaya Saman wrote: > matt farey wrote: >> >> Did you ever investigate the response headers or lookup basic auth in >> squid? >> Sent from my B

[us...@httpd] DAV locktokens clashing?

2009-10-13 Thread Dick Davies
Any help with this would be very much appreciated - if this is the wrong list please let me know where it should go. I've got a reasonably biggish vhost with WebDAV over SSL enabled. Users are only allowed to access their own parts of the site. (I block them out with Require user foo Requi

Re: [us...@httpd] .htaccess files not working from internet? intranetaccess fine

2009-10-13 Thread Kaya Saman
matt farey wrote: Did you ever investigate the response headers or lookup basic auth in squid? Sent from my BlackBerry® wireless device Thanks for the response Matt!! I haven't checked the headers so will need to run Wireshark on it. Checked out basic auth in Squid and posted a line of c

Re: [us...@httpd] .htaccess files not working from internet? intranetaccess fine

2009-10-13 Thread matt farey
Did you ever investigate the response headers or lookup basic auth in squid? Sent from my BlackBerry® wireless device -Original Message- From: Kaya Saman Date: Tue, 13 Oct 2009 11:02:52 To: Subject: Re: [us...@httpd] .htaccess files not working from internet? intranet access fine Hi gu

Re: [us...@httpd] .htaccess files not working from internet? intranet access fine

2009-10-13 Thread Kaya Saman
Hi guys, sorry don't mean to be pushy or hasty but has anyone any idea of why my security within .htaccess isn't working through the internet??? I kinda got some responses which at least I think helped identify the problem more specifically but nothing to solve my issues... :-( Thanks again