Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-17 Thread Rex C. Eastbourne
On Tue, Mar 17, 2009 at 4:12 AM, André Warnier wrote: > Rex C. Eastbourne wrote: > [...] > > >> So it looks like there is indeed a NameVirtualHost * in another file. What >> would be the best modification to make now? >> >> Delete that line and restart Apache. > Then do apache2ctl -S again. Tha

Re: [us...@httpd] Doubt about disabling access to PHP files

2009-03-17 Thread Leandro Silva
Thanks for the suggestions... I used the solution proposed by Pasher and worked fine... Leandro 2009/3/13 Justin Pasher > Leandro Silva wrote: > >> Hi, >> >> In the company where I work, we have a windows server with apache/php >> instaled with a shared folder in our network. The workers of co

Re: [us...@httpd] Re: PHP script as Apache filter or "callback"

2009-03-17 Thread Brian Mearns
On Sat, Mar 14, 2009 at 8:36 PM, Nicholas Sherlock wrote: > Brian Mearns wrote: >> >> I've got a PHP script that I want to call for every request under a >> certain location. Specifically, I want to alter/set the response >> headers using this script. I know headers can be set in other ways, >> bu

[us...@httpd] mod_ip_count and mod_so_limit, mod_accounting - thorttling traffic. Is it even possible ?

2009-03-17 Thread Mohit Anchlia
Apache 2: Can I use following modules to throttle traffic? mod_ip_count and mod_so_limit, mod_accounting Is it possible to return customized error message using mod_ip_count I asked same question is separate thread, but after looking at apache module I thought I should ask it in separate thread.

Re: [us...@httpd] Throttle traffic

2009-03-17 Thread Mohit Anchlia
Are there any suggestions, input or if anyone else is doing something smiliar in Apache as a plug in?? On Thu, Mar 12, 2009 at 10:27 AM, Mohit Anchlia wrote: > This looks like is to limit traffic for the clients that download > data. I am looking for HTTP clients that POST and GET. > > On Thu, Ma

Re: [us...@httpd] Tips for redirects

2009-03-17 Thread Brian Mearns
On Tue, Mar 17, 2009 at 12:44 PM, Anders Norrbring wrote: >> On Mon, Mar 16, 2009 at 2:15 PM, Anders Norrbring >> wrote: >> > Hi all. >> > I'm not really familiar with the redirects and regex's needed to use >> it, so I'd like to get some hints.. >> > >> > I have a web server serving a number of

SV: [us...@httpd] Tips for redirects

2009-03-17 Thread Anders Norrbring
one else says something, the =302 probably isn't > needed on the R flags, because I think Apache uses 302 as the default. > But it might be a good idea anyway, just to make sure they don't end > up as 301's, because that's not what you want (this is a temporary > condit

Re: [us...@httpd] Cookie tracking question

2009-03-17 Thread John Armstrong
Of course I have, thanks. The docs say %{Foobar}n The contents of note Foobar from another module. The behavior here is exported form the CookieTracking module which currently does not output the COOKIENAME to the logfile. This is also discussed in detail on the cookie tracking docs. What th

Re: [us...@httpd] Cookie tracking question

2009-03-17 Thread Krist van Besien
On Tue, Mar 17, 2009 at 1:11 AM, John Armstrong wrote: > I have inherited an old, fragile codebase that uses CookieTracking. Great! > > Except that when they implemented it they used > > %{Cookie}i which outputs the cookie as 'cookiename=cookievalue' in the > logfile. It also ignores the first hit

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-17 Thread André Warnier
Rex C. Eastbourne wrote: [...] So it looks like there is indeed a NameVirtualHost * in another file. What would be the best modification to make now? Delete that line and restart Apache. Then do apache2ctl -S again. - The of

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-17 Thread Krist van Besien
On Tue, Mar 17, 2009 at 6:30 AM, Rex C. Eastbourne wrote: > So it looks like there is indeed a NameVirtualHost * in another file. What > would be the best modification to make now? I'm also running (one) apache on Ubuntu. Ubuntu and Debian has a highly customized layout apache layout. Under Ub

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-17 Thread Jeff Sadowski
comment the above out On Mon, Mar 16, 2009 at 11:30 PM, Rex C. Eastbourne wrote: > On Sun, Mar 15, 2009 at 4:03 AM, Krist van Besien > wrote: >> >> On Sun, Mar 15, 2009 at 7:34 AM, Rex C. Eastbourne >> wrote: >> > Hello, >> > >> > I am completely new to Apache. I have a static IP address that's