Re: [EMAIL PROTECTED] Compile with modules - howto?

2006-12-26 Thread Boysenberry Payne
perl_module modules/mod_perl.so LoadModule apreq_module modules/mod_apreq2.so LoadModule php5_modulemodules/libphp5.so Hope this helps... You can email me off list if you need more help also... ;) Happy New Year everyone Boysenberry Payne [EMAIL PROTECTED] On Dec 26, 2006, at 8:03

Re: [EMAIL PROTECTED] Free Web Benchmark...

2006-11-16 Thread Boysenberry Payne
Do any of these benchmarking programs work with ajax or other asynchronous loading methodologies, like flash, etc.? I find it next to impossible to get an accurate benchmark when I'm only loading the top level html page Thanks, Boysenberry boysenberrys.com | habitatlife.com |

[EMAIL PROTECTED] question about runaway children

2006-09-23 Thread Boysenberry Payne
I'm getting the following kind errors on apachectl restart:[warn] child process 1321 still did not exit, sending a SIGTERMIt happens every so often, and I was wondering what it indicates?I'm running:Apache/2.2.3 (Unix) PHP/5.1.4 mod_ssl/2.2.3 OpenSSL/0.9.7i DAV/2 mod_apreq2-20051231/2.5.7

Re: [EMAIL PROTECTED] mod_rewrite-question

2006-09-15 Thread Boysenberry Payne
RewriteEngine onRewriteRule /SingleSignOn/SingleSignOn?r=/dom(.*) /SingleSignOn/SingleSignOn?r=/domI think this ought to work.  Without having a more accurate example I might be wrong,but I think this will do it... Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Sep

Re: [EMAIL PROTECTED] A NetHack-esque Journey of the dark arts for DBD(mysql) under httpd-2.2.3

2006-08-30 Thread Boysenberry Payne
I ran into difficulties with getting the dbd_auth to work also. My solution was to remark it out of the config file and use mod_perl to authenticate via DBD::mysql. Sure saved me a lot of the head aches you had. But you probably don't use mod_perl. Thanks, Boysenberry boysenberrys.com |

Re: [EMAIL PROTECTED] How to redirect to SSL if authentication is requested

2006-07-24 Thread Boysenberry Payne
I think you'll have to use your own authentication script or in other words you'll have to authenticate only after you see that authentication is needed rather than automatically based off of access settings. A script that can tell whether or not someone is using https and whether or not

Re: [EMAIL PROTECTED] How to redirect to SSL if authentication is requested

2006-07-24 Thread Boysenberry Payne
: Boysenberry Payne [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 9:59 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] How to redirect to SSL if authentication is requested I think you'll have to use your own authentication script or in other words you'll have to authenticate

Re: [EMAIL PROTECTED] Alias and Rewrite directives

2006-07-24 Thread Boysenberry Payne
I think you might need to include php files that are out of the kitchen so to speak via a php file that is in the www area Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Jul 24, 2006, at 10:14 AM, Pieter Vanmeerbeek wrote: Hi, I'm trying to redirect a

[EMAIL PROTECTED] looking for a good book on using multiple servers together...

2006-07-22 Thread Boysenberry Payne
I was wondering if anyone was familiar with any books that would cover the following: Load Balancing Proxies Using multiple servers together e.g. database server, apache (static server), dynamic server (perl, etc.) all on separate hardware Different examples of cluster configuration Ideally

Re: [EMAIL PROTECTED] help with rewrite rule

2006-07-19 Thread Boysenberry Payne
/(.*)(/)?$ http://localhost:81/$1$2 you need the second dollar variable to pick up the second pair of brackets, instead of always appending a slash. Mike Soultanian wrote: Boysenberry Payne wrote: How about adding this: RewriteRule /(.*)(/)?$ http://localhost:81/$1/ [P] That almost worked

Re: [EMAIL PROTECTED] help with rewrite rule

2006-07-17 Thread Boysenberry Payne
How about adding this: RewriteRule /(.*)(/)?$ http://localhost:81/$1/ [P] Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Jul 17, 2006, at 1:40 PM, Mike Soultanian wrote: Hello, We have to proxy our requests on our web server but we're running into some

Re: [EMAIL PROTECTED] help with rewrite rule

2006-07-17 Thread Boysenberry Payne
of images and the like. Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Jul 17, 2006, at 2:04 PM, Mike Soultanian wrote: Boysenberry Payne wrote: How about adding this: RewriteRule /(.*)(/)?$ http://localhost:81/$1/ [P] That almost worked! That's interesting

[EMAIL PROTECTED] Tracking down intermittent latency

2006-07-10 Thread Boysenberry Payne
I'm running a production server using Apache2.2.2 with MP2.0.2, perl5.8.8, mysql4.1.14 and libapreq2. Every once in a while I'm noticing server latency, even though it pings fine. Wondering the best way to track down server latency in a production environment without interrupting a low server

[EMAIL PROTECTED] Looking for the best way to update a production server

2006-07-08 Thread Boysenberry Payne
I'm trying to avoid interruption of service as much as possible, but don't have an alternative box to run on while I update. Is there a preferred way to do this? Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com

Re: [EMAIL PROTECTED] Question about redirecting

2006-04-21 Thread Boysenberry Payne
I think you should be able to do it like this: RewriteEngine on RewriteRule ^(.*)/administrator/(.*)$ https://domain.com/ or if you want to push the data from the original request: RewriteRule ^(.*)/administrator/(.*)$ https://domain.com/$1/administrator/$2 Just remember the $1 above is

[EMAIL PROTECTED] Odd intermittent mod_unique_id error on OS X 10.3.9 Apache 2.0.55

2006-04-12 Thread Boysenberry Payne
Hi All, I'm getting the following error: [Wed Apr 12 11:29:09 2006] [alert] (EAI 7)No address associated with nodename: mod_unique_id: unable to find IPv4 address of pod.local Configuration Failed If I reboot, it seems fine. Any ideas on what could be causing it. I guess I could remove

Re: [EMAIL PROTECTED] Retry: HostnameLookups timeout?

2006-03-22 Thread Boysenberry Payne
What about using some kind of handler that forks its own lookup routine outside of apache (or mod_perl, perl, phython, php, etc?) Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Mar 22, 2006, at 9:14 AM, Markus Mayer wrote: Hi All, I posted this one Thursday last

Re: [EMAIL PROTECTED] Apache 1.3.x vs 2.0.x

2006-02-24 Thread Boysenberry Payne
Even though speed might not be a factor in upgrading if you are using pre-fork and php/mod_perl/etc, at least mod_perl (version2) has significant upgrades in how it interacts with apache2 vs. apache1.3. For me it has impacted speed and size, in that I've been able to do more with less...

Re: [EMAIL PROTECTED] Pretty URLs with .htaccess

2006-02-12 Thread Boysenberry Payne
As long as .htaccess files are enabled try: RewriteEngine on RewriteRule ^(.*)comments/blogid/(.*)[/]?$ /html/comments.php?blogid=$1 I think that will do it for you. You'll want to validate as usual... Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Feb 11,

Re: [EMAIL PROTECTED] monitor hooks docs in apache 2.2

2006-02-12 Thread Boysenberry Payne
Other than the initial blurb about it I could only find general hook info here: http://httpd.apache.org/docs/2.0/developer/hooks.html If you find something more, let me know, seems like a very useful hook to hack... Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Feb

Re: [EMAIL PROTECTED] monitor hooks docs in apache 2.2

2006-02-12 Thread Boysenberry Payne
Is there more information online about hooks you'd suggest checking out? Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Feb 12, 2006, at 9:10 AM, Nick Kew wrote: On Sunday 12 February 2006 14:07, Boysenberry Payne wrote: Other than the initial blurb about it I

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

2006-02-11 Thread Boysenberry Payne
I'm catching this thread late, did you already reinstall apache w/php? Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Feb 11, 2006, at 9:18 AM, CasperLinux wrote: Anyone have any input? I am googling till my fingers hurt and everything I find says it should be running.

Re: [EMAIL PROTECTED] Cookie problem in IE, but not FF

2006-02-01 Thread Boysenberry Payne
You'll probably get a better response from the mailing list that are more geared towards Apache2::Cookie... the mod_perl list is: modperl@perl.apache.org The module specific list for Apache2::Cookie is: apreq-dev@httpd.apache.org Without knowing what you're trying to do with your code I might

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

2006-02-01 Thread Boysenberry Payne
If they're a business you can report them to the better business bureau, or something similar. Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Feb 1, 2006, at 9:42 PM, Alvaro Cobo wrote: Hi guys: Sorry for this off-topic, but I think this is of interest of all of us

Re: [EMAIL PROTECTED] Compiling apache 2 modules

2006-01-30 Thread Boysenberry Payne
This is what I used: ./configure --with-mpm=prefork --enable-mods-shared=all --enable-ssl --with-perl=/usr/bin/perl It's all DSO for me. I think it might be DSO because of this: --enable-mods-shared=all Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Jan 30, 2006, at

Re: [EMAIL PROTECTED] reverse proxy - forward ip

2006-01-30 Thread Boysenberry Payne
Maybe try this: RewriteRule ^(.*)$ http://unique.host.com:8000/$1?ip=%{REMOTE_ADDR} [P] or RewriteRule ^(.*)$ http://unique.host.com:8000/index.php?request=$1ip=%{REMOTE_ADDR} [P] with a rewrite rule on the receiving server to bring it back to the original request. You probably

Re: [EMAIL PROTECTED] Apache not working

2006-01-29 Thread Boysenberry Payne
Try making a blank index.html with a text editor (it should be a text file not rich media, etc.) or copy an index.html file from somewhere else. Then put it into the root htdoc directory and see if it works. Also you might want to check your logs for any errors. Boysenberry

Re: [EMAIL PROTECTED] Apache 2.0 running but http://localhost won't work.

2006-01-27 Thread Boysenberry Payne
You might need to set: ServerName 127.0.0.1 in your httpd.conf file Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Jan 27, 2006, at 12:41 PM, Chris D'Ambrosio wrote: hi, i just recently downloaded Apache 2.0 to my system (apache_2.0.55-win32-x86-no_ssl.msi)   i'm

Re: [EMAIL PROTECTED] Having problem while requesting for pages while downloading something from http server.

2005-12-31 Thread Boysenberry Payne
Which MPM type prefork? Also, what are the following in your httpd.conf file: StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 for the php file you can try putting the following into an .htaccess file if you have AllowOverride

Re: [EMAIL PROTECTED] Newbe needs help passing form data

2005-12-30 Thread Boysenberry Payne
In your httpd.conf file how do you have it set up to handle the directory you're working in? Can you paste an example e.g.: Alias /perl/ /usr/local/apache2/perl/ Location /perl SetHandler perl-script PerlHandler Apache::Registry PerlSendHeader On Options

Re: [EMAIL PROTECTED] Delete Blank Lines In A Text File

2005-12-27 Thread Boysenberry Payne
Try: $string = file_get_contents( test.text ); $string = file_put_contents( test.text, preg_replace( /(\r\n|\r|\n)(\s)*(\r\n|\r|\n)/, $1, $string ) ); Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Dec 27, 2005, at 3:16 PM, Christopher Deeley wrote: Does anyone know

Re: [EMAIL PROTECTED] Detecting Javascript via Apache 2

2005-12-27 Thread Boysenberry Payne
You probably want to assume it doesn't then if it does set a cookie or establish it via link or by using javascript to tell php it does and save it in the session. Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Dec 27, 2005, at 5:49 PM, [EMAIL PROTECTED] wrote: Hi all.

Re: [EMAIL PROTECTED] Form Login Script

2005-12-27 Thread Boysenberry Payne
Try: ?php session_start(); function response( $text ) { echo $text; return; } $bad_user = Invalid User Name; $bad_pass = Invalid Password; $good_log = Valid User. Login Successful; $usr = $_POST['username']; $pass = $_POST['password']; $valid_match = /([a-z0-9-_])+/i; if(

Re: [EMAIL PROTECTED] Can Anyone Recommend A Log Analyzer?

2005-11-12 Thread Boysenberry Payne
This is my favorite, kind of a standard: http://awstats.sourceforge.net/ Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Nov 12, 2005, at 10:25 AM, David P. Donahue wrote: I'm looking for some recommendations for freeware (open source a plus, but not really necessary) log

Re: [EMAIL PROTECTED] rewrite module eliminate the of .html address

2005-11-11 Thread Boysenberry Payne
Try RewriteEngine on RewriteRule ^(.*)edgebanding[/]?$ /edgebanding.html Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Nov 11, 2005, at 10:16 AM, Thomas J Berger wrote: I would like to eliminate my user from having to type

Re: [EMAIL PROTECTED] Serving dynamic pages with C

2005-11-05 Thread Boysenberry Payne
I didn't know it was abandoned, sorry. Is there going to be an equivalent? Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Nov 5, 2005, at 12:10 PM, Nick Kew wrote: On Saturday 05 November 2005 18:04, Boysenberry Payne wrote: It probably the best one until this comes out

Re: [EMAIL PROTECTED] Serving dynamic pages with C

2005-11-05 Thread Boysenberry Payne
What list is the Apache Modules list, I'll sign up for that one too. Never hurts to learn new things. Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Nov 5, 2005, at 12:18 PM, Nick Kew wrote: On Saturday 05 November 2005 18:14, Boysenberry Payne wrote: I didn't know

Re: [EMAIL PROTECTED] Serving dynamic pages with C

2005-11-04 Thread Boysenberry Payne
I good book to check out is Writing Apache Modules with Perl and C by O'Reilly. http://www.oreilly.com/catalog/wrapmod/desc.html Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Nov 3, 2005, at 6:58 PM, Rob Belics wrote: I would like my Apache server to dynamically create

Re: [EMAIL PROTECTED] How to access files via apache stored in InItCaps

2005-11-03 Thread Boysenberry Payne
You could use a registry expression with mod_rewrite something like: RewriteEngine on RewriteRule ^(.*)[Tt][Ee][Ss][Tt][Pp][Aa][Gg][Ee]\.txt$ /testpage.txt This is by no means a great example of either mod_rewrite or rexexp but it's a start... If you have .htaccess files enabled you

Re: [EMAIL PROTECTED] [OT] Apache and PHP/MP

2005-11-02 Thread Boysenberry Payne
When I was beginning perl seemed way too hard. PHP was pre-installed on my server so a ran with it. I also used Javascript and Actionscript. After a while perl seemed like the Holy Grail of languages and I found my self pulled to it like a moth to a flame. After using PHP for about 5 years I

Re: [EMAIL PROTECTED] [OT] Apache and PHP/MP

2005-11-02 Thread Boysenberry Payne
The only thing I'm afraid of is mod_perl not getting the proper respect if deserves in the development community by new comers. If it looses developers because of ignorance in the communities attracting them then the internet as a whole looses. To continue to have the wealth of resources

Re: [EMAIL PROTECTED] Apache and PHP

2005-11-01 Thread Boysenberry Payne
Are there any errors in the error_log when the mishap happens? Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Nov 1, 2005, at 1:28 AM, Malka Cymbalista wrote: Thanks very much for your reply. I read the document you referred me to and it seems to me that it is for

Re: [EMAIL PROTECTED] Apache and PHP

2005-11-01 Thread Boysenberry Payne
I understand, for me it was kind of like after having using a hammer for so long the nail gun feels good, you know ;) Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Nov 1, 2005, at 9:46 AM, Joshua Kogut wrote: It isn't that multipurpose tool couldn't do anything that

Re: [EMAIL PROTECTED] Apache and PHP

2005-10-31 Thread Boysenberry Payne
That's funny I did the opposite, started with PHP and went to MP after a few years at PHP. Just out of curiosity, why would one go from MP to PHP? It seems like you're giving up a lot in the move. Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Oct 31, 2005, at 1:44 PM,

[EMAIL PROTECTED] Error on apachectl start

2005-10-14 Thread Boysenberry Payne
I'm using OSX 10.3.9 and had the following error while trying to start apache: Syntax error on line 255 of /opt/local/apache2/conf/httpd.conf: Cannot load /opt/local/apache2/modules/mod_ssl.so into server: dyld: /opt/local/apache2/bin/httpd Undefined symbols:\n_X509_INFO_free\n_X509_free\n

Re: [EMAIL PROTECTED] Error on apachectl start

2005-10-14 Thread Boysenberry Payne
I forgot I am trying to get Apache 2.0.55 working. I had Apache 2.0.54 before this. It was working fine. Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Oct 14, 2005, at 5:36 PM, Boysenberry Payne wrote: I'm using OSX 10.3.9 and had the following error while

Re: [EMAIL PROTECTED] Re: Apache running with PID of 0

2005-10-05 Thread Boysenberry Payne
Is PHP5 installed as package? Binary or Source? Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Oct 5, 2005, at 2:32 PM, Shankar Unni wrote: Duncan Drury wrote: Output from ps -aux |grep httpd root 645 99.0 0.8 8208 3920 ?? Rs7:47PM 2:29.57

Re: [EMAIL PROTECTED] Apache running with PID of 0

2005-10-04 Thread Boysenberry Payne
What happens when you do an apachectl restart or stop? Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Oct 4, 2005, at 1:15 PM, Duncan Drury wrote: I am having some trouble with my installation of Apache and PHP, which had previously been running fine on FreeBSD. I think

[EMAIL PROTECTED] moving .htaccess rewrite cond to httpd.conf

2005-10-04 Thread Boysenberry Payne
I have a server that has .htaccess files with mod_rewrite instructions. Now I want to move the instructions into httpd.conf so I don't have to put into each of our clients sites anymore. It's nothing special (the rewrite conditions) and I want it for all of our virtual hosts. How do I need to

Re: [EMAIL PROTECTED] Is using vairables in apache config file possible?

2005-09-22 Thread Boysenberry Payne
What about mod_perl, mod_ruby, or mod_phython? I know at least mod_perl can be used in the configuration directives. Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Sep 22, 2005, at 5:42 AM, Krist van Besien wrote: On 9/22/05, Davide Bianchi [EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] Getting Alert on apachectl start preventing Apache2 from starting

2005-09-21 Thread Boysenberry Payne
I'm getting the following error when I try to start up my apache server: [Wed Sep 21 15:19:41 2005] [alert] (EAI 7)No address associated with nodename: mod_unique_id: unable to find IPv4 address of pod.local Configuration Failed How can I correct it, or troubleshoot why it's happening even.

Re: [EMAIL PROTECTED] Blocking harrassment

2005-09-19 Thread Boysenberry Payne
What about making a rewrite rule in httpd.conf or a .htaccess file something that redirects them to yahoo.com or something similar? Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Sep 19, 2005, at 6:46 PM, Jean-Christophe Montigny wrote: Hello, Joshua Slive wrote: I

[EMAIL PROTECTED] Having error on Apachectl start

2005-09-14 Thread Boysenberry Payne
Hello, When I try to start Apache I get the following errors: dyld: /usr/local/httpd/bin/httpd version mismatch for library: /usr/local/httpd/lib/libexpat.0.dylib (compatibility version of user: 6.0.0 greater than library's version: 2.0.0) /usr/local/httpd/bin/apachectl: line 100: