::errstr;
As I understand, I may write a handler, which would have such code,
and then use pnotes to export $database_connect variable to other handlers.
Could anyone give me any example of such tasks ?
Best regards,
Vladimir S. Tikhonjuk
it ?
Best regards,
Vladimir S. Tikhonjuk
options.
Best regards,
Vladimir S. Tikhonjuk
Hi all!
I need some advice on how to make some comfort into mod_perl
Response Handler.
I used cookies and sessions to authenticate and authorizate user
into my app ( Apache2::AuthCookie ). So, every handler ( or most of them
) have to get cookie, take a session id from it, makes
Hi all
I get the next error, when I'm trying to use AuthCookie:
failed to resolve handler Promtelecom::Authentication
I put Promtelecom/Authentication.pm into /usr/local/lib/site_perl, which
is in my @INC path list.
Here is my httpd.conf:
PerlModule Promtelecom::Authentication
HI all !
I want to make a Database Authentication for my site. I have a
PostgreSQL Database. I made a connect_on_init
by user 'web_user' to the database.
The question is: where better to make site users ? Create them as
database users and put into system pg_shadow and pg_group tables or
Hi all!
I'm thinking about 2 methods of authentication users for my site.
May be you'll help me to choose one of them, or advice me something else.
The first method: using PerlAuthenHandler on '/' Location.
The second method: simple handler, for example
http://localhost/login, which
Well, I installed last versions of Apache ( 2.0.58 ), DBI ( 1.50 ),
Apache-DBI ( 1.01 ) and mod_perl ( 2.0.2 ).
Here is my stutup file:
# Start of apache-dbi-startup.pl
use Apache::DBI;
use DBI;
$Apache::DBI::DEBUG = 1;
Apache::DBI-connect_on_init(
dbi:Pg:dbname=database;host=localhost,
Philip M. Gollucci пишет:
Vladimir S. Tikhonjuk wrote:
Philip M. Gollucci пишет:
Vladimir S. Tikhonjuk wrote:
I set in httpd.conf variable like: PerlSetVar var test;
How can I get it in the startup.pl script ?
http://perl.apache.org/docs/2.0/user/config
Scott Penrose пишет:
On 01/08/2006, at 15:50, Vladimir S. Tikhonjuk wrote:
So, as I understant, If I want authenticate user before seeing every
page, I have to put
Location /
PerlAuthenHandler Promtelecom::Authentication
AuthType Basic
AuthName Promtelecom Network
Require valid-user
John ORourke пишет:
Vladimir S. Tikhonjuk wrote:
O.K. Thanks for answer :)
I want to write rather big project. How I have to construct it: I mean,
should I make a lot of handlers, like, /debitor, /debitor/documents,
/debitor/documents/contracts Or, create *.pl scripts. Or may
I will get 5 database connections.
Best regards,
Vladimir S. Tikhonjuk
Hi everyone!
I have Authentication handler, which I set like:
Location /
PerlAuthenHandler Promtelecom::Authentication
AuthType Basic
AuthName Promtelecom Network
Require valid-user
/Location
Alseo I have 2 simple PerlHandler's: Debitor and DebitorDocuments, which
Hi all!
Our company has a backoffice project written on C++ ( Qt ) for Linux
by my department. But nessesity appear's to make WEB interface, with all
functions which our C++ program does. Now I have to choose among a lot
of languages and technologies of WEB development.
I have a lot of
new string in
err_log here:
11838 Apache::DBI new connect to
'dbname=database;host=databaseuserpasswordAutoCommit=0PrintError=1Username=user'
Where is a mistake ?
Best regards,
Vladimir S. Tikhonjuk
15 matches
Mail list logo