Re: [users@httpd] Attack on my reverse proxy server

2012-06-12 Thread Matus UHLAR - fantomas
t kind of activities and e.g. block source IPs in firewall (a.g. using fail2ban). There apparently are apache modules that can to something similar internally. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this addre

Re: [users@httpd] Should name based virtual hosts work when the ServerName is an IP address?

2012-05-31 Thread Matus UHLAR - fantomas
. I found it more efficient to create different /etc/hosts (same name, different IP) on multiple machines than push httpd.conf through a filter that will replace hostname by IP. Just for sure: * is not acceptable (yet) -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk

Re: [users@httpd] Should name based virtual hosts work when the ServerName is an IP address?

2012-05-31 Thread Matus UHLAR - fantomas
he mentioned docs, I remember no explanation of why this is done. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Micro$oft random number gener

Re: [users@httpd] Should name based virtual hosts work when the ServerName is an IP address?

2012-05-30 Thread Matus UHLAR - fantomas
--On 29 May 2012 16:02:25 +0200 Matus UHLAR - fantomas wrote: This was documented feature in 1.3 and 2.0: The complete list of names in the VirtualHost directive are treated just like a ServerAlias (but are not overridden by any ServerAlias statement) if all names resolve to the same

Re: [users@httpd] Should name based virtual hosts work when the ServerName is an IP address?

2012-05-29 Thread Matus UHLAR - fantomas
problem apply in 2.2 too? (I've checked now and seems it's gone in 2.2) -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. The

Re: [users@httpd] I need to know the number of connections that failed by timeout

2012-05-22 Thread Matus UHLAR - fantomas
PD: Sorry for my bad English... -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Spam = (S)tupid (P)

Re: [users@httpd] cgi-bin subdirectories

2012-05-21 Thread Matus UHLAR - fantomas
: /var/www/cgi-bin/something On 15.05.12 14:11, Igor Cicimov wrote: Include Options +ExecCGI SetHandler cgi-script in your Directory stanza. afaik this is not needed for directory aliased with ScriptAlias -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warni

Re: [users@httpd] Cannot redirect or rewrite from http to https.

2012-05-11 Thread Matus UHLAR - fantomas
but simply cannot rediect from http to https. what approaches? Dimply put RedirectMatch .* https://... to proper directive and you should've been done. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this ad

Re: [users@httpd] Unconditional Redirect?

2012-05-11 Thread Matus UHLAR - fantomas
tried "RedirectMatch .* http://my.new.url.here"; which works fine for http requests, but not for https. you probably need to put that redirect to your HTTPS virtual host. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising

Re: [users@httpd] Inheritance of variable COLUMNS in apache2

2012-04-24 Thread Matus UHLAR - fantomas
and LINES too, but as its variables, not environment). It should be fixed already, but you may comment it on your system. To fix, use "ww" as option for 'ps' so it does not truncats its output. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I w

Re: [users@httpd] Upgrade Apache 1.3.41 to 2.2.22

2012-04-19 Thread Matus UHLAR - fantomas
On 19.04.12 13:57, ithier@jdi.socom.mil wrote: Do I need to upgrade from 1.3 to 2.0, before I can upgrade to 2.2? No. Or should I start fresh with version 2.2? no problems. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail

Re: [users@httpd] Alias based on IP address

2012-04-16 Thread Matus UHLAR - fantomas
On 12.04.12 11:09, Paulo Silva wrote: Inside a virtualhost is it possible to define an Alias based on the IP of the incoming request? I think mod_rewrite can do that... -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to

Re: [users@httpd] mod_status, disable server-status for users

2012-03-05 Thread Matus UHLAR - fantomas
x27;t know of any other way and I that's why I don't use mod_status. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Linux is like

Re: [users@httpd] Conditional disabling of caching (mod_cache) based on presence of certain cookie possible ?

2012-03-05 Thread Matus UHLAR - fantomas
mited (cannot be defined fully) and hence it looks like I need to check the presence of this cookie and then figure out a way to prevent (if the cookie is present) Apache from serving the content from cache. Why a cookie? There's Cache-Control: HTTP header designed for this, not Cookie: -- M

Re: [users@httpd] How to make Apache mod_deflate and Transfer-encoding : Chunked work together?

2012-02-06 Thread Matus UHLAR - fantomas
On 2/1/2012 3:48 AM, Matus UHLAR - fantomas wrote: Of course. But the original question was, why is chunking not used, even when Content-Length was not sent? I don't know HTTP/1.1 enough to answwer this question, do you? On 01.02.12 12:50, William A. Rowe Jr. wrote: Yes; because the e

Re: [users@httpd] How to make Apache mod_deflate and Transfer-encoding : Chunked work together?

2012-02-01 Thread Matus UHLAR - fantomas
. On 1/31/2012 9:37 AM, Matus UHLAR - fantomas wrote: IIUC, it's not badly written client code, but a want from webserver admin, that seems not to be fullfillable with current apache/mod_deflate... On 31.01.12 11:07, William A. Rowe Jr. wrote: No. Protocols and specifications exist

Re: [users@httpd] How to make Apache mod_deflate and Transfer-encoding : Chunked work together?

2012-01-31 Thread Matus UHLAR - fantomas
you are an HTTP/1.1 client. It is always the server's choice. On 1/30/2012 8:30 AM, Matus UHLAR - fantomas wrote: You can however send HTTP/1.0 request with which the server MUST NOT send chunked response. Looking at the original post this is just the opposite OP wants to achieve. On

Re: [users@httpd] Re: IE8 thinks SHTML is "text.html"

2012-01-30 Thread Matus UHLAR - fantomas
ent files unless really needed. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "To Boot or not to Boot, that's the question.&qu

Re: [users@httpd] How to make Apache mod_deflate and Transfer-encoding : Chunked work together?

2012-01-30 Thread Matus UHLAR - fantomas
d response. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Linux is like a teepee: no Windows, no Gates and an apa

Re: [users@httpd] Doubt or problem with redirect - Help please.

2012-01-30 Thread Matus UHLAR - fantomas
the same as the RedirectMatch above, just using different module (I think it's less effective). -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek rek

Re: [users@httpd] Reg Apache Access log size

2012-01-19 Thread Matus UHLAR - fantomas
On 19.01.12 12:40, SSRChandra Devagupthapu wrote: Any one please suggest how to control the access_log in Apache web server. what do you mean "how to control" ? explain please -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to rece

Re: [users@httpd] SSL cipher suite modification

2011-12-08 Thread Matus UHLAR - fantomas
m those but I'd like to see your "security" reasons, due to paragraph above. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.

Re: [users@httpd] Configuring apache to send http headers and data in two tcp ip packets

2011-11-23 Thread Matus UHLAR - fantomas
On 20.11.11 01:10, x y wrote: Please How can i configure my apache-httpd server to always send http headers and data in two tcp ip packets very hard, if at all. Why? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to

Re: [users@httpd] expires review

2011-11-23 Thread Matus UHLAR - fantomas
"access plus 1 day" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg"access plus 1 month" ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/png &quo

Re: [users@httpd] Consequences of https to https rewrites?

2011-11-23 Thread Matus UHLAR - fantomas
just put RewriteRule ^/specialsale$ /content/some/url/page.html You're complicating things much. Simple RedirectMatch should be ok instead of RewriteRule ;) -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to th

Re: [users@httpd] Re: Server default vhost

2011-11-04 Thread Matus UHLAR - fantomas
2.168.0.1: // means hidden ServerAlias 192.168.0.1 ... replacing those would create first (default) host with name www.domain.tld and hidden alias 192.168.0.1 which would be the default virtual hsot for IP 192.168.0.1 -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warnin

Re: [users@httpd] Map URL to directory

2011-10-24 Thread Matus UHLAR - fantomas
ainPath/ to tomcat, which includes /MainPath/AL ... maybe you could Alias /MainPath/AL within other Location directive. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT

Re: [users@httpd] Best way to redirect within .htacces

2011-09-16 Thread Matus UHLAR - fantomas
tand what's the problem. you need different virtual host with different documentroot, and put you Redirect directive there. I prefer using special modules for this, like redirtoservname or common_redirect. Unfortunately anything like "UseCanonicalName force" wasn't implement

Re: [users@httpd] Directory Browsing

2011-08-10 Thread Matus UHLAR - fantomas
matters, as it can be reset at more specific contexts and in .htaccess files. On 03.08.11 16:58, Amira Othman wrote: I added it within virtual host in directory directive and there is no htaccess used Isn't there any directive mathing the directory or its parents? -- Matus UHLAR - fan

Re: [users@httpd] Timeout question

2011-08-10 Thread Matus UHLAR - fantomas
packets for POST or PUT requests must come in lowert intervals, to prevent very slow clients from eating all connections to apache. Apparently aginst slowloris attack. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this

Re: [users@httpd] subdomain

2011-08-10 Thread Matus UHLAR - fantomas
iptables You can use firwall rules (e.g. iptables) if the MX uses different IP. But in such case, you also can make apache not to listen on that IP. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na

Re: [users@httpd] need some thoughts on trouble shooting httpd server hangup

2011-06-22 Thread Matus UHLAR - fantomas
. while (1) sleep (20); I have timeout set to 900 but it does not appear to be working. Will this timeout protect the server from such scripts or should is there something else. set max_execution_time in php.ini. for CGI and SSI executed processes, you need to set RLimitCPU -- Matus UHLAR

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Matus UHLAR - fantomas
above is the recommended way on the apache httpd wiki: > http://www.php.net/manual/en/install.unix.apache2.php Aha, I see: "Instead of only using the Apache AddType directive, we want to avoid potentially dangerous uploads and created files such as exploit.php.jpg from being executed

Re: [users@httpd] PHP Not Working

2011-06-15 Thread Matus UHLAR - fantomas
nt something different than AddHandler? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. The 3 biggets disasters: Hiroshima 45,

Re: [users@httpd] Incomplete file downloads if Apache HTTPD is killed

2011-05-10 Thread Matus UHLAR - fantomas
ere something one can do with > Apache (or Linux/other OS) that will change browser's behaviour in a > way that it will report incomplete download to the user? So it appears there in one, but it was reported that clients ignore it :) -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http:/

Re: [users@httpd] Incomplete file downloads if Apache HTTPD is killed

2011-05-09 Thread Matus UHLAR - fantomas
out killed server and knowing that the file was transferred - It's often impossible to know. The chunked encoding or the Content-Length header are needed to know if the whole file was transfered. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to

Re: [users@httpd] Chroot a virtual host

2011-05-09 Thread Matus UHLAR - fantomas
the same permissions. You can limit files which can a PHP script access by using PHP directives open_basedir and doc_root. You can run peruses MPM wich apathe 2.2. You can also run PHP as CGI using suexec, but that's a bit ineffective. I don't know how does FastCGI work. -- Matus UHLA

Re: [users@httpd] mod_ssl with apach-1.3.19

2011-04-06 Thread Matus UHLAR - fantomas
if i want name like mod_ssl.so what should > i do ? or just rename libssl.so to mod_ssl.so that will not work. But could you upgrade to at least apache 1.3.42 and compile it dynamically with openssl? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to rec

Re: [users@httpd] How do I keep Virtural hosts from seeing the others document root?

2011-04-06 Thread Matus UHLAR - fantomas
in PHP scripts to access SOL databases > > etc.. > > > > This issue could be resolved by making each virtualhost run under a > > different account and jailing each account in a different jail. On 06.04.11 11:39, Matus UHLAR - fantomas wrote: > read my former mail,

Re: [users@httpd] How do I keep Virtural hosts from seeing the others document root?

2011-04-06 Thread Matus UHLAR - fantomas
alhost run under a different > account and jailing each account in a different jail. read my former mail, I think I have described everything you mention. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address

Re: [users@httpd] multiviews doesn't work on index pages (and DirectoryIndex properly configured)

2011-04-03 Thread Matus UHLAR - fantomas
> Have you tried using LanguagePriority and ForceLanguagePriority? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Linux - It

Re: [users@httpd] How do I keep Virtural hosts from seeing the others document root?

2011-04-03 Thread Matus UHLAR - fantomas
te for owner, read for group) and run apache under user nobody but the group you give to all directories. Note that ordinary users must not belong to the group. Running under suexec, run scripts under the userid and group that doesn't have permission to read those directories. -- Matus UHLAR

Re: [users@httpd] Named virtual host dot local [.local] tld

2011-02-22 Thread Matus UHLAR - fantomas
> Am I missing something obvious (like Apache won't wear .local as a tld), > is this a 'feature/bug' or am I missing something? I think that is more a problem or correct configuration -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wis

Re: [users@httpd] Adding RequestHeader content from script

2011-02-22 Thread Matus UHLAR - fantomas
server can become ... > quite interesting :-). Why do you want this? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "The box said '

Re: [users@httpd] PHP to control Apache

2011-02-08 Thread Matus UHLAR - fantomas
apache from PHP? mod_perl is designed to do such things. It can do much more of course. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Nothing i

Re: [users@httpd] cleanest/fastest way of redirecting aliases to canonical server names

2011-02-08 Thread Matus UHLAR - fantomas
/example.org 3) use special modules as mod_redirtoservname (debian) or mod_common_redirect (gentoo) that do this. (unfortunately, the latter bugs on ssl sites) -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie

Re: [users@httpd] mod_ssl, erratic performance

2011-01-27 Thread Matus UHLAR - fantomas
to include the > configuration setups.. > > I can move the bare-bones configuration between the sparc and x86 > platforms and get normal response on the sparc, and irregular on the x86. random device can make a huge difference. What do you use for random data? /dev/random or /dev/urando

Re: [users@httpd] Status 3221225480 and restart

2011-01-27 Thread Matus UHLAR - fantomas
Is this somehow related to the SSL problem you were replying to? If not, please stop hijacking threads - send a new mail, not a reply. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adr

Re: [users@httpd] RedirectMatch

2011-01-17 Thread Matus UHLAR - fantomas
> On Monday 17 January 2011 11:27, Matus UHLAR - fantomas wrote: > > On 13.01.11 11:07, Jørn wrote: > > > I got a problem with using RedirectMatch. > > > > > > The following RedirectMatch line works well: > > > RedirectMatch 301 /Foto/Album.*img_([0-9

Re: [users@httpd] RedirectMatch

2011-01-17 Thread Matus UHLAR - fantomas
, the first line wouldn't work even. > -- you'll need mod_rewrite. ...please, don't use mod_rewrite for something it's not needed for, and don't advise people to do so. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to rece

Re: [users@httpd] RedirectMatch

2011-01-17 Thread Matus UHLAR - fantomas
directMatch: > > RedirectMatch 301 ^/Foto/show.*album\=(.*)$ > "http://some.other.url/album.php?album=$1"; Tried to remove the backslash and quotes? > But it does not match. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to

[users@httpd] kill hanging CGIs

2011-01-14 Thread Matus UHLAR - fantomas
version is 2.2.16 (gentoo linux). Thank you P.S. I know that the problem may lie outside of this problem, but I'm afraid that if processes will hang, I will just have to kill them somehow). -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to

Re: [users@httpd] mod_rewrite

2011-01-09 Thread Matus UHLAR - fantomas
> I am using following rule, which works, but induces redirection on > client end. I was thinking if I can reduce this unnecessary traffic. > > RewriteRule ^/alpha/beta/theta/(.*) /sugar/$1 [NC,L] why not use alias? Alias /alpha/beta/theta/someuseful/ /prefix/someuseful/ in the vh

Re: [us...@httpd] New to list - Redirect, Alias or Rewrite?? Very confused...

2011-01-09 Thread Matus UHLAR - fantomas
all those directives should work somehow, but I prefer Redirect for such cases. > I have restarted Apache on each change. reload, even graceful, should be enough. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to thi

Re: [us...@httpd] Alias-ed directory appears on multiple virtual hosts

2010-12-12 Thread Matus UHLAR - fantomas
> serving the wrong data. I am also sorry but apache does not support any "host not configured" error, it just uses default (first configured) vhost in such case. I'd love if apache supported the "host not configured" error. -- Matus UHLAR - fantomas, uh...@fantomas.sk ;

Re: [us...@httpd] Alias-ed directory appears on multiple virtual hosts

2010-12-12 Thread Matus UHLAR - fantomas
/port pair because apache does NOT know the "host not configured" error so we must "create" it. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT

Re: [us...@httpd] Alias-ed directory appears on multiple virtual hosts

2010-12-08 Thread Matus UHLAR - fantomas
s://twosite.com/phppgadmin On 07.12.10 20:27, Joost de Heer wrote: > SSL namebased virtualhosting will not work. Yes, it will, but browsers will apparently comply that the certificate does not match the host provided. He can have wildcard certificate or certificate with alternative n

Re: [us...@httpd] Alias-ed directory appears on multiple virtual hosts

2010-12-08 Thread Matus UHLAR - fantomas
/etc/apache2/conf.d/security should be apparently included right from apache2.conf, the other >From the same reason I removed some mods-enabled/*.conf and load it from separate virtual hosts where needed, e.g.: mods-available/alias.conf mods-available/info.conf mods-available/status.conf mods-ava

Re: [us...@httpd] Can't get suexec to work on a userdir

2010-11-30 Thread Matus UHLAR - fantomas
implications. Do the PHP scripts need to run as > CGI in order for suexec to work? Precisely. There was mod_suphp module for apache 2.0 somewhere, you can search if it sills up your requirements, or you can try using peruser MPM. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantoma

Re: [us...@httpd] Can't get suexec to work on a userdir

2010-11-30 Thread Matus UHLAR - fantomas
scripts as CGI? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Spam is for losers who can&#x

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Matus UHLAR - fantomas
> On 15 November 2010 17:17, Matus UHLAR - fantomas wrote: > > > Redirect / https://www.site.co.za > > > > in the VirtualHost section for site.co.za (yes, you need separate virtual > > host) > > > > I hope you have SSL certificate for www.site.

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Matus UHLAR - fantomas
> On 15 November 2010 14:40, Matus UHLAR - fantomas wrote: > > > > There is no need for mod_rewrite. the Redirect directive can do exactly the > > same with less of workload. > > > > You don't need a cannon for shooting birds, do you? On 15.11.10 15:

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Matus UHLAR - fantomas
e.co.za and the second > is to redirect all traffic for https://site.co.za to > https://www.site.co.za . There is no need for mod_rewrite. the Redirect directive can do exactly the same with less of workload. You don't need a cannon for shooting birds, do you? -- Matus UHLAR - fantomas, u

Re: [us...@httpd] Limiting Request Body suggestion

2010-11-15 Thread Matus UHLAR - fantomas
the "Display userfriendly error messages" bug^Wfeature? > On Tue, Nov 9, 2010 at 2:17 AM, Matus UHLAR - fantomas > wrote: > > Is there any need for work around this? > > > > They may come with greater limits later. Simply give them what they have > > chosen:

Re: [us...@httpd] Indexes with Require group

2010-11-10 Thread Matus UHLAR - fantomas
On 01.11.10 08:39, Andrew Simpson wrote: > I would like to only allow directory Indexes to certain AuthGroupFile groups. you mean, that authorized users could see directory listings, others would get an error? > Is this possible via basic configuration? afaik it's not. --

Re: [us...@httpd] Limiting Request Body suggestion

2010-11-09 Thread Matus UHLAR - fantomas
Wfeature? Is there any need for work around this? They may come with greater limits later. Simply give them what they have chosen: bullshit error messages. Providing .reg file that removes the lame setting is the best we can do about this. sorry for being semi-OT -- Matus UHLAR - fantom

Re: [us...@httpd] Re: possible to add multiple locations for the document root

2010-10-25 Thread Matus UHLAR - fantomas
ning. without them, the /target-test would get mapped to /usr/local/phppgadmin/phppgadmin-test no matter if the directory exists. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adres

Re: [us...@httpd] Re: [announce] Apache HTTP Server 2.2.17 and 2.0.64 Released

2010-10-21 Thread Matus UHLAR - fantomas
> >> XML documents. > On 10/20/2010 1:44 AM, Matus UHLAR - fantomas wrote: > > does this mean that if I have apache compiled with external > > apr-util-1.3.10 and external expat, I am safe? On 20.10.10 15:05, William A. Rowe Jr. wrote: > From these two flaws?

Re: [us...@httpd] SSL vulnerability question

2010-10-20 Thread Matus UHLAR - fantomas
es high, medium, low and SSLv2 On 18.10.10 17:25, Igor Galić wrote: > And that's your problem. > > > SSLProtocol TLSv1 SSLv3 > SSLCipherSuite RC4-SHA:AES256-SHA:ALL:!ADH:!MD5 I use: SSLCipherSuite DEFAULT:!EXP:!LOW you can list those by issuing: openssl ciphers -v '

[us...@httpd] Re: [announce] Apache HTTP Server 2.2.17 and 2.0.64 Released

2010-10-19 Thread Matus UHLAR - fantomas
* SECURITY: CVE-2009-3560, CVE-2009-3720 (cve.mitre.org) >Fix two buffer over-read flaws in the bundled copy of expat which >could cause httpd to crash while parsing specially-crafted >XML documents. does this mean that if I have apache compiled with external apr-util-1.3.1

Re: [us...@httpd] Apache homepage not coming after deployin application on tomcat

2010-10-04 Thread Matus UHLAR - fantomas
gt; page. Have you tried http://webserver_name/index.html ? Have you tried http://webserver_name/ ? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek

Re: [us...@httpd] Question about expires headers + php images returned without file extensions

2010-09-20 Thread Matus UHLAR - fantomas
years" > > Or at least this would work: > > ExpiresDefault "access plus 1 years" phpinfo() is just a function, it does not set http headers. The page above generates many headers to prevent caching, I'd search what is causing that. -- Matus UHLAR - fanto

Re: [us...@httpd] rewrite redirect advise

2010-08-24 Thread Matus UHLAR - fantomas
\/blog$ [NC] the HTTP Host: will NEVER contain the "/blog" part. > RewriteRule ^(.*)$ http://blog.mysite.com$1 [L,R=301] > > is this correct way to do this? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail adver

Re: [us...@httpd] How to redirect ?

2010-08-24 Thread Matus UHLAR - fantomas
cumentRoot. > So for example > > http:/// > http://:6405/InfoViewApp/logon.jsp ServerName host2 Redirect temp / http://host2:6405/InfoViewApp/logon.jsp and if those hosts share the same IP, you must have NameVirtualHost IP directive in your config. -- Matus UHLAR - fantomas, u

Re: [us...@httpd] nested Require group?

2010-08-21 Thread Matus UHLAR - fantomas
Does this seem right? Does anyone know of a way to AND Require group > directives? No. And note you must use different realms by specifying different AuthName directives, otherwise it may confuse browsers. The access privileges to the same realm (same AuthName) should be the same within whole realm.

Re: [us...@httpd] Apache - Client Max Out

2010-08-05 Thread Matus UHLAR - fantomas
ved content is cacheable (mostly the dynamic one) and if the scripts serving it are effective enough. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek r

Re: [us...@httpd] failing to determine servers fully qualified doamin name

2010-07-27 Thread Matus UHLAR - fantomas
On 27.07.10 21:28, Tapas Mishra wrote: > We have changed our settings no more Apache. > Lighttpd. good news for us. bad news for the lighttpd users lists/forums. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising t

Re: [us...@httpd] Apache - Client Max Out

2010-07-26 Thread Matus UHLAR - fantomas
stion in this regard is > appreciated. apparently your server is being used. Check logs if it's not being abused (e.g. if you don't have an open proxy). -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this addr

Re: [us...@httpd] about unsubscribing

2010-07-26 Thread Matus UHLAR - fantomas
bdigitals.com a>and photo gallery:http://www.pbase.com/yves";>http://ww= > w.pbase.com/yves "Welcome to my gallery:" ? What are you sending to the list unsubscribe address? send plaintext "unsubscribe" to the admin address and reply the configurmation request wi

Re: [us...@httpd] a chain of proxy servers

2010-07-26 Thread Matus UHLAR - fantomas
On 15.07.10 19:29, James Godrej wrote: > I am looking for an example of use of Proxvia directive given > here http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxyvia the example is just there. What more you want? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fanto

Re: [us...@httpd] failing to determine servers fully qualified doamin name

2010-07-26 Thread Matus UHLAR - fantomas
d to check ? Simply: put directives: ServerName site1.domain.com and ServerName site2.domain.com to virtualhost definitions. apache does NOT take care of /etc/hosts. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising

Re: [us...@httpd] still see .htaccess and .htpasswd trough virtual host

2010-07-08 Thread Matus UHLAR - fantomas
in some virtualhost or directory section? Is there any section of the host you are referring to? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu

Re: [us...@httpd] PHP error logs to centralized syslog

2010-07-02 Thread Matus UHLAR - fantomas
On 30.06.10 11:39, James Corteciano wrote: > I know this is out of topic here in mailing list but I couldn't get into php > mailing list. good luck trying. Did you try to contact php in other ways to find out why didn't you get to their mailing list? -- Matus UHLAR - fantomas, u

Re: [us...@httpd] Connection attempts - mod_proxy

2010-07-02 Thread Matus UHLAR - fantomas
means you have to close a security hole... -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. REALITY.SYS corrupted. Press any

Re: [us...@httpd] Add new site

2010-06-24 Thread Matus UHLAR - fantomas
to many parts, since that makes imho the configuration much harder, not easier and the apache configuration system is not made to be maintained in man files, no matter how different SW distribution administrators want it. (well, I guess they know it and they have hard work to do the configuration easier) --

Re: [us...@httpd] Can not access one page from other than localhost - but can access another ok from lan...what's up?

2010-06-22 Thread Matus UHLAR - fantomas
m the > LAN no problems. But not to /ninja, that only works on the localhost ...I > need your help to track the cause. check if it is not the ninja who cares where do you connect from. even if apache allows access, PHP scripts may refuse it. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://w

Re: [us...@httpd] DNS lookup cached

2010-06-22 Thread Matus UHLAR - fantomas
roblem? I doubt apache caches the IP. I guess it's windows who is caching the IP, check that possibility first. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tu

Re: [us...@httpd] Disabling the SNI functionality?

2010-06-22 Thread Matus UHLAR - fantomas
On 17.06.10 11:27, Hintz, Dan wrote: > When I use an application on Windows Vista that communicates with our > server (using Apache 2.2.13 and OpenSSL 0.9.8k), it succeeds if I use the > IP address of the server, but it fails when I use the FQDN of the server. fail in what way? -- Ma

Re: [us...@httpd] default server serving to change

2010-06-22 Thread Matus UHLAR - fantomas
> On Thu, Jun 17, 2010 at 5:15 PM, Matus UHLAR - fantomas > wrote: > > >> the ReWriteRule in vhost of site1.mydomain.com as follows > > > > why rewrite rule when you can issue redirect by redirect directive? > > > > Redirect / http://sice.mydomain.com/

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-21 Thread Matus UHLAR - fantomas
host redirecting to second one, with ServerName www.askapache.com and no ServerAlias. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Your

Re: [us...@httpd] default server serving to change

2010-06-17 Thread Matus UHLAR - fantomas
vhost of site1.mydomain.com as follows why rewrite rule when you can issue redirect by redirect directive? Redirect / http://sice.mydomain.com/ (note the trailing slash, it should be there) -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to recei

Re: [us...@httpd] hide web content

2010-06-11 Thread Matus UHLAR - fantomas
ck whether the user has right to access the file. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. - Holmes, what kind of school did you

Re: [us...@httpd] Trying to use one index file for all files in a directory

2010-06-10 Thread Matus UHLAR - fantomas
toryIndex (see AllowOverride in apache's config). Not using .htaccess is a bit more effective. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu po

Re: [us...@httpd] httpd vhost centralized logging

2010-05-25 Thread Matus UHLAR - fantomas
On 24.05.10 11:45, Sandro Tosi wrote: > We wanted to use syslog too, but it's very rigid (only 8 localX facility > for custom logs) so we discarded this solution. you can use one local facility and zillions of program names to distinguish between different logs. -- Matus UHLAR - f

Re: [us...@httpd] 301 redirect

2010-05-25 Thread Matus UHLAR - fantomas
> On Tue, May 25, 2010 at 8:20 AM, Matus UHLAR - fantomas > wrote: > > On 19.05.10 00:02, Piotr Kloc wrote: > >> Can I set the redirect 301 not in .htaccess but in apache conf ? > >> I have tried to set this > >> > >> RewriteEngine on > >>

Re: [us...@httpd] Is /etc/resolve.conf being Used for Apache 2?

2010-05-25 Thread Matus UHLAR - fantomas
Eric Covener [mailto:cove...@gmail.com] > Why do you suspect it doesn't? What problem do you have? What makes you think there's problem with DNS? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. V

Re: [us...@httpd] 301 redirect

2010-05-25 Thread Matus UHLAR - fantomas
mail/ you even don't need mod_rewrite for this. (many people use mod_rewrite where simple redirect is enough). > and it doesnt work as was mentioned (just for sure) - URL always starts with '/'. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warn

Re: [us...@httpd] ssl certifikate mismatch

2010-05-24 Thread Matus UHLAR - fantomas
bject name 'aaa' does not match target host name 'bbb' does 'bbb' point to 10.0.0.2? > > curl https://10.0.0.2:81 > SSL: certificate subject name 'aaa' does not match target host name > '10.0.0.2' you can expect this one, when access

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

2010-05-14 Thread Matus UHLAR - fantomas
I think that RedirectMatch /index.php(?.*) / could do that. While rewrites may wor, I prefer easier solutions. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOST

Re: [us...@httpd] different php.ini for virtual host on apache2 with mod_php5

2010-03-16 Thread Matus UHLAR - fantomas
case I want to > use php.ini for one host, where disable_functions = mail will be. This is apache mailing list, and your question belongs to PHP list/forum etc. You can also search PHP docs on http://www.php.net/ -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wis

  1   2   3   4   >