[users@httpd] How to allow specific IP to bypass .htaccess authentication ?

2012-08-10 Thread J. Bakshi
Dear list, I have the following in my .htaccess to force the authentication [] AuthName htaccess password prompt AuthUserFile /home/askapache.com/.htpasswd AuthType Basic Require valid-user [...] Now I like some IPs to bypass the authentication. Hence I have modified the rule as [...]

Re: [users@httpd] how to add multiple redirection rule in .htaccess ?

2012-06-27 Thread J. Bakshi
] On Wed, Jun 27, 2012 at 3:53 PM, J. Bakshi joyd...@infoservices.in wrote: Dear list, I already have the following at my .htaccess which is running well [] RewriteCond %{HTTP_HOST} ^mydomain.com [OR] RewriteCond %{HTTP_HOST} ^www.mydomain.com RewriteCond %{REQUEST_URI

[users@httpd] how to add multiple redirection rule in .htaccess ?

2012-06-26 Thread J. Bakshi
Dear list, I already have the following at my .htaccess which is running well [] RewriteCond %{HTTP_HOST} ^mydomain.com [OR] RewriteCond %{HTTP_HOST} ^www.mydomain.com RewriteCond %{REQUEST_URI} !folderB/ RewriteRule ^(.*)$ folderB/ [L] [...] I need a little modification

[users@httpd] git over http; how to check /refs/heads/master

2012-06-22 Thread J. Bakshi
Dear list, I am trying to make a pre-receive hook which can check /refs/heads/master and based on the user name it allow/deny push to master. The git is configured over http here. So from apache log ; during push I can see GET

Re: [users@httpd] git over http; how to check /refs/heads/master

2012-06-22 Thread J. Bakshi
On Fri, 22 Jun 2012 13:47:13 +0530 J. Bakshi joyd...@infoservices.in wrote: Dear list, I am trying to make a pre-receive hook which can check /refs/heads/master and based on the user name it allow/deny push to master. The git is configured over http here. So from apache log ; during push

[users@httpd] How to collect username from http header ?

2012-06-20 Thread J. Bakshi
Dear list, I have a git setup where user can authenticate via https based on htpasswd authentication. I need some more fine tuning ; hence I like to know the username for the specific connection. Say user1 has authenticated successfully, and I like to compare his ACL based on another file. How

Re: [users@httpd] How to collect username from http header ?

2012-06-20 Thread J. Bakshi
On Wed, 20 Jun 2012 17:44:04 +0530 J. Bakshi joyd...@infoservices.in wrote: Dear list, I have a git setup where user can authenticate via https based on htpasswd authentication. I need some more fine tuning ; hence I like to know the username for the specific connection. Say user1 has

Re: [users@httpd] How to collect username from http header ?

2012-06-20 Thread J. Bakshi
On Wed, 20 Jun 2012 08:39:13 -0400 Jeff Dyke jeff.d...@gmail.com wrote: On Wed, Jun 20, 2012 at 8:24 AM, J. Bakshi joyd...@infoservices.in wrote: On Wed, 20 Jun 2012 17:44:04 +0530 J. Bakshi joyd...@infoservices.in wrote: Dear list, I have a git setup where user can authenticate via

[users@httpd] apache setenv question

2012-06-05 Thread J. Bakshi
Dear list, I have come here with a gitweb issue which is related with apache setenv . I have set gitweb with a single project root and it's running fine. The problem arise when multiple root come into picture. Following the git documentation, I have defined the separate gitweb.conf in the

[users@httpd] non-www to www redirect works with a little issue

2012-05-25 Thread J. Bakshi
Hello, I have place the following in my .htaccess to redirect non-www to www redirection ` RewriteCond %{HTTP_HOST} ^example\.com$ RewriteRule ^(.*) http://www.example.com/$1 [R=301] ``` The redirect work well but a little hitch. Say If I visit

Re: [users@httpd] Solved non-www to www redirect works with a little issue

2012-05-25 Thread J. Bakshi
Solved :-) RewriteRule ^(.*) http://www.example.com/%{REQUEST_URI} [R=301] On Fri, 25 May 2012 16:23:29 +0530 J. Bakshi joyd...@infoservices.in wrote: Hello, I have place the following in my .htaccess to redirect non-www to www redirection ` RewriteCond %{HTTP_HOST

[users@httpd] CGI taking too much time

2011-12-19 Thread J. Bakshi
Dear list, A serious problem with apache. If I enable cgi module, the sites taking 30 sec.. to open !!! After this *initial* opening the sites running normally. If I disable cgi, the problem solved, but I do need cgi. At the server log I get [warn] FastCGI: (dynamic) server

[users@httpd] php 5.2 as cgi automatically changes protocol !!!

2011-12-16 Thread J. Bakshi
Dear list, I ma facing a strange problem in my debian squeeze box having apache and both php 5.3 as module + php 5.2 as cgi. Whenever I set any site to work with 5.2 cgi, the http:// protocol automatically changes to https:// and the link becomes as

Re: [users@httpd] php 5.2 as cgi automatically changes protocol !!!

2011-12-16 Thread J. Bakshi
On Fri, 16 Dec 2011 10:51:15 - (UTC) Igor Galić i.ga...@brainsware.org wrote: - Original Message - Dear list, I ma facing a strange problem in my debian squeeze box having apache and both php 5.3 as module + php 5.2 as cgi. Whenever I set any site to work with

[users@httpd] fastcgi make the .php script down-loadable

2011-11-21 Thread J. Bakshi
Dear list, A strange issue with apache running in an opensuse 11.2 box. With in particular folder, I have .htaccess containing only ` ` ` ` AddHandler php-fastcgi .php ` ` ` ` and this makes the .php file down-loadable. If I comment that line, then apache shoes the source code of the .php How

[users@httpd] any debian repo providing apache 2.2.21 in stable ?

2011-11-16 Thread J. Bakshi
Dear list, Is there any debian repo which backports apache 2.2.21 for stable branch ? Thanks - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more

Re: [users@httpd] apache 2.2.16 deadly slow

2011-11-10 Thread J. Bakshi
On Thu, 10 Nov 2011 02:05:44 +0100 Bostjan Skufca bost...@a2o.si wrote: Seconded:) b. Dear list, To be confirmed I have installed debian squeeze on a new server having 8GB RAM and with i5 processors. Then installed apache2, php5, mysql etc. Have not done any tweak on any configuration

Re: [users@httpd] apache 2.2.16 deadly slow

2011-11-09 Thread J. Bakshi
On Wed, 9 Nov 2011 12:17:20 +0530 J. Bakshi joyd...@infoservices.in (জ বকসী) wrote: On Wed, 09 Nov 2011 14:28:12 +0800 Sharl.Jimh.Tsin amoiz.sh...@gmail.com wrote: 在 2011-11-09三的 11:53 +0530,J. Bakshi写道: Hello list, I have recently upgraded a debian box from old lenny to squeeze

Re: [users@httpd] apache 2.2.16 deadly slow

2011-11-09 Thread J. Bakshi
On Wed, 09 Nov 2011 16:45:45 +0800 Sharl.Jimh.Tsin amoiz.sh...@gmail.com wrote: 在 2011-11-09三的 14:09 +0530,J. Bakshi写道: On Wed, 9 Nov 2011 12:17:20 +0530 J. Bakshi joyd...@infoservices.in (জ বকসী) wrote: On Wed, 09 Nov 2011 14:28:12 +0800 Sharl.Jimh.Tsin amoiz.sh...@gmail.com wrote

Re: [users@httpd] apache 2.2.16 deadly slow

2011-11-09 Thread J. Bakshi
On Wed, 9 Nov 2011 12:04:01 +0100 Marcin 'Rambo' Roguski ra...@id.uw.edu.pl wrote: still very very very slow Is HostnameLookups on? no no... off. HostnameLookups Off and it is a local server - The official

[users@httpd] apache 2.2.16 deadly slow

2011-11-08 Thread J. Bakshi
Hello list, I have recently upgraded a debian box from old lenny to squeeze. Hence the apache has become Server version: Apache/2.2.16 (Debian) Server built: Sep 29 2011 20:59:05 But... the apache has become *deadly slow*. This box has 4GB RAM with xeon processor. And the main point apache

Re: [users@httpd] apache 2.2.16 deadly slow

2011-11-08 Thread J. Bakshi
On Wed, 09 Nov 2011 14:28:12 +0800 Sharl.Jimh.Tsin amoiz.sh...@gmail.com wrote: 在 2011-11-09三的 11:53 +0530,J. Bakshi写道: Hello list, I have recently upgraded a debian box from old lenny to squeeze. Hence the apache has become Server version: Apache/2.2.16 (Debian) Server built

[users@httpd] Satisfy Any not working here

2011-01-23 Thread J. Bakshi
Dear list, I have a .htaccess with authentication configuration located at the htdocs , so all folders under htdocs need a username / password to be accessed. Now I need to allow connection from a specific IP and to a specific folder, so it would be a password less access for that folder only

[us...@httpd] problem setting https:// in local server

2010-12-03 Thread J. Bakshi
Hello list, I have no issue making virtual domain in a local-server with apache vhost technique, so users within the intranet can access those virtual domains, once they have the proper entry in their own /etc/hosts file. But the problem is with virtual domains having SSL support. Visiting

Re: [us...@httpd] apache problem after replacing hard disk

2010-08-15 Thread J. Bakshi
On Sat, 14 Aug 2010 13:33:37 +0100 Nick Kew n...@webthing.com wrote: On 14 Aug 2010, at 11:13, joyd...@infoservices.in joyd...@infoservices.in wrote: . Could anyone suggest what is going wrong after replacing the disk ? Nope. But does EnableSendfile Off fix it? Thanks for the

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

2010-07-11 Thread J. Bakshi
On Fri, 9 Jul 2010 21:53:43 + (UTC) Jonesy gm...@jonz.net wrote: On Fri, 9 Jul 2010 08:14:44 +0530, J. Bakshi wrote: any clue please ? # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Files ~ ^\.ht Order allow,deny

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

2010-07-11 Thread J. Bakshi
On Fri, 9 Jul 2010 21:53:43 + (UTC) Jonesy gm...@jonz.net wrote: On Fri, 9 Jul 2010 08:14:44 +0530, J. Bakshi wrote: any clue please ? # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Files ~ ^\.ht Order allow,deny

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

2010-07-08 Thread J. Bakshi
Hello list, I have become little confused and hope to get some help. I have a suse 11.2 server running Apache/2.2.10 (Linux/SUSE) with some virtual hosts. I already have the following in httpd.conf file `` AccessFileName .htaccess # # The following lines prevent .htaccess and

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

2010-07-08 Thread J. Bakshi
On Thu, 08 Jul 2010 09:20:36 +0100 Mark Watts m.wa...@eris.qinetiq.com wrote: On Thu, 2010-07-08 at 13:40 +0530, J. Bakshi wrote: Hello list, I have become little confused and hope to get some help. I have a suse 11.2 server running Apache/2.2.10 (Linux/SUSE) with some virtual hosts

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

2010-07-08 Thread J. Bakshi
On Thu, 8 Jul 2010 10:57:23 +0200 Matus UHLAR - fantomas uh...@fantomas.sk wrote: snip is this in server config or in some virtualhost or directory section? Is there any Files section of the host you are referring to? /snip Hello Mark and Matus, Thanks for your responses, the Files

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

2010-07-08 Thread J. Bakshi
any clue please ? On Thu, 8 Jul 2010 16:38:04 +0530 J. Bakshi joyd...@infoservices.in wrote: On Thu, 8 Jul 2010 10:57:23 +0200 Matus UHLAR - fantomas uh...@fantomas.sk wrote: snip is this in server config or in some virtualhost or directory section? Is there any Files section

Re: [us...@httpd] question about proxy aware site

2010-06-11 Thread J. Bakshi
server you get a reply with internal IP and it does not go to resolve from a public IP. I had a similar problem and that solved.It may not be exact thing for you but checking the log this way can give you some clue. On Mon, Jun 14, 2010 at 11:29 AM, J. Bakshi joyd...@infoservices.in wrote

[us...@httpd] question about proxy aware site

2010-06-10 Thread J. Bakshi
Dear list, I have a problem with a site when accesses via proxy. I have no clue yet how to debug or in what direction, so please bear with me. The site in question has no problem to be accessed and to download pdf from it. but from a network which has proxy server faces problem during

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

2010-05-27 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

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

2010-05-27 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 ^(.*)$ http

Re: [us...@httpd] httpd to get process list

2010-05-27 Thread J. Bakshi
On 05/27/2010 12:42 PM, James Corteciano wrote: Hi All, I have a nagios server to monitor the remote apache server and automatically restarting the service if it is detected unreachable. Now, in times of apache down, I just want to get the processes list or any means that could help during

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):

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 joyd...@infoservices.in 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

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 joyd...@infoservices.in 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

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.

[us...@httpd] How to prevent flashgot by .htaccess ?

2010-05-24 Thread J. Bakshi
Hello list, Can any one suggest me the signature of flashgot as seen by apache ? I need that to prevent flashgot from .htaccess. I have already tried by tail -f /var/log/apache/access.log but have not found anything which can be used to detect flashgot. Thanks -- জয়দীপ বক্সী

Re: [us...@httpd] Re: How to prevent flashgot by .htaccess ?

2010-05-24 Thread J. Bakshi
On 05/24/2010 08:24 PM, LuKreme wrote: On 24-May-2010, at 06:44, J. Bakshi wrote: Hello list, Can any one suggest me the signature of flashgot as seen by apache ? Does flashgot show up in your server logs? I don't think so. No, Not at all I need that to prevent flashgot

Re: [us...@httpd] apache running but not responding

2010-05-20 Thread J. Bakshi
On 05/20/2010 03:07 PM, Morten Shearman Kirkegaard wrote: On Thu, 2010-05-20 at 09:45 +0530, J. Bakshi wrote: [Wed May 19 18:43:18 2010] [notice] child pid 1180 exit signal Segmentation fault (11) ... What might be the issue here ? Apache is crashing, most likely because

[us...@httpd] apache running but not responding

2010-05-19 Thread J. Bakshi
Hello all, I like to share a strange apache issue with you all, if any one can give me any clue. This is a opensuse 11.1 box with dual core amd 64 bit and 4 GB RAM. apache2-2.2.10-2.5 is installed with mysql Ver 14.12 Distrib 5.0.67, for suse-linux-gnu (x86_64) using readline 5.2 The server

[us...@httpd] How to get multiple https for the same server

2010-04-30 Thread J. Bakshi
Hello, Once I had the opportunity to use plesk control panel. And there I could create https:// for each vhost. Now I like to create https:// for each vhost in a server manually. So I have followed the traditional way to define https:// in vhost itself. But apache reports it can't allocate

Re: [us...@httpd] How to get multiple https for the same server

2010-04-30 Thread J. Bakshi
On Fri, 30 Apr 2010 09:38:58 -0400 Eric Covener cove...@gmail.com wrote: On Fri, Apr 30, 2010 at 9:36 AM, J. Bakshi joyd...@infoservices.in wrote: Hello, Once I had the opportunity to use plesk control panel. And there I could create https:// for each vhost. Now I like to create https

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

2010-03-17 Thread J. Bakshi
On 03/16/2010 06:24 PM, Matus UHLAR - fantomas wrote: On 16.03.10 11:50, Станислав Сметанин wrote: To: users@httpd.apache.org I want to disable mail() function in the one of virtual hosts' that use PHP(I use mod_php for apache2), and regarding to the

Re: [us...@httpd] can .htaccess make url better ?

2010-03-09 Thread J. Bakshi
On 03/09/2010 01:05 AM, Philip Wigg wrote: On 8 March 2010 18:56, Jonathan Zuckerman j.zucker...@gmail.com wrote: Hey Rich, and anybody else who knows about this, what you've just said touches on a question I've been wondering about: a few folks at work have always told me that .htaccess

Re: [us...@httpd] IfModule mod_rewrite.c issue in debian lenny.

2010-03-04 Thread J. Bakshi
On 03/04/2010 05:18 PM, Nilesh Govindarajan wrote: On Thu, Mar 4, 2010 at 2:40 PM, Igor Cicimov icici...@gmail.com mailto:icici...@gmail.com wrote: See the name of the module in the LoadModule line in the config file On Mar 4, 2010 6:16 PM, J. Bakshi joyd...@infoservices.in

Re: [us...@httpd] IfModule mod_rewrite.c issue in debian lenny.

2010-03-04 Thread J. Bakshi
On 03/04/2010 05:53 PM, Dan Poirier wrote: Or just don't use IfModule in your own configuration. The only real reason to use it is in example configurations for other people, where you don't know if a given module has been loaded. If you're configuring your own server, presumably you intend

[us...@httpd] IfModule mod_rewrite.c issue in debian lenny.

2010-03-03 Thread J. Bakshi
Hello list, Here in debian lenny the rewrite rules are working well. I have checked by this .htaccess and successful DirectoryIndex index.php RewriteEngine On #RewriteRule ^typo3$ - [L] #RewriteRule ^typo3/.*$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond

Re: [us...@httpd] How to collect host specif error log and how to see those from web interface ?

2010-02-07 Thread J. Bakshi
Any clue please ? On 02/04/2010 11:11 AM, J. Bakshi wrote: Dear list, I already have vlogger installed in my server which breaks the apache access log as per vhost and awstas is working well. Hope you all admit that the main requirement is obviously error log. vlogger does not break

Re: [us...@httpd] How to collect host specif error log and how to see those from web interface ?

2010-02-07 Thread J. Bakshi
On 02/08/2010 09:45 AM, Jeremy R. wrote: [1] how can I break the error log as per vhost ? Is it something like my vhost [...] ErrorLog /srv/www/htdocs/myvhost_dir/error.log LogLevel error [...] /my vhost Yes, it's exactly that. Just use the ErrorLog directive within your

Re: [us...@httpd] How to collect host specif error log and how to see those from web interface ?

2010-02-07 Thread J. Bakshi
On 02/08/2010 10:01 AM, Jeremy R. wrote: Actually I am interested to break the error log too with vlogger. But it seems there is no option to do that. Works the same way as the access log. I don't know much about vlogger specifically, but it appears that it accepts log entries over

Re: [us...@httpd] How to check that mod_deflate is enable ?

2010-02-04 Thread J. Bakshi
On 02/04/2010 05:16 PM, Philip Wigg wrote: http://httpd.apache.org/docs/2.2/mod/mod_deflate.html There you will see examples of how to configure a mod_deflate log file which is useful is you want to see what mod_deflate is doing. A couple of things that tripped me up whilst configuring this

Re: [us...@httpd] How to check that mod_deflate is enable ?

2010-02-04 Thread J. Bakshi
On 02/05/2010 10:00 AM, Frank Gingras wrote: So I can see one of two options 1. mod_deflate is running but can't see here in log 2. mod_deflate is not running at all. How can I go further to check it ? thanks Start by removing the IfModule directives. Frank. Hello Frank, I have

[us...@httpd] How to check that mod_deflate is enable ?

2010-02-02 Thread J. Bakshi
Hello list, I have suse 11.1 server with Apache/2.2.10 (Linux/SUSE). I like to enable and check the presence of mod_deflate to save bandwidth. a2enmod -l reports ` actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex dir

Re: [us...@httpd] Newbie question about vhost log and webalizer

2010-01-25 Thread J. Bakshi
Mark Watts wrote: The Fedora 12 AWStats rpm includes a config for the following, although I appreciate its for a different path (/usr/share vs. /usr/local) Alias /awstatsclasses /usr/share/awstats/wwwroot/classes/ Alias /awstatscss /usr/share/awstats/wwwroot/css/ Alias

[us...@httpd] Newbie question about vhost log and webalizer

2010-01-22 Thread J. Bakshi
Dear all, Two newbie questions [1] I am running a development server with multiple vhosts. Presently all logs can be seen at /etc/apache2/log/error.log and at /etc/apache2/log/access.log. How can I break the logs for each and every vhosts ; so that the log only contains the specific vhost

Re: [us...@httpd] Newbie question about vhost log and webalizer

2010-01-22 Thread J. Bakshi
Emmanuel Bailleul wrote: Hi, I don't really know much about webalizer so I'll only try to help you with 1. : - each VirtualHost * section can contain its own '*Log' directives (i.e. CustomLog logs/vh1_access.log common). This way you will get one log file per vhost. - you could also

Re: [us...@httpd] speaking url is not working inside subfolder

2010-01-20 Thread J. Bakshi
On Wed, 20 Jan 2010 10:19:24 +0100 Krist van Besien krist.vanbes...@gmail.com wrote: On Tue, Jan 19, 2010 at 5:28 PM, J. Bakshi joyd...@infoservices.in wrote: The .htccess successfully redirects the concerned domain into the sub-folder (TYPO3) . But the problem is with speaking url

Re: [us...@httpd] speaking url is not working inside subfolder

2010-01-20 Thread J. Bakshi
Devraj Mukherjee wrote: Hi, On Wed, Jan 20, 2010 at 3:28 AM, J. Bakshi joyd...@infoservices.in wrote: Dear list, Options +FollowSymLinks RewriteEngine on # domain for typo3 RewriteCond %{HTTP_HOST} ^(www.)domain.in$ RewriteCond %{REQUEST_URI} !^/TYPO3/ RewriteCond

[us...@httpd] speaking url is not working inside subfolder

2010-01-19 Thread J. Bakshi
Dear list, I like to utilize my hosting space with multiple domains. one of these domain is for typo3 sites. So I have created folders inside public_html to have individual site. I am using .htaccess to redirect the domain to its concerned subfolder. There is a folder called TYPO3 inside which

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports not an image file

2010-01-18 Thread J. Bakshi
On Sat, 16 Jan 2010 19:37:36 +0100 Marcin 'Rambo' Roguski ra...@id.uw.edu.pl wrote: snip What about temporary files? Are they uploaded or not? From what you're writing, neither size or type are identified (should be set after a successful completion of POST request). Can you add

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports not an image file

2010-01-18 Thread J. Bakshi
On Mon, 18 Jan 2010 10:51:39 +0100 Krist van Besien krist.vanbes...@gmail.com wrote: On Sat, Jan 16, 2010 at 5:18 PM, J. Bakshi joyd...@infoservices.in wrote: I can see the files are transferred but after that it simply reports Not an Image file. What is it here. Is this error message

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports 'not an image file'

2010-01-18 Thread J. Bakshi
On Mon, 18 Jan 2010 12:03:36 +0100 Marcin 'Rambo' Roguski ra...@id.uw.edu.pl wrote: OP posted the script that checks MIME type of POST attachment, but I have a hunch the web server doesn't have write access to the temporary upload directory specified in php.ini. Hints to that are that php

[us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports not an image file

2010-01-16 Thread J. Bakshi
Dear list, I am banging my head with a strange problem I have never never and never seen before. A site is functional and running on a debian lenny server. The site provides a file upload section and files are uploaded successfully even with 10MB size. I have migrated the site to an opensuse 11.1

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports not an image file

2010-01-16 Thread J. Bakshi
On Sat, 16 Jan 2010 17:31:28 +0100 Marcin 'Rambo' Roguski ra...@id.uw.edu.pl wrote: On Sat, 16 Jan 2010 21:48:15 +0530 J. Bakshi joyd...@infoservices.in wrote: Dear list, that it simply reports Not an Image file. And this is happening with all files even with image ( jpg, bmp etc

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports not an image file

2010-01-16 Thread J. Bakshi
On Sat, 16 Jan 2010 18:26:18 +0100 Marcin 'Rambo' Roguski ra...@id.uw.edu.pl wrote: the files are not uploaded in the folder where they suppose to be. Please explain. So they ARE uploaded but in the wrong path? Or there's no folder? In latter case, the script should create the said

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports not an image file

2010-01-16 Thread J. Bakshi
On Sat, 16 Jan 2010 19:37:36 +0100 Marcin 'Rambo' Roguski ra...@id.uw.edu.pl wrote: But no files are uploaded there at all. What about temporary files? Are they uploaded or not? From what you're writing, neither size or type are identified (should be set after a successful completion of

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports not an image file

2010-01-16 Thread J. Bakshi
On Sat, 16 Jan 2010 13:35:37 -0500 John Iliffe john.ili...@iliffe.ca wrote: There are a couple of choices to debug here. First, the code you supplied is comparing the mime-type parameters obtained from the call to: $upload_file_type = $GLOBALS

[us...@httpd] How to protect apache againg bench marking attack ?

2010-01-12 Thread J. Bakshi
Hello all, I am dared to see what ab (apache benchmarking too) can do against an apache server. I have used the following against my server to check call handling ` ` ` ab -n 1000 -c 20 http://site-name/index.php?no_cache=1 ` ` ` and it simply bottle neck the target apache server. the

[us...@httpd] what is the same connection attempt/per sec/per ip ?

2010-01-12 Thread J. Bakshi
Hello list, Could any one give me an idea about the safe connection attempt from a single IP per second ? Assume the site is a very busy site . Thanks -- জয়দীপ বক্সী - The official User-To-User support forum of the Apache

Re: [us...@httpd] what is the same connection attempt/per sec/per ip ?

2010-01-12 Thread J. Bakshi
J. Bakshi wrote: Hello list, Could any one give me an idea about the safe connection attempt from a single IP per second ? Assume the site is a very busy site . Thanks Sorry for the typing error in Subject :-( same would be safe extremely sorry -- জয়দীপ বক্সী

Re: [us...@httpd] Re: How to protect apache againg bench marking attack ?

2010-01-12 Thread J. Bakshi
Nicholas Sherlock wrote: On 12/01/2010 10:04 p.m., J. Bakshi wrote: Hello all, I am dared to see what ab (apache benchmarking too) can do against an apache server. I have used the following against my server to check call handling ` ` ` ab -n 1000 -c 20 http://site-name/index.php

[us...@httpd] How to block nessus scan ?

2010-01-04 Thread J. Bakshi
Hello, Does any one know any technique to block nessus scan ? Thanks -- জয়দীপ বক্সী - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info.

Re: [us...@httpd] How to block nessus scan ?

2010-01-04 Thread J. Bakshi
Krist van Besien wrote: On Mon, Jan 4, 2010 at 11:25 AM, J. Bakshi joyd...@infoservices.in wrote: Does any one know any technique to block nessus scan ? You do not block nessus scans. What you do is perform a nessus scan yourself, and deal with any vulnerabilities it exposes

[us...@httpd] LimitExcept GET POST not working

2010-01-02 Thread J. Bakshi
Dear list, I have tested my webserver ( opensuse 11; apache2-2.2.8-28.4) through nikto. I have found ` ` ` + Server: Apache + OSVDB-0: Retrieved X-Powered-By header: PHP/5.2.9 + OSVDB-877: TRACE / : TRACE option appears to allow XSS or credential theft. See

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

2009-12-06 Thread J. Bakshi
LuKreme wrote: On 3-Dec-2009, at 22:22, J. Bakshi wrote: Options +FollowSymLinks RewriteEngine On RewriteRule ^typo3$ - [L] RewriteRule ^typo3/.*$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteCond

[us...@httpd] powermail problem after upgrading to 1.4.17

2009-12-03 Thread J. Bakshi
Dear list, I have upgraded poermail to // 1.4.17. After up-gradation the form field has been changed !!! Before it was nore...@mydomain.com and the related setting is ` ` ` plugin.powermail.email.noreply = nore...@mydomain.com ` ` ` But now the form field is taking the sender address (

Re: [us...@httpd] powermail problem after upgrading to 1.4.17

2009-12-03 Thread J. Bakshi
J. Bakshi wrote: Dear list, I have upgraded poermail to // 1.4.17. After up-gradation the form field has been changed !!! Before it was nore...@mydomain.com and the related setting is ` ` ` plugin.powermail.email.noreply = nore...@mydomain.com ` ` ` But now the form field

Re: [us...@httpd] powermail problem after upgrading to 1.4.17

2009-12-03 Thread J. Bakshi
Tom Evans wrote: On Thu, Dec 3, 2009 at 10:11 AM, J. Bakshi joyd...@infoservices.in wrote: Dear list, I have upgraded poermail to // 1.4.17. After up-gradation the form field has been changed !!! Before it was nore...@mydomain.com and the related setting

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

2009-12-03 Thread J. Bakshi
LuKreme wrote: On 2-Dec-2009, at 22:36, J. Bakshi wrote: RewriteEngine On RewriteRule ^typo3$ - [L] RewriteRule ^typo3/.*$ - [L] I just went through this with wordpress. You have to exempt webdav from all the rewrites. On 25-Nov-2009, at 11:15, LuKreme wrote: I modified

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

2009-12-03 Thread J. Bakshi
LuKreme wrote: On Dec 3, 2009, at 20:13, J. Bakshi joyd...@infoservices.in wrote: RewriteCond %{REQUEST_URI} !^webdav That's wrong. !^/webdav The / is part of the uri Sorry for the mistake. I have corrected it but no luck :-( Here is my complete .htacess once again ` ` ` Options

[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

Re: [us...@httpd] how to get multiple SSL with name based vhost ?

2009-12-01 Thread J. Bakshi
Boyle Owen wrote: -Original Message- From: J. Bakshi [mailto:joyd...@infoservices.in] Sent: Tuesday, December 01, 2009 8:20 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] how to get multiple SSL with name based vhost ? ... Thanks for your nice explanatory response

Re: [us...@httpd] how to get multiple SSL with name based vhost ?

2009-12-01 Thread J. Bakshi
Boyle Owen wrote: -Original Message- From: J. Bakshi [mailto:joyd...@infoservices.in] Sent: Tuesday, December 01, 2009 10:53 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] how to get multiple SSL with name based vhost ? ... Thank for your response. your assumption

Re: [us...@httpd] how to get multiple SSL with name based vhost ?

2009-12-01 Thread J. Bakshi
Krist van Besien wrote: You seem to be a bit confused about how to configure name based virtual hosts.. On Tue, Dec 1, 2009 at 10:53 AM, J. Bakshi joyd...@infoservices.in wrote: ` ` ` ` Listen 443 NameVirtualHost example1.de:443 VirtualHost example1:443 SSLEngine

[us...@httpd] how to get multiple SSL with name based vhost ?

2009-11-30 Thread J. Bakshi
Dear list, I have multiple name based vhost at my remote server. If I followed the same configuration for SSL and it does not work. Even not found any code through google which acn do the job. I have found it is possible to define only one name based vhost with SSL support. Is there any

Re: [us...@httpd] how to get multiple SSL with name based vhost ?

2009-11-30 Thread J. Bakshi
J. Bakshi wrote: Dear list, I have multiple name based vhost at my remote server. If I followed the same configuration for SSL and it does not work. Even not found any code through google which acn do the job. I have found it is possible to define only one name based vhost with SSL

Re: [us...@httpd] how to get multiple SSL with name based vhost ?

2009-11-30 Thread J. Bakshi
Krist van Besien wrote: On Tue, Dec 1, 2009 at 5:11 AM, J. Bakshi joyd...@infoservices.in wrote: Dear list, I have multiple name based vhost at my remote server. If I followed the same configuration for SSL and it does not work. Even not found any code through google which acn do

Re: [us...@httpd] Re: RewriteBase is not working in apache configuration file

2009-11-16 Thread J. Bakshi
LuKreme wrote: On 15-Nov-2009, at 21:27, J. Bakshi wrote: RewriteBase is working perfectly OK in .htaccess but not in apache configuration file. I'm trying to imagine a scenario in which you would need RewriteBase in the apache configuration file. Isn't the point

[us...@httpd] can we get separate document root ?

2009-11-15 Thread J. Bakshi
Hello list, I am suffering with document root issue with my apache config . I have placed a config like ``` Alias /personal/joydeep /var/personal_work_area/joydeep Directory /var/personal_work_area/joydeep/ DirectoryIndex index.php

Re: [us...@httpd] can we get separate document root ?

2009-11-15 Thread J. Bakshi
Eric Covener wrote: On Sun, Nov 15, 2009 at 10:04 PM, J. Bakshi joyd...@infoservices.in wrote: Hello list, I am suffering with document root issue with my apache config . I have placed a config like ``` Alias /personal/joydeep /var/personal_work_area/joydeep

Re: [us...@httpd] [ SOLVED ] can we get separate document root ?

2009-11-15 Thread J. Bakshi
J. Bakshi wrote: Eric Covener wrote: On Sun, Nov 15, 2009 at 10:04 PM, J. Bakshi joyd...@infoservices.in wrote: Hello list, I am suffering with document root issue with my apache config . I have placed a config like ``` Alias /personal/joydeep /var

[us...@httpd] RewriteBase is not working in apache configuration file

2009-11-15 Thread J. Bakshi
Hello, RewriteBase is working perfectly OK in .htaccess but not in apache configuration file. Do we need any special syntax to make it working in apache configuration file ? Thanks -- জয়দীপ বক্সী - The official User-To-User

Re: [us...@httpd] RewriteBase is not working in apache configuration file

2009-11-15 Thread J. Bakshi
On Mon, Nov 16, 2009 at 3:27 PM, J. Bakshi joyd...@infoservices.in mailto:joyd...@infoservices.in wrote: Hello, RewriteBase is working perfectly OK in .htaccess but not in apache configuration file. Do we need any special syntax to make it working in apache configuration

Re: [us...@httpd] RewriteBase is not working in apache configuration file

2009-11-15 Thread J. Bakshi
Krist van Besien wrote: On Mon, Nov 16, 2009 at 5:27 AM, J. Bakshi joyd...@infoservices.in wrote: Hello, RewriteBase is working perfectly OK in .htaccess but not in apache configuration file. Do we need any special syntax to make it working in apache configuration file ? You

Re: [us...@httpd] apache configuration: always go to parent directory

2009-11-12 Thread J. Bakshi
Boyle Owen wrote: -Original Message- From: J. Bakshi [mailto:joyd...@infoservices.in] Sent: Tuesday, November 10, 2009 10:43 AM To: users@httpd.apache.org Subject: [us...@httpd] apache configuration: always go to parent directory Hello, I have configured a personal work-space

Re: [us...@httpd] apache configuration: always go to parent directory

2009-11-12 Thread J. Bakshi
Boyle Owen wrote: -Original Message- From: J. Bakshi [mailto:joyd...@infoservices.in] ##apache config `` Alias /personal/joydeep /var/personal_work_area/joydeep DocumentRoot /var/personal_work_area/ Directory /var/personal_work_area

  1   2   >