g 'reload' and seeing the same
stuff come up time and again. This is probably related to the main problem.
Thanks for any help, and sorry about the long post
-Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
; but in terms of fitness-for-purpose I think it
works very well as-is.
Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ipt? Is there a
... section I can put into the httpd.conf?
Thanks for any help
Regards
Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ding the -
I directive might be an option to ./configure, I can't recall.
HTH
Ellers
>
> [root@main DBD-mysql-2.1011]# make
> cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -
I'/usr/in
> clude/mysql' -fno-strict-aliasing -I
missing
document (404) requests. Presumable 401 would work identically?
ErrorDocument 404 /404.asp
Then in 404.asp you can put whatever you want.
HTH
Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
$arg2 );
[my_sub_do_something.asp]
<%
my ( $first, $second ) = @;
...
return 1;
%>
I appreciate not everyones needs are the same as mine - and the above
doesn't eliminate using packages and the global.asa, but sometimes
I've found it useful.
HTH
Ellers
-
kages
>0" in httpd.conf, both Login.pl and consts.pl are in the same
>package, and there should be a simple way for any script in
>the package to use variables declared in other scripts of the
>package. Or am I wrong? Please let me know.
>
Not wrong, just leverage global.a
ta',
);
### print 10 rows from the table... could use default layout or
### templates (a'la CGI::FormBuilder)
print $browseRows->printHTML( Template => 'table_template.html' );
%>
I had a quick go at it when I first started
me ;)
I'm sure others would be too
Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
lowing stuff like:
[inc_user_details.asp]
User Name: <%= $cgiform->{'field_user_name'} %>
etc
This isn't existing functionality in FormBuilder, but if anyone else
thinks its a worthy idea it could be recommended to the author.
Ellers
>
>-Original Messa
27; : '' ) %>
<%= $fieldRef->{ 'label' } %>
<%= ( $fieldRef->{ 'required' } ? '*' : '' ) %>
<%= ( $fieldRef->{ 'invalid' } ? '' : '' ) %>
<%= $fieldRef->{ 'field' }
y mean a complete re-write of
all of your code. Perl is great, but I hope re-writing is what you want to do...
Ellers
4/10/02 12:15:57 AM, "Ismael Touama" <[EMAIL PROTECTED]> wrote:
>Hi & hello all (new)
>
>Ok I intend to install mod_perl
>so in where untarrin
t need to
build mod_perl yourself. Then all you would need is to build/install Apache::ASP.
There might even be an RPM for Apache::ASP, I'm not
sure.
HTH
Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
going to cause problems
down the line!
Ellers
1331a1333,1341
>
> # Ellers 02APR29 - with long includes can exceed perl's inbuilt limit on
>function names
> if ( length( $subid ) > 245 )
> {
> my $n = length( $subid ) -
global.asa to
>some other directory that is not www browsable:
>
> PerlSetVar Global /cannot/browse/this/path
FWIW we always put the global.asa outside of the html tree. The
purpose of the global.asa file is not to be exposed to the httpd
server, so it doesn't belong ther
urn $theDatabase;
}
Even better is to setup the database to be authenticated some other way. With mysql
you can use the .my.cnf (is that the right filename?)
etc.
HTH
Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ve to tell Apache to look backwards (or whatever) in the URL and
resolve to use lookup/index.asp?
I'm sure it can be done somehow, but I'm not sure... maybe a special
directive?
Any tips appreciated!
Ellers
-
Many thanks to those who replied.
I went with the strategy using a file called 'lookup' and
using $ServerVariables( 'PATH_INFO' ) - works beautifully after
getting a few extra ASP settings into the httpd.conf
Thanks again!
Ellers
At 11:25 AM -0700 1/6/02, Jim Helm wr
'parse' it
like Apache would; its a configuration issue for sure
Ellers
>Philip,
>
>Thanks for your input. The virtual server is the same listening on por 80
>and 443 respectively, I've looked at the documentation and I can't find,
>clearly, what directives I
Could you make the functions in the cgi script (presuming it is perl) in the
global.asa and then just run the funcs?
HTH
Ellers
6/5/02 4:36:25 PM, "Ian Cass" <[EMAIL PROTECTED]> wrote:
>Hi,
>
>Bit of a puzzler here. What would be the correct way of running a CGI and
>
uff directly
Might be more than you need right now, but it might ultimately be a more powerful
solution
Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ed then see Note 3.
$streamName = "QUERY_STRING=\"$ENV{QUERY_STRING}\" ./blah.cgi --no-header-foote
r |";
open( STREAM, $streamName ) or die "Uh-oh, couldn't open the stream";
LINE: while ( defined( $line = ))
{
# Note 3: skip these checks if can request no hea
#x27;re
guaranteed the password is checked no matter what page is requested.
HTH
Ellers
At 5:02 PM -0500 5/6/02, Broc Seib wrote:
>Hi,
>
>I can write an asp app like this:
>
>--
> <%
> ## the top half of thi
>
> What do I type in the apache config file so I can view asp pages?
> I've tried the syntax but I get an error the server won't
> start.. what exactly is it that I have to type? I'd appreciate it...
>
> Server Specifications:
> Apache 2.0
> WIndows98 SE
What error does the server report
ww.apache-asp.org) it
should all work out of the box
Let the list know how you get on
Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
are you using currently and what version are you going to?
>And about patch ? I guess i must stop httpd, apply, and then
>start...???
what sort of patch... are you applying a source patch?
>And what about my actual configuration now, will it take
>care of additionnal informatio
have
<%=e($story->title)%>
by <%=e($story->author->name)%>
<%=e($story->description)%>
I found most of the time I don't need to enocde the strings when I output them... but
I guess there's always the 1% of fields that actually
have a "<"
>> sub e( )
>> {
>> return $Server->HTMLEncode( @_ );
>> }
>
>I might also create an XMLSubs like
>
> <%= $story->{title} %>
>
>so that the tag does it for you defined like:
>
>sub enc {
> my($attr, $html) = @_;
> print $main::Server->HTMLEncode($html);
>}
Ahh, I start to see h
similar manner
to the MS VB ASP model.
>2. How to configure the Apach webserver support EJB?
>What add-on I need to install and where I could
>download it
I don't know, but try www.apache.org or http://java.sun.com/
>Thank y
There is probably a way but I don't know anything much about VB ASB - only
Perl/Apache::ASP - sorry!
Someone else on the list can probably help.
Ellers
7/11/02 10:24:03 PM, toronto it <[EMAIL PROTECTED]> wrote:
>Deat Ellers:
>
>I would like to configure my computer to ru
Data::Dumper the session is saved in (partially) english.
# Using Storable would be faster and smaller, but in binary. Not
# suitable, at least for development.
PerlSetVar StateSerializer Data::Dumper
# definitely want Perl to use strict scoping etc
PerlSetVar UseStrict 1
ers but I can't think of them right now!
Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
either the Script_OnStart section (prob not necessary in
the case of constants) or just in the global.asa file, anywhere.
HTH
Ellers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
33 matches
Mail list logo