[EMAIL PROTECTED] Apache -- DBD issue

2006-06-07 Thread Akhter, Shameem F
Hi, I am getting the following errors from Apache2 (httpd-2.2.2) error-log, and need to find a way to remove the error.   … [crit]  (70023)This function has not been implemented on this platform: DBD: driver for  not available … [crit]  (70023)This function has not been implemented on t

[EMAIL PROTECTED] Serve /var/www and public_html

2006-06-07 Thread reader
Running Gentoo linux Apache/2.0.58 What I am trying to do is probably pretty common but I am having some confusion getting it working. My aim is to run a lan wide site at /var/www and use /home/MYUSER/public_html for experimenting with getting some cgi stuff working. It seems I can get one or

Re: [EMAIL PROTECTED] Running multiple httpd daemons

2006-06-07 Thread Peter N Lewis
At 21:48 -0500 6/6/06, William A. Rowe, Jr. wrote: apachectl should not change significantly, why not just leave it alone between minor subversion bumps? That's true, and I could just copy apachectl twice, configure both and then hope nothing changes, but it disturbs me to copy something out

Re: [EMAIL PROTECTED] ErrorDocument question

2006-06-07 Thread Joshua Slive
On 6/7/06, Yong Lee <[EMAIL PROTECTED]> wrote: I'm trying to configure some custom error pages with apache2.0 and although I think this is possible, I can't seem to find any documentation describing how it can be done. I'd like to define some custom error pages for certain error codes, but then

[EMAIL PROTECTED] ErrorDocument question

2006-06-07 Thread Yong Lee
Hi All,   I’m trying to configure some custom error pages with apache2.0 and although I think this is possible, I can’t seem to find any documentation describing how it can be done.   I’d like to define some custom error pages for certain error codes, but then would like to use a single

Re: [EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread Joshua Slive
On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: "Joshua Slive" <[EMAIL PROTECTED]> writes: > Check the group ownership. If the apache user is in the group that > owns suexec, then group execute permissions are enough. Ahh yes it was set `root apache' but when I do that on my home setu

Re: [EMAIL PROTECTED] Re: question about URL displaying

2006-06-07 Thread Dmitri Colebatch
I think you want ReWrite instead of Redirect. redirect sends a 302 to the browser and so the browser displays the new address. Have a look at the rewrite docs and see if they help you. cheers dim On 6/7/06, Tao Yaoning <[EMAIL PROTECTED]> wrote: Anybody knows? On 5/26/06, Tao Yaoning <[EMAI

Re: [EMAIL PROTECTED] Apache 2.0.52 - Virtual Hosting stopping well short of 128

2006-06-07 Thread Arthur Stephens
I actually had to remove an old one then add the new one. Then it worked. Joshua Slive wrote: On 6/7/06, Arthur Stephens <[EMAIL PROTECTED]> wrote: Here is the log when I added the next virtual host and it stopped showing virtual hosts just the default host. As you can see I tried several times

Re: [EMAIL PROTECTED] Retrieve value from notes table into ENV var or similar

2006-06-07 Thread Nick Kew
On Wednesday 07 June 2006 21:54, Brian Rectanus wrote: > Does anyone know of a way to retrieve a value from the notes table > into an ENV var or otherwise use it within an apache conf? Notes are per-request. They don't exist outside a request. > All I can > find is docs on how to use it in logs

[EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: > Check the group ownership. If the apache user is in the group that > owns suexec, then group execute permissions are enough. Ahh yes it was set `root apache' but when I do that on my home setup then I an execute cgi in public_html as user but as my

[EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: > Check the group ownership. If the apache user is in the group that > owns suexec, then group execute permissions are enough. > Ahh yes there it is: root apache So if I were to set chown root:apache on /usr/sbin/suexec I could return it to -rws--x-

Re: [EMAIL PROTECTED] Regarding Apache Plugin for weblogic server

2006-06-07 Thread sarvothaman vittal
I don't know but how can we find what kind of file of we have . can we cconvert asciii to binar format and vice versa. also before we do it can you tell me the command to check it.   Thanks for your reply and will appreciate for your help     On 6/7/06, William C. Mount <[EMAIL PROTECTED]> wrote:

[EMAIL PROTECTED] Retrieve value from notes table into ENV var or similar

2006-06-07 Thread Brian Rectanus
Does anyone know of a way to retrieve a value from the notes table into an ENV var or otherwise use it within an apache conf? All I can find is docs on how to use it in logs, but not actually base a decision on the value or use it in a RewriteRule, etc. Specifically, I want to know what route th

Re: [EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread Joshua Slive
On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: "Joshua Slive" <[EMAIL PROTECTED]> writes: >> -rws--x--- 1 root root 10880 May 31 15:09 /usr/sbin/suexec2 > > Obviously the apache user can't execute that. You need global execute > permissions. Setting that to -rws--x--x makes it all wo

[EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: >> -rws--x--- 1 root root 10880 May 31 15:09 /usr/sbin/suexec2 > > Obviously the apache user can't execute that. You need global execute > permissions. Setting that to -rws--x--x makes it all work, but isn't there another way? === what follows is not

Re: [EMAIL PROTECTED] Regarding Apache Plugin for weblogic server

2006-06-07 Thread William C. Mount
how did you get the file to your linux box?  I had a similar problem installing the module a couple of years ago.  It was an ASCII vs binary transfer that got me. William C. Mount RHCE J2EE Web Solutions CoEx Global IT Solutions Caterpillar Inc.   812 W. Washington St. East Peoria IL,  61630 (30

[EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: >> -rws--x--- 1 root root 10880 May 31 15:09 /usr/sbin/suexec2 > > Obviously the apache user can't execute that. You need global execute > permissions. now -rws--x--x 1 root root 10880 May 31 15:09 /usr/sbin/suexec2 Thanks... and now working. I sea

Re: [EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread Joshua Slive
On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: "Joshua Slive" <[EMAIL PROTECTED]> writes: > It is not the logging that is failing but the launch of suexec. What > are the permissions on suexec2 and what user is apache being launched > as? Are you running SELinux or something similar?

[EMAIL PROTECTED] Regarding Apache Plugin for weblogic server

2006-06-07 Thread sarvothaman vittal
I am running into this error when I am trying to install the apache plugin module mod_wl_20.so on my apache web server running on Linux machine. the weblogic server is also on the same physical machine I edited the httpd.conf file with this line LoadModule weblogic_module modules/mod_wl_20.so Afte

[EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: > It is not the logging that is failing but the launch of suexec. What > are the permissions on suexec2 and what user is apache being launched > as? Are you running SELinux or something similar? -rws--x--- 1 root root 10880 May 31 15:09 /usr/sbin/suex

Re: [EMAIL PROTECTED] Apache Status API

2006-06-07 Thread William A. Rowe, Jr.
Joshua Slive wrote: On 6/7/06, Bogdan Taru <[EMAIL PROTECTED]> wrote: I would like to query the Apache Status informations (the ones provided by mod_status, for example) from an external program. As well as snmp - perhaps mod_arm4? I have no idea of the state of this source code, it has not

RE: [EMAIL PROTECTED] Image caching / Expiry times / 304s

2006-06-07 Thread Axel-Stéphane SMORGRAV
I see you are using Apache 2.0.46. I seem to remember that there once was a bug in mod_cache causing stale entries not to be replaced in certain versions of Apache 2.0. Apache 2.0.46 may be one of the versions affected by this problem. That would cause the cache provider to decline to serve the

Re: [EMAIL PROTECTED] How do I setup personal webpages in non-standard place?

2006-06-07 Thread William A. Rowe, Jr.
Nick Kew wrote: You can emulate mod_userdir there with an AliasMatch directive. Given the history of the tilde, you'll want to match both /~foo/ and /~7Efoo/. Or drop the tilde from your userdir URLs. Erm, did you mean /%7Efoo/ ? it shouldn't be necessary - I believe aliasmatch is given the

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-07 Thread JP
> > I was wrong. I was just looking a simple tomcat example jsp that > contained html, so I thought the request was getting passed onto Tomcat, > but it wasn't. ... > > > > Thanks for the tip, but I don't think that's my problem. I > > just noticed that Tomcat is getting the request and > > gene

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-07 Thread Fenlason, Josh
I finally figured it out. I had to add 'RewriteEngine on' to my rewrite config inside the ssl virtualhost. Thanks. , Josh. > -Original Message- > From: Fenlason, Josh > Sent: Wednesday, June 07, 2006 10:28 AM > To: 'users@httpd.apache.org' > Subject: RE: [EMAIL PROTECTED] mod_proxy_ajp

Re: [EMAIL PROTECTED] Apache Status API

2006-06-07 Thread Mark H. Wood
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 mod_apache_snmp? http://sourceforge.net/projects/mod-apache-snmp/ - -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is "intuitive" he means the exact opposite. -BEGIN PGP SIGNATUR

RE: [EMAIL PROTECTED] Apache partial page output

2006-06-07 Thread Roger Harrell
I'm not sure why things are loading slow for you. When I test it either loads or fails within a couple of seconds. No caching enabled. Only caching is the SSL cache. PHP max timeout is set at 30 seconds, but this failure is occurring within 2 seconds so it's not exceeding that. Any other ideas? R

Re: [EMAIL PROTECTED] Apache 2.0.52 - Virtual Hosting stopping well short of 128

2006-06-07 Thread Joshua Slive
On 6/7/06, Arthur Stephens <[EMAIL PROTECTED]> wrote: Here is the log when I added the next virtual host and it stopped showing virtual hosts just the default host. As you can see I tried several times. Is it something about the particular host you added? If you add that host and remove a coup

RE: [EMAIL PROTECTED] Apache2 variable was undefined warning message

2006-06-07 Thread Geoghegan, James \(CSS\)
Joshua Thanks, this is very useful. I'm not an Apache expert, and I was following instructions written by someone else who, also, clearly does not know how to use setenv & passenv. The /var/apache2/logs/error_log reported: [Wed Jun 07 17:08:22 2006] [error] httpd: could not log pid to file /var/

Re: [EMAIL PROTECTED] Apache 2.0.52 - Virtual Hosting stopping well short of 128

2006-06-07 Thread Arthur Stephens
Here is the log when I added the next virtual host and it stopped showing virtual hosts just the default host. As you can see I tried several times. [Mon Jun 05 18:49:28 2006] [notice] caught SIGTERM, shutting down [Mon Jun 05 18:49:30 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi

Re: [EMAIL PROTECTED] Apache Status API

2006-06-07 Thread Joshua Slive
On 6/7/06, Bogdan Taru <[EMAIL PROTECTED]> wrote: Hello, I would like to query the Apache Status informations (the ones provided by mod_status, for example) from an external program. Is there a way to do this without using the rather un-elegant way of accessing an URL/calling 'apachectl st

Re: [EMAIL PROTECTED] Apache2 variable was undefined warning message

2006-06-07 Thread Joshua Slive
On 6/7/06, Geoghegan, James (CSS) <[EMAIL PROTECTED]> wrote: setenv DIRECT_SYSTEM /apps/CapitaDirect/System setenv DIRECT_TEMPLATE /apps/CapitaDirect/Template passenv DIRECT_SYSTEM passenv DIRECT_TEMPLATE This doesn't make sense. Setenv is used to set new variables that apache will pass to

Re: [EMAIL PROTECTED] Running multiple httpd daemons

2006-06-07 Thread David Salisbury
Perhaps you can educate me on this one Peter. Why use apachectl at all? You could write a script outside of the install, that centers around : /path/to/httpd -f /path/httpd.conf.name -k [stop,start,restart] -ds - Original Message - From: "Peter N Lewis" <[EMAIL PROTECTED]> To: Se

[EMAIL PROTECTED] Apache Status API

2006-06-07 Thread Bogdan Taru
Hello, I would like to query the Apache Status informations (the ones provided by mod_status, for example) from an external program. Is there a way to do this without using the rather un-elegant way of accessing an URL/calling 'apachectl status' and parsing the output? For example, is there

RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl

2006-06-07 Thread Fenlason, Josh
I was wrong. I was just looking a simple tomcat example jsp that contained html, so I thought the request was getting passed onto Tomcat, but it wasn't. It's gotta be something wrong with my mod_rewrite configuration. I tried adding my rewrite config to httpd-ssl.conf right beneath the line, bu

Re: [EMAIL PROTECTED] How do I setup personal webpages in non-standard place?

2006-06-07 Thread Rob Tanner
Rob Tanner said the following on 06/06/2006 05:58 PM: I am in the process of building a new server running SAMBA for personal storage. We are getting away from shell accounts (no logins) and name space management will be handled by Active Directory. The user will not have local account and th

[EMAIL PROTECTED] Apache2 variable was undefined warning message

2006-06-07 Thread Geoghegan, James \(CSS\)
Can anyone help with the following?   After editing the httpd.conf file of an Apache2 http installation to add the environment variables:   setenv DIRECT_SYSTEM /apps/CapitaDirect/System setenv DIRECT_TEMPLATE /apps/CapitaDirect/Template passenv DIRECT_SYSTEM passenv DIRECT_TEMPLATE

[EMAIL PROTECTED] Apache and NFS

2006-06-07 Thread Michel
Hi list, I tried to configure Apache 2.0.52 working with NFS. I read that I have to put the "LockFile" directive in the apache configuration file. For example, I wrote : "LockFile /var/lock/httpd.lock" ( in Global Environnment section) When I start my apache server and go to /var/lock/ dir

Re: [EMAIL PROTECTED] VirtualHost

2006-06-07 Thread Marcos R. Cardoso
I'm grateful to all the ones who helped me out on this one. Now I can say that I really now something about the secrets of SSL. I talked to the Network Manager here in the Institution and he opened the port 443 for a while so I can test the secure connection. Once again, thank everyone! Rain

Re: [EMAIL PROTECTED] When suexec won't log

2006-06-07 Thread Joshua Slive
On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Running Gentoo Linux -kernel 2.6.16 Apache/2.0.58 I'm getting the dread 'Premature end of script headers: index.cgi' and another along with it saying suexec failed due to : Permission denied: exec of '/usr/sbin/suexec2' failed I think I'

Re: [EMAIL PROTECTED] compile dynamically modules , not working

2006-06-07 Thread Joshua Slive
On 6/7/06, Meir Yanovich <[EMAIL PROTECTED]> wrote: there is something that I don't understand , I try to complie apache 2.2 to support dynamic loading to .so files ( unix dll ) my compilation/ configuration is as this : sh -c 'CC="cc" CFLAGS="-g -mt./configure --prefix=/myplace/apache --enabl

Re: [EMAIL PROTECTED] http problem

2006-06-07 Thread Joshua Slive
On 6/7/06, simon dcunha <[EMAIL PROTECTED]> wrote: Thanks for the quick reply. btw there is a group call apache in /etc/group and also user apache in /etc/password file Start "apachectl -X" under strace to see what syscall is failing. But really, debugging a version that is that old is a wast

[EMAIL PROTECTED] Re: question about URL displaying

2006-06-07 Thread Tao Yaoning
Anybody knows? On 5/26/06, Tao Yaoning <[EMAIL PROTECTED]> wrote: Hello Guys   I have two apache servers. ServerA has a public Domain Name my.domain.com , and ServerB only have a public IP 2xx.2xx.2xx.2xx.   SeverA hosts my company website, can be accessed by using http://my.domain.com , ServerB

Re: [EMAIL PROTECTED] Image caching / Expiry times / 304s

2006-06-07 Thread Matthew Claridge
on 06/06/2006 15:35 Joshua Slive said the following: On 6/6/06, Matthew Claridge <[EMAIL PROTECTED]> wrote: on 06/06/2006 15:16 Joshua Slive said the following: > On 6/6/06, Matthew Claridge <[EMAIL PROTECTED]> wrote: > >> Apache does send a Cache-control header of "max-age=0", which if I

[EMAIL PROTECTED] When suexec won't log

2006-06-07 Thread reader
Running Gentoo Linux -kernel 2.6.16 Apache/2.0.58 I'm getting the dread 'Premature end of script headers: index.cgi' and another along with it saying suexec failed due to : Permission denied: exec of '/usr/sbin/suexec2' failed I think I've checked all the items needed for suEXEC to work but app

Re: [EMAIL PROTECTED] Error at stopping Apache 2.2.2 with mod_dbd+pgsql driver

2006-06-07 Thread Evgeny Shirykalov
> How complex is your own module code, and is it open to view? Sorry, but I can't open the code. But the problem with errors on shutdown occurs even when my module is not loaded at all. The only required circumstance is successfull connect to database at Apache startup (i.e., correct connect string

Re: [EMAIL PROTECTED] Error at stopping Apache 2.2.2 with mod_dbd+pgsql driver

2006-06-07 Thread Nick Kew
On Wednesday 07 June 2006 09:51, Evgeny Shirykalov wrote: > > I should also have asked in my last post: do you get the same thing with: > > > > (a) Other APR applications using dbd/pgsql (if any)? > > (b) Other PostgreSQL applications? > > > > on your system? > > I'm developing a set of applica

[EMAIL PROTECTED] authentication error when trying to click link

2006-06-07 Thread Meir Yanovich
      Dose someknow why I have this error? im trying to click link that redirect me to different page that is with custom extension ( *.foo) that is known to apache via custom module   [Wed Jun 07 12:56:12 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Wed Ju

[EMAIL PROTECTED] compile dynamically modules , not working

2006-06-07 Thread Meir Yanovich
  Hello all there is something that I don’t understand , I try to complie apache 2.2 to support dynamic loading to .so files ( unix dll ) my compilation/ configuration is as this : sh -c 'CC="cc" CFLAGS="-g -mt./configure --prefix=/myplace/apache --enable-mods-shared=most  '  OR s

Re: [EMAIL PROTECTED] Error at stopping Apache 2.2.2 with mod_dbd+pgsql driver

2006-06-07 Thread Evgeny Shirykalov
> I should also have asked in my last post: do you get the same thing with: > > (a) Other APR applications using dbd/pgsql (if any)? > (b) Other PostgreSQL applications? > > on your system? I'm developing a set of applications based on Postgres. All parts are working with Postgres via libpg l

Re: [EMAIL PROTECTED] Error at stopping Apache 2.2.2 with mod_dbd+pgsql driver

2006-06-07 Thread Nick Kew
On Wednesday 07 June 2006 05:00, Evgeny Shirykalov wrote: > Dear All, > > I try to use Apache 2.2.2 with mod_dbd and PostgreSQL driver > (apr_dbd_pgsql.so). If connection to database at Apache's startup was > successfull. then httpd gives a lot of error messages at shutdown like > follows: > > ***

Re: [EMAIL PROTECTED] Error at stopping Apache 2.2.2 with mod_dbd+pgsql driver

2006-06-07 Thread Nick Kew
On Wednesday 07 June 2006 05:00, Evgeny Shirykalov wrote: > All database-related functions seems to work correctly. May be I use old > version of GCC? Or incompatible libc version? I don't see anything in your specs to suggest that. Are you able to run any diagnostic tools on it? And what modul

Re: [EMAIL PROTECTED] How do I setup personal webpages in non-standard place?

2006-06-07 Thread Nick Kew
On Wednesday 07 June 2006 01:58, Rob Tanner wrote: > We are getting away from shell accounts (no logins) > [chop] > The real path is /home/CATNET/users//public_html. Since > users won't have a password file entry, how do I tell Apache to use that > path when the GET request is /~account_name? Yo

Re: [EMAIL PROTECTED] Image caching / Expiry times / 304s

2006-06-07 Thread Matthew Claridge
Seems like you have something else weird going on. The config used on www.apache.org is ExpiresActive On ExpiresDefault A86400 And yet I get updated (non-zero) cache-control headers on 304 responses: telnet www.apache.org 80 Trying 192.87.106.226... Connected to www.apache.org.