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

2009-10-14 Thread matt farey
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 i

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

2009-10-14 Thread matt farey
accessfine 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'

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

2009-10-14 Thread matt farey
Curl is not showing the response headers, Is it -X or -H (or neither - I forget!) If you have access to windows, you can use fiddlertool proxy, damn hot debugging proxy. But at least you can see that squid does not understand how to supply the credentials from the html! Matt Sent from my Blac

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 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-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 files no

Re: [us...@httpd] How to configure a username with colon?

2009-08-12 Thread matt farey
Hi Wong, You can have : in the password but not in the userID, see RFC2617: userid = * password= *TEXT So by using an encoding hack, you are of course no longer including a : in the userID Hope that makes sense. Matt Sent from my BlackBerry® wireless device -Original Message

Re: [us...@httpd] mod-rewrite: ReWrite failure due to a "reserved" word?!

2009-05-27 Thread matt farey
We can all be dumb as you saw from my mistakes!! Sometimes the - in a regular expression gets interpreted as a range identifier, sometimes rewritebase can lead to non portability. And annoyingly once you have all this stuff set up, optimisation (of headers) can get thrown, see yahoo performance b

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread matt farey
You need to make sure that your html files are parsed by the php parser, find the line in http.conf and add .html (if this Is safe for your server) Or Simple chane the rewrite rule to read index.php?id= This is all assuming you have php code that uses $_GET['id'] to construct the page Sent fr

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

2009-03-13 Thread matt farey
This directory should not be under your document root, instead it should lie outside the web server root, and you should use a php script to handle the download and the file and folder listing. This way when the user clicks on "http://example.org/foo/bar/word.doc"; the "/foo/bar/word.doc" will b

Re: [EMAIL PROTECTED] mod_proxy_connect security questions

2008-11-12 Thread matt . farey
Sorry for top post - gooseberry. Its not clear to me why you are having a proxy around for general use? What happens when you use a servername that you do not have in your config at all, usually it is matched to the first virtualhost, have you set up a non-proxy vhost first in the conf? If you

Re: [EMAIL PROTECTED] How does Apache handle expired server certificate and expired CAroot certificate?

2008-10-16 Thread matt . farey
boards for later attack. (Passwords sent in the URL, persistent session identifiers etc...) Matt Farey Sent from my BlackBerry® wireless device

Re: [EMAIL PROTECTED] JAD And JAR MIME Issue

2008-10-11 Thread matt . farey
Add those lines (minus addtype directive) to your apache/conf/mime.types file, if in doubt open mime.types and see the format Sent from my BlackBerry® wireless device

Re: [EMAIL PROTECTED] Not Sure If This Is An Appache Problem Or a PHP problem

2008-09-25 Thread matt . farey
Put php.ini in the apache/bin directory, php is running as an apache module. Sent from my BlackBerry� wireless device -Original Message- From: Xpert Advice <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 14:18:28 To: Subject: [EMAIL PROTECTED] Not Sure If This Is An Appache Problem Or a PHP

Re: [EMAIL PROTECTED] Re: Apache 2 + perl UTF-8 problem

2008-06-23 Thread matt . farey
In that case I would go for forensic logging using mod security --Original Message-- From: André Warnier To: users@httpd.apache.org ReplyTo: users@httpd.apache.org Sent: 23 Jun 2008 11:13 Subject: [EMAIL PROTECTED] Re: Apache 2 + perl UTF-8 problem [EMAIL PROTECTED] wrote: [...] Thanks, M

Re: [EMAIL PROTECTED] Apache Virtual Server Configuration

2008-06-04 Thread matt . farey
The first v.h. block is important in that any request for a host (servername) that is not found in any other vh block defaults to the first block. So on my servers in the top most block all requests are rewritten to a "please check the url" page. Sent from my BlackBerry® wireless device -O

Re: [EMAIL PROTECTED] Trouble Shutting Apache Down

2008-05-25 Thread matt . farey
You appear to be unfamiliar with the basics of your operating system. The answer is just to press the little x on the top right of the "apache window" Ctrl+C will work just fine if you use the apache command from the location of your apache binary. You can also just hit Win+R, type in the full pa

Re: [EMAIL PROTECTED] POST content Attack?

2008-05-21 Thread matt . farey
sounds like you could benefit from logging incoming request payloads. Consider mod security to sanitize requests and log, if you can't modify your perl script to do it, how do you modify the textarea data before doing the INSERT? Do you know what the perl script has been doing? Have you ensured

Re: [EMAIL PROTECTED] Is this a know issue

2008-05-13 Thread matt . farey
It's for a more secure process, the new session_id should be sent via ssl as well, and more still the logged in user should stay ssl. The. Idea is that Dr. Evil who knows the value of the (unauthenticated) session_id at time_a shouldn't be able to operate as the logged in user at time_b by repla

Re: [EMAIL PROTECTED] Is this a know issue

2008-05-13 Thread matt . farey
Usually an authentication handler will send the user_agent a redirect header (for security) and start a new session on success, this handler could save parts of the POST payload against that session (remember to filter this data) so that when the user_agent makes the GET request to the new URL t

Re: [EMAIL PROTECTED] How to log httpd request with all the headers

2008-05-13 Thread matt . farey
mod_security does this with aoppropriate set-up To audit log Sent from my BlackBerry® wireless device -Original Message- From: Tracy12 <[EMAIL PROTECTED]> Date: Tue, 13 May 2008 16:55:46 To:users@httpd.apache.org Subject: [EMAIL PROTECTED] How to log httpd request with all the headers

Re: [EMAIL PROTECTED] exclude a subdirectory from authentication request

2008-05-13 Thread matt . farey
Use another directory stanza in your main httpd.conf which references the subdir you want unprotecting. Perhaps .htaccess files are off - and with more than 100 directories, you should leave them off, especially if some are nested. Sent from my BlackBerry® wireless device -Original Message

Re: [EMAIL PROTECTED] external access error

2008-05-13 Thread matt . farey
Sounds like you. Installed apache as a service and haven't uninstalled it completely. Just goto start,run Type services.msc Hit enter Locate apache service and double check the location of the apache.exe Generally you should crystal clear where the conf files are Httpd.conf Php.ini My.cnf Etc...

Re: [EMAIL PROTECTED] .htaccess for script aliased directories SOLVED!

2008-04-25 Thread matt . farey
You definately need to remove the limit clause That clause iat best s meaningless given your previous post, and if the config changes elsewhere your server or data would be at risk. You probably have a server wide limitexcept clause which bans the other verbs or some other permissions lock down,

Re: [EMAIL PROTECTED] .htaccess for script aliased directories

2008-04-25 Thread matt . farey
Limits the require directive to those verbs - what about the others? Sent from my BlackBerry® wireless device -Original Message- From: "Danie Qian" <[EMAIL PROTECTED]> Date: Fri, 25 Apr 2008 15:53:59 To: Subject: Re: [EMAIL PROTECTED] .htaccess for script aliased directories - Ori

Re: [EMAIL PROTECTED] Problems passing form data outside the root

2007-03-27 Thread matt farey
Mark Crosby wrote: > Regarding this error, I'm still having the same problem. > > I've visited the httpd room on IRC and posted in several forums. > > Here is the page I'm having problems with: > http://www2.specialistagencyservices.co.uk/sections/needwork/test.php > > It links to a script that s

Re: [EMAIL PROTECTED] Apache problem with MSIE

2007-03-19 Thread matt farey
sharath reddy wrote: > Hi All, > > Thanks for responses, Still i could not able to solve the problem, > even though i enabled mod_expires. > > Here the problem: As i found that IE fetching the entire webpage from > weblogic server intsead of from local cache when i hit the back > button.So, is th

Re: [EMAIL PROTECTED] Apache problem with MSIE

2007-03-16 Thread matt farey
om its cache. > > Any ideas apprciated. > > Thanks.., > Sharath > > On 3/16/07, *matt farey* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > > prash reddy wrote: > > Hi All, > > > > I am working on Apache 2.0.

Re: [EMAIL PROTECTED] Apache problem with MSIE

2007-03-16 Thread matt farey
prash reddy wrote: > Hi All, > > I am working on Apache 2.0.50 on Linux, proxying the requests to > weblogic server by path using the location block. > > Here is the problem: In application,When i simply hit the browser back > button, i can see that all the commentents being lost which were > ent

Re: [EMAIL PROTECTED] Handling VirtualDocumentRoot inside VirtualHosts

2007-03-16 Thread matt farey
Alberto Giménez wrote: > On 3/16/07, matt farey <[EMAIL PROTECTED]> wrote: >> >> anything which doesnt match a hostname will use the first defined >> virtualhost, >> >> I do not have >> >>VirtualDocumentRoot /var/www/sites/%-2.1/

Re: [EMAIL PROTECTED] Handling VirtualDocumentRoot inside VirtualHosts

2007-03-16 Thread matt farey
Alberto Giménez wrote: > (First of all, sorry for my english, its not my native language so you > can read some basic/strange language constructions here :) > > Hi, I'm facing a problem with my Apache (1.3.33) setup, I expose the > scenario: > > One single machine is serving several domains (abou

Re: [EMAIL PROTECTED] can't get virtual host working

2007-03-16 Thread matt farey
bbxrider wrote: > i am running apache 2.2.4 on winxp pro, the apache machine is on my lan > behind a router and nothing else > please see my directives for my .conf file below, at least the ones that > seem to pertain to virtual host. > when a browser is addressed to either domain, the default p

Re: [EMAIL PROTECTED] Apache on Win2K won't respond

2007-03-15 Thread matt farey
Gareth Howlett wrote: > Hi, > > I'm new to the list but a long time user of apache - great piece of > software. I've never needed this list before but I seem to have run > into a rather odd problem I can't solve. > > I downloaded and ran the .MSI installer of 2.2.4 on one of my Win2K > boxes. I

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread matt farey
Grant wrote: >> > Great news! This was fixed by changing the push line to: >> > >> > push @out, $_ unless /^\s*$/; >> > >> > Thanks a lot for everyone's help. >> >> A 15 byte solution. :) I expected something like that would be simpler >> than running a separate php script to do it all. ;) > > Y

Re: [EMAIL PROTECTED] defaulting to a given page

2007-03-13 Thread matt farey
Vincent Bray wrote: > On 13/03/07, Sam Carleton <[EMAIL PROTECTED]> wrote: >> I am working on a kiosk system. There is a standard GUI frontend with >> apache as the backend. In theory the user will never be able to >> navigate away from the URL's they are suppose to be at, but... that >> is th

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread matt farey
Mike Cardwell wrote: > * on the Sun, Mar 11, 2007 at 12:21:55PM -0700, Grant wrote: > > Right now all I want to do is eliminate all white space from my delivered HTML. >>> mod_line_edit might be a better bet, perhaps with a LERewriteRule to >>> collapse any whitespace

Re: [EMAIL PROTECTED] Russian characters

2007-03-12 Thread matt farey
page on your server to check theres nothing going going transit. I mean I know this is a far reach. 01 so-4-0-0-dcr1.lnd.cw.net [195.2.9.14] so-0-0-0-dcr2.par.cw.net [195.2.10.137] 10 so-7-0-0-dcr1.esx.cw.net [195.2.9.146] so-2-0-0-dcr1.mad.cw.net [195.2.9.121] > matt farey wrote: > >

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-12 Thread matt farey
Grant wrote: >> > Have you used mod_security yourself? >> yes I can say that the code is extremely well written, and that the >> project as a whole has gained critical acclaim. If you are _not_ using >> it, do - it's very useful. The idea is to gain control over a >> problematic and complex appli

Re: [EMAIL PROTECTED] Russian characters

2007-03-12 Thread matt farey
Thomas Blanchin wrote: > Hi all, > > I have a problem getting some httpd servers displaying russians > characters. > I have different machines serving the same content (mounted via nfs). > - All servers run httpd 2.0.52 and php 4.4.5. > - The httpd and php configuration is synced over all servers

Re: [EMAIL PROTECTED] Problem in using Apache

2007-03-12 Thread matt farey
Asim Munawar wrote: > I am using Fedora Core 6 on Pentium Mobile laptop... > My Apache version is > > [EMAIL PROTECTED] ~]# apachectl -v > Server version: Apache/2.2.3 > Server built: Sep 11 2006 09:43:18 > > I added the line > Listen MY_STATIC_INTERNET_IP:80 to http.conf but its giving th

Re: [EMAIL PROTECTED] Problem in using Apache

2007-03-12 Thread matt farey
Krist van Besien wrote: > On 3/12/07, Asim Munawar <[EMAIL PROTECTED]> wrote: >> Dear All >>I am new to apache... I have actually installed apache, php and >> postgres to run a wiki web page. my web server have two network >> cards. one >> is connected to the internet with static IP and t

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-12 Thread matt farey
Grant wrote: >> >> As I understand it, the reason why you wish the whitespace to be >> reduced >> >> is so you look at the source within your browser, and that you >> plan to >> >> use mod_deflate later ro reduce bandwidth (which is surely not too >> much >> >> of a problem - it's probably equiva

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-11 Thread matt farey
Grant wrote: >> As I understand it, the reason why you wish the whitespace to be reduced >> is so you look at the source within your browser, and that you plan to >> use mod_deflate later ro reduce bandwidth (which is surely not too much >> of a problem - it's probably equivalent to resampling a

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-11 Thread matt farey
Grant wrote: >> As I understand it, the reason why you wish the whitespace to be reduced >> is so you look at the source within your browser, and that you plan to >> use mod_deflate later ro reduce bandwidth (which is surely not too much >> of a problem - it's probably equivalent to resampling a

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-11 Thread matt farey
Grant wrote: >> As I understand it, the reason why you wish the whitespace to be reduced >> is so you look at the source within your browser, and that you plan to >> use mod_deflate later ro reduce bandwidth (which is surely not too much >> of a problem - it's probably equivalent to resampling a f

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-11 Thread matt farey
Nick Kew wrote: > On Sun, 11 Mar 2007 11:45:04 -0700 > Grant <[EMAIL PROTECTED]> wrote: > > >>> You'd incur a far lower penalty using a SAX-based parser such as >>> mod_proxy_html or mod_publisher. >>> >> How could you use either of those to eliminate white space in >> delivered HTML?

Re: [EMAIL PROTECTED] Seeing 0.0.0.0 in access.log

2007-03-10 Thread matt farey
Borut Maricic wrote: >> http://mail-archives.apache.org/mod_mbox/httpd-users/200703.mbox/[EMAIL >> PROTECTED] >> > > Well my joy was premature. After adding the line > > disable Win32AcceptEx > > to the httpd.conf I stopped and started but it wouldn't > start, as described today in: > http:

Re: [EMAIL PROTECTED] Automatic chmod =(

2007-03-09 Thread matt farey
Nick Kew wrote: > On Fri, 9 Mar 2007 15:09:59 +0200 > "Aldekein N.C." <[EMAIL PROTECTED]> wrote: > > >> 777 >> > > Please take that server off the net NOW, and don't put it > back on 'til you understand why that is so disastrously wrong! > > >> some other way to disable it in Apache i

Re: [EMAIL PROTECTED] [STILL NOT WORKING] Dynamic RewriteRule based on the URL

2007-03-09 Thread matt farey
ck(rewrite_log_lock) failed > [Fri Mar 09 14:42:08 2007] [error] [client 127.0.0.1] (13)Permission > denied: apr_global_mutex_unlock(rewrite_log_lock) failed > [Fri Mar 09 14:42:08 2007] [error] [client 127.0.0.1] File does not > exist: /Users/khinester/Sites/destinations/favicon.ico > >

Re: [EMAIL PROTECTED] Automatic chmod =(

2007-03-09 Thread matt farey
Aldekein N.C. wrote: > Hello, > > There is a server (Linux, Apache, PHP) managed by WHM and CPanel. The > webserver automatically sets the rights on the PHP files to 644. I use > PHP scripts to set the rights to 777 on some PHP files but when I call > them through the web server their rights are

Re: [EMAIL PROTECTED] [STILL NOT WORKING] Dynamic RewriteRule based on the URL

2007-03-09 Thread matt farey
Norman Khine wrote: > Hi all, > Sometimes back I posted this message, asking if there is a way to get > http://folder.domain.tld to point to a /home/users/folder - well this is > just a simplification of the request - but I still have not found a way > to get this to work... here is a link to the

Re: [EMAIL PROTECTED] Re: adding multiple SSLCACertificateFile in vhost.conf

2007-03-08 Thread matt farey
ork > -right > #old one > SSLCACertificateFile conf/ssl/nsm_ca.crt > #new one > SSLCACertificateFile conf/ssl/Commercial_CPE_Root_Cert.pem > > #these are left as before > SSLCertificateFile conf/ssl/nsm.crt > SSLCertificateKeyFile conf/ssl/nsm.key > SSLCertificateChainFile conf/ssl

Re: [EMAIL PROTECTED] Re: adding multiple SSLCACertificateFile in vhost.conf

2007-03-08 Thread matt farey
, you > need to either use 2 NICs or use IP aliasing to bind 2 IP addresses to a > single NIC, and then in your vhost conf you can set up the certs one > each per IP, here's a short article: > http://www-128.ibm.com/developerworks/web/library/wa-multissl.html#resources > matt &

Re: [EMAIL PROTECTED] Help: how to configure multiple apache servers behind a hardware load balancer

2007-03-08 Thread matt farey
anton wrote: > Thanks, Matt. I'll try the packet sniffer next. > Meanwhile, I narrowed the problem down to virtual > hosts. Here's the http.conf on each server: > > ... > ServerName mydomain.com:80 > ... > NameVirtualHost *:80 > # redirect mydomain.com to www.mydomain.com > # has to match Server

Re: [EMAIL PROTECTED] Re: adding multiple SSLCACertificateFile in vhost.conf

2007-03-08 Thread matt farey
ry/wa-multissl.html#resources matt > */matt farey <[EMAIL PROTECTED]>/* wrote: > > > > saibaba Duggirala wrote: > > hi, > > can anyone please let me know what is the procedure to add multiple > > SSLCACertificateFile in vhost.conf in apache >

Re: [EMAIL PROTECTED] mod_rewrite problem

2007-03-08 Thread matt farey
Israel Brewster wrote: > On Mar 8, 2007, at 8:33 AM, matt farey wrote: > >> yeah, if you compare the number and type of rewrites for this package >> with the way that wordpress used to operate, there is a lot of >> correlation, instead now wordpress uses a much simpler

Re: [EMAIL PROTECTED] Help: how to configure multiple apache servers behind a hardware load balancer

2007-03-08 Thread matt farey
anton wrote: > Thanks, Krist. I thought that it should work in > theory too, but it doesn't in practice :( Basically, > about 10% of requests to www.mydomain.com fail (time > out) if I set the servernames to www.mydomain.com for > both servers and then try to use VirtualHosts. We > have to use

Re: [EMAIL PROTECTED] mod_rewrite problem

2007-03-08 Thread matt farey
Israel Brewster wrote: > Just got a response from the developer of the PHP script > (serendipity). Turns out the problem lies there, and not with the > rewrite rule. Apparently what's going on is that the php script uses > the REQUEST_URI to determine what to display. If it doesn't recognize > th

Re: [EMAIL PROTECTED] Re: adding multiple SSLCACertificateFile in vhost.conf

2007-03-08 Thread matt farey
saibaba Duggirala wrote: > hi, > can anyone please let me know what is the procedure to add multiple > SSLCACertificateFile in vhost.conf in apache > > So far we have been using only one file, shown below in vhost.conf > SSLCACertificateFile conf/ssl/nsm_ca1.cr > > We would like to use another ro

Re: [EMAIL PROTECTED] logging question

2007-03-08 Thread matt farey
[EMAIL PROTECTED] wrote: > > Is it possible to log both IP address and hostname to the apache logs? > > Thanks! Its a funny request, the answer is yes, but remember the fact that hostnames appear at all is due to apache having DNS resolution switched on - which is bad obviously. Also remember tha

Re: [EMAIL PROTECTED] How to handle nested authorization requirements?

2007-03-08 Thread matt farey
Zembower, Kevin wrote: > I'm having trouble with a 'nested' authorization requirement. Here's > part of my httpd.conf file: > cn2:/etc/apache# egrep -v '^[[:space:]]*#|^[[:space:]]*$' httpd.conf > > NameVirtualHost * > > ServerName centernet.jhuccp.org > DocumentRoot /var/www/centerne

Re: [EMAIL PROTECTED] Apache on Windows

2007-03-07 Thread matt farey
Nathan Kellogg wrote: > > > Does this mean that an XP box running Apache would be limited to 10 > concurrent web browser users? My impression of this was that the > connection limit only applied to the Windows Network connections and > not to http/https/etc... if you don't patch the tcp stack,

Re: [EMAIL PROTECTED] Render an image for a 404 on images

2007-03-07 Thread matt farey
philguillard wrote: > Hi, > > Thank you guys. > Unfortunately i didn't succed with the Directory directive soluion > because of some other rewrite rules. > But with mod rewrite i succeded doing this: > > RewriteCond %{REQUEST_URI} /img/folder/(.*)\.jpg$ > RewriteCond /usr/local/apache2/htdocs

Re: [EMAIL PROTECTED] How to cache the responses for XMLHttpRquest

2007-03-07 Thread matt farey
Pid wrote: > Erica Zhang wrote: >> Hi, >> I want to cache the responses for XMLHttpRequest, that is dynamic >> content. I have configureed http.conf using Expires to add headers to >> those responses. However, I still could not find those responses to >> be able to be cached by use of web browser

Re: [EMAIL PROTECTED] Apache on Windows

2007-03-06 Thread matt farey
Vince Bravdica wrote: > Randall Fox wrote: >> >> Hello, I am wondering if any of you use Apache on Windows, and if so >> what your experience has been like so far. >> >> >> >> Thanks, RL. Fox. >> >> >> *_Internet E-mail Disclaimer_ * >> This message contains confidential information and is in

Re: [EMAIL PROTECTED] Denial of Service?

2007-03-06 Thread matt farey
Reto Baumann wrote: > Hi all > > I'm dealing with a new problem for me. I'm running an Apache web server with > PHP and a MySQL database backend. The apps are doing fine so far and up until > recently everything worked just fine. > > About a few days ago, a strange phenomenon started. I normall

Re: [EMAIL PROTECTED] Getting encoding info into HTTP headers

2007-03-06 Thread matt farey
Doug McNutt wrote: > I'm stuck with apache 1.3.37 until my web hosting service changes things. If > my question is solved in apache 2 please consider this a request for evidence > of a time to change that can be used in a complaint. > > What I would like is to be able, on an html file by html f

Re: [EMAIL PROTECTED] Apache on Windows

2007-03-06 Thread matt farey
truly wonderful, those apache guys and gals are great. latest apache with mod_security2 with php, perl, python (...) modules on win pro hundreds of thousands of requests per day, complex apps, hundreds of vhosts, no issues whatsoever, uptime is great, (no abnormal crashes ever) (which I think i

Re: [EMAIL PROTECTED] Render an image for a 404 on images

2007-03-06 Thread matt farey
why not have a rewrite that says if the request is an image, and is not present, then redirect to the 404 images, you can capture the type of extension in the rewrite and direct to the appropriate pre-rendered image. philguillard wrote: > Hi, > > I'd like to render a specific 404.gif file when the

Re: [EMAIL PROTECTED] rewrite rules

2007-02-26 Thread matt farey
Gonzalez, Miguel wrote: > Sorry, it's not working I am getting on the logs: > > > 10.0.6.221 - - [26/Feb/2007:16:06:02 --0500] > [mydomain.com/sid#81c4370][rid#83a11d0/initial] (3) [per-dir > /var/www/mydomain.com/] add per-dir prefix: index.php -> > /var/www/mydomain.com/index.php > 10.0.6.22

Re: [EMAIL PROTECTED] rewrite rules

2007-02-26 Thread matt farey
Gonzalez, Miguel wrote: > Sorry, it's not working I am getting on the logs: > > > 10.0.6.221 - - [26/Feb/2007:16:06:02 --0500] > [mydomain.com/sid#81c4370][rid#83a11d0/initial] (3) [per-dir > /var/www/mydomain.com/] add per-dir prefix: index.php -> > /var/www/mydomain.com/index.php > 10.0.6.22

Re: [EMAIL PROTECTED] rewrite rules

2007-02-26 Thread matt farey
Gonzalez, Miguel wrote: > Do you see any failure on the rules? I have sent out the logs that I got, it > seems that It gets on an endless loop. > > Many thanks > > Miguel > > >> -Original Message- >> From: matt farey [mailto:[EMAIL PROTECTED] >

Re: [EMAIL PROTECTED] rewrite rules

2007-02-26 Thread matt farey
What URL you are actually requesting? - there are a few that will, but that's ok provided you don't care about those. Gonzalez, Miguel wrote: > Dear all, > > I have Apache 2.0.54 on a Debian stable. I have what seems to be a > endless loop: > > mod_rewrite: > maximum number of internal redirec

Re: [EMAIL PROTECTED] Help: GIFs that are in same directory as PERL script are being executed

2007-02-23 Thread matt farey
Can you use the ForceType image/gif inside a FilesMatch or similar stanza, have you tried |RemoveHandler .gif have you removed the x-bit hack if its there? | Stephen Truxton wrote: > Thanks Mark, but that was one of the things that I > tried & didn't work. Just complains that it doesn't > have en

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread matt farey
[EMAIL PROTECTED] wrote: >> Have you looked around for further config blocks of the type >> >> >> Does your server have rewrites in place for this, and is the file >> listing you are seeing the location to which the DirectoryIndex >> directive applies, it is the location directive in the vhosts

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread matt farey
[EMAIL PROTECTED] wrote: > I've got a FreeBSD 5.4-RELEASE box that I've just fallen into > administering, with an existing Apache 2.0.58 install. One of my first > tasks has been to get PHP4 installed, so that the site can support a > blog and some other features. > > The PHP installation went sm

Re: [EMAIL PROTECTED] DirectoryIndex

2007-02-23 Thread matt farey
DirectoryIndex index.html index.php index.htm index.cgi index.phtml the order is key here. If you have multiviews on YMMV but that should do it. KOJC wrote: > Hi there, > > > I have uploaded my files to the Document Root and there are two files > , index.html and index.php. When I browse in th

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread matt farey
have you tried [P,L,T=text/html] Sergey N. Romanov wrote: > Hi, > > We need system which will make these things : > - user requested url like http://our.server/XYZ/page.html > - rewrite engine should map /XYZ/ to real server name and make proxy > request to http://another.server/page.html > - the

Re: [EMAIL PROTECTED] avoiding a redirect loop with rewrites

2007-02-22 Thread matt farey
Josh Trutwin wrote: > On Thu, 22 Feb 2007 21:36:03 + > matt farey <[EMAIL PROTECTED]> wrote: > > >> RewriteEngine On >> ReWriteCond %{REQUEST_FILENAME} pid5.html$ >> ReWriteCond %{QUERY_STRING} !stop=yes >> ReWriteRule . /products.html [R=301]

Re: [EMAIL PROTECTED] avoiding a redirect loop with rewrites

2007-02-22 Thread matt farey
Josh Trutwin wrote: > Hi, > > I'm working for a small company that uses a custom CMS. When > customers create pages in the CMS a file gets created based on the > page's id number - for example: > > www.mysite.com/pages/pid5.html > > I've pushed some code into the CMS that lets the site admin cre

Re: [EMAIL PROTECTED] setting up virtual hosting

2007-02-22 Thread matt farey
Sam Carleton wrote: > On 2/22/07, Boyle Owen <[EMAIL PROTECTED]> wrote: > >> > I am back at it and it simply is NOT working. No matter what I do, I >> > cannot get to the default web site. >> >> It is not clear what you mean by "default web site". Once you start >> using VHs, the "default web si

Re: [EMAIL PROTECTED] setting up virtual hosting

2007-02-22 Thread matt farey
Sam Carleton wrote: > On 2/22/07, Boyle Owen <[EMAIL PROTECTED]> wrote: > >> > I am back at it and it simply is NOT working. No matter what I do, I >> > cannot get to the default web site. >> >> It is not clear what you mean by "default web site". Once you start >> using VHs, the "default web si

Re: [EMAIL PROTECTED] Limit download of data by IP address?

2007-02-21 Thread matt farey
uxwrstre wrote: > Hello, > > is there a possibility to limit the download of IP addresses per day? > For example that an IP address could not download more than 1 Gbyte per day > of the apache server? Is there somewhere a module doing that? > > My problem is that my server gets all the time D.o.

Re: [EMAIL PROTECTED] setting up virtual hosting

2007-02-20 Thread matt farey
Sam Carleton wrote: > Matt, > > I do want to set things up as you suggested, but it isn't working. > When I type in the IP address, I get the webdev.miltonstreet.com site > on port 80 and the subversion site on port 443. Here is what I have: > > Listen 80 > Listen 443 > > NameVirtualHost 192.168

Re: [EMAIL PROTECTED] setting up virtual hosting

2007-02-20 Thread matt farey
Sam Carleton wrote: > I am pulling my hair out trying to get the virtual hosting working on > my internal web server. I need to get a test site online and I would > like to have it setup as a name based virtual host. I am running > Apache v2.2.3 with default layout of SUSE, which consists of

Re: [EMAIL PROTECTED] Best practice for setting DocumentRoot based on hostname

2007-02-17 Thread matt farey
Michael Steigerwald wrote: > Hi all, > > Is there a particular best practice for setting DocumentRoot based on > hostname? In my case, I have several domains, e.g., www.agloa.net > and www.mnfatherproject.org > served at the same ip address.