[EMAIL PROTECTED] internal rewrite puzzle

2007-04-26 Thread Eric S. Johansson
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 RewriteRule /(.*) /cgi-bin/akasha.cgi and y

[EMAIL PROTECTED] Mod rewrite F flag

2007-04-26 Thread Erez Segal
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 to send 404 - file not found. how can this be done?

Re: [EMAIL PROTECTED] zombies

2007-04-26 Thread kalin mintchev
> But since you don't mention a version, an os or processor, we'll just > guess > you didn't seriously expect help to figure this out ;-) fair enough... here is the information: httpd is 1.3.33 os: FreeBSD 4.10 it's about 3 years old install. the machine has been up for more than a year and ev

Re: [EMAIL PROTECTED] Overloaded rewrite handler?

2007-04-26 Thread Aaron Macks
Forgot to add, system is running Solaris 8 on 4x UltraSparcIII processors -a - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe,

[EMAIL PROTECTED] Overloaded rewrite handler?

2007-04-26 Thread Aaron Macks
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 engine is running out of memory. Here is the memory

Re: [EMAIL PROTECTED] zombies

2007-04-26 Thread William A. Rowe, Jr.
kalin mintchev wrote: > hi all... > > suddenly from about a month ago every day at any given time i get a lot > of zombies. the machine gets down to a crowl and i have to restart the > httpd. this last time i saw about 120 zombies. according to ps they are > not using any resources. aren;t zombi

[EMAIL PROTECTED] zombies

2007-04-26 Thread kalin mintchev
hi all... suddenly from about a month ago every day at any given time i get a lot of zombies. the machine gets down to a crowl and i have to restart the httpd. this last time i saw about 120 zombies. according to ps they are not using any resources. aren;t zombies supposed to be discarded? lack

[EMAIL PROTECTED] Valid users cannot login with authnz_ldap

2007-04-26 Thread mxc
Hi all, We are experiencing a strange problem when trying to get mod-authnz-ldap. Users that do not exist have the following entry written to the error.log, which seems correct to me. [Fri Apr 27 03:14:28 2007] [warn] [client 192.168.12.123] [4161] auth_ldap authenticate: user ggg authentic

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 sim

RE: [EMAIL PROTECTED] SSI Apache 2.2.3

2007-04-26 Thread Chakrapani, Praveen Kumar Bellary \(Contractor\)
I have checked the documentation there, have done as per the procedure still wont work -Original Message- From: Dragon [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 4:54 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] SSI Apache 2.2.3 Chakrapani, Praveen Kumar B

Re: [EMAIL PROTECTED] SSI Apache 2.2.3

2007-04-26 Thread Dragon
Chakrapani, Praveen Kumar Bellary \(Contractor\) wrote: Hi, Does anyone have apache 2.2.3 configured for SSI, if so please provide me with the configuration that's required to make SSI work also please let me know if there is any specific module required to be loaded/compiled for SSI to work. -

[EMAIL PROTECTED] SSI Apache 2.2.3

2007-04-26 Thread Chakrapani, Praveen Kumar Bellary \(Contractor\)
Hi, Does anyone have apache 2.2.3 configured for SSI, if so please provide me with the configuration that's required to make SSI work also please let me know if there is any specific module required to be loaded/compiled for SSI to work. Thanks ---

Re: [EMAIL PROTECTED] Virtual Host

2007-04-26 Thread Piyush Jamkhandi
Alejandro, The following is my setup for vhosts in apache2. There is a file under apache2/conf/extra/httpd-vhosts.conf where I put this file. ServerAdmin [EMAIL PROTECTED] DocumentRoot /etc/apache2/htdocs/ ServerName www.domain.com ServerAlias domain.com ErrorLog /etc/apache2/logs

Re: [EMAIL PROTECTED] Can log files be renamed with httpd is running?

2007-04-26 Thread Bing Du
> Hi, > > Linux 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:27 EDT 2005 i686 athlon > i386 GNU/Linux > Server version: Apache/2.0.52 > Server built: Aug 31 2005 10:47:52 > > Right now the access log is named like access_log.site1.some.edu. I want > to change it to site1.some.edu.access_log. Can

[EMAIL PROTECTED] Virtual Host

2007-04-26 Thread Alejandro Decchi
Someone can send a file of configuration of a virtual host where several authorities or web pages are hosting. I have apache2 and in this services i had two web pages Thz

Re: [EMAIL PROTECTED] Re: How to translate UTF-8 URLs into ISO-8859-1 filenames

2007-04-26 Thread William A. Rowe, Jr.
Stefan Wachter wrote: > > Now both, UTF-8 and ISO-8859-1 encoded URLs are served. Interesting solution! > I would be nice if Httpd could solve such problems in future. It would > be great if one could check the encoding of incoming URLs and reencode > them if necessary by simple means. The prob

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 aut

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

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

2007-04-26 Thread Chakrapani, Praveen Kumar Bellary \(Contractor\)
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 http://www.ftc.gov/bcp/edu/microsites/idtheft/ RedirectPermanent /IDtheft http://www.f

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 http://www.ftc.gov/ft

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

2007-04-26 Thread Chakrapani, Praveen Kumar Bellary \(Contractor\)
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 http://www.ftc.gov/ftc/privacy.htm when clicked on this link while apache 1.3.31 is running the page appears

Re: [EMAIL PROTECTED] send mmap timed out

2007-04-26 Thread Martijn
Sorry for taking so long to reply. I had given the problem a lower priority, assuming (hoping) it was just one of these mysterious incidents that only occurs once, when -of course- it happened again. And -of course- again when I wasn't looking. Was this just a denial-of-service attack? Did you u

Re: [EMAIL PROTECTED] Reverse Proxy and an External Filter

2007-04-26 Thread Mark Zetts
Thank you for the response. I had expected horrible performance from an external filter, but it is surprisingly fast. Fortunately, I don't have to scale up to more than a few users for now. I'm all ready to start coding an output filter, but given the investment in time and the little time

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

[EMAIL PROTECTED] Can log files be renamed with httpd is running?

2007-04-26 Thread Bing Du
Hi, Linux 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:27 EDT 2005 i686 athlon i386 GNU/Linux Server version: Apache/2.0.52 Server built: Aug 31 2005 10:47:52 Right now the access log is named like access_log.site1.some.edu. I want to change it to site1.some.edu.access_log. Can I do the followi

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

2007-04-26 Thread Chakrapani, Praveen Kumar Bellary \(Contractor\)
Wondering if I have to compile apache with mod_ext_filter module -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Thursday, April 26, 2007 1:22 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Server Side Inluces Issue Apache

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

2007-04-26 Thread Chakrapani, Praveen Kumar Bellary \(Contractor\)
Error is page cannot be found. I have tried with AddHandler server-parsed .htm still the same problem -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Thursday, April 26, 2007 1:22 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTEC

[EMAIL PROTECTED] Server Side Inluces Issue Apache 2.2.3

2007-04-26 Thread Chakrapani, Praveen Kumar Bellary \(Contractor\)
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 another domain with a link to pointing to http://domain.gov/foo/foo.htm does not load the

Re: [EMAIL PROTECTED] Reverse Proxy and an External Filter

2007-04-26 Thread Joshua Slive
On 4/26/07, Mark Zetts <[EMAIL PROTECTED]> wrote: Running Apache 2.2.4 on Windows 2003 server, I have two problems with an external filter written in C. The Apache server is running as a reverse proxy. Dicey situation, that. I doubt that mod_external_filter is very well tested under window

[EMAIL PROTECTED] Reverse Proxy and an External Filter

2007-04-26 Thread Mark Zetts
Running Apache 2.2.4 on Windows 2003 server, I have two problems with an external filter written in C. The Apache server is running as a reverse proxy. 1) The filter is often called with no data passed to it and _eof(stdin) indicates the end of file. I inserted a debug statement in mo

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 a

[EMAIL PROTECTED] libphp4.so garbled on RHEL 4, Apache 1.3.37 and PHP 4.4.6

2007-04-26 Thread John Murtari
Folks, Trying to build php 4.4.6 and apache 1.3.37 on RHEL 4. Each of them builds and installs okay, but when we start apache we get: /usr/local/etc/httpd/libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO? I've checked this out, got some hint that we need to use the

Re: [EMAIL PROTECTED] Alias directive not being honored

2007-04-26 Thread Roberto Tortolero
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 address i put, always redirect me to the first virtual

Re: [EMAIL PROTECTED] Alias directive not being honored

2007-04-26 Thread Victor Trac
This may be a long shot, but have you tried getting rid of the trailing slashes? e.g.: Alias /news /path/to/codebase/newsletters --Victor On 4/26/07, Nikolai Lusan <[EMAIL PROTECTED]> wrote: Greetings, Not sure if anyone has seen anything similar to this one ... I have a number of Alias dir

[EMAIL PROTECTED] How to properly configure Apache for use on Novell Netware 6.5

2007-04-26 Thread Mark Yazinski
I am trying to set up Apache web server on a Novell Netware 6.5 server for the first time. The Web access is not loading on the server and neither is iManager. Apache is installed and running. Thank you for all help. disclaimer This message contains confidential information and is intended

[EMAIL PROTECTED] Apache segfault with 2k Vhosts

2007-04-26 Thread Fernando Schubert
Hi! I`m having a huge problem. I`m migrating apache 1.3 to 2.0. But I have 2k vhosts configured in single files (Include /x/*.conf) The problem is that apache is core dumping!!!I use a FreeBSD 6.1-Stable */dmesg:/* pid 1030 (httpd), uid 0: exited on signal 11 (core dumped) /*httpd-error.log*/

RE: [EMAIL PROTECTED] Apache module <----SSL-----> MySQL

2007-04-26 Thread Naveen Rawat
Hi Joshua, Thanks for the response, >> 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 c

Re: [EMAIL PROTECTED] apache2 not updating files

2007-04-26 Thread Richard Dunne
One way I found of updating the files last modified time/date is by moving to another dir/folder. It then get timestamped the moment its copied to the new folder. Other that that I'm at a loss as well. Rebootin the server has not impact Richard. - Original Message From: Joshua Slive

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 serv

Re: [EMAIL PROTECTED] caught SIGTERM, shutting down

2007-04-26 Thread Robert T Wyatt
Sreedhar S wrote: > Hi William, > > Thanks for the reply. > > "SIGTERM means it was deliberately shut down by it's administrator or the > operating system" > > I checked with the administrator and she did not shutdown. How does an > operating system shutdown the Apache server? You mean to say, i

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] 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] can't use smb mounted drive as directoryroot

2007-04-26 Thread Tony Guadagno
Hi, I do this on my servers. I use autoexecnt to map the drives at startup. I have also found that you need to rename the apache service something farther down the alphabet to make sure that autoexecnt.exe completes before apache starts. *** Tony

[EMAIL PROTECTED] Re: apache reverse proxy query

2007-04-26 Thread Fred Sanfrod
“Can you post us the pertinent part of your Apache configuration?... Are you doing something more elaborate or different?” Sure – be happy to: ServerName corvair.dominion.org/tst ServerAlias corvair.dominion.org /tst Proxyrequests off Order deny,allow

[EMAIL PROTECTED] Re: How to translate UTF-8 URLs into ISO-8859-1 filenames

2007-04-26 Thread Stefan Wachter
Hi Eric, thanks for the advice. I had a look on external RewriteMap programs. This will become an option if my current solution reaches its limit. Now I simply store the files whose filenames contain non-ascii characters two times. One time they are stored with an UTF-8 encoded filename and a

[EMAIL PROTECTED] Backup authentication method in apache

2007-04-26 Thread Iván Renedo Chantres
Hello. I have been searching for some way to use two (or more) authentication methods in a directory with the objective to use the first one like the main module (i.e. LDAP) and the other one as backup module (i.e. mod_auth) in case the first one fails for causes like LDAP server down, network

[EMAIL PROTECTED] can't use smb mounted drive as directoryroot

2007-04-26 Thread Mario Vejlupek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i am trying to setup Apache 2.2.4(as a Service) on Windows XP Professional with mapped smb drive(y:) as directoryroot. if i only change in default configuration file(httpd.conf) directory root to DirectoryRoot "y:/www" Apache crash during startu

Re: [EMAIL PROTECTED] apache reverse proxy query

2007-04-26 Thread Sander Temme
On Apr 25, 2007, at 3:21 PM, Fred Sanfrod wrote: the inbound requests are to the ASP page i'm protecting and usually carry query data in the uri, e.g.,http://foo.domain.org/foo.asp? name=&addy=&etc ...which does NOT seem to be passed along to the back end web server. This is true with eithe

[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 Jochen Stenzel
Hello, using Apache 1.3.27 on Solaris 8 we see a problem with returning from a CGI script. I'd like to ask if this is a known phenomenon, and if there is a workaround or patch or a page about it. I searched the Web, the Apache sources and the archives of this mailing list but I could not find a

[EMAIL PROTECTED] Apache-MySQL-SSL

2007-04-26 Thread Naveen Rawat
Hi there, I am having my implementations as add-on modules on Apache that does my job against my data-store (MySQL). Till now I had been using one same machine for both my Apache and MySQL. Now the implementation is to be done on separate machines. I want to make both the ends to talk in a secur