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

2010-07-27 Thread Tapas Mishra
We have changed our settings no more Apache. Lighttpd.

Re: [us...@httpd] trying to ban IPs using htaccess - not working

2010-07-25 Thread Tapas Mishra
Try this http://www.maxmind.com/app/mod_geoip http://www.munkyonline.com/articles/htaccess-301-redirects-for-ip-ranges.html

[us...@httpd] what threads and processes apache needs to run

2010-07-24 Thread Tapas Mishra
I want to know what threads and processes apache needs to run from Unix servers.If I want to run Apache on a Cell phone then what things my OS needs to be able to be running. I checked these links http://research.nokia.com/tr/NRC-TR-2006-005.pdf

Re: [us...@httpd] what threads and processes apache needs to run

2010-07-24 Thread Tapas Mishra
Can you give me a link to begin with. On Sat, Jul 24, 2010 at 8:02 PM, Eric Covener cove...@gmail.com wrote: On Sat, Jul 24, 2010 at 9:41 AM, Tapas Mishra mightydre...@gmail.com wrote:  I want to know what threads and processes apache needs to run from Unix servers.If I want to run Apache

Re: [us...@httpd] Re: AccessFileName not allowed here

2010-07-21 Thread Tapas Mishra
On Wed, Jul 21, 2010 at 7:13 PM, Frank Gingras francois.ging...@gmail.com wrote: Directory is another context, the same way the global (Server) context is, and the Virtualhost is. Ok this makes a bit clear. - The official

[Zope] Disabling Server Signature for Zope

2010-07-20 Thread Tapas Mishra
Is there a way I can disable ServerSignature in Zope. ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce

[us...@httpd] AccessFileName not allowed here

2010-07-20 Thread Tapas Mishra
While I am restarting apache I am getting following error AccessFileName not allowed here I am using Ubuntu 10.04 following is my vhost configuration VirtualHost *:80 ServerAdmin webmas...@localhost ServerName somesite.com DocumentRoot /var/www Directory /

Re: [us...@httpd] AccessFileName not allowed here

2010-07-20 Thread Tapas Mishra
On Tue, Jul 20, 2010 at 1:33 PM, Geoffrey Reed geo...@zipcon.net wrote: From apache docs... AccessFileName Directive Description:    Name of the distributed configuration file Syntax:    AccessFileName filename [filename] ... Default:    AccessFileName .htaccess Context:    server config,

Re: [us...@httpd] AccessFileName not allowed here

2010-07-20 Thread Tapas Mishra
On Tue, Jul 20, 2010 at 4:25 PM, Eric Covener cove...@gmail.com wrote: Every directive lists the context it is valid in. http://httpd.apache.org/docs/2.2/mod/core.html#accessfilename So from above link it appears to me that accessfilename is valid in vhost since it says Context:server

Re: [us...@httpd] AccessFileName not allowed here

2010-07-20 Thread Tapas Mishra
On Tue, Jul 20, 2010 at 6:17 PM, Eric Covener cove...@gmail.com wrote: No, your usage is inside Directory context.  It doesn't make it valid that it happens to be part of your server config or a virtualhost config. You mean to say if this is to be used in Directory then this would be

Re: [us...@httpd] AccessFileName not allowed here

2010-07-20 Thread Tapas Mishra
Ok is this style of documentation documented some where. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail:

Re: [us...@httpd] Re: AccessFileName not allowed here

2010-07-20 Thread Tapas Mishra
On Tue, Jul 20, 2010 at 11:50 PM, Dan Poirier poir...@pobox.com wrote: On 2010-07-20 at 14:00, Tapas Mishra mightydre...@gmail.com wrote: Ok  is this style of documentation documented some where. Every one of those headers (like Context:) is a link to an explanation of what it means

Re: deploying tomcat not on localhost

2010-07-20 Thread Tapas Mishra
Even I am trying for the same if you happen to do so please do share. While browsing the list I came across http://myunster.com/blog/10.html May not be of much help. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

[us...@httpd] what is importance of DocumentRoot

2010-07-19 Thread Tapas Mishra
I checked this page http://httpd.apache.org/docs/2.0/urlmapping.html#documentroot It says Apache's default behavior is to take the URL-Path for the request (the part of the URL following the hostname and port) and add it to the end of the DocumentRoot specified in your configuration files does

Re: [us...@httpd] Re: what is importance of DocumentRoot

2010-07-19 Thread Tapas Mishra
On Mon, Jul 19, 2010 at 10:51 PM, Dan Poirier poir...@pobox.com wrote: Try it and see. What do I try and what do I see can you be a bit more specific. I have developed websites and used Apache to host cloud applications. - The

[us...@httpd] 2 reverse proxy to serve a sakai installation

2010-07-18 Thread Tapas Mishra
I am having following setup A--B on A and B both Ubuntu 10.04 and Apache2 are running. On B there are many websites running.Which are configured with NameBased VirtualHosting. On A a request comes from internet http://www.mysite.com/site1 http://www.mysite.com/site2

Re: [us...@httpd] 2 reverse proxy to serve a sakai installation

2010-07-18 Thread Tapas Mishra
Yes there is a problem. That is why I am asking what is wrong in above configuration.It has been a month. I have read many docs guides tutorials but still the problem is existing. So I want to know what is the problem in above configuration. On Sun, Jul 18, 2010 at 5:59 PM, Eric Covener

Re: [us...@httpd] 2 reverse proxy to serve a sakai installation

2010-07-18 Thread Tapas Mishra
Check this reply of Tom on a question of the problem which I am trying to fix so I asked this question http://www.spinics.net/lists/apache-users/msg95596.html It is not possible to configure application the way Tom suggested as the documentation of that application is not complete. On their forum

Re: [us...@httpd] 2 reverse proxy to serve a sakai installation

2010-07-18 Thread Tapas Mishra
On Sun, Jul 18, 2010 at 8:26 PM, Eric Covener cove...@gmail.com wrote: So you're trying to proxy requests received under a root of /site4 to another system, but the URL's embedded in the HTML don't really start with /site4, Yes or anything else you can figure out how to identify? I could not

Re: [us...@httpd] 2 reverse proxy to serve a sakai installation

2010-07-18 Thread Tapas Mishra
Got following error Invalid command 'ProxyHTMLEnable', perhaps misspelled or defined by a module not included in the server configuration Saw this thread http://ubuntuforums.org/showthread.php?t=1395586 in /etc/apache2/mods-enabled/ I see alias.conf authz_default.loadautoindex.conf

[us...@httpd] vhost with ProxyHTMLInterp On/Off correct definition of vhost needed

2010-07-18 Thread Tapas Mishra
VirtualHost *:80 ServerAdmin webmas...@localhost ServerName site4 ProxyRequests off Proxy * Order deny,allow Allow from all /Proxy ProxyPreserveHost Off ProxyPass /sakai http://myinternal.server.in ProxyHTMLURLMap

Re: [us...@httpd] 2 reverse proxy to serve a sakai installation

2010-07-18 Thread Tapas Mishra
Ok finally resolved the error Re: Invalid command 'ProxyHTMLEnable', perhaps misspelled or defined by a module not Ubuntu 10.04 by default uses libapache2-mod-proxy-html of version 3.0.1 Changed the ProxyHTMLEnable to ProxyHTMLInterp and the error was resolved. you can check it

Re: [us...@httpd] 2 reverse proxy to serve an application

2010-07-16 Thread Tapas Mishra
A-B-C request from internet comes at A it forwards that to B and then B checks if it has to send that request to C or it can serve that from B itself. I am posting the configurations. site1.abc.com site2.abc.com site3.abc.com site4.abc.com these sites above are having domain names

Re: [us...@httpd] 2 reverse proxy to serve an application

2010-07-16 Thread Tapas Mishra
Since I set ProxyPreserveHost On, so the hostname I use for ProxyPass at B is irrelevant. The request sent by server A to server B will always have the same hostname as the request received by server A. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypreservehost That is why I have

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

2010-07-15 Thread Tapas Mishra
I do not have access to a DNS. I have a machine on which apache2 is installed on Ubuntu10.04 I have 2 domain names (both internal) site1.domain.com and site2.domain.com and 2 vhost files for both of them. configuration of site1.domain.com is http://pastebin.com/6yzMzUbS and configuration of

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

2010-07-15 Thread Tapas Mishra
My hostname and fqdns are different. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail:

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

2010-07-15 Thread Tapas Mishra
I had read the manual can you tell me which line specifically you are referring to on this page http://httpd.apache.org/docs/2.2/mod/core.html#servername -- Tapas - The official User-To-User support forum of the Apache HTTP

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

2010-07-15 Thread Tapas Mishra
I forgot to mention in previous message the error message line on the manual I was not able to understand if it is please copy paste the specific text from that page I will try to understand again, - The official User-To-User

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

2010-07-15 Thread Tapas Mishra
Eg, if your server is called 'bob', then put 'ServerName bob' in the apache config, and add a line '192.168.1.5 bob' to /etc/hosts. Also what you are saying in these lines if you read first message when I started this thread I had done these changes which you have suggested before pasting the

[us...@httpd] 2 reverse proxy to serve an application

2010-07-15 Thread Tapas Mishra
Let us take following scenario Server A ---Server B with Public IP On LAN both A and B are on same subnet an application on B is accessible when you are having a GUI on B and that too only as http://localhost:9090/portal the configuration

Re: [us...@httpd] 2 reverse proxy to serve an application

2010-07-15 Thread Tapas Mishra
Exactly you actually got the core of my configuration.I have done exactly what you have said. I got problem in having such a thing.Some that had not worked.The problem was with the application generating the URLs which had path as /portal /library etc on their documentation page of the application

Re: [us...@httpd] 2 reverse proxy to serve an application

2010-07-15 Thread Tapas Mishra
Ok I am trying what you said. The original error as Tom suggested in application was http://www.spinics.net/lists/apache-users/msg95596.html its not possible to configure the application to generate absolute URLs. I just mentioned the above thread if you want to know what exactly I am trying.

Re: [us...@httpd] Many websites in different document roots behind a reverse proxy

2010-07-14 Thread Tapas Mishra
Any guesses now I have given all the response headers,logs and server configurations or any mistake in configurations on my side. - The official User-To-User support forum of the Apache HTTP Server Project. See

[us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Tapas Mishra
I am having different websites in a folder /var/www/ as /var/www/atutor /var/www/dokeos /var/www/docebolms . . . /var/www/efront For each of these websites I have vhost file in /etc/apache2/sites-available/ the configurations of these are dokes http://pastebin.com/ycwrVNgC docebolms

Re: [us...@httpd] Many websites in different document roots behind a reverse proxy

2010-07-14 Thread Tapas Mishra
Do a Control+F /dokeos or /docebo on the log http://pastebin.com/XMgZHCTi Before posting the log I had reduced it and the log you are saying is thousands of line log was even lengthy I had reduced it to only the date where we had the problem so it is very less as compared to the log in original

[us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
I am having different websites in a folder /var/www/ as /var/www/atutor /var/www/dokeos /var/www/docebolms . . . /var/www/efront When I am on lan trying to access these sites as http://192.168.1.5/dokeos or http://192.168.1.5/docebolms I am getting a 404 not found page. The requested URL

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 4:01 PM, Jonas Eckerman jonas_li...@frukt.org wrote: When I type http://192.168.1.5/ I expect to get a directory listing of different websites which are present in my /var/www Why do you expect that? None of the virtual hosts you told us about has document root

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 4:12 PM, Eric Covener cove...@gmail.com wrote: And what does your error log say when you get this 404, exactly? The error logs are blank. When I type http://192.168.1.5/ I expect to get a directory listing of different websites which are present in my /var/www

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Tapas Mishra
No, I mean the order in wich Apache sees the virtual hosts when reading it's configuration file. This solves some of my confusion. What can be a solution in this case To define a default vhost with the document root you wish the default host to have. IFAICT you want a default virtual host

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
I forgot to mention in previous message why is it taking atutor as default. http://httpd.apache.org/docs/2.2/vhosts/details.html is the document I am trying to understand but a default virtualhost thing is not clear to me. Following lines the request is served from the _default_ vhost if there

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
Thanks a lot Eric it did worked the way you said. But please do answer my query which I just before posted. -- Tapas - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 5:41 PM, Eric Covener cove...@gmail.com wrote: If you want a default that's not the same as any other current virtualhost, add a virtualhost to act as the default.  If you're using a debian-like configuration, prefix your vhost filenames with numbers to control the

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 6:36 PM, Eric Covener cove...@gmail.com wrote: The filename affects the order the system returns results for an Include directive with a wildcard. Can you give a link to what you just mentioned. It's really only significant for the very first one vs. all others, in

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
Yes Jonas I have read the links you gave me. I have finally been able to solve the problem with your and help of people on this forum. Here is a link http://ubuntuforums.org/showthread.php?t=1530746 some one had said to post it on Ubuntu forum since apache2 packages which are shipped by these OS

[us...@httpd] Many websites in different document roots behind a reverse proxy

2010-07-13 Thread Tapas Mishra
I am having some applications which I have not developed. The names are docebolms http://www.dokeos.com/ efront http://www.efrontlearning.net/ dokeos http://www.dokeos.com/ claroline http://www.claroline.net/ atutor http://www.atutor.ca/ olat http://www.olat.org/website/en/html/index.html sakai

[us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tapas Mishra
I am having some websites and by default a website whose vhost configuration is first alphanumerically is being served. I do not want this to happen. i.e. when I am typing http://192.168.1.5/ by default a website is being served instead I need is some thing here which shows me different

Re: [us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tapas Mishra
On Tue, Jul 13, 2010 at 7:12 PM, Tom Evans tevans...@googlemail.com wrote: Commonly, people set up the first vhost as a 'failure' vhost, that people only visit if they request a vhost that is not configured, which can then be used to redirect people on to the right vhost or display an

Re: [us...@httpd] how to disable default site from being served in apache2

2010-07-13 Thread Tapas Mishra
In this setup you have assumed server name default. In case I want a request when does not match any of the ServerNames I need to have a server name which is generating a redirect to an index page which asks user to enter correct URL do you mean this by above.

Re: [us...@httpd] Many websites in different document roots behind a reverse proxy

2010-07-13 Thread Tapas Mishra
Ok I am giving you the configuration 2 Servers A and B A (public IP) B (LAN where all these applications are hosted) we want people from internet to be able to access applications on B as http://mydomain.com/claroline http://mydomain.com/dokebolms http://mydomain.com/doceolms and the main site

Re: [us...@httpd] Many websites in different document roots behind a reverse proxy

2010-07-13 Thread Tapas Mishra
Server A access log of http://mydomain.com http://pastebin.com/XMgZHCTi Server A error log http://mydomain.com http://pastebin.com/xkrEnwQ3 Server B docebolms access log http://mydomain.com/docebolms http://pastebin.com/2tTJazgr docebolms error log http://mydomain.com/docebolms

running tomcat behind an apache reverse proxy

2010-07-12 Thread Tapas Mishra
I have an application named as sakai You can check about it here http://sakaiproject.org/new-sakai-faq which is running in Tomcat on LAN as http://192.168.1.5:9090/portal I am using Apache as front end for users to access this application on internet as http://mydomain.com/sakai and ProxyPass

[us...@httpd] setting up a reverse proxy for sakai

2010-07-08 Thread Tapas Mishra
I have a working instance of sakai on one of our clusters.Sakai can be read here http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7) We would like the user to be able to reach it via Apache Reverse proxy  ProxyPass /sakai http://192.1681.5:9090/portal        

Re: [us...@httpd] setting up a reverse proxy for sakai

2010-07-08 Thread Tapas Mishra
Ohh I see.Actually I have also noticed this thing and was wondering if there is any way to do so. I will forward this message to the right people as I am not the developer of sakai. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers

tomcat not starting

2010-07-08 Thread Tapas Mishra
I am surprised .I installed Tomcat and when ever I am trying to access http://192.168.1.5:9090 it is not starting. Here are the error logs which say port 9090 is already in use where as I have just rebooted the server. http://pastebin.com/7t9q9AJv http://pastebin.com/fUeR1ASj

Re: tomcat not starting

2010-07-08 Thread Tapas Mishra
Hi thanks for your reply I have removed Tomcat from the server and re installed it. It is working now. On Thu, Jul 8, 2010 at 2:46 PM, Pid p...@pidster.com wrote: On 8 Jul 2010, at 08:03, Tapas Mishra mightydre...@gmail.com wrote: I am surprised .I installed Tomcat and when ever I am trying

tomcat /manager not working

2010-07-07 Thread Tapas Mishra
I downloaded tomcat 5.5.29 and tried to access an application http://IP of Tomcat server:8080/manager which the doc says http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html that it is included and deployed by default it did not showed me any thing did I miss any thing. -- Tapas

Re: [us...@httpd] using ProxyPreserveReverseCookie

2010-07-05 Thread Tapas Mishra
On two websites when people are logging they get a session if they login from inside LAN. but if people login from internet then it is not possible for them to login. These applications are not developed by me so some one suggested me X-Forwarded-For header is not being properly handled by these

Re: [us...@httpd] using ProxyPreserveReverseCookie

2010-07-05 Thread Tapas Mishra
From intranet they are working absolutely perfect.But from internet it is not working. How do I check the cookies you are saying I do not have any idea to this problem of cookies. see this link http://www.atutor.ca/view/7/20279/1.html this is what I am trying to do. -- Tapas

[us...@httpd] apache memory consumption 91%

2010-07-05 Thread Tapas Mishra
I am having a problem with Apache 2.My all websites were in accessible for some time. There is no application/user on these websites and no database also. The debug mode logging is on what should I check in from the log I am not able to understand any thing in logs. -- Tapas

what is document root in Tomcat

2010-07-05 Thread Tapas Mishra
I am not clear with Document Root for Tomcat which is some thing in Apache only I have worked with. I have an application named sakai http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7) I downloaded it svn co

Re: what is document root in Tomcat

2010-07-05 Thread Tapas Mishra
On Mon, Jul 5, 2010 at 5:35 PM, Pid p...@pidster.com wrote: What does it say in the installation documents for Sakai?  Does it tell you where to install the files? That is the problem on this page http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7) section 3.0 It

[us...@httpd] using ProxyPreserveReverseCookie

2010-07-04 Thread Tapas Mishra
I am not clear with ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath I checked this page http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse but I am not able to understand it I am having 8 websites running on a machine one of them is not getting connected via internet

Re: [us...@httpd] ProxyPass work correctly but ReWriteRule has some error

2010-07-04 Thread Tapas Mishra
On Thu, Jul 1, 2010 at 7:28 PM, Tom Evans tevans...@googlemail.com wrote: Look at your configuration again. First, ProxyPass      ProxyPass /olat http://192.168.1.5:8080/olat      ProxyPassReverse /olat http://192.168.1.5:8080/olat This says, when someone requests a URL starting with

Re: [us...@httpd] ProxyPass work correctly but ReWriteRule has some error

2010-07-04 Thread Tapas Mishra
Ok I got all thanks got it. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org

Re: [us...@httpd] Warning worker http://192.168.1.5/ already used by another worker

2010-07-02 Thread Tapas Mishra
/       ProxyPassReverse /docebolms http://192.168.1.5/docebolms/ apache simply said i have already done that. Igor On Thu, Jul 1, 2010 at 8:32 PM, Tapas Mishra mightydre...@gmail.com wrote: I did not had that thing twice for which I reported the problem. On Thu, Jul 1, 2010 at 4:36 AM, Igor Cicimov icici

[us...@httpd] ProxyPass work correctly but ReWriteRule has some error

2010-07-01 Thread Tapas Mishra
I have an application which is accessible on LAN as http://192.168.1.5:8080/olat/ it is a java application my proxy pass rule work correctly for this as follows ProxyPass /olat http://192.168.1.5:8080/olat ProxyPassReverse /olat http://192.168.1.5:8080/olat I am not able to

Re: [us...@httpd] ProxyPass work correctly but ReWriteRule has some error

2010-07-01 Thread Tapas Mishra
Really? You can't see what's wrong there? Yes I am not clear with ReWriteRule. Your rewrite rule says to look for the URLs beginning with '/olat/' and you went to '/olat'. That is how olat works when some one types in browser http://mydomain.com/olat then they get a page

Re: [us...@httpd] Warning worker http://192.168.1.5/ already used by another worker

2010-07-01 Thread Tapas Mishra
I did not had that thing twice for which I reported the problem. On Thu, Jul 1, 2010 at 4:36 AM, Igor Cicimov icici...@gmail.com wrote: That error means you have same statement twice in the config. Sent from my phone On Jun 30, 2010 9:31 PM, Tapas Mishra mightydre...@gmail.com wrote

Re: [us...@httpd] Warning worker http://192.168.1.5/ already used by another worker

2010-06-30 Thread Tapas Mishra
It did worked man great awesome thanks. I kept the generic one at the last and now I do not get any warning when I restart apache. On Wed, Jun 30, 2010 at 2:01 PM, Bram Mertens mertensb.ma...@gmail.com wrote: I am not sure this will resolve the issue but perhaps you can try to reverse the two

[us...@httpd] Warning worker http://192.168.1.5/ already used by another worker

2010-06-29 Thread Tapas Mishra
I am getting a warning when I am restarting apache I am not able to understand why I am getting this warning. [Wed Jun 30 11:15:24 2010] [warn] worker http://192.168.1.5/ already used by another worker ... waiting .[Wed Jun 30 11:15:26 2010] [warn] worker http://192.168.1.5/ already used by

Re: [us...@httpd] Two Sites on Apache

2010-06-23 Thread Tapas Mishra
Its very easy. 1) Which OS you are using. 2) I am giving this for Ubuntu in /etc/apache2/sites-available directory you need to create 2 files lets say you have two sites www.example1.com www.example2.com So you need to have two files in /etc/apache2/sites-available the name of files are

what port does git uses

2010-06-22 Thread Tapas Mishra
I am running following command which is giving error git clone git://git.kernel.org/pub/scm/linux/kernel/git/trovalds/linux-2.6.git linux-2.6 Initialized empty Git repository in /home/tapas/LKP/pandora/linux-2.6/.git/ fatal: The remote end hung up unexpectedly Some one suggested me to check my

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

2010-06-21 Thread Tapas Mishra
On Mon, Jun 21, 2010 at 1:14 PM, Matus UHLAR - fantomas uh...@fantomas.sk wrote: can you tell usa what are you trying to do? I am trying to understand what ever was written on tutorial. Nothing else.Since I could not understand so I posted.

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

2010-06-20 Thread Tapas Mishra
feel can be of help to me, and what more can I do with Apache. On Thu, Jun 17, 2010 at 7:49 AM, Rich Bowen rbo...@rcbowen.com wrote: On Jun 15, 2010, at 8:42 AM, Tapas Mishra wrote: http://http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html is a link to a tutorial which

[us...@httpd] how can apache be used effectively in a professional setup

2010-06-20 Thread Tapas Mishra
I am looking for what can be achieved with Apache.My understanding is just that of a newbie. I used reverse proxy and NameVirtualHosting with some Customized Logging. Recorded time stamps Apache took to serve pages.Used a few application servers with Apache as front end to them. I recently came

Re: [us...@httpd] 100% CPU utilization by Apache

2010-06-17 Thread Tapas Mishra
Actually the problem is I do not have mysql installed :) so I can be sure that there is no query running. Any more guesses. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -

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

2010-06-17 Thread Tapas Mishra
On Thu, Jun 17, 2010 at 5:15 PM, Matus UHLAR - fantomas uh...@fantomas.sk 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/ Site1.mydomain.com and mydomain.com are on same

Re: [us...@httpd] 100% CPU utilization by Apache

2010-06-16 Thread Tapas Mishra
On Wed, Jun 16, 2010 at 7:08 PM, Mark Watts m.wa...@eris.qinetiq.com wrote: High CPU usage is generally caused by things like PHP which Apache has no control over.        strace -p pid If you run this against the PID stuck at 100%, it should give you some insight into what apache is doing.

Re: [us...@httpd] see the url vars for a request

2010-06-16 Thread Tapas Mishra
You need to have a Custom Log Add 2 lines to your vhost like this CustomLog /var/log/apache2/smith-resp smith LogFormat %h %l %u %t \%r\ %s %b smith what each of the symbol does above that you can find out reading http://httpd.apache.org/docs/2.1/mod/mod_log_config.html so depending upon your

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

2010-06-15 Thread Tapas Mishra
http://http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html is a link to a tutorial which mentions following use of ReWriteRule is wrong. RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^www\.askapache\.com$ [NC] RewriteRule .+

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

2010-06-15 Thread Tapas Mishra
On Tue, Jun 15, 2010 at 6:49 PM, Eric Covener cove...@gmail.com wrote: *) You Should not redirect if HTTP_HOST is empty, for HTTP/1.0 clients, or you might loop. I could not understand your statement HTTP_HOST empty can you be a bit explanatory.It will help newbies like me. -- Tapas

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

2010-06-15 Thread Tapas Mishra
HTTP/1.0 clients do not send a Host header in the request  = no host information can be inferred from a request  = HTTP_HOST will be empty. but if HTTP_HOST is empty then from where is the reply coming from ? -- Tapas http://mightydreams.blogspot.com

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

2010-06-15 Thread Tapas Mishra
On Tue, Jun 15, 2010 at 8:16 PM, Tom Evans tevans...@googlemail.com wrote: I dont understand what you are asking? - the reply comes from apache. I could not understand I am newcomer to apache.I have used Reverse Proxy and other settings but do not completely understand it. So trying to

[us...@httpd] 100% CPU utilization by Apache

2010-06-15 Thread Tapas Mishra
I am having a front end server as Apache for hosting many websites. Today morning any of my domains were not accessible until I did an SSH to Apache server and saw 100% CPU utilization by Apache http://farm5.static.flickr.com/4018/4704885995_cfdb374ca8_b.jpg I am using Ubuntu 10.04 what can be

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

2010-06-14 Thread Tapas Mishra
I have 5 websites running on a webserver. I read Apache docs Apache serves the vhost file in alphabetical order of name of vhost file. I have a few subdomains on main domain http://mydomain.com as follows http://site1.mydomain.com http://site2.mydomain.com http://site3.mydomain.com

[us...@httpd] Solved Re: [us...@httpd] rewrite rule for mingle

2010-06-13 Thread Tapas Mishra
Hi, I was finally able to solve the problem. The context root of application mingle was serving the site on / and not /mingle so when some one requested http://site.mydomain.com/mingle he could reach but not correct page. Here is a link to a discussion which helped

Re: [us...@httpd] rewrite rule for mingle

2010-06-12 Thread Tapas Mishra
The application server when returns a URL then there is no /mingle in URL so that might be a problem. I am not clear as what to do with that. - The official User-To-User support forum of the Apache HTTP Server Project. See

[us...@httpd] ReWriteRules on apache for mingle

2010-06-11 Thread Tapas Mishra
Hi, We installed mingle (an application running on port 8080) on a computer on our LAN. It is accessible http://IP of mingle:8080 Some one can within LAN can see a URL http://192.168.1.5:8080/profile/login and a login page he gets. We have a webserver which is where the main website of our

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

2010-06-11 Thread Tapas Mishra
I am also facing a similar problem and have not been able to debug it.But may be this can help you. In the Apache vhost on Proxy add following CustomLog /var/log/apache2/siteinproblem-resp_log resp LogFormat %{X-Forwarded-For}i %D %t resp in the above LogFormat the variables I have used are

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Thu, Jun 10, 2010 at 7:04 PM, Tom Evans tevans...@googlemail.com wrote: The IfModule mod_rewrite.c section is not right at all. Stop me where I get it wrong site1.mydomain.com is your 'publicly available address' and you want your websites on 192.168.1.10 to appear proxied on this

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Thu, Jun 10, 2010 at 7:04 PM, Tom Evans tevans...@googlemail.com wrote: Then your vhost should look like this: VirtualHost *:80    ServerName site1.mydomain.com    ServerAdmin webmas...@localhost    ProxyRequests off    Proxy *        Order deny,allow        Allow from all    /Proxy

Re: [us...@httpd] ReWriteRules on apache for mingle

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 2:13 PM, Tom Evans tevans...@googlemail.com wrote: How is this different from your previous email thread on the same topic from yesterday Sorry about that I have got very confused so I started fresh thread. , apart from to show that you completely ignored No no its not

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 2:10 PM, Tom Evans tevans...@googlemail.com wrote: On Fri, Jun 11, 2010 at 8:44 AM, Tapas Mishra mightydre...@gmail.com wrote: On Thu, Jun 10, 2010 at 7:04 PM, Tom Evans tevans...@googlemail.com wrote: Then your vhost should look like this: VirtualHost *:80

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 4:08 PM, Tom Evans tevans...@googlemail.com wrote: On Fri, Jun 11, 2010 at 11:30 AM, Tapas Mishra mightydre...@gmail.com wrote: So let me know what you want to know. Does this not work for you? No VirtualHost *:80   ServerName site1.mydomain.com   ServerAdmin

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 5:50 PM, Tom Evans tevans...@googlemail.com wrote: HTTP doesn't work on filenames. I need to understand what your sites are sending, whether requests are going to the right server, etc etc. Since I can't access your servers, and don't know your applications, I will

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 9:01 PM, Tom Evans tevans...@googlemail.com wrote: OK, that makes everything clearer. BTW, you are proxying /mingle/. That final / has meaning, please be precise about whether something has a trailing slash or not. Your first examples of attempting to access '/mingle/'

[us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tapas Mishra
Hi, I am using a backend server to serve an application which is running on apache and another apache which is front end to users coming from internet. So the back end server is hidden from outside. I want if some one types in URL http://site1.mydomain.com/application then they be redirected to

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tapas Mishra
On Thu, Jun 10, 2010 at 4:34 PM, Eric Covener cove...@gmail.com wrote: Try adding the R flag  on the first RewriteRule. Ok it did seem to do some thing. Actually the application is not developed by me.When some one types on LAN http://192.168.1.10:8080 a welcome screen comes that is of mingle.

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tapas Mishra
Actually I have got quite confused. I will tell from start. I am running a website. http://site1.mydomain.com on a pc on LAN. There is a server which has a public IP. I have access to modify what ever Apache file is needed. That server does not have a DNS. Server A

Re: [Zope] zope behind apache reverse proxy css and images broken using eduCommons

2010-06-09 Thread Tapas Mishra
On Wed, Jun 9, 2010 at 5:27 PM, Tres Seaver tsea...@palladion.com wrote: The best practice[1] is to use mod_rewrite in conjunction with mod_proxy, e.g.: Thanks for clearing that out.  RewriteEngine On  RewriteRule ^/(.*) \

<    1   2   3   4   5   >