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
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 |
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
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
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 |
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
: 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
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
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
/(.*)(/)?$ 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
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
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
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
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
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
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
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
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...
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,
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
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
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.
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
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
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
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
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
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
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
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
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
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.
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(
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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:
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.
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
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:
53 matches
Mail list logo