cvs commit: modperl-2.0/xs/Apache/Const Const.xs
dougm 01/06/16 12:14:10 Modified:xs/ModPerl/Const Const.xs xs/Apache/Const Const.xs Log: shutup xsubpp plea for prototyping behavior Revision ChangesPath 1.3 +3 -0 modperl-2.0/xs/ModPerl/Const/Const.xs Index: Const.xs === RCS file: /home/cvs/modperl-2.0/xs/ModPerl/Const/Const.xs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Const.xs 2001/06/16 19:11:31 1.2 +++ Const.xs 2001/06/16 19:14:08 1.3 @@ -1,3 +1,6 @@ #include mod_perl.h MODULE = ModPerl::ConstPACKAGE = ModPerl::Const + +PROTOTYPES: disable + 1.3 +2 -0 modperl-2.0/xs/Apache/Const/Const.xs Index: Const.xs === RCS file: /home/cvs/modperl-2.0/xs/Apache/Const/Const.xs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Const.xs 2001/06/16 19:11:33 1.2 +++ Const.xs 2001/06/16 19:14:09 1.3 @@ -3,5 +3,7 @@ MODULE = Apache::ConstPACKAGE = Apache::Const +PROTOTYPES: disable + BOOT: newXS(Apache::Const::compile, XS_modperl_const_compile, __FILE__);
Re: Sending Cookies from Access-Handler - Fixed
Something else, I haven't used CGI's cookie handling, but I have used Apache::Cookie. I know that this can be done from an AuthenHandler and from a TransHandler. --- Rodney Broom
Re: Unsubscribe me
Hi Kheeteck, You'll need to send an email [EMAIL PROTECTED] --- Rodney Broom
mod_perl bof Oreilly Conference TShirts
A month ago I posed a question about TShirts for mod_perl BOF. One group of people did volunteer to do the design and posted interest on here. So if they are still up for it, it would be awesome to start discussing ideas/proof of concept. However, before such a thing can be discussed, unfortunately no one has come up to be able to sponsor the cost for the T-Shirts. So I figure I would raise the question again in case someone has a company that would be willing to corporate sponsor such a thing. __ Gunther Birznieks ([EMAIL PROTECTED]) eXtropia - The Open Web Technology Company http://www.eXtropia.com/
Re: Apache::DBI / DBD::Oracle error
On Mon, Jun 11, 2001 at 04:15:15PM -0700, Eric Kolve wrote: I recently upgraded to DBI 1.18 + DBD::Oracle 1.07 and upon restarts with mod_perl, I get the following error: DBD::Oracle::db rollback failed: Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCITransRollback) at /usr/lib/perl5/site_perl/5.005/Apache/DBI.pm line 153. An error while retrieving the text for an error message may mean that ORACLE_HOME is not set properly. Ronald
Re: Apache::DBI / DBD::Oracle error
Hi all, There seems to be some confusion and even incorrectness in this trail. Let's get some things straight : There is nothing wrong with NLS_LANG.In fact, it is extremely useful in an international setting.Your value is fine. ORA_NLS33 is obsolete in 8.1.7 and should not be set Failure to translate error number to text : Oracle constructs the name of it's message file from the ORACLE_HOME, plus some path, some language code and some product code.You get the error when it can't find the message file.Either the file doesn't exist (shouldn't happen) or it can't find it.Best guess is the ORACLE_HOME is not set or not set correctly. You can always find the error text yourself in $ORACLE_HOME/rdbms/mesg/oraus.msg by grepping for the error number First step to tackle an ORA-3113 ("End-of-file on Communication Channel") is _always_ to find the tracefile in user_dump_dest on the server side and interpret what's in there.The stuff in there is not usually fit for human consumption, but intended for Oracle Support. Nevertheless, it contains all the clues. I should know, I did this kind of support for 7 years. Hope this helps, Mark Ged Haywood wrote: Hi again, On Tue, 12 Jun 2001, Eric Kolve wrote: > Yes, I have NLS_LANG set to AMERICAN_AMERICA.WE8ISO8859P1. I seemed to get on better by removing NLS_LANG and ORA_NLS33 from my environment altogether. > BTW, I am also using the latest oracle client libs (8.17) if this > makes any difference; Dunno! > as well, I am using perl 5.005. Shouldn't think that would stop you, but I'm using 5.7.0. > > > DBD::Oracle::db rollback failed: Error while trying to retrieve text for > > > error ORA-03113 (DBD ERROR: OCITransRollback) at This is really two errors. The first (03113) is a connect problem as was mentioned by another correspondent, the second is translating the numeric error into a text message for you to read, which is a very frustrating thing that Oracle seems to do a lot. I found that some of the errors weren't a problem if the text could be shown to you, but if not then they were show-stoppers. Hence the concern with the language support stuff. Have you tried the Oracle knowledge base? It's really good. 73, Ged. -- Mark Vandenbroeck Mobile : +32-495-59.55.62 Business Process Manager Email : [EMAIL PROTECTED] EMEA Support Information Systems AIM : markvdb
Re: ssl encryption
Yes, it's possible. To achieve this, you should use asymetric encryption, and *not* store the private key in the server. Then, the question remains : how can I have the server safely decrypt on demand ?! one possible solution could be to store the private key in a remote server, dedicated to the unique task of decrypting the sensitive data. A secure tunnel could be established between the two servers, so to communicate the encrypted text, and get back the decrypted text safely. You could even add security by storing the private key in a smartcard, and having the smartcard reader connected to the server. Decryptions would have to be done within the smartcard. It's completely possible, but you almost certainly don't want such CPU-expensive operations be done within a 8-bit smartcard ! On Thu, 14 Jun 2001, Kevin Schroeder wrote: This would make an interesting discussion because I've had the same question come up in my mind. How do you encrypt things on your server without giving out the passphrase? Is it even possible to keep the key in the same location as the program using it and still maintain security? Kevin
Is ProxyPass the best you can do?
I've been thinking about the ProxyPass technique for coping with mod_perl's high memory usage (setup a non-mod_perl httpd that handles all requests, but ProxyPasses the mod_perl calls to a mod_perl enabled Apache). I find that the complexity of this method is more than it should have to be. For one thing, ProxyPass only works on a directory. But if you have images and scripts in the same directory, this is a problem (and it's convenient to be able to have them in the same directory, so that your scripts can a href=image.jpg instead of a href=/images/image.jpg especially when you have a lot of images in different directories). Is there a way to ProxyPass by file extension or something? -Philip Mak ([EMAIL PROTECTED])
Re: Is ProxyPass the best you can do?
Squid is the alternative mentioned in the mod_perl_tuning.pod that comes with mod_perl. Alternatively, you could try using mod_rewrite, to direct requests for scripts to a different apache instance (e.g. running on a separate port or ip). I've never tried this, but it should work. Squid might be more efficient. cheers, Martin On Sunday, June 17, 2001, at 03:43 am, Philip Mak wrote: I've been thinking about the ProxyPass technique for coping with mod_perl's high memory usage (setup a non-mod_perl httpd that handles all requests, but ProxyPasses the mod_perl calls to a mod_perl enabled Apache). I find that the complexity of this method is more than it should have to be. For one thing, ProxyPass only works on a directory. But if you have images and scripts in the same directory, this is a problem (and it's convenient to be able to have them in the same directory, so that your scripts can a href=image.jpg instead of a href=/images/image.jpg especially when you have a lot of images in different directories). Is there a way to ProxyPass by file extension or something? -Philip Mak ([EMAIL PROTECTED])
Re: Is ProxyPass the best you can do?
On Sun, 17 Jun 2001, Martin Redington wrote: Squid is the alternative mentioned in the mod_perl_tuning.pod that comes with mod_perl. Can Squid read Apache configuration files? On a new site I'm making (www.shoujoai.com), I have directives in httpd.conf like this: RewriteRule ^/fanfics/([a-zA-Z_0-9\-]+)/$ /fanfics/series.asp?series=$1 so that viewing http://www.shoujoai.com/fanfics/*/ actually calls an Apache::ASP script. But, only by reading the httpd.conf would one be able to tell that it's a script instead of a normal directory. Alternatively, you could try using mod_rewrite, to direct requests for scripts to a different apache instance (e.g. running on a separate port or ip). I've never tried this, but it should work. You can use RewriteRule to make it proxy the request to another Apache? I thought you can only alias a URL to a file, or make it send an HTTP redirect. How do you make it proxy? -Philip Mak ([EMAIL PROTECTED])
Re: Is ProxyPass the best you can do?
- Original Message - From: Philip Mak [EMAIL PROTECTED] To: modperl [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 9:31 PM Subject: Re: Is ProxyPass the best you can do? On Sun, 17 Jun 2001, Martin Redington wrote: Squid is the alternative mentioned in the mod_perl_tuning.pod that comes with mod_perl. Can Squid read Apache configuration files? On a new site I'm making (www.shoujoai.com), I have directives in httpd.conf like this: RewriteRule ^/fanfics/([a-zA-Z_0-9\-]+)/$ /fanfics/series.asp?series=$1 so that viewing http://www.shoujoai.com/fanfics/*/ actually calls an Apache::ASP script. But, only by reading the httpd.conf would one be able to tell that it's a script instead of a normal directory. Alternatively, you could try using mod_rewrite, to direct requests for scripts to a different apache instance (e.g. running on a separate port or ip). I've never tried this, but it should work. You can use RewriteRule to make it proxy the request to another Apache? I thought you can only alias a URL to a file, or make it send an HTTP redirect. How do you make it proxy? This is what you are looking for i think http://thingy.kcilink.com/modperlguide/scenario/mod_rewrite_Examples.html -Philip Mak ([EMAIL PROTECTED])
Re: Is ProxyPass the best you can do?
Can Squid read Apache configuration files? On a new site I'm making (www.shoujoai.com), I have directives in httpd.conf like this: Never used it, I'm afraid ... Alternatively, you could try using mod_rewrite, to direct requests for scripts to a different apache instance (e.g. running on a separate port or ip). I've never tried this, but it should work. You can use RewriteRule to make it proxy the request to another Apache? I thought you can only alias a URL to a file, or make it send an HTTP redirect. How do you make it proxy? Ah. I was assuming that redirects would be ok (it would be in my environment) ...