You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by w trillich <wi...@pinncomp.net> on 2000/04/19 21:09:34 UTC

Re: in configs KAPUT

> In a running httpd you can see how you have configured the C<<Perl>>
> sections through the URI
> L</perl-status|debug/Apache_Status_Embedded_Inter>, by choosing I<Perl
> Section Configuration> from the menu. In order to make this item show
> up in the menu you should set C<$Apache::Server::SaveConfig> to a true
> value. When you do that the I<Apache::ReadConfig> namespace (in which
> the configuration data is stored) will not be flushed, making
> configuration data available to Perl modules at request time.

i must be thick today.

not only can i get no effect from <perl>do "file.pl"</perl> but
http://localhost/perl-status|debug/Apache_Status_Embedded_Inter
gives me 404 not found. 

/perl-stat by itself works fine; from there i can tell the
PerlRequire (actually <perl>do "file"</perl>) has been run.

i just want a couple simple virtual hosts on one ip number.

the perl code (under "package Apache::ReadConfig;" of course)
does run (i can tell by having it display the same string it
sends to Apache->httpd_conf()) but doesn't change any apache
settings.

if this helps, here's the display from
	http://localhost/perl-status?ApacheReadConfig . . .
hashes
		ApacheReadConfig::Directory,
		ApacheReadConfig::DirectoryMatch,
		ApacheReadConfig::Files,
		ApacheReadConfig::FilesMatch,
		ApacheReadConfig::Limit,
		ApacheReadConfig::Location,
		ApacheReadConfig::LocationMatch,
		ApacheReadConfig::VirtualHost
ios
		ApacheReadConfig::TTY

any clues?