RE: [us...@httpd] httpd.exe -k restart command is closing connections on Windows

2009-01-28 Thread Gary W. Smith
try httpd -k graceful restart, by design, should stop and start the server, without regard to connections. graceful reloads the config and then reloads each thread as it becomes inactive. At least that's how it was put to me at a high level. Gary From:

RE: [EMAIL PROTECTED] Vista install/start winsock bind error 10013

2008-09-27 Thread Gary W. Smith
Ah, I know what happened on mine now. I didn't install it the same way. I installed it on my XP box at home because I needed it for testing at work but at work they don't allow you to install software (stupid rule) so I just copied the directory I manually run it there on both XP and Vista. W

RE: [EMAIL PROTECTED] Vista install/start winsock bind error 10013

2008-09-27 Thread Gary W. Smith
Probably because you need to start it as administrator (not just as a user with admin privileges). Try right clicking and do run as... If you try it from the command line, start cmd as administrator. It's running fine on Vista here (installed last Friday). -Original Message- From: B.A.S

RE: [EMAIL PROTECTED] Split logs based upon VirtualDocumentRoot

2008-02-11 Thread Gary W. Smith
30 PM, Gary W. Smith <[EMAIL PROTECTED]> wrote: > > > Hello, > > We use the following for hosting several sites by domain name and it seems > to work well for us. > > VirtualDocumentRoot /exports/home/%-2.0.%-1/virtualdomains/%0 > > What we would like to do is to spl

[EMAIL PROTECTED] Split logs based upon VirtualDocumentRoot

2008-02-10 Thread Gary W. Smith
Hello, We use the following for hosting several sites by domain name and it seems to work well for us. VirtualDocumentRoot /exports/home/%-2.0.%-1/virtualdomains/%0 What we would like to do is to split the incoming logs for each of the base level domains (that is domain.tld, regardless of *

RE: [EMAIL PROTECTED] Rewrite HTTP to HTTPS.

2007-01-13 Thread Gary W. Smith
This works for us. We don't use virtual hosts but if we put a general rewrite rule it always re-wrote the https one as well and caused a loop. In redhat we put this in /etc/httpd/conf.d/redirect.conf. You could also append this to the end of your httpd.conf file (wherever it is) servername ww

RE: [EMAIL PROTECTED] suicidal suexec question.

2006-08-29 Thread Gary W. Smith
Sounds reasonable. Thanks for the info. I will start playing and see what I come up with now. Gary Wayne Smith > Sounds fine to me. I'd probably go with a separate install, just so > that you can strip the second apache down to the absolute minimum > modules. (You could do the same with one i

RE: [EMAIL PROTECTED] suicidal suexec question.

2006-08-29 Thread Gary W. Smith
Joshua, Let me pass this pseudo logic by you. * Create a dedicated user (say suapache:suapache/no shell/no homedir). * Add that user to the sudo privileges file (with access the dedicated list of apps they can execute with nopass set and only localhost as access). * Create another instance of Ap

[EMAIL PROTECTED] suicidal suexec question.

2006-08-29 Thread Gary W. Smith
I've been assigned to create a port listener to do some administrative tasks on some of our local servers. We have a web console application that basically writes some data to a file and a cronjob picks it up. That doesn't seem to be fast enough for what we need. So it has been deemed that we n

RE: [EMAIL PROTECTED] xxxxxxxxxxxxxxxxxxxxxx

2006-06-23 Thread Gary W. Smith
Hmm, that batch of 1000 responses seems to be slowing down my postfix server.  Sounds like another Rob Zombie movie.   From: Ryan, Mark (IT Solutions) [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 8:47 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] xxx

RE: [EMAIL PROTECTED] Re: Re: ASP on Apache

2006-05-05 Thread Gary W. Smith
I would concur but if this is for a class and if I was going to hand the code to an instructor I would want to make sure that it at least works on the instructors ASP platform.  This solution isn’t ASP but rather a similar platform for a scripting language.    But then again, I’m not tak

RE: [EMAIL PROTECTED] Re: Re: ASP on Apache

2006-05-05 Thread Gary W. Smith
If you truly need asp then run it on a wintel box.  If you are using Linux you can run something like VMware and setup a virtual server or something.    From: a nn [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 12:41 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTE

RE: [EMAIL PROTECTED] rewrite and virtualdocumentroot question

2006-04-22 Thread Gary W. Smith
the other domains seem to be unaffected by this and work as expected. Does this look correct? > -Original Message- > From: Gary W. Smith [mailto:[EMAIL PROTECTED] > Sent: Friday, April 21, 2006 11:40 PM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECT

RE: [EMAIL PROTECTED] rewrite and virtualdocumentroot question

2006-04-21 Thread Gary W. Smith
ancel that alias out as it will try to rewrite it to a different directory. It's a shared install. What would the rewrite condition look like in order to do the above yet skip /horde and /mail? > -Original Message----- > From: Gary W. Smith [mailto:[EMAIL PROTECTED] > Sent: Fri

RE: [EMAIL PROTECTED] rewrite and virtualdocumentroot question

2006-04-21 Thread Gary W. Smith
t; Try the above rules, set "RewriteLogLevel 3", set the RewriteLog to an > appropriate value and check out the resulting path names. > > -ascs > > > > > From: G

[EMAIL PROTECTED] rewrite and virtualdocumentroot question

2006-04-20 Thread Gary W. Smith
Title: rewrite and virtualdocumentroot question We are running the following in the httpd.conf file.  This works well for our virtual domain hosting.  VirtualDocumentRoot /exports/home/%-2.0.%-1/virtualdomains/%0 VirtualScriptAlias /exports/home/%-2.0.%-1/virtualdomains/%0/cgi-bin For the

RE: [EMAIL PROTECTED] Apache to Apache communications

2006-03-15 Thread Gary W. Smith
Mod_proxy. > I want an internet facing Apache to be able to forward requests to an > Apache instance within my network. > - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org

RE: [EMAIL PROTECTED] new rpm

2006-03-04 Thread Gary W. Smith
Azeem, The problem isn't just the /etc/httpd directory but all dependency directories. This can be tricky. I think the best way to do this is to download the SRPM file, change the specs to have a different install location for all files and recompile. Gary > -Original Message- > From

RE: [EMAIL PROTECTED] how to get asp on apache ?(asap)

2006-02-03 Thread Gary W. Smith
You can try http://www.sun.com/software/chilisoft/index.xml Works for some. I have installed it before and some of the application works without any rewrites, others don't. Gary Wayne Smith > -Original Message- > From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] > Sent: Thursday, Feb

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

2006-01-24 Thread Gary W. Smith
 If you’re ever in New Mexico, look me up, I OWE YOU LUNCH!!  Thanks a million!!   Kermit Short System Administrator CCN-DC-1 D-Div ph: 7-6360 pg: 4-5165 em: [EMAIL PROTECTED] From: Gary W. Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 11:25 AM To: users@httpd.apache

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

2006-01-24 Thread Gary W. Smith
e disabled it in the config file, but knowing nothing about SELinux, I don’t know what else I need to do…your input is gratefully welcomed!! Thanks!   Kermit Short System Administrator CCN-DC-1 D-Div ph: 7-6360 pg: 4-5165 em: [EMAIL PROTECTED] From: Gary W. Smith [mailto:[EMAIL PROTECTE

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

2006-01-23 Thread Gary W. Smith
“/etc/init.d/httpd start”  I’m doing so with uid 0.  Nonetheless, I receive the error message of  “bad username”.  Thanks for your advice, though!   Kermit Short System Administrator CCN-DC-1 D-Div   ph: 7-6360 pg: 4-5165 em: [EMAIL PROTECTED] From: Gary W. Smith [mailto:[EMAIL

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

2006-01-23 Thread Gary W. Smith
Title: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start Kermit, You don’t lunch it under the non-privileged account.  You luanch it under root and then Apache will change the thread to run under the user your specify under the configuration file.  As mentioned bef

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

2006-01-23 Thread Gary W. Smith
Kermit, I think you missed the point. In order to run Apache under the user apache and group apache they must have a group and a user with that same name. By default RHEL 4 creates the user/group apache as follows: passwd: apache:x:48:48:Apache:/var/www:/sbin/nologin group: apache:x:48: If th

RE: [EMAIL PROTECTED] How to cluster apache webserver?

2006-01-22 Thread Gary W. Smith
You can look into something like linux-ha. We use it for all of our client web servers to provide for failover support and had great success with Apache, MySQL and Cyrus. Hope that helps. Gary Smith > -Original Message- > From: Rony Xu [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 2

RE: [EMAIL PROTECTED] Auto Vhost question

2006-01-20 Thread Gary W. Smith
data (www.domain.tld). Is there a way to setup a 404 command within the config in conjunction with mod rewrite to forward them to www.domain.tld/whatever iif domain.tld/whatever doesn't exist? > -Original Message- > From: Gary W. Smith [mailto:[EMAIL PROTECTED] > Sent:

RE: [EMAIL PROTECTED] Auto Vhost question

2006-01-17 Thread Gary W. Smith
gt; Subject: Re: [EMAIL PROTECTED] Auto Vhost question > > On 1/15/06, Gary W. Smith <[EMAIL PROTECTED]> wrote: > > > > > > Is this following possible and if so how could it be accomplished? > > > > We have a number of users on a web server that access th

[EMAIL PROTECTED] Auto Vhost question

2006-01-15 Thread Gary W. Smith
Title: Auto Vhost question Is this following possible and if so how could it be accomplished? We have a number of users on a web server that access the system via users.domain.com/theirloginid (note that this isn’t ~theirloginid).  Is it possible to configure a vhost in such a way that they

RE: [EMAIL PROTECTED] apache/php question

2006-01-04 Thread Gary W. Smith
You can try running it on an alternate port side by side and do your testing that way, assuming that you active site uses relative URLs. > -Original Message- > From: Ken Murach [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 04, 2006 8:18 AM > To: users@httpd.apache.org > Subject: [EM

RE: [EMAIL PROTECTED] Apache/PHP Issue

2005-12-29 Thread Gary W. Smith
It looks like a permissions issue of some type.  It’s obvious that PHP is loaded as per the Apache tag.  Rename the file to phptest.dat and see if you can access that way (it should download).    I bet you have NTFS and that you copied the file from one location to another and it brought

RE: [EMAIL PROTECTED] PHP user mailing list?

2005-11-13 Thread Gary W. Smith
Try http://www.php.net/mailing-lists.php     From: TonyY [mailto:[EMAIL PROTECTED] Sent: Sunday, November 13, 2005 8:14 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] PHP user mailing list?   Hi,   Can anyone tell me how to subscribe to Windows PHP u

RE: [EMAIL PROTECTED] Configuration directives question

2005-11-05 Thread Gary W. Smith
all Thanks. Gary -Original Message- From: Nick Kew [mailto:[EMAIL PROTECTED] Sent: Saturday, November 05, 2005 12:57 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Configuration directives question On Saturday 05 November 2005 20:12, Gary W. Smith wrote: > What we n

[EMAIL PROTECTED] Configuration directives question

2005-11-05 Thread Gary W. Smith
Title: Configuration directives question Hello, I’m trying to work up a html only server for of about 1000+ people.  This server is a dual role server as it holds both their static html pages and their email (running cyrus). We were looking at using mod_user but we wanted to work around th

RE: [EMAIL PROTECTED] Creating a Catch-Everything Catch-All

2005-10-17 Thread Gary W. Smith
in/ > > --- > > What parts of that should I alter to create a _default_ virtualhost? > > Should I simply replace the "mydomain.com" with "ServerAlias *.*", and > "Servername www.mydomain.com" with "*.*.*"? > > Sorry, again,

RE: [EMAIL PROTECTED] Creating a Catch-Everything Catch-All

2005-10-17 Thread Gary W. Smith
This requires two things. One, you need to configure DNS to catchall. I'm not sure how to do this but search google for bind and all. As for the other one, create a vitual site as _default_ and give server aliases. Then if you create a real virtual site you will need to use the qualified domain

RE: [EMAIL PROTECTED] Memory consumption

2005-08-02 Thread Gary W. Smith
ers@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Memory consumption   Hi Gary, Gary W. Smith wrote: How are you reading the file in order to output it?  Some of the PHPcommands do indeed read the entire file before processing.  This wouldcause the entire file to sit in ram.  I believe there

RE: [EMAIL PROTECTED] Memory consumption

2005-08-02 Thread Gary W. Smith
How are you reading the file in order to output it? Some of the PHP commands do indeed read the entire file before processing. This would cause the entire file to sit in ram. I believe there are some binary functions that only read segments at a time. I think that is where you problem lies. Ca

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Gary W. Smith
workaround for this scenario? > -Original Message- > From: Gary W. Smith [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 28, 2005 8:14 PM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Rewrite / reverse proxy question > > Thanks, the NC worked like a cha

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Gary W. Smith
t; To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Rewrite / reverse proxy question > > On Thu, 28 Jul 2005 at 14:45, Gary W. Smith wrote: > > > So for that question, is there any way to force the case insensitivity > > for the entire string when doing a RuleRewrite. >

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Gary W. Smith
Firefox/LiveHTTPHeaders, run your SSL scenario and post the LiveHTTPHeader output? If you can't, your access logs from the SSL virtual host would be the next best thing.   -ascs     From: Gary W. Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 4:11 PM To:

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-28 Thread Gary W. Smith
I found it in a sample somewhere.  I’m not a regexp guy so I basically use what I can find.  It’s one of those things on my to do list but I haven’t got to it yet.       From: Axel-Stéphane SMORGRAV [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 12:35 AM To: users@ht

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-27 Thread Gary W. Smith
s /exchweb http://10.41.63.12/exchweb ProxyPassReverse /exchweb http://10.41.63.12/exchweb ProxyPass /public http://10.41.63.12/public ProxyPassReverse /public http://10.41.63.12/public From: Gary W. Smith [mailto:[EMAIL PROTECTED]Sent: Mon 6/13/2005 2:39 PMTo: users@httpd.apache.org; users@httpd.apache

RE: [users@httpd] LDAP Authorization with Active Directory

2005-07-14 Thread Gary W. Smith
With the exception of changing the user, domain name and password, this was cut from a working ldap congfiguration. Note the [EMAIL PROTECTED] I could never get the full DN to work properly. This works like a charm. Also, I use forestdnszones as the ldap server as it will pickup any domain cont

RE: [users@httpd] C compiler cannot create executables

2005-06-28 Thread Gary W. Smith
Mount locally, copy the files to the remote location (via ftp or something) then do the package add on the packages that you moved over.   From: chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 10:10 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] C c

RE: [users@httpd] 2 Gig Apache File Size Limit...

2005-06-24 Thread Gary W. Smith
I think this was discussed about 6 months back. If I recall you need to first make sure the filesystem can support files larger than 2gb. I think this was the problem that they had. Gary > -Original Message- > From: Charles Heizer [mailto:[EMAIL PROTECTED] > Sent: Friday, June 24, 2005

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-06-13 Thread Gary W. Smith
(.*) /Exchange [R]   The above rules imply that the only path accessible through the reverse proxy will be one prefixed with /Exchange.   -ascs From: Gary W. Smith [mailto:[EMAIL PROTECTED] Sent: Friday, June 10, 2005 8:58 PMTo: users@httpd.apache.orgSubject: [EMAIL PROTECTED] Rewrite / reverse

[EMAIL PROTECTED] Rewrite / reverse proxy question

2005-06-10 Thread Gary W. Smith
Hello,   We are using reverse proxy an exchange server behind the firewall.  So far everything works fine but I wanted to put a rewrite script in place in the event they users don't type /Exchange/ and do something like /exchange (missing case and backslash).  Can anyone assist on creating the

Re: [users@httpd] RewriteRule question

2005-05-31 Thread Gary W. Smith
think the the first conditional like should have been removed but I left it there during some of the test cases. Still it doesn't work. Gary On 5/31/05 11:46 AM, "Arne Heizmann" <[EMAIL PROTECTED]> wrote: > Gary W. Smith wrote: >> >> I have the following ru

[users@httpd] RewriteRule question

2005-05-31 Thread Gary W. Smith
I have been trying to implement a restriction list on server by referrer only. It doesn't seem to be working. I have a directory called restricted that holds some PDF (as well as other) documents that I want to prevent access to unless they have clicked the link on our site. Most of this is for

RE: [EMAIL PROTECTED] Hacked the website replace the index.hm page

2005-05-08 Thread Gary W. Smith
That's the key right there. You probably need to think of multiple approaches to securing the files (suexec, cgiwrappers, php level tweaks, etc). This is the one place where *nix and apache fall a hair short. What would be nice would be the ability to assign user level settings to each virtual

RE: [EMAIL PROTECTED] Hacked the website replace the index.hm page

2005-05-08 Thread Gary W. Smith
Here is the explanation as you have already presented it: All users sites are owned by httpd There are multiple user sites, we'll say a-z. Site a is running PHPbb with a version known to be buggy. Someone issues a hack against site a. The hack says modify site b-z. Apache says, why not, I own the