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

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

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

[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 like

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" 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

[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 /git/test.git/info/refs?service=git-receive-pac

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 wrote: > On Wed, Jun 20, 2012 at 8:24 AM, J. Bakshi wrote: > > On Wed, 20 Jun 2012 17:44:04 +0530 > > "J. Bakshi" wrote: > > > >> Dear list, > >> > >> I have a git setup where user can aut

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" 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. &

[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

[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 apach

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" wrote: > Hello, > > I have place the following in my .htaccess to redirect non-www to www > redirection > > ` > Rewrite

[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 http://example.com/page1

[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 "/usr

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ć 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 5.2 cgi,

[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 https://192.168.1.1/php5-cgi//

[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 c

[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 http://httpd.apache.org/userslist.html> for more info.

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 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 and surpris

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 wrote: > > > > still very very very slow > > Is HostnameLookups on? > > no no... off. HostnameLookups Off and it is a local server - The official User-To-User su

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" wrote: > 在 2011-11-09三的 14:09 +0530,J. Bakshi写道: > > On Wed, 9 Nov 2011 12:17:20 +0530 > > "J. Bakshi" wrote: > > > > > On Wed, 09 Nov 2011 14:28:12 +0800 > > > "Sharl.Jimh.Tsi

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" wrote: > On Wed, 09 Nov 2011 14:28:12 +0800 > "Sharl.Jimh.Tsin" wrote: > > > 在 2011-11-09三的 11:53 +0530,J. Bakshi写道: > > > Hello list, > > > > > > I have recently upgraded a debian box

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" 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 versio

[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 w

[users@httpd] Notice: Undefined index: HTTP_X_FORWARDED_FOR

2011-09-15 Thread J. Bakshi
Hello list, I am trying a small php script in my servers and the both the cases I get errors as ` ` ` ` Notice: Undefined index: HTTP_X_FORWARDED_FOR ` ` ` ` Am I missing any apache module in those server ? TIA - The official

[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 w

[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 wrote: > > On 14 Aug 2010, at 11:13, > wrote: > > > . Could anyone suggest > > what is going wrong after replacing the disk ? > > Nope. > > But does "EnableSendfile Off" fix it? > Thanks for the hint. I have added it in my config. Let's see wha

[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 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

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

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" wrote: > On Thu, 8 Jul 2010 10:57:23 +0200 > Matus UHLAR - fantomas wrote: > > > > > > > is this in server config or in some virtualhost or directory section? > > Is there an

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 wrote: > > is this in server config or in some virtualhost or directory section? > Is there any section of the host you are referring to? > Hello Mark and Matus, Thanks for your responses, the section is at httpd.conf .I think it

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 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 &

[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 .htp

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

2010-06-10 Thread J. Bakshi
also make > sure if you ping to your website from your proxy 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.

[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 download

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

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

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

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

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

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

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

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

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

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

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 dur

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

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

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

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

Re: [us...@httpd] 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. >

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

[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 runn

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 wrote: > On Fri, Apr 30, 2010 at 9:36 AM, J. Bakshi > 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 ht

[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 port

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 >> http://www.php.net/manual/

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 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 was a really sl

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

2010-03-08 Thread J. Bakshi
Hello list, the click enlarge facility of an image gallery generates the links in a very ugly manner, like http://192.168.1.1/reifenqualitaet/index.php?eID=tx_cms_showpic&file=uploads/tx_reifenqualitaetimage/image-227X227_02.jpg&bodyTag=&wrap=%20|%20&md5=9021563e8e2c9efadb629ddd1

Re: [us...@httpd] 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 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 for

Re: [us...@httpd] 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 <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"

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

2010-03-03 Thread J. Bakshi
On 03/04/2010 11:40 AM, Nilesh Govindarajan wrote: > On Thu, Mar 4, 2010 at 11:12 AM, J. Bakshi <mailto:joyd...@infoservices.in>> wrote: > > Hello list, > > Here in debian lenny the rewrite rules are working well. I have > checked > by

[us...@httpd] 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 %{REQUEST_

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 entri

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 >>> >>> >>> >>> [...] >>> ErrorLog /srv/www/htdocs/myvhost_dir/error.log >>> LogLevel error >>> [...] >>> >>> >>> > Yes, it's exactly that. Just use the ErrorLog direc

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

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.

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

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

2010-02-04 Thread J. Bakshi
On 02/04/2010 04:19 PM, Martin Barry wrote: > $quoted_author = "J. Bakshi" ; > >> Any clue please ? >> > > Check it's been included: > > rpm -ql apache2 | grep deflate > > > Enable it: > > a2enmod deflate > > >

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

2010-02-04 Thread J. Bakshi
Any clue please ? On 02/02/2010 03:16 PM, J. Bakshi wrote: > 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 > > > ```

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

2010-02-03 Thread J. Bakshi
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 the error log as it does with access log. I have two specif questions her

[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

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

2010-01-25 Thread J. Bakshi
J. Bakshi wrote: > on the other hand http://myvhost.com/awstats/ awstat.pl generates the > graph but no icons. > > What am I missing here ? Any clue ? > > Thanks > Solved one :-) Now http://myvhost.com/awstats/ shows awstats . The correction I hav

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

2010-01-25 Thread J. Bakshi
L.M.J wrote: > Here is my solution, I hope it could help you out : > > > > Apache side > # cat /etc/apache2/sites-available/intranet > > ServerName intranet > [...] > ErrorLog /var/log/apache2/intranet_error.log > CustomLog /var/log/apache2/intranet_access.lo

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 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 keep al

[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 info

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 wrote: > >> Dear list, >> >> Options +FollowSymLinks >> RewriteEngine on >> >> # domain for typo3 >> >> RewriteCond %{HTTP_HOST} ^(www.)domai

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 wrote: > On Tue, Jan 19, 2010 at 5:28 PM, J. Bakshi > wrote: > > > The .htccess successfully redirects the concerned domain into the > > sub-folder (TYPO3) . But the problem is with speaking url. Clicking > > on

[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 th

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" 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 > isn't setti

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 wrote: > On Sat, Jan 16, 2010 at 5:18 PM, J. Bakshi > 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 me

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 wrote: > 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 > > print_r($GLOBALS['HTT

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 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 > ['HTTP_POST_FILES']['profile_image']['type']; > > So, fir

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 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 POST request)

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 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 folder by itse

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 wrote: > On Sat, 16 Jan 2010 21:48:15 +0530 > "J. Bakshi" wrote: > > > Dear list, > > > that it simply reports "Not an Image file". And this is happening > > with all files ev

[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] 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 ha

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 extremel

[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 HTT

[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:///index.php?no_cache=1 ` ` ` and it simply bottle neck the target apache server. the target server

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 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 vulnerabili

[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 http://httpd.apache.org/userslist.html> for more info. To un

[us...@httpd] 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 http://www.cgisecurity.com/whitehat-m

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

2009-12-07 Thread J. Bakshi
LuKreme wrote: > On 6-Dec-2009, at 20:15, J. Bakshi wrote: > >> RewriteRule ^typo3$ - [L] >> RewriteRule ^typo3/.*$ - [L] >> ` ` ` >> >> and now webdav has no problem with create/delete operation >> > > > One other thing, if you duplicat

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 %{REQ

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" 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 .htac

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

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 wrote: > >> Dear list, >> >> I have upgraded poermail to // 1.4.17. After up-gradation the "form" >> field has been changed !!! Before it was nore...@my

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...@mydomai

[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 (

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

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

Re: [us...@httpd] 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 wrote: > > > >> ` ` ` ` >> Listen 443 >> NameVirtualHost example1.de:443 >> &

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 ? >

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 ?

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 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 thro

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 ba

  1   2   >