Re: [EMAIL PROTECTED] utf8 charset question

2007-05-10 Thread Joshua Slive
On 5/10/07, Greg Lindahl [EMAIL PROTECTED] wrote: On Wed, May 09, 2007 at 03:35:46PM -0400, Joshua Slive wrote: In my opinion, that is a bug. Apache should be passing the charset specified by your CGI script in the Content-Type line But nothing in the docs says that .cgi scripts are treated

Re: [EMAIL PROTECTED] Rewrite Location: header.

2007-05-10 Thread Joshua Slive
On 5/10/07, moh bad [EMAIL PROTECTED] wrote: Hi, I wanted to modify the Location: header in 30X http responses using apache 2, but failed to find a good solution. In mod_headers I can unset the header and set a new one, but I can't use a regular expression to modify his original value. Your

Re: [EMAIL PROTECTED] utf8 charset question

2007-05-09 Thread Joshua Slive
On 5/9/07, Greg Lindahl [EMAIL PROTECTED] wrote: If I uncomment any one of the 3 commented lines. my .html pages all come out utf-8. But, no matter what, my cgi always is iso-8859-1. What am I missing? My apache and vhosts config seem to be fine. Have you tried adjusting your CGI script so

Re: [EMAIL PROTECTED] How to prevent proxy usage?

2007-05-09 Thread Joshua Slive
On 5/9/07, Sonixxfx [EMAIL PROTECTED] wrote: Hi, From what I understand from my logs some people seem to use my Apache install as a proxy server or something like that. I am looking for a solution to prevent that. I hope someone can help me out. Lines like this one appear in my logs once in a

Re: [EMAIL PROTECTED] SSL + name-based virtual host

2007-05-09 Thread Joshua Slive
On 5/9/07, Liz Kim [EMAIL PROTECTED] wrote: IfModule mod_ssl.c Include conf.d/ssl.conf /IfModule /*..*/ NameVirtualHost OUR_IP_ADDRESS:80 VirtualHost OUR_IP_ADDRESS:443 ServerNameNAME1.com DocumentRoot /var/www/html1 /VirtualHost VirtualHost OUR_IP_ADDRESS:80

Re: [EMAIL PROTECTED] utf8 charset question

2007-05-09 Thread Joshua Slive
On 5/9/07, Greg Lindahl [EMAIL PROTECTED] wrote: On Wed, May 09, 2007 at 09:33:17AM -0400, Joshua Slive wrote: On 5/9/07, Greg Lindahl [EMAIL PROTECTED] wrote: If I uncomment any one of the 3 commented lines. my .html pages all come out utf-8. But, no matter what, my cgi always is iso-8859-1

Re: [EMAIL PROTECTED] Using apache as proxy only on specific folder

2007-05-09 Thread Joshua Slive
On 5/9/07, Scott Gifford [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: Hi all. I want to make apache2 (port 80) to work like a proxyserver to a other webserver that is running on the same machine on port 3000. The following works perfectly for this: ProxyPass /

Re: [EMAIL PROTECTED] SSL + name-based virtual host

2007-05-09 Thread Joshua Slive
On 5/9/07, Liz Kim [EMAIL PROTECTED] wrote: Apache is failing to restart when I try this. With what error message? What is in the error log? I see nothing obviously wrong with the config, although I would remove all the IfDefine and /IfDefine stuff which only serves to confuse the situation.

Re: [EMAIL PROTECTED] Ok people pls i need help here!!!!!!

2007-05-09 Thread Joshua Slive
On 5/9/07, Pitoniso Rikito Rikin [EMAIL PROTECTED] wrote: With Apache how i can establish a connection's keep-alive.. Hard to tell what you mean here. What exactly are you trying to accomplish. You might want to start here: http://httpd.apache.org/docs/2.2/mod/core.html#keepalive Joshua.

Re: [EMAIL PROTECTED] SSL + name-based virtual host

2007-05-09 Thread Joshua Slive
On 5/9/07, Liz Kim [EMAIL PROTECTED] wrote: OK just tried getting rid of the IfDefine and /IfDefine and it stopped erroring out. Thank you so much for your help. Now if i do: http://NAME1.com it goes to the same website. And if i do: https://NAME1.com it give me a 403 error. And again: what is

Re: [EMAIL PROTECTED] simple redirect

2007-05-09 Thread Joshua Slive
On 5/9/07, The Gaijin [EMAIL PROTECTED] wrote: Dave Henderson wrote: Gang, I am pulling my hair out over this. I am trying to redirect the browser so if a user were to type in something like: www.domain.com/fun it would redirect to www.domain.com/games/default.html. I have tried

Re: [EMAIL PROTECTED] Multiple certs virtual hosts

2007-05-09 Thread Joshua Slive
On 5/9/07, Mark Drummond [EMAIL PROTECTED] wrote: Hi all, I have two different key files and their associated certs in PEM encoded files. I have two virtualhosts defined. The virtualhosts are working fine, in as much as they are pointing at different doc roots and I can browse to each virtual

Re: [EMAIL PROTECTED] simple redirect

2007-05-09 Thread Joshua Slive
On 5/9/07, Dave Henderson [EMAIL PROTECTED] wrote: Thanks for your replies guys. Yes I have tried both of the methods that Joshua said and neither of them worked. I don't get any errors when apache starts (using 2.0.x) on a Debian Sarge server. I get an error when I try to access the

Re: [EMAIL PROTECTED] URL escaped in proxy mode in 1.3 ?

2007-05-08 Thread Joshua Slive
On 5/8/07, Bruno POMMEREL [EMAIL PROTECTED] wrote: All, Apache 1.3.24 is configured in std proxy mode: Sorry, can't help with your problem. If you want help from the developers, you're probably better off starting with a version of apache that is somewhat less than 5 years old. I suggest

Re: [EMAIL PROTECTED] Query on MaxRequestperChild

2007-05-07 Thread Joshua Slive
On 5/7/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, I have made the MaxRequestsPerChild set to zero but I still see the child process to getting killed by either SIGBUS (10) or SIGSEV(11) and apache launches a new daemon.This happens approximately if it gets hit by 1 request with 800

Re: [EMAIL PROTECTED] httpd and mod_acces

2007-05-07 Thread Joshua Slive
On 5/7/07, Ana Carolina [EMAIL PROTECTED] wrote: I had installed apache 2.0 from Centos, when I try to run httpd I get an error: httpd: Syntax error on line xxx of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_access.so into server: /etc/httpd/modules/mod_access.so: cannot open

Re: [EMAIL PROTECTED] ErrorDocument 401 problem

2007-05-07 Thread Joshua Slive
On 5/7/07, Christian HAESSIG [EMAIL PROTECTED] wrote: ErrorDocument 401 /var/www/sites/untranet_redirect/index.php As you can see, the redirection should be done to the file /var/www/sites/untranet_redirect/index.php when an 401 error occurs. Unfortunately, I get always the following

Re: [EMAIL PROTECTED] cgi-bin in VirtualHost

2007-05-07 Thread Joshua Slive
On 5/7/07, Joe Demeny [EMAIL PROTECTED] wrote: Hello, I don't seem to be able to make CGI work within VirtualHost. Here is my VirtualHost block: VirtualHost *:80 Directory /home/shop1/cgi-bin/ Options ExecCGI SetHandler cgi-script /Directory Everything inside the Directory section

Re: [EMAIL PROTECTED] cgi-bin in VirtualHost

2007-05-07 Thread Joshua Slive
On 5/7/07, Joe Demeny [EMAIL PROTECTED] wrote: It never occurred to me that I needed to add these permissions in the Directory section. In the main configuration part I have user directories defined as: Directory /home/*/htdocs AllowOverride None Order allow,deny Allow

Re: [EMAIL PROTECTED] URI / SSL help please

2007-05-07 Thread Joshua Slive
On 5/7/07, Ryan Huff [EMAIL PROTECTED] wrote: Okay I have SSL up and working just fine on Apache 2.2.4. I have my Cert for 'mydomain.com' however when people access 'www.mydomain.com' the browser says that the CA didn't issue the certificate for the domain that the browser is accessing.

Re: [EMAIL PROTECTED] URI / SSL help please

2007-05-07 Thread Joshua Slive
On 5/7/07, Ryan Huff [EMAIL PROTECTED] wrote: I have this in my conf: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} Now that code chunk kicks all :80 traffic to https (:443) I need a rule that will also kick http://www. Over to https:// If

Re: [EMAIL PROTECTED] Apache Error_log - wrong error format

2007-05-07 Thread Joshua Slive
On 5/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I'm a student of The Technical University of Gdansk (Poland) I'm curently working on a project which will use apache error_log file. In my project I'm using details from error_log entries (time, location) to show a statistic of

Re: [EMAIL PROTECTED] how to set icons aliase in apache

2007-05-07 Thread Joshua Slive
On 5/7/07, makhan [EMAIL PROTECTED] wrote: Hi I want apache server to use the JPEG images in the output html file . I think this can be done by setting the icons aliases. Can someone please guide me how I can set the icons aliase to access the directory containing the JPEG image. The AddIcon

Re: [EMAIL PROTECTED] Error: connect() failure

2007-05-07 Thread Joshua Slive
On 5/7/07, makhan [EMAIL PROTECTED] wrote: Hi When I use my browser to access the input html page and submit the inputs I get Error: connect() failure. Whereas before restarting the sysstem I was getting the proper output html page. Can someone guide me what coould be wrong. Where do you see

Re: [EMAIL PROTECTED] How to dsiplay photo from cgi-bin

2007-05-06 Thread Joshua Slive
On 5/6/07, Can Le [EMAIL PROTECTED] wrote: On 2. Link suggested: Alias /cgi-bin /var/www/cgi-bin Directory /var/www/cgi-bin AddHandler cgi-script cgi pl Options ExecCGI /Directory Should I add .jpg after cgi pl as cgi pl jpg No. That is exactly the point: you DON'T want jpg to be treated

Re: [EMAIL PROTECTED] DIfferences between IfDefine SLL and IfModule ssl_module

2007-05-06 Thread Joshua Slive
On 5/6/07, Alain Roger [EMAIL PROTECTED] wrote: Hi, Under Apache 2.0.x, i've seen quite huge use of IfDefine SSL to define something only if SSL is activated. However, it seems that under Apache 2.2.x, IfModule ssl_module is mostly use. From my point of view, both tell the same thing, so where

Re: [EMAIL PROTECTED] DIfferences between IfDefine SLL and IfModule ssl_module

2007-05-06 Thread Joshua Slive
On 5/6/07, Alain Roger [EMAIL PROTECTED] wrote: thanks a lot for your information. Now it's clear. I suppose that if IfModule ssl_module is used before module loading, it has no effect, isn't it ? Right. - The official

Re: [EMAIL PROTECTED] single webpage redirect

2007-05-06 Thread Joshua Slive
On 5/6/07, Dave Henderson [EMAIL PROTECTED] wrote: Guys, I have another question. This one is just to maintain uniformity and is not a must. I adjusted the apache server that doesn't contain the user database (site2) to use the database at site1 by redirecting the login.html to

Re: [EMAIL PROTECTED] single webpage redirect

2007-05-06 Thread Joshua Slive
On 5/6/07, Dave Henderson [EMAIL PROTECTED] wrote: The site2 is working fine and redirecting correctly. It is site1 that contains the userdata that I would like to redirect. Just flip site2 and site1 in my description. I did try to use the redirect statement on the site1 server, but

Re: [EMAIL PROTECTED] RewriteEngine

2007-05-05 Thread Joshua Slive
On 5/5/07, Davi Leal [EMAIL PROTECTED] wrote: Does the rewrite engine not take into account the URI parameters? I get: init rewrite engine with requested uri /offers instead of init rewrite engine with requested uri /offers?id=9 In the docs for RewriteRule, see the big box marked

Re: [EMAIL PROTECTED] single webpage redirect

2007-05-05 Thread Joshua Slive
On 5/5/07, The Gaijin [EMAIL PROTECTED] wrote: RewriteEngine On RewriteRule /login.html http://other.server.domain/login_url [R] This case can be replaced simply with Redirect /login.html http://other.server.domain/login_url which doesn't require mod_rewrite. Joshua.

Re: [EMAIL PROTECTED] InterModule Communications(DSO)

2007-05-05 Thread Joshua Slive
I am currently working with apache 2.0.59. Now in the process of writing some apache2 add-on C-module (DSO).As you know DSO Modules can interact with the server core via the Apache2 API. Using that API each module can access the server's data structures. Up to this I am fine. But I

Re: [EMAIL PROTECTED] URL Rewriting and DAV with Digest Authentication

2007-05-05 Thread Joshua Slive
On 5/4/07, The Gaijin [EMAIL PROTECTED] wrote: LocationMatch ~* Use Location /~ -- it is more efficient and safer in this case. RewriteEngine On RewriteLog /var/log/apache2/rewrite.log RewriteLogLevel 5 RewriteCond %{REQUEST_METHOD}

Re: [EMAIL PROTECTED] How to dsiplay photo from cgi-bin

2007-05-04 Thread Joshua Slive
On 5/4/07, Can Le [EMAIL PROTECTED] wrote: Hi friends, Apache2 can display photo.jpg in my localhost/htdocs but my localhost/cgi-bin can't show the same photo.jpg. Please show me why or the missing AddType or AddHandler ? By using a ScriptAlias directive to map a cgi-bin directory, you

Re: [EMAIL PROTECTED] FD_SETSIZE

2007-05-04 Thread Joshua Slive
On 5/4/07, Eduardo Meyer [EMAIL PROTECTED] wrote: Very good pointing Mr Joshua, I didnt know such a module existed. Simple and clear documentation. Is it a stable module? Per-vhost directives, say, php_admin_flags, am I supposed to add 'em into a Directory container? I think with this module

Re: [EMAIL PROTECTED] Stupid Question: Canonical Name Rewrite Location

2007-05-03 Thread Joshua Slive
On 5/3/07, Ann Hopkins [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a server with multiple hosts names on one IP address. I have figured out from all the searches I made that I can do rewrite the other hosts names to correct the address to www. ServerName

Re: [EMAIL PROTECTED] Stupid Question: Canonical Name Rewrite Location

2007-05-03 Thread Joshua Slive
On 5/3/07, Ann Hopkins [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Virtual Host directive is the only one that takes ServerAlias. This actually works in the main configuration file or a Virtual Host directive. Right, but you still can't have more than one

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Joshua Slive
On 5/3/07, Bashiro [EMAIL PROTECTED] wrote: Hello folks, is there a way to schedule apache to restart after some hours ? Any script out there ? What OS? That would typically be the job of cron (under unix) or the windows task scheduler on MS-Windows. Joshua.

Re: [EMAIL PROTECTED] preventing self entries in access log?

2007-05-03 Thread Joshua Slive
On 5/3/07, Mark A. Craig [EMAIL PROTECTED] wrote: Is there a httpd.conf directive or other technique to prevent the logging of server accesses that originate from the same IP address as the server itself? I would like to prevent them from being logged entirely. Can I perhaps use some form of

Re: [EMAIL PROTECTED] preventing self entries in access log?

2007-05-03 Thread Joshua Slive
On 5/3/07, Mark A. Craig [EMAIL PROTECTED] wrote: Joshua: Yes, I'd seen that, but my situation is a bit more complicated, since the server isn't sitting at a static IP, and I wasn't entirely certain how to do it. Would something like this work? SetEnvIf Remote_Addr Server_Addr dontlog

Re: [EMAIL PROTECTED] Help ! Apache 100%

2007-05-03 Thread Joshua Slive
On 5/3/07, Alejandro Decchi [EMAIL PROTECTED] wrote: Hello my friends! I have apache2 and mysql and php. When one user access to thw webpage and make a query apache2 uses the 98% of cpu How can i limit the cpu uses ??? Your OS probably has tools to manage the priority of processes. Using

Re: [EMAIL PROTECTED] Tools for better viewing Apache access logs?

2007-05-03 Thread Joshua Slive
On 5/3/07, Mark A. Craig [EMAIL PROTECTED] wrote: Thanks again to those who helped me get past my BSOD problem and finally put Apache to use. Now that I'm using it, I'm wondering if there's some tool that exists to enhance and restructure the display of information in Apache's access log? I'd

Re: [EMAIL PROTECTED] Equivalent of CHttpFilter::GetFilterVersion(pVer) in Apache linux

2007-05-03 Thread Joshua Slive
On 5/3/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: We are migrating a WebServer Application from IIS to Apache linux.We are unable to find equivalent functions in linux to CHttpFilter::GetFilterVersion(pVer).Also are there any flags in linux apache SF_NOTIFY_ORDER_LOW? You seem to

Re: [EMAIL PROTECTED] FD_SETSIZE

2007-05-03 Thread Joshua Slive
On 5/2/07, Eduardo Meyer [EMAIL PROTECTED] wrote: On Apache2, how do I set FD_SETSIZE? I have found some virtual hosts limitations and FAQ and documentation tells I should define FD_SETSIZE in EXTRA_CFLAGS, but where EXTRA_CFLAGS go? I don't remember for sure, but I don't think that FD_SETSIZE

Re: [EMAIL PROTECTED] FD_SETSIZE

2007-05-03 Thread Joshua Slive
On 5/3/07, Eduardo Meyer [EMAIL PROTECTED] wrote: However, it is a resource problem which I havent fix, because I dont understand correctly what else, other than fd's Apache needs, so I can raise it. I very much doubt that you will run into file descriptor limits if you avoid separate logs

Re: [EMAIL PROTECTED] ServerAlias and redirecting, please help

2007-05-02 Thread Joshua Slive
On 5/2/07, Dmitry Hazin [EMAIL PROTECTED] wrote: I tried the following directives to force redirect: Well, I think the technique of having two VirtualHosts is clearer, but anyway... RewriteCond %{HTTP_HOST} ^xx\.site\.com [NC] RewriteCond %{HTTP_HOST} ^$ RewriteRule ^/(.*)

Re: [EMAIL PROTECTED] Apache2 hangs once in a while

2007-05-02 Thread Joshua Slive
On 5/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote on 05/04/2007 15:55:23: On 4/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The problem I have is that the server doesn't respond sometimes. Maybe this happens after I have done a lot of mysql database

Re: [EMAIL PROTECTED] ServerAlias and redirecting, please help

2007-05-02 Thread Joshua Slive
On 5/2/07, Dmitry Hazin [EMAIL PROTECTED] wrote: Yes, that was my mistake. Anyway, without that line it didn't work too :( It seems that apache doesn't read RewriteRule directive after it had read ServerAlias one.. No, that's not true. As I said, if you want to debug mod_rewite you need to use

Re: [EMAIL PROTECTED] no password check please

2007-05-02 Thread Joshua Slive
On 5/2/07, Noah [EMAIL PROTECTED] wrote: Hi there, is there any way to stop the SSL password prompt/check when restarting apache-2.2.4? http://wiki.apache.org/httpd/Info/RemoveSSLCertPassPhrase Joshua. - The official

Re: [EMAIL PROTECTED] FollowSymLinks - anything which could globally block this?

2007-05-01 Thread Joshua Slive
On 4/30/07, Brent Harsh [EMAIL PROTECTED] wrote: I'm configuring Apache (2.0.52 as it came with RedHat EL distribution and am always seeing 403 denied when trying to download a file via a symlink. I have the FollowSymLink directive present in the httpd.conf Directory section for my docroot

Re: [EMAIL PROTECTED] Writing an Apache 2.0 add-on (DSO) C-module

2007-05-01 Thread Joshua Slive
On 5/1/07, janmejay.tripathi [EMAIL PROTECTED] wrote: I am currently working with apache 2.0.59. Now in a process of writing some apache2 add-on C-module (DSO). I just got through documents provided in Nick knew's -- www.apachetutor.org and also headers files in Apache2-Include

Re: [EMAIL PROTECTED] .htaccess not for all hosts (VirtualHosts)

2007-05-01 Thread Joshua Slive
On 5/1/07, Christoph P. Kukulies [EMAIL PROTECTED] wrote: I'm running apache 1.3.28 which serves the outside (Internet) network and an Intranet (through address 192.168.1.x) To the outside server I'm using .htaccess password protected pages while I would like to open the pages to the Intranet.

Re: [EMAIL PROTECTED] Query on StartServers and ListenBackLog

2007-05-01 Thread Joshua Slive
On 4/29/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi , Thanks for the reply, I forgot to mention I am using MPM model Worker and I guess MinSpareServers/MaxSpareServer is used for prefork.Is there any way I can stop the dynamic creation of new process.Also how can I simulate with lesser number

Re: [EMAIL PROTECTED] .htaccess not for all hosts (VirtualHosts)

2007-05-01 Thread Joshua Slive
On 5/1/07, Christoph P. Kukulies [EMAIL PROTECTED] wrote: Thanks, I added it but it doesn't work. I put it before the AllowOverride None. Are you really sure about what interface the different clients are coming in on? The standard solution is to throw out the separate virtualhost (which

Re: [EMAIL PROTECTED] running cgi on windows: The system cannot find the path specified

2007-05-01 Thread Joshua Slive
On 5/1/07, Marquis Samuel [EMAIL PROTECTED] wrote: Hello, I have installed Apache 2.2.4 on Windows XP and I have problems running cgi. Logs say: [Tue May 01 19:04:17 2007] [error] [client 127.0.0.1] (OS 3)The system cannot find the path specified. : couldn't spawn child process:

Re: [EMAIL PROTECTED] ServerAlias and redirecting, please help

2007-04-30 Thread Joshua Slive
On 4/30/07, Dmitry Hazin [EMAIL PROTECTED] wrote: What is the correct way to configure apache so it will redirect from xx.site.com to http://www.site.ru/some/location ? See: http://wiki.apache.org/httpd/Recipes/CanonicalHostNames Joshua.

Re: [EMAIL PROTECTED] Regarding name-based virtual hosting in Apache 2.x

2007-04-30 Thread Joshua Slive
On 4/30/07, janmejay.tripathi [EMAIL PROTECTED] wrote: My configuration for name-based virtual hosting is given bellow. But how can I see the output i.e. virtual hosting is working properly or not. Apache is showing no error. I have created so many name-based virtual hosting but did not

Re: [EMAIL PROTECTED] Perl Script to display Image

2007-04-30 Thread Joshua Slive
On 4/29/07, Gerard Seibert [EMAIL PROTECTED] wrote: I am not sure if this is the correct forum for this question. If not, perhaps someone could point me in the right direction. FreeBSD-6.2 Apache-2.2.4_2 Perl v5.8.8 The following Perl script is suppose to place a new image in a web page on a

Re: [EMAIL PROTECTED] timeout period exceeded

2007-04-30 Thread Joshua Slive
On 4/29/07, Thibaud Hulin [EMAIL PROTECTED] wrote: Hello! I just installed apache 2.2.3 on a Debian testing. however, when I type localhost or 127.0.0.1 in navigation bar of firefox 2, I obatin this error message : timeout period exceeded What must I do ? I think my installation is good, with

Re: [EMAIL PROTECTED] Setting up a staging server with apache

2007-04-30 Thread Joshua Slive
On 4/29/07, John Steel [EMAIL PROTECTED] wrote: I am trying to reproduce this setup for PHP development which will manage separate hosts running separate apps (Drupal, MediaWiki, etc). If I try to use Apache VirtualHosts I get stuck - I know I could set up www.example1.com and www.example2.com

Re: [EMAIL PROTECTED] SSL Proxy to back end servers

2007-04-30 Thread Joshua Slive
On 4/30/07, wi [EMAIL PROTECTED] wrote: Hi all I have an Apache instance that is functioning as a reverse proxy for our app server. For standard http, this works fine. However, we'd like to send SSL traffic through the proxy to the back end server. I don't want to decrypt the traffic at the

Re: [EMAIL PROTECTED] Query on StartServers and ListenBackLog

2007-04-28 Thread Joshua Slive
On 4/28/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, I have some queries on the StartServers param.As it says The StartServers directive sets the number of child server processes created on startup. As the number of processes is dynamically controlled depending on the load, there is

Re: [EMAIL PROTECTED] Overloaded rewrite handler?

2007-04-27 Thread Joshua Slive
On 4/26/07, Aaron Macks [EMAIL PROTECTED] wrote: First a bit of background, the server is a SunFire 440, 4 proc, 8gig of ram, running httpd 1.3.34 due to the needs of out closed-source CMS We have been trying something that requites a huge number of redirects, and it seems that the rewrite

Re: [EMAIL PROTECTED] Mod rewrite F flag

2007-04-27 Thread Joshua Slive
On 4/27/07, Erez Segal [EMAIL PROTECTED] wrote: In my server, I want to reject access to files that exist. (to some php files that are allways included via other files, and never needs to be accessed directly). I use: RewriteRule ^(.*)$ - [F] The trouble is it sends 403 - forbidden. I want it

Re: [EMAIL PROTECTED] internal rewrite puzzle

2007-04-27 Thread Joshua Slive
On 4/27/07, Eric S. Johansson [EMAIL PROTECTED] wrote: I'm trying to hide a cgi url behind a pretty one. from what I've found in the archives, it may or may not be possible. my rules are very simple and they satisfy my first requirement RewriteCond %{REQUEST_FILENAME} !-f

Re: [EMAIL PROTECTED] RHEL 5 x86_64, Oracle 10g 64 bit, apache 2.2 and DBD:Oracle

2007-04-27 Thread Joshua Slive
On 4/27/07, Yanick Quirion [EMAIL PROTECTED] wrote: This tells me that my Oracle configuration is fine and that perl Oracle:DBD is working also. The problem appear when I ran the script from a web browser. On my browser, I enter http://www.domain.com/cgi-bin/toto.pl and I got the following

Re: [EMAIL PROTECTED] Overloaded rewrite handler?

2007-04-27 Thread Joshua Slive
On 4/27/07, Aaron Macks [EMAIL PROTECTED] wrote: I was blaming mod_rewrite because the server was running fine, serving up pages with approx 180 children, until I added in a slew of new redirects(approx 6k). I want to believe that there are no loops in the rules, as they are all pretty simple

Re: [EMAIL PROTECTED] Re: virtualhost via proxy on apache 2.0.40 problem

2007-04-27 Thread Joshua Slive
On 4/27/07, Roberto Tortolero [EMAIL PROTECTED] wrote: Hi I have problem with proxys on apache, i have two servers and i want to use one as a firewall an the other as web page server. i've all ready doned, but, the thing is that apache always returned the same carpet all the time, no matter what

Re: [EMAIL PROTECTED] problem with the DocumentRoot directive

2007-04-27 Thread Joshua Slive
On 4/27/07, Ighal Joel Micha [EMAIL PROTECTED] wrote: Hello, Would you tell me why am I getting the next error? Starting httpd: Warning: DocumentRoot [/home/library-base] does not exist but, THAT DIRECTORY EXISTS! Try starting apache directly under strace to see what syscall is

Re: [EMAIL PROTECTED] date when file was last modified

2007-04-27 Thread Joshua Slive
On 4/27/07, Robert T Wyatt [EMAIL PROTECTED] wrote: Richard Dunne wrote: Can anyone tell me what would prevent apache2 server from updating its last modified by file index. I am running apache2 and the last modified date is not updating, even when I restart the server. Richard Do you mean

Re: [EMAIL PROTECTED] date when file was last modified

2007-04-27 Thread Joshua Slive
On 4/27/07, Richard Dunne [EMAIL PROTECTED] wrote: Hanging my head in shame, I was editing the file copy at c:\Project\file.php, when I should of course have been editing c:\Program Files\Apache Group\Apache2\htdocs\Project\file.php If you can't laugh at yourself for making a silly mistake,

Re: [EMAIL PROTECTED] Apache module ----SSL----- MySQL

2007-04-26 Thread Joshua Slive
On 4/26/07, Naveen Rawat [EMAIL PROTECTED] wrote: My communication from my module, is database specific (my MySQL is already SSL-enabled). So is it only up to the MySQL SSL-specific C API to provide SSL (I tried using mysql_ssl_set() with no success) or there has more to be done at my module's

Re: [EMAIL PROTECTED] Child process running CGI script does not terminate after exit() and is killed after a 3s delay, under Solaris 8

2007-04-26 Thread Joshua Slive
On 4/26/07, Jochen Stenzel [EMAIL PROTECTED] wrote: Hello, using Apache 1.3.27 on Solaris 8 Without reading the entire message, the problem in the subject line is something I remember being fixed at some point. Try upgrading to a modern version of apache. Joshua.

Re: [EMAIL PROTECTED] apache2 not updating files

2007-04-26 Thread Joshua Slive
On 4/25/07, Richard Dunne [EMAIL PROTECTED] wrote: I cleared the cache. The last date modified in windows explorer is todays date april 24. The date last modified in apache is april 22. Its only if I move the files to another dir that the date seems to change. Have you rebooted the

Re: [EMAIL PROTECTED] Server Side Inluces Issue Apache 2.2.3

2007-04-26 Thread Joshua Slive
On 4/26/07, Chakrapani, Praveen Kumar Bellary (Contractor) [EMAIL PROTECTED] wrote: Hi, We recently upgraded apache from 1.3.31 to apache 2.2.3. Older version works well with server side includes and parsing htm file to shtm files. However with new version when we try to access a link from

Re: [EMAIL PROTECTED] Server Side Inluces Issue Apache 2.2.3

2007-04-26 Thread Joshua Slive
On 4/26/07, Chakrapani, Praveen Kumar Bellary (Contractor) [EMAIL PROTECTED] wrote: Error is page cannot be found. I have tried with AddHandler server-parsed .htm still the same problem mod_ext_filter has nothing to do with it. Your problem still isn't clear, so I'll need to guess again. You

Re: [EMAIL PROTECTED] Server Side Inluces Issue Apache 2.2.3

2007-04-26 Thread Joshua Slive
On 4/26/07, Chakrapani, Praveen Kumar Bellary (Contractor) [EMAIL PROTECTED] wrote: Ok let me explain it again www.ftc.gov and www.consumer.gov are running on apache version 1.3.31 with server side includes enabled. www.consumer.gov has a url in its main page pointing to

Re: [EMAIL PROTECTED] Server Side Inluces Issue Apache 2.2.3

2007-04-26 Thread Joshua Slive
On 4/26/07, Chakrapani, Praveen Kumar Bellary (Contractor) [EMAIL PROTECTED] wrote: Below are all the Redirect lines that I have on apache 1.3.31 conf file. # Redirect allows you to tell clients about documents which used to exist in # Format: Redirect old-URI new-URL RedirectPermanent /idtheft

Re: [EMAIL PROTECTED] Server Side Inluces Issue Apache 2.2.3

2007-04-26 Thread Joshua Slive
On 4/26/07, Joshua Slive [EMAIL PROTECTED] wrote: It could be a RewriteRule, it could be in an .htaccess file, it could be in an Include'd config file, or it could be some special module that you have added. Ah, one more that I think explains your confusion: It could be mod_speling, which auto

Re: [EMAIL PROTECTED] SSI Apache 2.2.3

2007-04-26 Thread Joshua Slive
On 4/26/07, Chakrapani, Praveen Kumar Bellary (Contractor) [EMAIL PROTECTED] wrote: I have checked the documentation there, have done as per the procedure still wont work Is this a different problem than the one you reported earlier? The earlier problem had nothing to do with SSI, but was

Re: [EMAIL PROTECTED] Logging problem using mod_proxy and UsePreserveHost

2007-04-25 Thread Joshua Slive
On 4/25/07, Foster, Stephen (ASPIRE) [EMAIL PROTECTED] wrote: This format works fine and logs the client IP and the host that the request is intended to go to for locally served content such as gif's etc. However for objects that get proxied of to the other backend servers i get a log entry

Re: [EMAIL PROTECTED] Chunked transfers from client to server

2007-04-25 Thread Joshua Slive
On 4/25/07, Draks Draks [EMAIL PROTECTED] wrote: Hello all, I need to POST files to an Apache server (version 2.0.58) using the chunked transfer mode. However my PHP script doesn't seem to receive anything. I have tested with another server (2.2.3) and it works fine. Does anybody know what is

Re: [EMAIL PROTECTED] Change Response header

2007-04-25 Thread Joshua Slive
On 4/25/07, Dummy [EMAIL PROTECTED] wrote: When I make a request to my local server, I always receive a response header like this: HTTP/1.1 200 OK Date: Wed, 25 Apr 2007 18:31:04 GMT Server: Apache/2.0.55 (Win32) PHP/5.2.0 How can I change the infomation in these attributes from

Re: [EMAIL PROTECTED] Segmentation fault in Apache

2007-04-25 Thread Joshua Slive
On 4/23/07, Diego F. Fernandez [EMAIL PROTECTED] wrote: It would be thankful to who can help me with these errors that leave in log of apache. [Mon Apr 23 11:35:52 2007] [notice] child pid 26936 exit signal Segmentation fault (11) *** glibc detected *** /usr/sbin/httpd: corrupted double-linked

Re: [EMAIL PROTECTED] apache2 not updating files

2007-04-25 Thread Joshua Slive
On 4/25/07, Richard Dunne [EMAIL PROTECTED] wrote: Joshua, can you resend, I can't find your mail, might have deleted by mistake, thanks. http://mail-archives.apache.org/mod_mbox/httpd-users/200704.mbox/[EMAIL PROTECTED] -

Re: [EMAIL PROTECTED] apache2 not updating files

2007-04-25 Thread Joshua Slive
On 4/25/07, Richard Dunne [EMAIL PROTECTED] wrote: Last date modified is listed in my directory http://localhost/Project I have attached a word attachment with a snapshot of the directory The files are on my laptop, not a public/company server. I am not using mod_cache, not familiar with this!

Re: [EMAIL PROTECTED] How to get only user logging and logout logs into separate log file???

2007-04-24 Thread Joshua Slive
On 4/24/07, rakesh zingade [EMAIL PROTECTED] wrote: Hi all, I am new to apache httpd server. I want to redirect only user logging and logout logs to a different log file .. not a standard log file. I know there are some option to be set for getting such kind of logs ( e.g. CustomLog) in

Re: [EMAIL PROTECTED] RewriteRule ignored in .htaccess file in Apache 2.2.3

2007-04-24 Thread Joshua Slive
On 4/24/07, uxwrstre [EMAIL PROTECTED] wrote: I tried to use RewriteRule in a .htaccess file and it does not work. Its totally ignored by mod_rewrite. And its strange because in the configuration file of Apache it works. RewriteRule ^/intranet$ /internet [R] Prefix matching

Re: [EMAIL PROTECTED] How to get only user logging and logout logs into separate log file???

2007-04-24 Thread Joshua Slive
On 4/24/07, rakesh zingade [EMAIL PROTECTED] wrote: We have a Web GUI Application for network monitoring. The users accesses this web GUI using http protocol. The Web GUI provides login prompt at the start By entering valid user name and password the users get application Web GUI window to do

Re: [EMAIL PROTECTED] Re: Service Unavailable - Zero size object

2007-04-24 Thread Joshua Slive
On 4/24/07, thomas Armstrong [EMAIL PROTECTED] wrote: I fixed it by restarting Apache, but I'd like to know the reason of this error. On 4/24/07, thomas Armstrong [EMAIL PROTECTED] wrote: Hi. Using Apache 2.0.52 + PHP 4.3.10 on Linux (Fedora Core 2), I get this error message when accesing

Re: [EMAIL PROTECTED] Combinging static virtual hosts and dynamic VirtualDocumentRoot hosts

2007-04-24 Thread Joshua Slive
On 4/24/07, James Davis [EMAIL PROTECTED] wrote: Running Debian Etch's Apache/2.2.3 I'd like to be able to setup virtual hosts, accessed via subdomains of freecharity.org.uk for my users. So instead of http://www.freecharity.org.uk/~james/ they'll be using http://james.freecharity.org.uk/. I

Re: [EMAIL PROTECTED] Is there a way to use external script with .htaccess for authentication?

2007-04-24 Thread Joshua Slive
On 4/24/07, Erez Segal [EMAIL PROTECTED] wrote: I specifically wants to use my PHP authentication system, with .htaccess to protect folders. I would imagine something like: |is_authorized.php returning Allow/Deny inside the .htaccess how can this be done? Not like that, but you can use php

Re: [EMAIL PROTECTED] Is there a way to use external script with .htaccess for authentication?

2007-04-24 Thread Joshua Slive
On 4/24/07, Erez Segal [EMAIL PROTECTED] wrote: The user will still have to login twice... I'm sure it's possible. I've seen at http://www.apacheweek.com/features/userauth the following quote: It is also possible to have an arbitrary external program check whether the given username and password

Re: [EMAIL PROTECTED] apache2 not updating files

2007-04-24 Thread Joshua Slive
On 4/24/07, Richard Dunne [EMAIL PROTECTED] wrote: I have edited a php webpage in my project folder today so the last modified date should show tdays date on restarting the server, but when I did that, the server is still showing the previous date which was sunday 22nd april. I am only

Re: [EMAIL PROTECTED] Help with mod_rewrite ..

2007-04-24 Thread Joshua Slive
On 4/24/07, Joseph Silverman [EMAIL PROTECTED] wrote: In order to make a virtual domain ONLY serve up a single webapp, I am trying to use mod_rewrite in it, thus (I replaced all sensitive information in the stanza below): VirtualDomain *:80 ServerName dir.com JkMount /dir

Re: [EMAIL PROTECTED] SSL-enabled interaction with MySQL

2007-04-24 Thread Joshua Slive
On 4/24/07, Naveen Rawat [EMAIL PROTECTED] wrote: 1. Primarily I wanted to know, if it is possible for an apache (--enable-mods-shared=all --enable-ssl=shared --enable-so) module to interact with a SSL-enabled MySQL (--with-openssl=DIR)? 2. If yes, then considering that I have got required

Re: [EMAIL PROTECTED] send mmap timed out

2007-04-23 Thread Joshua Slive
On 4/23/07, Martijn [EMAIL PROTECTED] wrote: [Mon Apr 23 12:41:40 2007] [info] [client 12.34.56.78] send mmap timed out and, more frequently: [Mon Apr 23 12:41:40 2007] [info] [client 12.34.56.78] (32)Broken pipe: client stopped connection before send mmap completed This usually isn't a

Re: [EMAIL PROTECTED] resume disable

2007-04-23 Thread Joshua Slive
On 4/23/07, Subredu Manuel [EMAIL PROTECTED] wrote: Hi, I want to disable the resume support on our apache server. I read the documentation but I didn't find anything in the documentation. Can you please point me to the right direction ? Our apache server version is 2.2.x This may work:

Re: [EMAIL PROTECTED] send mmap timed out

2007-04-23 Thread Joshua Slive
On 4/23/07, Martijn [EMAIL PROTECTED] wrote: In all likelihood, those messages are only tangentially related to your problem. They simply indicate that the client end of the connection disappeared, which is a perfectly normal thing for a busy webserver. The 206 responses are probably caused

Re: [EMAIL PROTECTED] new user

2007-04-19 Thread Joshua Slive
On 4/19/07, Stefan Cobb [EMAIL PROTECTED] wrote: I found apache, sourceforge.org and xxamp. How do I configure what files to offer on the ftp site? That question is WAY under-specified. We have no idea what you want to do or where you are starting from. If you have absolutely no experience

<    5   6   7   8   9   10   11   12   13   14   >