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] DocumentRoot problem

2006-03-13 Thread Dotan Cohen
On 3/6/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > All you do to change the docroot is edit the argument to the DocumentRoot > directive > and then restart the server. Yes, I changed this: ServerRoot "/etc/apache2" to this: ServerRoot "/home/dotancohen/www/public_html" > Of course, you have to d

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

[EMAIL PROTECTED] Two versions of Apache

2006-03-13 Thread Roger
I installed Apache 2 on Fedora this Saturday.I have a problem, whenever i restart my machine, it starts up the default httpd service that comes with Fedora, meaning i have two versions running and i have to shut down the default httpd then go to /usr/local/apache2/bin/apachectl start. I find

RE: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Boyle Owen
> -Original Message- > From: Dotan Cohen [mailto:[EMAIL PROTECTED] > Sent: Montag, 13. März 2006 09:11 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] DocumentRoot problem > > On 3/6/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > > > All you do to change the docroot is edit th

Re: [EMAIL PROTECTED] Two versions of Apache

2006-03-13 Thread Graham Frank
Check for the file /etc/rc.d./init.d/httpd If it exists, then go ahead and edit it with any text editor and change the httpd path. That way, it will start your custom apache instead of the one which came with your os. -Graham -Original Message- From: Roger <[EMAIL PROTECTED]> Subj:

[EMAIL PROTECTED] caching limit files in mod_file_cache?

2006-03-13 Thread Xuekun Hu
Changed the title to be noticed. :-) -- Forwarded message -- From: Xuekun Hu <[EMAIL PROTECTED]> Date: Mar 10, 2006 7:38 PM Subject: Re: [EMAIL PROTECTED] mod_mem_cache configuration help To: users@httpd.apache.org Thanks for replying. I tested mod_file_cache. However I also met

Re: [EMAIL PROTECTED] Re: mod_dav / mod_ssl file corruption

2006-03-13 Thread Maurer, Hermann
Hello,   we have had the same problem with the version 2.0.55 of Apache, as you described. That was the reason we had to downgrade our Apache instance on the reverse proxy to the version 2.0.54, which does not have the bug. The "internal" instance must not be downgraded.   Regards, Hermann Ma

Re: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Dotan Cohen
On 3/13/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Dotan Cohen [mailto:[EMAIL PROTECTED] > > Sent: Montag, 13. März 2006 09:11 > > To: users@httpd.apache.org > > Subject: Re: [EMAIL PROTECTED] DocumentRoot problem > > > > On 3/6/06, Boyle Owen <[EMAIL PROTECT

RE: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Boyle Owen
> -Original Message- > From: Dotan Cohen [mailto:[EMAIL PROTECTED] > > Oops, thanks. So, where _is_ the DocumentRoot stored?!? It is not in > that file! Where else can I look? > [EMAIL PROTECTED]:~# cat /etc/apache2/apache2.conf | grep DocumentRoot > [EMAIL PROTECTED]:~# Docs... http://h

Re: [EMAIL PROTECTED] Two versions of Apache

2006-03-13 Thread Roger
Thanks again, but what do i edit in that httpd file On Mon, 2006-03-13 at 02:39 -0600, Graham Frank wrote: Check for the file /etc/rc.d./init.d/httpd If it exists, then go ahead and edit it with any text editor and change the httpd path. That way, it will start your custom apache instead o

Re: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Dotan Cohen
On 3/13/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Dotan Cohen [mailto:[EMAIL PROTECTED] > > > > Oops, thanks. So, where _is_ the DocumentRoot stored?!? It is not in > > that file! Where else can I look? > > [EMAIL PROTECTED]:~# cat /etc/apache2/apache2.conf

[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: [EMAIL PROTECTED] Sending images and ASCII in same content stream

2006-03-13 Thread Dustin Oprea
Thank you for responding-- I wrote a nice little dynamic database backend, so whatever I produce will just be data from a database. The browser will not have access to files. I assume I will have to apply a series of content-length headers-- Assuming these are done correctly with content-typ

Re: [EMAIL PROTECTED] Two versions of Apache

2006-03-13 Thread Graham Frank
Perform a search for the old httpd path. If you use nano/pico to edit the file, then press Ctrl+W to perform a word search. In short, if the path to the old httpd was /usr/local/apache/bin/httpd, then find all of the times that string appears in the file and change it to the one you want.

Re: [EMAIL PROTECTED] DMZ and Port Forward

2006-03-13 Thread Dustin Oprea
The web server will then receive everything that isn't assigned to port-forward. This includes worms and such that prey on the weaknesses of whatever machine they can reach, including the hapless MSIE-enabled Windows machine that the DMZ entry might point to. This just seems unnecessary conside

RE: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Boyle Owen
> -Original Message- > From: Dotan Cohen [mailto:[EMAIL PROTECTED] > > Well, I put the ServerRoot back where it was and added the > DocumentRoot, tryin both of these: > DocumentRoot /home/dotancohen/www/public_html > DocumentRoot "/home/dotancohen/www/public_html" > > But after restartin

Re: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Dotan Cohen
On 3/13/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Dotan Cohen [mailto:[EMAIL PROTECTED] > > > > Well, I put the ServerRoot back where it was and added the > > DocumentRoot, tryin both of these: > > DocumentRoot /home/dotancohen/www/public_html > > DocumentRo

RE: [EMAIL PROTECTED] Finding what module are installed

2006-03-13 Thread Axel-Stéphane SMORGRAV
The surest way to get that list is to ask the OS. On Solaris, use "pldd `cat /httpd.pid`". I'm sure there are similar tools on other Unices. -ascs From: Thomas Anderson [mailto:[EMAIL PROTECTED] Sent: Sunday, March 12, 2006 6:31 AM To: users@httpd.apache.or

[EMAIL PROTECTED] apache 1.3.33, php 4.3.6, solaris 8 -> file open problem?

2006-03-13 Thread Harald Falkenberg
Hallo, we are using apache 1.3.33 wiht php 4.3.6 on solaris 8. php is build with Oracle access. Everything works fine. Unefortunately we get from time to time problems to access the database just in side php. All other scripts work fine against the db. A reload of the same php page often works aga

RE: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Boyle Owen
> -Original Message- > From: Dotan Cohen [mailto:[EMAIL PROTECTED] > apache2/sites-available/default:DocumentRoot /var/www/ > apache2/sites-available/default: > apache2/sites-enabled/000-default: DocumentRoot /var/www/ > apache2/sites-enabled/000-default: > > Sh

[EMAIL PROTECTED] best practices - section or not?

2006-03-13 Thread Richard de Vries
So I am trying to install this 3rd party application, and it simply won't install without a "" section in my httpd.conf. Since my web server is only running 1 webserver/instance ... I did not define a section. So, I am kinda curious. Is it strange to not define a virtualhost section? Is it a "be

[EMAIL PROTECTED] modjk two-way

2006-03-13 Thread Chris Pat
Hello Is it possible/how to create a page that displays a jsp within an html page that is served by apache in an apache-tomcat deployment? I dont want to use frames in the technical sense but in a pictorial sense. I want the header/footer, left and right to be displayed by apache and the "center"

[EMAIL PROTECTED] SSL And Virtual Hosts

2006-03-13 Thread David P. Donahue
I've been using Apache 1.3 for a while now with several name-based virtual hosts (my server has only one IP). Recently, I have begun testing the use of SSL, which is entirely new territory for me. But I seem to be running into a couple problems. First thing I notice is that my ssl_engine log

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

2006-03-13 Thread ryan punt
I don't have a Fedora install available right now, but I know that RedHat includes a util called chkconfig. This program allows you to deactivate daemons while leaving the init-script in place. For example, if you wanted to leave the original version of apache installed, but didn't want it to s

RE: [EMAIL PROTECTED] best practices - section or not?

2006-03-13 Thread Boyle Owen
> -Original Message- > From: Richard de Vries [mailto:[EMAIL PROTECTED] > Sent: Montag, 13. März 2006 14:59 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] best practices - section or not? > > So I am trying to install this 3rd party application, > and it simply won't install w

RE: [EMAIL PROTECTED] SSL And Virtual Hosts

2006-03-13 Thread Boyle Owen
> -Original Message- > From: David P. Donahue [mailto:[EMAIL PROTECTED] > Sent: Montag, 13. März 2006 15:34 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] SSL And Virtual Hosts > > I've been using Apache 1.3 for a while now with several name-based > virtual hosts (my server ha

RE: [EMAIL PROTECTED] best practices - section or not?

2006-03-13 Thread Richard de Vries
Thank you very much for your excellent reply. Glad to hear it is not at all unusual to not use VHs for the main/default site. I agree, adding additional hosts would definately require the use of VH blocks, unless each one would get their own httpd.conf and run as a seperate instance. --- Boyle Ow

Re: [EMAIL PROTECTED] SSL And Virtual Hosts

2006-03-13 Thread David P. Donahue
The web (and this mailing list) is replete on subject of SSL and NBVHs. Most recent: http://marc.theaimsgroup.com/?l=apache-httpd-users&m=114137608115220&w=2 Or search the archives and/or google for "SSL NBVH". Not to mention the docs: http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#vhosts2

[EMAIL PROTECTED] Apache

2006-03-13 Thread Roger
I had two versions of Apache, one came with the default installation of Fedora Core and i recently installed Apache, the latest stable version to /usr/local/apache2/. i used

[EMAIL PROTECTED] Running Apache 2.0.NN

2006-03-13 Thread Roger
I recently installed the latest stable version of Apache onto my machine running Fedora Core Linux. I then had two versions of Apache running, i.e the one that comes with the Operating System by default and the latest version. To reduce conflicts i was doing : service httpd stop and then i wo

Re: [EMAIL PROTECTED] modjk two-way

2006-03-13 Thread Nick Kew
On Monday 13 March 2006 14:19, Chris Pat wrote: > Hello > Is it possible/how to create a page that displays a > jsp within an html page that is served by apache in an > apache-tomcat deployment? I dont want to use frames > in the technical sense but in a pictorial sense. I > want the header/foote

RE: [EMAIL PROTECTED] SSL And Virtual Hosts

2006-03-13 Thread Boyle Owen
> -Original Message- > From: David P. Donahue [mailto:[EMAIL PROTECTED] > Sent: Montag, 13. März 2006 16:21 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] SSL And Virtual Hosts > > > The web (and this mailing list) is replete on subject of > SSL and NBVHs. Most recent: >

Re: [EMAIL PROTECTED] SSL And Virtual Hosts

2006-03-13 Thread David P. Donahue
For most serious applications of SSL, not really... Imagine you went to buy a book at Amazon and when you clicked on "checkout", you got a warning saying, "we're having a problem with our server and so you might get a browser warning about site name not matching certificate. Don't worry, just c

Re: [EMAIL PROTECTED] modjk two-way

2006-03-13 Thread Chris Pat
Hi Nick   Sorry for the confusion, however you understand it perfectly.  It is as you restated it.  I was not aware of those technologies and how they interact with apache-tomcat.  That is precisely the architecture I need.  I will now pursue them.  Anything else you can provide for my, necessary

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,

RE: [EMAIL PROTECTED] Running Apache 2.0.NN

2006-03-13 Thread Ralph.Grothe
You merely need to change the path to your apachectl of your 2nd httpd in the init script. e.g. here I have a Fedora 3 where httpd was installed from an FC3 RPM # rpm -qf /etc/init.d/httpd httpd-2.0.52-3 In this init script a variable apachectl is set as # grep ^apachectl /etc/init.d/httpd ap

[EMAIL PROTECTED] password protected dir with unprotected subdir

2006-03-13 Thread Tom Cat
I've set up one directory to be password protected. Alias /work "/work1/" Options Indexes MultiViews AllowOverride None Order allow,deny AuthUserFile /etc/httpd/htpasswords AuthType Basic AuthName "Work1" require user strycat Allow f

[EMAIL PROTECTED] Log entries missing some data

2006-03-13 Thread Ross A. Del Duca
I've been beating this up for some time, so any hints/ideas anyone has would be great. Basically, I have certain requests from a small number of specific requestors that don't log all of the data in the access_log. My log format is: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-A

Re: [EMAIL PROTECTED] password protected dir with unprotected subdir

2006-03-13 Thread Robert Ionescu
Tom Cat wrote: Alias /demo "/work1/open/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all As I feared the first directory (/work1) kicks in and requires a user. Is there something I can do to unprotect just that one subdir or will

[EMAIL PROTECTED] Re: What EnvVars are available?

2006-03-13 Thread SixArm
I managed to get something working.  I'm just not sure if it's the best way to solve the problem.  I've also noticed that on some of my systems REMOTE_PORT is blank.  Has anyone else run into this?Here's the working config:    RewriteEngine on   RewriteCond %{REMOTE_ADDR} (.*)   RewriteRule .* - [E

Re: [EMAIL PROTECTED] Log entries missing some data

2006-03-13 Thread Joshua Slive
On 3/13/06, Ross A. Del Duca <[EMAIL PROTECTED]> wrote: > I've been beating this up for some time, so any hints/ideas anyone has would > be great. > > Basically, I have certain requests from a small number of specific > requestors that don't log all of the data in the access_log. > > My log format

Re: [EMAIL PROTECTED] Log entries missing some data

2006-03-13 Thread Ross A. Del Duca
Sorry - I missed that on the cut-n-paste operation. More complete is: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O TIME: %T" resptrack CustomLog /var/log/httpd/access_log resptrack The problem I'm having is that the vast majority of the requests logged do follow

[EMAIL PROTECTED] keep-alive and SCGI to process on another server

2006-03-13 Thread mike
any suggestions for increasing the number of keep-alive connections with this configuration: - web server accessed via ssl - web server accesses host/port on a separate physical app server via SCGI, or mod_python i use this command for testing: ab2 -k -n 100 https://myhost.tld/appname/acti

[EMAIL PROTECTED] undefined symbol: %b_module

2006-03-13 Thread Fran
Hello, If I compile a module that uses external library the output is this: > ... > [activating module `server_form' in /usr/local/apache2/conf/httpd.conf] > Syntax error on line 337 of /usr/local/apache2/conf/httpd.conf: > Can't locate API module structure `%b_module' in file > /usr/local/apach

Re: [EMAIL PROTECTED] DMZ and Port Forward

2006-03-13 Thread Michael Louie Loria
>>> The web server will then receive everything that isn't assigned to >>> port-forward. This includes worms and such that prey on the >>> weaknesses of whatever machine they can reach, including the hapless >>> MSIE-enabled Windows machine that the DMZ entry might point to. This >>> just seems unn

[EMAIL PROTECTED] 403 error (script alias directive involved?)

2006-03-13 Thread Ray
Hello, I am having a problem with a 403 error that I can't solve. I am trying to set up a stats package on a server hosting about 30 different websites. The stats package is in a sub folder of the htdocs folder. It is accessed through a scriptAlias directive on all the websites. e.g. www.foo.com/s

Re: [EMAIL PROTECTED] DMZ and Port Forward

2006-03-13 Thread Phoenix
Actually, the reason you use a DMZ is because if a vulnerability is found in you web server and you box gets taken over, the hacker doesn't have access to your entire LAN, only stuff that is sitting in your DMZ (DeMilitarised Zone). You still firewall your DMZ, and usually have a 2nd firewall betw