[EMAIL PROTECTED] How to customize Apache Headers?

2008-07-10 Thread Anand Kulkarni
Hi, I am sending many requests from TCP client to Apache. Using mod_proxy it will be routed to the destinition server. In every client request, I want to send different HTTP headers but I found that Apache adds its own headers and does not allow client to set request specific headers. So, my

Re: [EMAIL PROTECTED] problem installing apache (resending)

2008-07-10 Thread Tom Donovan
Infocom Admin wrote: Hi I am trying to upgrade apache to version 2.2.9 on Red Hat 2.6.9-67.0.15.ELsmp. When I run the configure script with any option, it gives a warning as below. "configure: WARNING: Unrecognized options: --disable-actions, --disable-cgi" Though it gives warnings

Re: [EMAIL PROTECTED] Hosting Scenario

2008-07-10 Thread solprovider
On 7/10/08, S. Ural <[EMAIL PROTECTED]> wrote: > There are 2 domains, example.com and example.net seeing the same document > root and thus having the same content. > I want both them get indexed in search engines as separate domains. > 1- Do I need to create these 2 domains under Apache separa

[EMAIL PROTECTED] Apache sends 401 Response with IE but works with Firefox

2008-07-10 Thread Question Mark
Hello, I have an Apache 2.2 running on a Fedora Linux distribution. It has worked fine so far until I've recently deployed a simple Ruby-on-rails application with Passenger module. I created a VirtualHost (port based) for the Ruby application. I also do a simple authentication and redirection f

[EMAIL PROTECTED] problem installing apache (resending)

2008-07-10 Thread Infocom Admin
Hi I am trying to upgrade apache to version 2.2.9 on Red Hat  2.6.9-67.0.15.ELsmp. When I run the configure script with any option, it gives a warning as below. "configure: WARNING: Unrecognized options: --disable-actions, --disable-cgi"     Though it gives warnings, it compiles smoothly whe

[EMAIL PROTECTED] redirecting when behind a firewall

2008-07-10 Thread bruce
Hi.. Got a bit of an issue here, that I can't seem to resolve. I have a test domain on a dynamic service (dyndns.org). the test domain is foo.gotdns.com, which i have pointing to my external cable/dsl address. Here's my issue, I would really like to be able to have the external user be able to se

Re: [EMAIL PROTECTED] httpd folder is owned by root

2008-07-10 Thread Frank Gingras
You need to fix those installations immediately, then. You can run: chown -R root:root /usr/local/httpd to fix it. If you have any directories that require write access for your scripts, chmod those to 775, and chgrp to apache. Be aware that you should prevent script and unknown content from

Re: [EMAIL PROTECTED] httpd folder is owned by root

2008-07-10 Thread VPN Cluster
I have several other servers that have apache and they all owned by apache:apache . Even /usr/local/httpd/bin/apachectl is owned by apach:apache This is the only machine where I compiled apache but I see all the tree of folder and files under /usr/local/httpd is owned by root:root .. On Thu, Jul

Re: [EMAIL PROTECTED] httpd folder is owned by root

2008-07-10 Thread William A. Rowe, Jr.
VPN Cluster wrote: After successful compilation of Apache 2.2.9 , Apache folder on /usr/lcoal/httpd is owned by root:root. It should be owned by apache:apache. Never. Absolutely not. Anyone who compromises apache with an arbitrary code execution exploit or uses any number of vulnerable scr

Re: [EMAIL PROTECTED] httpd folder is owned by root

2008-07-10 Thread Frank Gingras
VPN Cluster wrote: After successful compilation of Apache 2.2.9 , Apache folder on /usr/lcoal/httpd is owned by root:root. It should be owned by apache:apache. How to go about fixing that.. Hello, The files under /usr/local/httpd *should* belong to root, actually. You should never chown t

[EMAIL PROTECTED] httpd folder is owned by root

2008-07-10 Thread VPN Cluster
After successful compilation of Apache 2.2.9 , Apache folder on /usr/lcoal/httpd is owned by root:root. It should be owned by apache:apache. How to go about fixing that..

[EMAIL PROTECTED] problem with apache installation

2008-07-10 Thread Infocom Admin
Hi I am trying to upgrade apache to version 2.2.9 on Red Hat  2.6.9-67.0.15.ELsmp. When I run the configure script with any option, it gives a warning as below. "configure: WARNING: Unrecognized options: --disable-actions, --disable-cgi"     Though it gives warnings, it compiles smoothly w

[EMAIL PROTECTED] Mod_jk load balance logging

2008-07-10 Thread Campbell, Lance
I use mod_jk to load balance some java applications. When I do a Unix "tail" on the log that mod_jk generates I don't see anything that indicates which instance of an application is being accessed: Example: [Thu Jul 10 12:29:36 2008] pc webtools.uiuc.edu 0.001352 [Thu Jul 10 12:29:36 2008

[EMAIL PROTECTED] Re: Using rewrite to forward the request OR mod_perl

2008-07-10 Thread Mohit Anchlia
If somebody can try and answer my questions posted below would really help me. I have been reading about other ways of re-directing the traffic and I found mod_perl module could also help in doing that. Since I have not done this before advise beforehand would make things clear. On 7/9/08, Mohit A

Re: [EMAIL PROTECTED] Forward proxies and aliases

2008-07-10 Thread Tavian Barnes
> Tavian Barnes wrote: >>> >>> Just an idea from a guy who really knows next to nothing about proxies : >>> If >>> - a proxy configuration allows you to selectively forward some requests >>> to a >>> selection of sites, but not to a local file >>> - but what you want to do is to redirect some URLs

[EMAIL PROTECTED] Apache/mod_jk serves random files from tomcat

2008-07-10 Thread Tim Redding
Hi, We are experiencing intermittent problems with a particular site that is not returning the correct file that is requested. For instance if we request the index.html file we actually get a css file or even an image. From the apache access log you can see that the size of the index.html file

Re: [EMAIL PROTECTED] how to: apache maintenence page

2008-07-10 Thread Igor Galić
Hi Apache gurus. I am looking for a simple way to get a maintenance page up on RHEL4AS running httpd version 2.0.52. the maintenance page should come up when the site is down...or if there is a maintenence going on...like uploads and such. I have looked around found .htaccess, or the Rewrite way

[EMAIL PROTECTED] how to: apache maintenence page

2008-07-10 Thread Mukarram Syed
Hi Apache gurus. I am looking for a simple way to get a maintenance page up on RHEL4AS running httpd version 2.0.52. the maintenance page should come up when the site is down...or if there is a maintenence going on...like uploads and such. I have looked around found .htaccess, or the Rewrite way.

[EMAIL PROTECTED] Hosting Scenario

2008-07-10 Thread S. Ural
There are 2 domains, example.com and example.net seeing the same document root and thus having the same content. I want both them get indexed in search engines as separate domains. 1- Do I need to create these 2 domains under Apache separately? 2- Or aliasing one to another can do t

Re: [EMAIL PROTECTED] help with apache2 and php3 support // mojo

2008-07-10 Thread Igor Galić
but when i try to open it with firefox, all i obtain is that error message: It is usually quite irelevant what User Agent says, for you as admin, the source of information is the error log: http://wiki.apache.org/httpd/DistrosDefaultLayout shows where main distros place Apache files. ACC

[EMAIL PROTECTED] MOD_PROXY a strange problem!!!

2008-07-10 Thread Anand Kulkarni
Hi, I have a TCP client-server application written in Java using the standard socket APIs. Now, I want to introduce Apache as the proxy server between them. And hence I am using the mod_proxy module. The communication among client, apache and server is properly being established but facing a

Re: [EMAIL PROTECTED] Logging query strings from a re-write rule

2008-07-10 Thread Francois Gingras
Steve, Without digging too much in your particular issue, note that RewriteCond will only match the query string if you use %{QUERY_STRING}; You can check the following guide for examples: http://wiki.apache.org/httpd/RewriteQueryString Frank On 7/10/08, Foster, Stephen (ASPIRE) <[EMAIL PROTECT

Re: [EMAIL PROTECTED] Config error

2008-07-10 Thread Igor Galić
Hi When am doing configure am getting these errors. performing libtool configuration... /home/kodiak/httpd-2.2.9/srclib/apr/configure: line 9945: syntax error near unexpected token `lt_decl_varnames,' /home/kodiak/httpd-2.2.9/srclib/apr/configure: line 9945: `lt_if_append_uniq(lt_decl_varnames,

Re: [EMAIL PROTECTED] help with apache2 and php3 support // mojo

2008-07-10 Thread Francois Gingras
Hello, Please read the following article: http://wiki.apache.org/httpd/13PermissionDenied As for your second question, simply change your AddHandler line from AddHandler application/x-httpd-php .php to AddHandler application/x-httpd-php .php .php3 in your configuration. Not that if you were

[EMAIL PROTECTED] Logging query strings from a re-write rule

2008-07-10 Thread Foster, Stephen (ASPIRE)
Hi, I have implemented a re-write rule that captures the incoming requests, checks for a cookie and then directs the user to another system to authenticate and get a cookie before being allowed to access pages under the webserver. E.g: RewriteCond %{HTTP_HOST} !="" RewriteCond %{REQUEST_