[EMAIL PROTECTED] RE: failure notice

2006-04-05 Thread httpd2
On Wed, 5 Apr 2006, Amalan, S wrote: > To: users@httpd.apache.org > From: "Amalan, S" <[EMAIL PROTECTED]> > Subject: RE: [EMAIL PROTECTED] RE: failure notice > > Thanks much. This explains why my installation did not need root > privileges - I was running it on port 1150 or so. > > This also br

[EMAIL PROTECTED] RE: failure notice

2006-04-01 Thread httpd2
Do you have the User and Group directives set in your httpd.conf file? Eg User wwwrun Group nogroup Apache will initially start as root user and bind to port 80, then switch to running as the specified user and group. The group and user need to be valid system accounts on your server. You

Re: [EMAIL PROTECTED] Newbie Help

2006-03-30 Thread httpd2
I found this book very helpful John: Pro Apache 3rd Edition By Peter Wainwright ISBN: 1-59059-300-6 904 pp. Published: Jan 2004 Apress http://www.apress.com/book/bookDisplay.html?bID=275 It covers all you need to know (and alot more) to get you up and running with apache 1.3 and 2.0.x series.

Re: [EMAIL PROTECTED] is there possibility to make apache be single thread in SunOS

2006-03-26 Thread httpd2
You may find this article on server processes in general helpfull Meir. I think it covers apache examples as well. http://www.devshed.com/c/a/Administration/Design-and-Architecture/ HTH Keith In theory, theory and practice are the same; in practice they are not. On Sun, 26 Mar 2006, Meir Yan

Re: [EMAIL PROTECTED] is there possibility to make apache be single thread in SunOS

2006-03-26 Thread httpd2
Meir - I think you are getting confused with apache 2.0.x and 2.2.x series. Apache 2 series supports various different MPM modules - 1.3 doesn't IIRC. Keith In theory, theory and practice are the same; in practice they are not. On Sun, 26 Mar 2006, Meir Yanovich wrote: > To: users@httpd.apac

Re: [EMAIL PROTECTED] php crashes with msyql

2006-03-21 Thread httpd2
Amen Bill! Keith Roberts In theory, theory and practice are the same; in practice they are not. On Tue, 21 Mar 2006, William A. Rowe, Jr. wrote: > To: users@httpd.apache.org > From: "William A. Rowe, Jr." <[EMAIL PROTECTED]> > Subject: Re: [EMAIL PROTECTED] php crashes with msyql > > Noah Sil

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread httpd2
I can't remember having Apache complain about not being able to find the APR files when compiling 2.2.0 Can you not downgrade Apache to 2.0.55 and see if that will get you by for now? Keith In theory, theory and practice are the same; in practice they are not. On Tue, 21 Mar 2006, Noah Silve

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread httpd2
Have you compiled mysql and mysqli for use in php4/5? If so, you need to compile them both at the same time with the same mysql library. Keith On Tue, 21 Mar 2006, Noah Silverman wrote: > To: users@httpd.apache.org > From: Noah Silverman <[EMAIL PROTECTED]> > Subject: Re: [EMAIL PROTECTED] We

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread httpd2
What OS are you using please? Are you using pre-built versions of php and Apache or compiling things yourself? Keith In theory, theory and practice are the same; in practice they are not. On Tue, 21 Mar 2006, Noah Silverman wrote: > To: users@httpd.apache.org > From: Noah Silverman <[EMAIL P

Re: [EMAIL PROTECTED] Weird Crashes

2006-03-21 Thread httpd2
This link might be of interest to you Noah. Something similar I posted on the php-install mailing list that mentions how to use php4 code with the php5 module. http://marc.theaimsgroup.com/?l=php-install&m=114269393127473&w=2 Also, are you actually compiling your php4 module against apache 2.

Re: [EMAIL PROTECTED] Two versions of Apache

2006-03-13 Thread httpd2
SuSE has a runlevel editor, where you use a GUI to edit which services are activated or not. This also seems to pick up any scripts found in /etc/init.d/, as some home made scripts of mine appeared in the RLE, which was unexpected. I tried deactivating the default RPM for Apache in the RLE,

[EMAIL PROTECTED] Re: [SPAM] Re: [EMAIL PROTECTED] Two versions of Apache

2006-03-13 Thread httpd2
You might like to make a copy of your original boot script that is used to start apache. Then you can edit that, as already mentioned, and then uninstall the default apache that comes with your distro. (It is also a good idea save/backup any altered system scripts like this in a safe place, s

Re[2]: [EMAIL PROTECTED] Conditional Directives

2006-03-13 Thread httpd2
Sample chapter link: http://www.apress.com/book/supplementDownload.html?bID=275&sID=2134 :-) Keith In theory, theory and practice are the same; In practice they are not. On Mon, 13 Mar 2006 [EMAIL PROTECTED] wrote: > To: users@httpd.apache.org > From: [EMAIL PROTECTED] > Subject: Re[2]: [EM

Re[2]: [EMAIL PROTECTED] Conditional Directives

2006-03-13 Thread httpd2
This sample chapter from Pro Apache 3rd Edition from Apress details how to use embedded Perl in Apache config files. See the section toward the end of the chapter, titled 'Generating on the fly and included configuration files with mod_perl' Not sure if you can do this in .htaccess files though

Re: [EMAIL PROTECTED] Finding what module are installed

2006-03-12 Thread httpd2
If you are using or thinking about using php, you can get s listing of all installed apache modules, with the phpinfo() function, such as: Loaded Modules core prefork http_core mod_so mod_authn_file mod_authn_dbm mod_authn_anon mod_authn_dbd mod_authn_default mod_authz_host mod_authz_groupfi

Re: [EMAIL PROTECTED] Slow configure process on AIX

2006-03-05 Thread httpd2
What about just removing ksh completely from your system, and creating a symbolic link called ksh to point to the bash shell? Would this work, or would it break your system? Keith In theory, theory and practice are the same; In practice they are not. On Mon, 6 Mar 2006, Peter Eckel wrote: >

Re: [EMAIL PROTECTED] apachectl and multiple daemons

2006-02-22 Thread httpd2
I suppose you could split out the common part of each httpd.conf file and include that into each apache host-specific file you are using at start up. What about ports though? Is each apache going to listen on a different port? Keith In theory, theory and practice are the same; In practice th

Re: [EMAIL PROTECTED] php & html

2006-02-22 Thread httpd2
What OS are you migrating to? If it's Windows you should be able to run a DOS command-line prompt, so your current DOS programs should work ok. If you are migrating to a Linux system, there is DOS-Emu and xdosemu, which are DOS emulators. http://www.dosemu.org/ http://linux.maruhn.com/sec/xdos

Re: [EMAIL PROTECTED] php and apache22

2006-02-22 Thread httpd2
Are you using an old mod_php4 compiled for Apache 2.0.xx? If so, you need to recompile mod_php4 against Apache 2.2, because Apache 2.0.xx module format is different to the Apache 2.2.0 format. Or are you trying to load mod_php4 & mod_php5 at the same time into Apache 2.2.0, which would really

Re: [EMAIL PROTECTED] Force/add/append/inject HTML to documents (similar to 'Header append') for no archive

2006-02-20 Thread httpd2
Thankyou for your comments Nick. I will look into the modules you mentioned below. This may not be relevant, but I note in the php manual, php4 and php5 support the concept of handlers. Is this in any way related to filters Nick? # PHP 4 AddHandler php-script php AddType text/html php # PHP 5

Re: [EMAIL PROTECTED] apache 2.2 build failure

2006-02-19 Thread httpd2
Yes - please post your configure line, and I will try and do a build on SuSE 9.2 pro as well. Keith In theory, theory and practice are the same; In practice they are not. On Sun, 19 Feb 2006, Joost de Heer wrote: > To: kalin mintchev <[EMAIL PROTECTED]> > From: Joost de Heer <[EMAIL PROTECTE

Re: [EMAIL PROTECTED] Force/add/append/inject HTML to documents (similar to 'Header append') for no archive

2006-02-19 Thread httpd2
If you use only one page header for all your html files, you can then use that one instance for all of the pages on your site by including it with something like at the top of each html page, where the ... section would normally reside. Then, you only need to make one change to the included

Re: [EMAIL PROTECTED] Apache 2 on Suse 9.1 Reverse Proxy not working

2006-02-14 Thread httpd2
Hi. I'm running SuSE 9.2 pro at home. I have downloaded the source code for Apache 2.0.55 and 2.2.0. It is not difficult to compile on SuSE 9.2 - should work OK on 9.1 as well. Why don't you download the source and use that? You should then be able to compile Apache 2.0.55, and use the mod_p

Re: [EMAIL PROTECTED] Help getting php up and running

2006-02-11 Thread httpd2
Don - I have sent you a complete httpd.conf include file off list, for loading Apache 1.3.x modules. It should be usable directly. On Sat, 11 Feb 2006 [EMAIL PROTECTED] wrote: > To: users@httpd.apache.org > From: [EMAIL PROTECTED] > Subject: Re: [EMAIL PROTECTED] Help getting php up and runnin

Re: [EMAIL PROTECTED] Help getting php up and running

2006-02-11 Thread httpd2
I have not used Apache 1.3.x series for a while now. If these are 1.3 modules, then you don't need to load the libapache2-mod-php5 - it's for the 2 series. Even it it was for 1.3.x series, I don't think you can load php4 & php5 modules together into the same instance of apache. Which module's

Re: [EMAIL PROTECTED] undocumented POST size limit?

2006-02-10 Thread httpd2
What script language are you using to process the uploaded file? You may be better off using pure ftp for file uploads of that size. HTH Keith In theory, theory and practice are the same; In practice they are not. On Fri, 10 Feb 2006, Anthony DiSante wrote: > To: users@httpd.apache.org > F

Re: [EMAIL PROTECTED] default mime.types does not contain "gz" - any reason why not?

2006-02-10 Thread httpd2
Users are not really supposed to edit the mime.types file directly. I think this is what the AddType directive is for. The Apache webmaster may have edited the mime.types file. Most likely, he/she has just added the following directive to httpd.conf. # AddType allows you to add to or override

RE: [EMAIL PROTECTED] No go with Apache 2.0.55 and PHP 5.1.x

2006-02-09 Thread httpd2
Hi Gary. I have Apache 2.0.55 and PHP 5.1.2 working OK under SuSE Linux 9.2 pro. If you are getting PHP code in the browser, have you set the following in your httd.conf file: AddType application/x-httpd-php .php To tell Apache to pass any files ending in .php to the php module? Also, rega

Re: [EMAIL PROTECTED] 403 Forbidden Error

2006-02-07 Thread httpd2
Are you running it as root user? if not, open a root shell, and try again. Keith In theory, theory and practice are the same; In practice they are not. On Tue, 7 Feb 2006, Jonathan S. Abrams wrote: > To: users@httpd.apache.org > From: Jonathan S. Abrams <[EMAIL PROTECTED]> > Subject: Re: [EMA

Re: [EMAIL PROTECTED] 403 Forbidden Error

2006-02-07 Thread httpd2
I think error 403 is a custom error message. I do not know whether it should be written to the error file by default. I would expect it to be, just like 404's are. See if this article is of any help to you. http://www.modwest.com/help/kb.phtml?qid=144&cat=1 HTH Keith In theory, theory and pr

Re: [EMAIL PROTECTED] 403 Forbidden Error

2006-02-07 Thread httpd2
Try changing the LogLevel directive to debug. LogLevel debug This will generate the max amount of error logging. Be carefull you do not run out of disk space though. Keith In theory, theory and practice are the same; In practice they are not. On Tue, 7 Feb 2006, Jonathan S. Abrams wrote:

Re: [EMAIL PROTECTED] CustomLog logs/access_log combined not working from within

2006-02-05 Thread httpd2
Yes, I checked the module identifier in my httpd.conf file, and that's where I came up with the psuedo-solution to your problem. The manual for this module says: Apache Module mod_log_config Description: Logging of the requests made to the server Status: Base Module Identifier: log_config_mod

Re: [EMAIL PROTECTED] CustomLog logs/access_log combined not working from within

2006-02-05 Thread httpd2
Try adding .c to the directive. This is probably where your problem lies. > This is what I have: > > Keith In theory, theory and practice are the same; In practice they are not. On Sat, 4 Feb 2006, Richard de Vries wrote: > To: users@httpd.apache.org > From: Richard de Vries <[EMAIL PRO

Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread httpd2
Right Joshua. I checked the docs and noted that SSLRequireSSL was valid in the directory and .htaccess context. I forgot that directory also applies to files and location contexts normally as well, unless specified as not applicable for a particular directive. quote directory A directive ma

Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread httpd2
I guess the easiest way would be to put that SSL enabled file into a sub-dir all on it's own? Keith In theory, theory and practice are the same; In practice they are not. On Sat, 4 Feb 2006, Marc Serra wrote: > To: users@httpd.apache.org > From: Marc Serra <[EMAIL PROTECTED]> > Subject: [EMA

Re: [EMAIL PROTECTED] mod_auth_ldap mod_auth_mysql on OS-X

2006-02-03 Thread httpd2
Hi Wiliam. I've been reading up on modules and authentication. You may need to move the LDAP module so it comes after the mysql_auth module, as each module is tested in reverse order, i.e. last loaded module is higher priority and comes first in the pecking order. Accordingly, the way you ha

Re: [EMAIL PROTECTED] Off-topic. Domain (nameservers not transfered)

2006-02-01 Thread httpd2
You could find out if the reseller are part of some professional association, and report them there. Or, try a google search for domain name disputes. That seems to turn up alot of info on the subject. HTH Keith In theory, theory and practice are the same; In practice they are not. On Wed,

Re: [EMAIL PROTECTED] mod_edir

2006-01-30 Thread httpd2
http://forge.novell.com/modules/xfmod/project/?mod_edir Google is your search friend! Keith In theory, theory and practice are the same; In practice they are not. On Mon, 30 Jan 2006, Matt Weston wrote: > To: users@httpd.apache.org > From: Matt Weston <[EMAIL PROTECTED]> > Subject: [EMAIL PR

Re: [EMAIL PROTECTED] Compiling apache 2 modules

2006-01-30 Thread httpd2
Thanks Boysenberry. Got it working now with: # ./configure --prefix=/usr/local/apache2-0-55-SSL --with-ssl=/usr/include/openssl --enable-ssl=shared --enable-mods-shared=all Appaprently, ssl is one of several modules that are not included in the --enable-mods-shared=all option, and have to b

[EMAIL PROTECTED] Compiling apache 2 modules

2006-01-30 Thread httpd2
Hi everyone. I'm messing around with SSL trying to compile apache 2.0.55 with all modules including mod_ssl as dso's. I use the following command to configure; all modules apart from mod_ssl are built into the server. # ./configure --prefix=/usr/local/apache2-0-55-SSL --enable-mods-shared=al

Re: [EMAIL PROTECTED] high load average on Apache 1.3 hosting 8000 conc. users forum

2006-01-30 Thread httpd2
Here is an efficient *FREE* php accelerator that may help improve performance. http://www.php-accelerator.co.uk/ I think it's also alot easier to set up than Turck mmCache, with similar performance improvements. Keith In theory, theory and practice are the same; In practice they are not.

Re: [EMAIL PROTECTED] high load average on Apache 1.3 hosting 8000 conc. users forum

2006-01-29 Thread httpd2
OK - how much free space do you have left on the hard drives? Keith In theory, theory and practice are the same; In practice they are not. On Mon, 30 Jan 2006, [EMAIL PROTECTED] wrote: > To: users@httpd.apache.org From: "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> Subject: Re: [EMAIL PROTECTED

Re: [EMAIL PROTECTED] high load average on Apache 1.3 hosting 8000 conc. users forum

2006-01-29 Thread httpd2
How much RAM does the machine have? How many hard drives, what type and sizes are they? Do you use RAID? Keith In theory, theory and practice are the same; In practice they are not. On Mon, 30 Jan 2006, [EMAIL PROTECTED] wrote: > To: users@httpd.apache.org > From: "[EMAIL PROTECTED]" <[EMAI

Re: [EMAIL PROTECTED] False "Out of Memory" errors - on new Suse Linux SLES 9.1 - Apache 2.0.54 - Blade servers running 4 GB of RAM

2006-01-24 Thread httpd2
>From what I have been reading, if I understand it correctly, apache will try to hang on to as much memory it has allocated for processes from the OS, even when it is not to busy anymore. This directive should limit the amount of memory you allow apache to cling to, after a busy period. Othe

RE: [EMAIL PROTECTED] Problem compiling 2.2.0 on solaris 8 with enabling so

2006-01-24 Thread httpd2
Thankyou for correcting me on that Axel - point taken ;-) Keith In theory, theory and practice are the same; In practice they are not. On Tue, 24 Jan 2006, Axel-Stéphane SMORGRAV wrote: > To: users@httpd.apache.org > From: Axel-Stéphane SMORGRAV <[EMAIL PROTECTED]> > Subject: RE: [EMAIL PRO

Re: [EMAIL PROTECTED] False "Out of Memory" errors - on new Suse Linux SLES 9.1 - Apache 2.0.54 - Blade servers running 4 GB of RAM

2006-01-23 Thread httpd2
Is this of any relevance Jignesh? MaxMemFree Directive Description: Maximum amount of memory that the main allocator is allowed to hold without calling free() Syntax: MaxMemFree KBytes Default: MaxMemFree 0 Context: server config Status: MPM Module: beos, leader, mpm_netware, prefork, thr

Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-23 Thread httpd2
What about creating a unique user account and group for apache to run under. Then setting httpd.conf for apache to use that user and group? Keith In theory, theory and practice are the same; In practice they are not. On Mon, 23 Jan 2006, Kermit Short wrote: > To: users@httpd.apache.org From

Re: [EMAIL PROTECTED] Uploaded files empty - Apache configuration problem?

2006-01-23 Thread httpd2
I had a similar problem on SuSE Linux 8.2 pro. Initially, for testing I changed the permissions of /tmp to the same perms as apache, and it worked. I now have the following permissions on tmp: drwxrwxrwtroot root 12288 Jan 23 20:15 tmp Seems to be working OK for me. Keith In t

Re: [EMAIL PROTECTED] Problem compiling 2.2.0 on solaris 8 with enabling so

2006-01-23 Thread httpd2
It may be that Apache does not like the lib/libexpat.so module. Try commenting it out in httpd.conf. See if Apache will start then. If so, then that is obviously where the problem is. Keith In theory, theory and practice are the same; In practice they are not. On Mon, 23 Jan 2006, Harald Fa

Re: [EMAIL PROTECTED] PHP-5 (error) libphp5.so

2006-01-22 Thread httpd2
Hi Dave. Did you compile apache first, then compile php5 as a shared module, using apxs. Something like this: my-host/php-5.0.4/# # config.nice contents: './configure' \ '--with-apxs2=/usr/local/apache2-0-55/bin/apxs' \ '--prefix=/usr/local/php5-1-2' \ '--with-mysql=shared,/downloads/mysql/my

Re: [EMAIL PROTECTED] Small rewrite problem

2006-01-22 Thread httpd2
This is probably all you need to master regular expression syntax. Very brief and concise. Then you need to get your head around mod_rewrite: Title: Regular Expression Pocket Reference Author: Tony Stubblebine Publisher: O'reilly ISBN: 0-596-00415-X 86 pages plus index US$ 12.95 GBP 7.00 HTH

Re: [EMAIL PROTECTED] OT question

2006-01-21 Thread httpd2
Check this out Gerry. http://www.clockwatchers.com/cron_general.html Keith In theory, theory and practice are the same; In practice they are not. On Sat, 21 Jan 2006, Gerry Danen wrote: > To: users@httpd.apache.org > From: Gerry Danen <[EMAIL PROTECTED]> > Subject: [EMAIL PROTECTED] OT quest

Re: [EMAIL PROTECTED] Using environment variable in httpd.conf

2006-01-19 Thread httpd2
Of course Joshua. But it is nice to know that th functionality is there if it's needed. Keith In theory, theory and practice are the same; In practice they are not. On Thu, 19 Jan 2006, Joshua Slive wrote: > To: users@httpd.apache.org > From: Joshua Slive <[EMAIL PROTECTED]> > Subject: Re:

Re: [EMAIL PROTECTED] Using environment variable in httpd.conf

2006-01-19 Thread httpd2
Well, I have just found something interesting while reading through Pro Apache 3rd edition, by Peter Wainwright. Apparently, using mod_perl, you can use the full power of the pearl interpreter INSIDE httpd.conf. Quote from the book page 449: "Embedded Perl appears in Apache's configuration i

Re: [EMAIL PROTECTED] Using environment variable in httpd.conf

2006-01-19 Thread httpd2
Thanks for the info Joshua. I was just curious to know if it was possible to set variables in httpd.conf . Probably won't need to use such a feature at the moment. Keith In theory, theory and practice are the same; In practice they are not. On Thu, 19 Jan 2006, Joshua Slive wrote: > To: u

Re: [EMAIL PROTECTED] Using environment variable in httpd.conf

2006-01-19 Thread httpd2
Well Tom, I'm using apache 2.0.50 under SuSE 9.2 pro and just added the following to httpd.conf, after my LoadModule statements: SetEnv ErrLogPath /var/log/apache2/error_log ErrorLog ${ErrLogPath} LogLevel debug All this does for my setup is create an error_log file under /srv/www/ called ${Er

Re: [EMAIL PROTECTED] Apache installation problem -socket address usage

2006-01-18 Thread httpd2
Please tell us what OS you are using? - we need to know this if you want help. As allready mentioned, only one application can attach itself to one port address. It appears you may allready have a web server listening on port 80 unless you are not starting apache as root. Keith In theory,

Re: [EMAIL PROTECTED] Apache email address

2006-01-17 Thread httpd2
Have you checked your mail directives in /etc/php.ini. Keith In theory, theory and practice are the same; In practice they are not. On Tue, 17 Jan 2006, Gerry Danen wrote: > To: users@httpd.apache.org > From: Gerry Danen <[EMAIL PROTECTED]> > Subject: [EMAIL PROTECTED] Apache email address >

Re: [EMAIL PROTECTED] Auto Vhost question

2006-01-15 Thread httpd2
Check out this sample chapter from Pro Apache 3rd edition, by Peter Wainwright. It covers hosting more than one website. http://www.apress.com/book/supplementDownload.html?bID=275&sID=2134 You may need to use user's home directories to add sites on the fly. I'm not sure if there is a way to

Re: [EMAIL PROTECTED] Apache Administrator qualification

2006-01-14 Thread httpd2
Ok - I take your points raised as being relevant and valid :-) Keith > You can't seperate the security, performance, robustness > of httpd from the operating system it's deployed to, which > is why I suggest that stand-alone httpd certification > would be somewhat useless. Also consider that

Re: [EMAIL PROTECTED] Apache Administrator qualification

2006-01-14 Thread httpd2
Some interesting points William. > Could Sun/HP/IBM/RedHat develop a curriculum/certification > for complete server administration, including Apache? I > suspect they not only could, but currently do have some > credentials around Server Administration - which must > include dns, sendmail, h

Re: [EMAIL PROTECTED] Apache Administrator qualification

2006-01-14 Thread httpd2
Well, I'm not sure about running an Apache qualification myself. Maybee ACA would be better than CAA, which would conflict with the aviation CAA of the UK. In theory, theory and practice are the same; In practice they are not. On Sat, 14 Jan 2006, Emmanuel E wrote: > To: users@httpd.apache.

Re: [EMAIL PROTECTED] configure internal server error to automatically email me

2006-01-14 Thread httpd2
Maybe the script needs to be in the DocumentRoot as Gerry has pointed out, and not outside of it. Regards Keith In theory, theory and practice are the same; In practice they are not. On Sat, 14 Jan 2006, Jeff Lacki wrote: > To: users@httpd.apache.org > From: Jeff Lacki <[EMAIL PROTECTED]> >

Re: [EMAIL PROTECTED] configure internal server error to automatically email me

2006-01-14 Thread httpd2
I was reading up yesterday on something that may be your answer Jeff. Using the ErrorDocument core directive may do the trick. ErrorDocument 500 /scripts/int_err500.php Where /scripts/ is a directory in the apache ServerRoot, and int_err500.php is a php script you write that will output a me

[EMAIL PROTECTED] Apache Administrator qualification

2006-01-13 Thread httpd2
Hi all. Quote from the Apache homepage: "Apache has been the most popular web server on the Internet since April of 1996. The November 2005 Netcraft Web Server Survey found that more than 70% of the web sites on the Internet are using Apache, thus making it more widely used than all other we

Re: [EMAIL PROTECTED] Conf file macros?

2006-01-12 Thread httpd2
The module module_env is used to define variables in the config file, or pass variables from the shell to the apache environment. # define the environment variable SetEnv SrvRoot /usr/local/apache2 I'm not sure of the syntax to use the variable though. As you say the docs are a bit vague to s

Re: [EMAIL PROTECTED] Disabling PUT DELETE and TRACE on Apache?

2006-01-11 Thread httpd2
Hi Emmanuel. I did not check the docs, so I was not aware of the restriction on the TRACE method :-) Regards - Keith Oh! This is cool. I didnt realise that mod_access would work inside a Limit directive. I toyed with it for a moment before I was led astray by the examples highlighting the us

Re: [EMAIL PROTECTED] howto configure apache to serve requests without explicitly defining a port number in the URL

2006-01-11 Thread httpd2
Sounds like you may need to use some sort of NAPT on your firewall. If you want requests to come into your firewall/router on port 80 you will need to use NAPT to redirect the standard request to the non standard port. Hopefully that should do the trick. Regards Keith Roberts On Wed, 11

Re: [EMAIL PROTECTED] Disabling PUT DELETE and TRACE on Apache?

2006-01-11 Thread httpd2
This will do what you want it to, and should apply to the whole filesystem, unless you override it somewhere else. Options none AllowOverride none Order deny,allow Deny from all Order deny,allow Deny from all Keith Roberts On Wed, 11 Jan 2006, Joost de Heer wrote: >

Re: [EMAIL PROTECTED] Max number of connections from a single client to a server.

2006-01-10 Thread httpd2
Some are in documented in: httpd-docs-2.0.55.en/mod/mpm_common.html Others are documented in: apache/httpd-docs-2.0.55.en/mod/mpm_winnt.html The documentation will give you details of where they apply in the configuration files. Keith On Wed, 11 Jan 2006, paritosh mahana wrote: > To: use

Re: [EMAIL PROTECTED] Max number of connections from a single client to a server.

2006-01-10 Thread httpd2
You might also like to read about process creation in /httpd-docs-2.0.55.en/misc/perf-tuning.html under the User's Guide. Keith - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apac

Re: [EMAIL PROTECTED] Max number of connections from a single client to a server.

2006-01-10 Thread httpd2
Those directives look OK Paritosh. What about these directives: ListenBacklog: MaxMemFree: ThreadLimit: Win32DisableAcceptEx: Have you tried setting the LogLevel to debug. see what help messages you get in the error log then. Keith On Wed, 11 Jan 2006, paritosh mahana wrote: > To: users@ht

Re: [EMAIL PROTECTED] Max number of connections from a single client to a server.

2006-01-10 Thread httpd2
Hi Paitosh. Interesting problem! Can you give more details please for: OS: Apache version: MPM: How many requests per second: Regards Keith - The official User-To-User support forum of the Apache HTTP Server Project. See ht

[EMAIL PROTECTED] 2.0.55 Installation Error

2006-01-09 Thread httpd2
Hi there. If I do a default installation everything seems to work out OK. Changing the default installation path to /usr/local/apache2-0-55 with the following configure command: shell>$ ./configure --prefix=/usr/local/apache2-0-55 --libdir=/usr/local/apache2-0-55 && make && make install gi

Re: [EMAIL PROTECTED] deny from all is needed?

2006-01-08 Thread httpd2
This can be quite confusing for newbies. I have only recently got my head around it. I think the connect bug workaround also added confusion to this for me. The default state for Order deny,allow is to allow from all as Alfred has already mentioned. To deny from all without a Deny from all

[EMAIL PROTECTED] FYI

2006-01-08 Thread httpd2
Hi all. Just did a test on SuSE 9.2 pro. Downloaded the source for Apache 2.0.55 and 2.2.0 Both versions compiled and installed and run OK without any problems. Got a couple of warnings from configure, but that was all. Nice to know I can now build apache to my own requirements! Keith

Re: [EMAIL PROTECTED] More than one name-based vhost with SSL

2006-01-04 Thread httpd2
Is this any good? http://www.onlamp.com/pub/a/apache/2005/02/17/apacheckbk.html Keith On Wed, 4 Jan 2006, Steffen Ronalter wrote: > To: users@httpd.apache.org > From: Steffen Ronalter <[EMAIL PROTECTED]> > Subject: [EMAIL PROTECTED] More than one name-based vhost with SSL > > Hi! > > First

Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename

2006-01-02 Thread httpd2
Yes - I think it is possible. This is part of the apache official httpd.conf file: # #ServerAdmin [EMAIL PROTECTED] #DocumentRoot /www/docs/dummy-host.example.com #ServerName dummy-host.example.com #ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log #CustomLog @rel_lo

Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename

2006-01-02 Thread httpd2
Have you looked at mod_setenvif ? Keith On Mon, 2 Jan 2006, robert rottermann wrote: > To: users@httpd.apache.org > From: robert rottermann <[EMAIL PROTECTED]> > Subject: Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename > > keith, > thank you very much for your answer. > I was a

Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename

2006-01-02 Thread httpd2
Are you trying to add your own virtual server's name to your apache log filename? If so, read the discusion on how to log virtual hosts. You will find it on the manual home page under: Users' Guide-> LogFiles->Virtual Hosts. You can then use the apache supplied perl script, split-logfile to

Re: [EMAIL PROTECTED] Filename Access

2006-01-02 Thread httpd2
I think I have isolated the problem now. # THIS IS CAUSING THE PROBLEM WITH ... # # remove the CONNECT bug # http://bugs.php.net/bug.php?id=19113 # # # # Order deny,allow # Deny from all # # When I un-comment the above, the error appears. If I comment out the above, the error goes away.

Re: [EMAIL PROTECTED] Beginning Apache 2 setup

2006-01-01 Thread httpd2
Have you sent up a directory container in your httpd.conf file to give apache access to the said directory? like: Options None Options Indexes Order deny,allow Deny from all Allow from localhost Allow from Also, if you want to allow access to the directories in /home/user/publi

Re: [EMAIL PROTECTED] Filename Access

2005-12-30 Thread httpd2
Well Sean - I have commented out the php directives. *.html files are still accessible as well. I have put t1.html , t2.htm , and t3.php into the same directory. These files are still accessible, and output three lines of text. Here is my complete websites.conf file, that gets included into

Re: [EMAIL PROTECTED] Filename Access

2005-12-30 Thread httpd2
Thankyou for checking things out on your machine Andrey. Now I know what the container is supposed to do, I can try and find out the problem on my own machine. As you say, it appears the machines configuration is not quite right. When I have found out what the cause of the problem is, I wil

Re: [EMAIL PROTECTED] Filename Access

2005-12-29 Thread httpd2
Hi Jim. Thanks for doing that test on your machine. Does anyone else on the list have the same behaviour on their server with the directive? I cannot see what effect the directive container has on files? Keith On Thu, 29 Dec 2005, Jim Walls wrote: > To: users@httpd.apache.org > From: J

Re: [EMAIL PROTECTED] Filename Access

2005-12-29 Thread httpd2
Here is the URL: http://www.karsites.net/KAR/websites/pub/computing/apache-test/get_vars.php And the log entries are: For an unsuccessfull request using: http://www.karsites.net/KAR/websites/pub/computing/apache-test/ 127.0.0.1 - - [29/Dec/2005:20:48:26 +] "GET /KAR/websites/pub/computing/

Re: [EMAIL PROTECTED] Apache/PHP Issue

2005-12-29 Thread httpd2
Bill. Does apache have file read/execute permissions for the php file? Is there some sort of redirection via aliases going on for the html files? Do you have restrictions for php files in effect? Keith On Thu, 29 Dec 2005, Bill McBride wrote: > To: users@httpd.apache.org > From: Bill M

Re: [EMAIL PROTECTED] Filename Access

2005-12-29 Thread httpd2
Sean - I have created a directory in the public area, and added the following to my config file: Options None Order deny,allow Deny from all Order deny,allow Deny from all (I restarted apache with /etc/init.d/apache2 stop, then start.) If you go to that directory, you wil

Re: [EMAIL PROTECTED] Filename Access

2005-12-29 Thread httpd2
Just done a test. I'm reading the config file OK, so that's not the problem: # apache2ctl -t Syntax error on line 158 of /etc/apache2/my-conf/websites.conf: Expected but saw Keith - The official User-To-User support forum o

Re: [EMAIL PROTECTED] Filename Access

2005-12-29 Thread httpd2
I'm wondering if that could be the problem. Should it be possible to stop files being served by the server with the config I showed? If so there must be some conflicts somewhere in my config files. Keith On Thu, 29 Dec 2005, Sean Davis wrote: > To: users@httpd.apache.org > From: Sean Da

Re: [EMAIL PROTECTED] Filename Access

2005-12-29 Thread httpd2
Hi Sean. I'm usiing Apache 2 on SuSE Linux 9.2 pro. The config is split over many different files. I include my own custom config file that has different directory settings, such as: Options None Order deny,allow Deny from all Order deny,allow Deny from all

[EMAIL PROTECTED] Filename Access

2005-12-29 Thread httpd2
Hi all. When I setup a directory to forbid access to it, and to the files in the directory, I can still retrieve a file's contents if I know the full file name. Is this normal behaviour - or can I block access to these unlisted files somehow? Regards - Keith --

RE: [EMAIL PROTECTED] Problem with Redirect

2005-12-28 Thread httpd2
I'm not sure if you can change the protocol from http to https in a redirect. According to your virtual hosts anything sent to port 80 will get sent to SSL on port 443. Is this what you want to do? Keith On Wed, 28 Dec 2005, Kaplan, Andrew H. wrote: > To: users@httpd.apache.org > From: "

Re: [EMAIL PROTECTED] suexec

2005-12-28 Thread httpd2
Rob - What is the full definition for your virtual host container please? Keith On Wed, 28 Dec 2005 [EMAIL PROTECTED] wrote: > To: users@httpd.apache.org > From: [EMAIL PROTECTED] > Subject: [EMAIL PROTECTED] suexec > > Hey guys. > > > Trying to get this thing to work. But am getting t

Re: [EMAIL PROTECTED] Problem with Redirect

2005-12-28 Thread httpd2
Hi Andrew. Do you have a seperate Virtual server listening on port 80 for the standard non-SSL requests, and a seperate SSL-enabled virtual server listening for connections on post 443? Keith On Wed, 28 Dec 2005, Kaplan, Andrew H. wrote: > To: users@httpd.apache.org > From: "Kaplan, Andrew

[EMAIL PROTECTED] Make Apache Linux paths case insensitive?

2005-12-28 Thread httpd2
Hi Arthur. I'm working my way through the manual, and from what I've read so far you may need to match on regular expressions and use mod_rewrite. This is a powerful alternative to hard-coding the directory paths with aliases. http://httpd.apache.org/docs/2.0/misc/rewriteguide.html HTH - Kei

Re: [EMAIL PROTECTED] Detecting Javascript via Apache 2

2005-12-28 Thread httpd2
Thankyou Sean and others for all the replies. I will check out the folowing: http://www.w3schools.com/js/default.asp And more specifically here: http://www.w3schools.com/js/js_howto.asp http://www.w3schools.com/js/js_browser.asp Regards - Keith Roberts

[EMAIL PROTECTED] Detecting Javascript via Apache 2

2005-12-27 Thread httpd2
Hi all. Is it possible for apache 2.0 to detect if a browser has javascript enabled when a page is requested, and then passing this value to PHP? This would allow me to serve different page content, depending on whether the user's browser has javascript enabled or not. Regard Keith Roberts