Re: [us...@httpd] htaccess under Windows xp/7

2010-09-03 Thread Steven Pierce
On 9/3/10 3:52 PM, Alain Roger wrote: Hi, i use Apache under Windows 7 and i have not problem with it. however, after installing Joomla i tried to use the rewrite mode checking the SEF but without success. once setup like that i have a blank page and an error 404 page not found :-( any idea

[us...@httpd] htaccess under Windows xp/7

2010-09-03 Thread Alain Roger
Hi, i use Apache under Windows 7 and i have not problem with it. however, after installing Joomla i tried to use the rewrite mode checking the SEF but without success. once setup like that i have a blank page and an error 404 page not found :-( any idea from where it can come ? thanks -- Alain

Re: [us...@httpd] .htaccess deny question

2010-06-24 Thread Tom Evans
On Thu, Jun 24, 2010 at 5:22 PM, Industrial Blue wrote: > Here you are: > > order allow,deny > deny from 12.3.80 > deny from 12.3.81 > ... > deny from *n\.example.com > ErrorDocument 403 "This IP is blocked." > allow from all > > > That's it!  Thanks for any help. > That is incorrect syntax. It w

Re: [us...@httpd] .htaccess deny question

2010-06-24 Thread Industrial Blue
, June 23, 2010 11:21:27 PM Subject: Re: [us...@httpd] .htaccess deny question Post the complete case including the order statement. Also i dont think you need the backslashes. Sent from my phone On Jun 24, 2010 1:38 AM, "Industrial Blue" wrote: > >I'm having a heck of a

Re: [us...@httpd] .htaccess deny question

2010-06-23 Thread Igor Cicimov
Post the complete case including the order statement. Also i dont think you need the backslashes. Sent from my phone On Jun 24, 2010 1:38 AM, "Industrial Blue" wrote: I'm having a heck of a time trying to get this to work. I have a .htaccess file which is working fine. I now have a requiremen

[us...@httpd] .htaccess deny question

2010-06-23 Thread Industrial Blue
I'm having a heck of a time trying to get this to work. I have a .htaccess file which is working fine. I now have a requirement to restrict/deny any server ending with the letter 'n' from example.com For example, I want to deny the server 123n.example.com but still allow all other servers (no

Re: [us...@httpd] htaccess and httpd.conf precedence (mod_deflate)

2010-06-01 Thread Joost Schuttelaar
Hi Eric, > two pieces of trivia that might fill in some blanks: > > 1) SetEnv runs much later than SetEnvIf/BrowserMatch no matter what > context you place it in > > 2) somewhat counterintuitively,entry at a higher then your htaccess so the htaccess is > processed second? Thanks a lot! Act

Re: [us...@httpd] htaccess and httpd.conf precedence (mod_deflate)

2010-06-01 Thread Eric Covener
On Tue, Jun 1, 2010 at 12:12 PM, Joost Schuttelaar wrote: > Hi everybody, > > I'm running a Apache installation using a standard DirectAdmin setup, but I'm > having problems with handling of gzipped output. > > One of my PHP scripts outputs a .ZIP file (with appropriate headers). By > default, t

[us...@httpd] htaccess and httpd.conf precedence (mod_deflate)

2010-06-01 Thread Joost Schuttelaar
Hi everybody, I'm running a Apache installation using a standard DirectAdmin setup, but I'm having problems with handling of gzipped output. One of my PHP scripts outputs a .ZIP file (with appropriate headers). By default, the output of this script gets gzipped by mod_deflate. Of course there

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread J. Bakshi
On 05/27/2010 05:22 PM, Nilesh Govindarajan wrote: > Guys stop fighting. The problem has been solved. That's all. (.) > > I have already kept myself silence Nilesh. Thanks for your kind clues and also thanks to Tom as he has pointed out some really good links for me. Wish you all a nice time.

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Nilesh Govindarajan
On Thu, May 27, 2010 at 3:18 PM, Tom Evans wrote: > On Thu, May 27, 2010 at 10:42 AM, J. Bakshi wrote: >> On 05/27/2010 02:59 PM, Tom Evans wrote: >>> On Thu, May 27, 2010 at 10:23 AM, J. Bakshi wrote: >>> Yes, I post here frequently and I get some really nice solution from this list.

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Tom Evans
On Thu, May 27, 2010 at 10:42 AM, J. Bakshi wrote: > On 05/27/2010 02:59 PM, Tom Evans wrote: >> On Thu, May 27, 2010 at 10:23 AM, J. Bakshi wrote: >> >>> Yes, I post here frequently and I get some really nice solution from >>> this list.  IS it an offense ? >>> >>> >>> >> You don't ever look to

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread J. Bakshi
On 05/27/2010 02:59 PM, Tom Evans wrote: > On Thu, May 27, 2010 at 10:23 AM, J. Bakshi wrote: > >> Yes, I post here frequently and I get some really nice solution from >> this list. IS it an offense ? >> >> >> > You don't ever look to see what your solution could be, by using the > resour

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Tom Evans
On Thu, May 27, 2010 at 10:23 AM, J. Bakshi wrote: > > Yes, I post here frequently and I get some really nice solution from > this list.  IS it an offense ? > > You don't ever look to see what your solution could be, by using the resources provided - eg the excellent manual. You simply ask your o

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread J. Bakshi
On 05/27/2010 02:33 PM, Tom Evans wrote: > On Thu, May 27, 2010 at 9:50 AM, J. Bakshi wrote: > >> On 05/27/2010 01:59 PM, Nilesh Govindarajan wrote: >> >>> I assume that you want to redirect abcd.mydomain.com to >>> www.mydomain.com/?domain=abcd.mydomain.com >>> Considering that scenario a

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Tom Evans
On Thu, May 27, 2010 at 9:50 AM, J. Bakshi wrote: > On 05/27/2010 01:59 PM, Nilesh Govindarajan wrote: >> I assume that you want to redirect abcd.mydomain.com to >> www.mydomain.com/?domain=abcd.mydomain.com >> Considering that scenario and limiting subdomains only to >> mydomain.com, the followin

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread J. Bakshi
On 05/27/2010 01:59 PM, Nilesh Govindarajan wrote: > I assume that you want to redirect abcd.mydomain.com to > www.mydomain.com/?domain=abcd.mydomain.com > Considering that scenario and limiting subdomains only to > mydomain.com, the following rule works (I've tested them on my > server): > > Rewri

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Nilesh Govindarajan
On Thu, May 27, 2010 at 1:45 PM, J. Bakshi wrote: > On 05/27/2010 01:14 PM, Nilesh Govindarajan wrote: >> On Thu, May 27, 2010 at 12:25 PM, J. Bakshi wrote: >> >>> On 05/27/2010 12:16 PM, J. Bakshi wrote: >>> Hello list, I am trying to achieve a very particular .htaccess redirect a

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread J. Bakshi
On 05/27/2010 01:14 PM, Nilesh Govindarajan wrote: > On Thu, May 27, 2010 at 12:25 PM, J. Bakshi wrote: > >> On 05/27/2010 12:16 PM, J. Bakshi wrote: >> >>> Hello list, >>> >>> I am trying to achieve a very particular .htaccess redirect arrangement. >>> I have made it worked but halfway :-

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Nilesh Govindarajan
On Thu, May 27, 2010 at 12:25 PM, J. Bakshi wrote: > On 05/27/2010 12:16 PM, J. Bakshi wrote: >> Hello list, >> >> I am trying to achieve a very particular .htaccess redirect arrangement. >> I have made it worked but halfway :-( >> >> I have written a redirect rule as >> >> ` >> Re

Re: [us...@httpd] .htaccess redirect issue

2010-05-26 Thread J. Bakshi
On 05/27/2010 12:16 PM, J. Bakshi wrote: > Hello list, > > I am trying to achieve a very particular .htaccess redirect arrangement. > I have made it worked but halfway :-( > > I have written a redirect rule as > > ` > RewriteCond %{HTTP_HOST} ^testyou.mydomain.com > RewriteRule ^(.*

[us...@httpd] .htaccess redirect issue

2010-05-26 Thread J. Bakshi
Hello list, I am trying to achieve a very particular .htaccess redirect arrangement. I have made it worked but halfway :-( I have written a redirect rule as ` RewriteCond %{HTTP_HOST} ^testyou.mydomain.com RewriteRule ^(.*)$ http://www.mydomain.com\?domain=testyou.mydomain.com [R

Re: [us...@httpd] htaccess format howto question

2010-05-14 Thread Matus UHLAR - fantomas
On 13.05.10 21:08, David Banning wrote: > I am wondering how I might do a .htaccess redirect if I want to redirect > > domain.com/index.php?id=606 > > to domain.com > > I have been pouring over many apache how-to's and have not been able to > find an answer as yet. I think that RedirectMatch /i

Re: [us...@httpd] htaccess format howto question

2010-05-13 Thread Jason Nunnelley
On 5/13/10 8:08 PM, David Banning wrote: I am wondering how I might do a .htaccess redirect if I want to redirect domain.com/index.php?id=606 to domain.com Same domain (as I assume because domain.com and domain.com are the same). First, you'll need to set up the rewrite basics. RewriteEngin

Re: [us...@httpd] htaccess format howto question

2010-05-13 Thread Eric Covener
On Thu, May 13, 2010 at 9:42 PM, Igor Cicimov wrote: > ReewriteEngine On > RewriteCond %{QUERY_STRING} ^id=606$ > RewriteRule ^/index.php$ http://domain.com [R,L] Need to drop the leading slash in regex -- Eric Covener cove...@gmail.com -

Re: [us...@httpd] htaccess format howto question

2010-05-13 Thread Igor Cicimov
ReewriteEngine On RewriteCond %{QUERY_STRING} ^id=606$ RewriteRule ^/index.php$ http://domain.com [R,L] Not tested but should work. Igor On Fri, May 14, 2010 at 11:08 AM, David Banning wrote: > I am wondering how I might do a .htaccess redirect if I want to redirect > > domain.com/index.php?id

[us...@httpd] htaccess format howto question

2010-05-13 Thread David Banning
I am wondering how I might do a .htaccess redirect if I want to redirect domain.com/index.php?id=606 to domain.com I have been pouring over many apache how-to's and have not been able to find an answer as yet. - The offici

Re: [us...@httpd] .htaccess functionalities

2010-04-25 Thread Doug McNutt
At 10:47 -0500 4/25/10, William A. Rowe Jr. wrote: >http://httpd.apache.org/docs/2.2/howto/htaccess.html > >If you point out what is confusing you, someone is more likely to fix the docs >to make them clearer. The link starts with this: .htaccess files provide a way to make configuration changes o

Re: [us...@httpd] .htaccess functionalities

2010-04-25 Thread William A. Rowe Jr.
On 4/25/2010 7:37 AM, Arunkumar Janarthanan wrote: > Thanks Nilesh, so according to you httpd.config file is more advanced > than .htaccess ? There are two entire pages of the docs on this topic. http://httpd.apache.org/docs/2.2/configuring.html http://httpd.apache.org/docs/2.2/howto/htaccess.ht

Re: [us...@httpd] .htaccess functionalities

2010-04-25 Thread Arunkumar Janarthanan
Thanks which docs says httpd.conf is super set of .htaccess file ? On Sun, Apr 25, 2010 at 8:39 AM, Nilesh Govindarajan wrote: > On 04/25/10 18:07, Arunkumar Janarthanan wrote: > >> Thanks Nilesh, so according to you httpd.config file is more advanced >> than .htaccess ? >> >> On Sun, Apr 25, 201

Re: [us...@httpd] .htaccess functionalities

2010-04-25 Thread Nilesh Govindarajan
On 04/25/10 18:07, Arunkumar Janarthanan wrote: Thanks Nilesh, so according to you httpd.config file is more advanced than .htaccess ? On Sun, Apr 25, 2010 at 8:31 AM, Nilesh Govindarajan mailto:li...@itech7.com>> wrote: On 04/25/10 17:57, Arunkumar Janarthanan wrote: Hi,

Re: [us...@httpd] .htaccess functionalities

2010-04-25 Thread Arunkumar Janarthanan
Thanks Nilesh, so according to you httpd.config file is more advanced than .htaccess ? On Sun, Apr 25, 2010 at 8:31 AM, Nilesh Govindarajan wrote: > On 04/25/10 17:57, Arunkumar Janarthanan wrote: > >> Hi, >> >> I see all the Directives and functionality of .htaccess file can be used >> from http

Re: [us...@httpd] .htaccess functionalities

2010-04-25 Thread Nilesh Govindarajan
On 04/25/10 17:57, Arunkumar Janarthanan wrote: Hi, I see all the Directives and functionality of .htaccess file can be used from httpd.conf file itself, could somebody please advice what can be done from .htaccess which is not possible through Apache configuration file ? Many thanks. Arun J

[us...@httpd] .htaccess functionalities

2010-04-25 Thread Arunkumar Janarthanan
Hi, I see all the Directives and functionality of .htaccess file can be used from httpd.conf file itself, could somebody please advice what can be done from .htaccess which is not possible through Apache configuration file ? Many thanks. Arun J

Re: [us...@httpd] .htaccess not working

2010-04-24 Thread Yang Zhang
D'oh: I thought AllowOverride was not None for this, but now it's fixed. On Sat, Apr 24, 2010 at 11:01 AM, Yang Zhang wrote: > No, it's not on that server. > > On Sat, Apr 24, 2010 at 4:16 AM, Sharl.Jimh.Tsin > wrote: >> 嗨,同胞: >> i checked your site http://yz.mit.edu/wp/, >> the rewrite module

Re: [us...@httpd] .htaccess not working

2010-04-24 Thread Yang Zhang
No, it's not on that server. On Sat, Apr 24, 2010 at 4:16 AM, Sharl.Jimh.Tsin wrote: > 嗨,同胞: > i checked your site http://yz.mit.edu/wp/, > the rewrite module seems to work now. > > Best regards, > Sharl.Jimh.Tsin > > > > 2010/4/24 Yang Zhang : >> o > > ---

Re: [us...@httpd] .htaccess not working

2010-04-24 Thread Sharl.Jimh.Tsin
嗨,同胞: i checked your site http://yz.mit.edu/wp/, the rewrite module seems to work now. Best regards, Sharl.Jimh.Tsin 2010/4/24 Yang Zhang : > o - The official User-To-User support forum of the Apache HTTP Server Project. See h

[us...@httpd] .htaccess not working

2010-04-24 Thread Yang Zhang
I'm using the Ubuntu stock install of Apach, but for some reason, .htaccess files are not having any effect, despite that AccessFileName is set to .htaccess. E.g., here's a .htaccess, and neither the auth nor rewrite stuff is working. In fact, I can just put gibberish into .htaccess, and no compla

Re: [us...@httpd] htaccess/htpasswd working in only one computer

2010-03-24 Thread Wagner Pereira
Eric, So, what information exactly should I provide to? Those log contents that I posted yesterday have the lines written at the same moment I entered in the cvsweb URL. (I use to see the log with the "tail -f"). -- Wagner Pereira PoP-SP/RNP - Ponto de Presença da RNP em São Paulo CCE/USP -

Re: [us...@httpd] htaccess/htpasswd working in only one computer

2010-03-23 Thread Eric Covener
On Tue, Mar 23, 2010 at 5:29 PM, Wagner Pereira wrote: > Eric, > > The IPs aren't the same. See: 10.0.0.1 and 100.10.10.1 (this is only a way > to omit my real IPs) And they are different machines, of course. They were in the access log you provided. > > This is my Apache's error.log: > > [Tue M

Re: [us...@httpd] htaccess/htpasswd working in only one computer

2010-03-23 Thread Wagner Pereira
Eric, The IPs aren't the same. See: 10.0.0.1 and 100.10.10.1 (this is only a way to omit my real IPs) And they are different machines, of course. This is my Apache's error.log: [Tue Mar 23 15:21:09 2010] [error] [client 10.0.0.1] client denied by server configuration: /var/www/cvsweb/icons/d

Re: [us...@httpd] htaccess/htpasswd working in only one computer

2010-03-23 Thread Eric Covener
On Tue, Mar 23, 2010 at 3:25 PM, Wagner Pereira wrote: > Hi, Eric. > > I am using the Satisfy All. Do I supposed to use Satisfy Any? Can this make > difference if two computers, from different networks, are accessing the > Rancid via cvsweb? > > That's my Apache's access log: > > 10.0.0.1 - - [23/

Re: [us...@httpd] htaccess/htpasswd working in only one computer

2010-03-23 Thread Wagner Pereira
Hi, Eric. I am using the Satisfy All. Do I supposed to use Satisfy Any? Can this make difference if two computers, from different networks, are accessing the Rancid via cvsweb? That's my Apache's access log: 10.0.0.1 - - [23/Mar/2010:15:21:08 -0300] "GET /cgi-bin/cvsweb/ HTTP/1.1" 200 1805

Re: [us...@httpd] htaccess/htpasswd working in only one computer

2010-03-23 Thread Eric Covener
On Tue, Mar 23, 2010 at 10:12 AM, Wagner Pereira wrote: > Hi, friends. > > I configured my htaccess/htpasswd and it is already working in my computer. > User/Pass have been required to access Rancid via cvsweb. That's OK. > > But in other computer, from my colleague's station, which is in other >

[us...@httpd] htaccess/htpasswd working in only one computer

2010-03-23 Thread Wagner Pereira
Hi, friends. I configured my htaccess/htpasswd and it is already working in my computer. User/Pass have been required to access Rancid via cvsweb. That's OK. But in other computer, from my colleague's station, which is in other network, this authentication is not required, in any browser (IE

Re: [us...@httpd] .htaccess restricts write permission from webdav

2009-12-03 Thread Nick Kew
On 3 Dec 2009, at 05:36, J. Bakshi wrote: > Hello list, > > I am facing a strange problem with webdav caused by .htaccess !!! Don't. DAV configuration isn't just a map of URL-space to native-filesystem-space, which is why you need to configure it in URL-space. Anything in filesystem-space i

Re: [us...@httpd] .htaccess restricts write permission from webdav

2009-12-03 Thread André Warnier
J. Bakshi wrote: windows client simply throws error as permission denied. ... Does any one know why .htaccess prevents write access from webdav ? Hi. I am not saying that this /is/ your problem, but you should be aware of the fact that all DAV client implementations in Windows are notor

[us...@httpd] .htaccess restricts write permission from webdav

2009-12-02 Thread J. Bakshi
Hello list, I am facing a strange problem with webdav caused by .htaccess !!! I am running debian lenny server with apache2 ` ` ` Server version: Apache/2.2.9 (Debian) Server built: Jul 14 2009 20:44:04 ` ` ` with dav and dav_fs enabled. webdav is used here to modify/publish sites in apac

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

2009-10-14 Thread Kaya Saman
matt farey wrote: Sorry this blasted blackberry misses letters! (And top posts!) Sent from my BlackBerry® wireless device That's cool :-) my next step is to learn how to synch Blackberry's with colab systems such as Zimbra and Scalix. it's nice being an enthusiastic student! - althou

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

2009-10-14 Thread matt farey
Sorry this blasted blackberry misses letters! (And top posts!) Sent from my BlackBerry® wireless device -Original Message- From: Kaya Saman Date: Wed, 14 Oct 2009 13:10:11 To: Subject: Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine Firefox plugin

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

2009-10-14 Thread matt farey
ery single request, and so on Where does this fail, are you getting the firefox pop up? Sent from my BlackBerry® wireless device -Original Message- From: Kaya Saman Date: Wed, 14 Oct 2009 13:10:11 To: Subject: Re: [us...@httpd] .htaccess files not working from internet? intranet

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

2009-10-14 Thread Kaya Saman
Firefox plugin is giving me quite an interesting readout and I think I've located the issue which is what Matt Farey has been saying all along about the Squid forwarding of HTTP Auth Basic Headers: I get WWW-Authenticate: Basic realm="Restricted Files" message which I'm pretty sure is this par

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

2009-10-14 Thread matt farey
BlackBerry® wireless device -Original Message- From: Kaya Saman Date: Wed, 14 Oct 2009 12:48:03 To: Subject: Re: [us...@httpd] .htaccess files not working from internet? intranetaccessfine Hi guys, this is output from curl: [code] r...@hp-compaq-2230s:~# curl http://zeta-ray.optiplex

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

2009-10-14 Thread Kaya Saman
Hi guys, this is output from curl: [code] r...@hp-compaq-2230s:~# curl http://zeta-ray.optiplex-networks.com/munin/ 401 Authorization Required Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentia

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] .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

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

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
ess device -Original Message- From: Kaya Saman Date: Tue, 13 Oct 2009 11:45:01 To: Subject: Re: [us...@httpd] .htaccess files not working from internet? intranetaccess fine matt farey wrote: Did you ever investigate the response headers or lookup basic auth in squid? Sent from my Bl

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

2009-10-13 Thread matt farey
page and see the difference Sent from my BlackBerry® wireless device -Original Message- From: Kaya Saman Date: Tue, 13 Oct 2009 11:45:01 To: Subject: Re: [us...@httpd] .htaccess files not working from internet? intranetaccess fine matt farey wrote: > Did you ever investigate

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

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

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

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

2009-10-11 Thread Kaya Saman
If you remove the http password parts from your config, do things start to work for you? Yes then it works no probs :-) Sorry if was unclear on this I can access the pages but then I have no security as .htaccess becomes disabled! Any thing else which can help me?? --

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

2009-10-11 Thread Kaya Saman
Scott Haneda wrote: On Oct 11, 2009, at 4:38 PM, Kaya Saman wrote: There isn't an error as such it just doesn't let me in!!! Ahh, I think I see better what you are up against now. The browser goes directly back to password/uname input prompt after values inputted?? Inside is ok let's me in

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

2009-10-11 Thread Scott Haneda
On Oct 11, 2009, at 4:38 PM, Kaya Saman wrote: There isn't an error as such it just doesn't let me in!!! Ahh, I think I see better what you are up against now. The browser goes directly back to password/uname input prompt after values inputted?? Inside is ok let's me in but outside is issue

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

2009-10-11 Thread Kaya Saman
Scott Haneda wrote: On Oct 11, 2009, at 2:57 PM, Kaya Saman wrote: Sounds to me like this is a DNS issue. DNS is fine :-) URL's resolve no probs Squid probably does not play a role in this. hmm that's exactly what I read but having slight second thoughts now! However, you men

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

2009-10-11 Thread Scott Haneda
On Oct 11, 2009, at 2:57 PM, Kaya Saman wrote: I have a few servers running apache and some folders which have .htaccess files in them, I can access these from any network inside the NAT of my router however when it comes down to external access from outside the NAT I always get permission

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

2009-10-11 Thread Kaya Saman
matt farey wrote: Is your squid proxy set up to forward on the basic authentication headers? Doesn't sound like they are being sent to your browser Sent from my BlackBerry® wireless device Many thanks for the response! Is this the line I should be looking at in Squid: #auth_param basic

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

2009-10-11 Thread matt farey
Is your squid proxy set up to forward on the basic authentication headers? Doesn't sound like they are being sent to your browser Sent from my BlackBerry® wireless device -Original Message- From: Kaya Saman Date: Mon, 12 Oct 2009 00:57:20 To: Subject: [us...@httpd] .htaccess

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

2009-10-11 Thread Kaya Saman
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 have .htaccess files in them, I can access these from any network

Re: [us...@httpd] htaccess serving different domain with different front controllers

2009-09-24 Thread James Cauwelier
Thanks. With your explanation, I am sure I 'll get the rules working as I want them to. James (PS: ik weet niet wat je bedoeld met Sioen, dus kan ik je daar niet echt een antwoord op geven. ) On Sep 24, 2009, at 1:06 PM, Krist van Besien wrote: vanbesien.org

Re: [us...@httpd] htaccess serving different domain with different front controllers

2009-09-24 Thread Krist van Besien
On Thu, Sep 24, 2009 at 8:43 AM, james cauwelier wrote: > Here is my .htaccess (I deleted unimportant parts from my colleague), > I suspect the line with [S=1] is to blame: Yes, it is. [S=1] is only valid for a RewriteRule, not a RewriteCond. > # redirect only when file not found > RewriteCond

[us...@httpd] htaccess serving different domain with different front controllers

2009-09-23 Thread james cauwelier
Hi All, I am developing a website which has different front controllers: - web/index.php for the main website - web/sioen.php for a copy of the website with different looks I don 't seem to be able to redirect the correct host to the correct controller and I am hoping that somebody can help me

Re: [us...@httpd] htaccess using AuthCookieDBI not protecting the directory index

2009-09-21 Thread André Warnier
Tosh Cooey wrote: Everything looks fine, except this "Converting POST -> GET" part. I don't know if it is, but I know that when the AUTH is working properly that doesn't occur. Ha. The POST -> GET conversion is a clever little trick of the author, used only in some cases. Reminder : A PO

Re: [us...@httpd] htaccess using AuthCookieDBI not protecting the directory index

2009-09-21 Thread Tosh Cooey
From: André Warnier Date: Tue, 15 Sep 2009 01:50:05 +0200 To: users@httpd.apache.org Tosh Cooey wrote: ... Maybe I'll bug the author of the module now. I just had a quick look at AuthCookieDBI, which subclasses AuthCookie. In AuthCookie->authenticate(), there is indeed a check for sub-reques

Re: [us...@httpd] .htaccess not honoured anymore

2009-09-17 Thread Nico De Ranter
Doh, that explains a couple of things. Thanks for the link! Nico On Wed, 2009-09-16 at 18:22 +0200, Bob Ionescu wrote: > 2009/9/16 Nico De Ranter : > > however the 'require' directive doesn't seem to have any effect anymore? > > You're overriding it with your definition. A location > section

Re: [us...@httpd] .htaccess not honoured anymore

2009-09-16 Thread Bob Ionescu
2009/9/16 Nico De Ranter : > however the 'require' directive doesn't seem to have any effect anymore? You're overriding it with your definition. A location section overrides directives placed in .htaccess files, see http://httpd.apache.org/docs/2.2/sections.html#mergin Bob -

Re: [us...@httpd] .htaccess not honoured anymore

2009-09-16 Thread Nico De Ranter
One more note: I grepped all the apache config files for 'allowoverride': all of them are either 'All' or 'None' (in which case garbage in .htaccess shouldn't result in a server error as it won't be read at all). So I'm sure .htaccess is read and no allowoverride statement keeps me from using 'r

Re: [us...@httpd] .htaccess not honoured anymore

2009-09-16 Thread Nico De Ranter
Hmm, following the troubleshooting section on http://httpd.apache.org/docs/2.2/howto/htaccess.html I put some garbage in the .htaccess and got a server error. So the .htaccess is read, however the 'require' directive doesn't seem to have any effect anymore? Nico On Wed, 2009-09-16 at 17:10 +020

[us...@httpd] .htaccess not honoured anymore

2009-09-16 Thread Nico De Ranter
Hi, I recently enabled access control on all folders of my apache server by adding the following section: AuthzLDAPAuthoritative off AuthBasicProvider ldap AuthType Basic ... Require valid-user The idea is that I can refine this for every folder by adding some

Re: [us...@httpd] htaccess using AuthCookieDBI not protecting the directory index

2009-09-14 Thread André Warnier
Tosh Cooey wrote: ... Maybe I'll bug the author of the module now. I just had a quick look at AuthCookieDBI, which subclasses AuthCookie. In AuthCookie->authenticate(), there is indeed a check for sub-requests, returning always OK in that case. In other words, I don't think that Apache subrequ

Re: [us...@httpd] htaccess using AuthCookieDBI not protecting the directory index

2009-09-14 Thread Tosh Cooey
André Warnier André Warnier wrote: Tosh Cooey wrote: ... Hi. Does your login form page contain links to other things (for example, images), which are also located in the /berlin/ area, or in other directories/locations protected by the same authentication ? A bit of explanation, as a compl

Re: [us...@httpd] htaccess using AuthCookieDBI not protecting the directory index

2009-09-14 Thread André Warnier
André Warnier wrote: Tosh Cooey wrote: ... Hi. Does your login form page contain links to other things (for example, images), which are also located in the /berlin/ area, or in other directories/locations protected by the same authentication ? A bit of explanation, as a complement : I have

Re: [us...@httpd] htaccess using AuthCookieDBI not protecting the directory index

2009-09-14 Thread André Warnier
Tosh Cooey wrote: ... Hi. Does your login form page contain links to other things (for example, images), which are also located in the /berlin/ area, or in other directories/locations protected by the same authentication ? -

[us...@httpd] htaccess using AuthCookieDBI not protecting the directory index

2009-09-14 Thread Tosh Cooey
Hi, I posted the follow to the mod_perl list: I'm trying to protect a directory using Apache2::AuthCookieDBI with the following .htaccess (I have to use htaccess) PerlModule Apache2::AuthCookieDBI PerlSetVar berlinPath /berlin/ PerlSetVar berlinLoginScript /login.pl PerlS

Re: [us...@httpd] .htaccess does not work

2009-09-10 Thread testwreq wreq
I figured out the small typo in the path. Thanks for reading my request and suggestions. On Thu, Sep 10, 2009 at 1:02 PM, Jonathan Zuckerman wrote: > On Thu, Sep 10, 2009 at 8:56 AM, testwreq wreq > wrote: > > Hello, My goal is to password protect a few pages in one of the userdir > > (/home/us

Re: [us...@httpd] .htaccess

2009-09-10 Thread André Warnier
Jos Chrispijn wrote: Is there a way of forcing webbrowser to present a login popup every time they enter a protected URL? Now I login once and until I delete my cookies, I can go to the URL without having a username and password filled out, even not having the 'remember password' option active.

Re: [us...@httpd] .htaccess does not work

2009-09-10 Thread André Warnier
testwreq wreq wrote: The error in the eerror log is: [debug] mod_auth_pgsql.c(774): [client 10.105.9.103] [mod_auth_pgsql.c] - missing configuration parameters And where does that come from ? Hint : mod_auth_pgsql.c ? - The o

Re: [us...@httpd] .htaccess does not work

2009-09-10 Thread Jonathan Zuckerman
On Thu, Sep 10, 2009 at 8:56 AM, testwreq wreq wrote: > Hello, My goal is to password protect a few pages in one of the userdir > (/home/users/vinda). And, I cannot get this to work. Any suggestions will be > welcomed! Below is the configuration in my httpd.conf file: > > Options -Indexes FollowS

Re: [us...@httpd] .htaccess

2009-09-10 Thread Bob Ionescu
2009/9/7 Jos Chrispijn : > Is there a way of forcing webbrowser to present a login popup every time > they enter a protected URL? Now I login once and until I delete my > cookies, I can go to the URL without having a username and password > filled out, even not having the 'remember password' option

[us...@httpd] .htaccess does not work

2009-09-10 Thread testwreq wreq
Hello, My goal is to password protect a few pages in one of the userdir (/home/users/vinda). And, I cannot get this to work. Any suggestions will be welcomed! Below is the configuration in my httpd.conf file: Options -Indexes FollowSymLinks IncludesNoExec Options +ExecCGI DirectoryIndex index.html

[us...@httpd] .htaccess

2009-09-07 Thread Jos Chrispijn
Is there a way of forcing webbrowser to present a login popup every time they enter a protected URL? Now I login once and until I delete my cookies, I can go to the URL without having a username and password filled out, even not having the 'remember password' option active. Have search for sessio

Re: [us...@httpd] Htaccess redirect to SSL before Authenticate?

2009-07-24 Thread Mike Cardwell
Paul Reilly wrote: Hello, I want to redirect all pages which have a .htaccess restriction to SSL before the user is prompted for authentication: This is a common problem, as described here: http://blog.jozjan.net/2008/02/htaccess-redirect-to-ssl-https-before.html This doesn't really answer

  1   2   >