04-04-2008
Quote:
Originally Posted by
BrewDudeBob
ok...I feel silly now...I just found it:
root> pkginfo|grep gcc
system SUNWgcc gcc - The GNU C compiler
system SUNWgccruntime GCC Runtime libraries
root>
I am unsure though how to install it. do I use pkgadd?
Oh, I didnt realize Solaris shipped with gcc. The compiler is in /usr/sfw/bin.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Currently our Apache log files are huge, I want to put say a month's time limit on this, then when it hits the end of the month I would like it to start over writing.
Does anyone know where the config file is for this and what its called? I also want to do exactly the same on wtmp config (who... (1 Reply)
Discussion started by: Webwitch
1 Replies
2. UNIX for Dummies Questions & Answers
I need help doing two things in my Apache Config....
1) Creating a Referer log where only domains other than my own (or a list I specify) are logged
...and...
2) I want to replace images loaded from my site, on other sites, it a standard RED "stolen" image. I currently have code in place... (2 Replies)
Discussion started by: l008com
2 Replies
3. Web Development
okay i'm going to try to say this uber-simple:
I use dropbox (file-sync service). in order for dropbox sync files, they must be its children eg. somewhere under /home/jzacsh/Dropbox].
I want to now use it to keep my development files in sync across my machines:
easy: just move my dev. files... (2 Replies)
Discussion started by: jzacsh
2 Replies
4. Shell Programming and Scripting
Hi there, am trying to parse an Apache 'server' config file. A snippet of the config file is shown below:
.....
ProxyPassReverse /foo http://foo.example.com/bar
.....
.....
RewriteRule ^/(.*) http://www.example.com/$1
RewriteRule /redirect https://www.example1.com/$1
........ (7 Replies)
Discussion started by: jy2k7ca
7 Replies
5. IP Networking
I searched the forum and found a similar question (https://www.unix.com/ip-networking/119108-dhcpd-related-questions.html), but my config is already utilizing the suggested fix... :(
My setup:
eth0 connected to Motorola DSL Modem via bridged mode (giving the public IP to the interface), IP... (1 Reply)
Discussion started by: macwunder
1 Replies
6. Web Development
Hi Gurus
I am a newbie in Apache.
I want to configure Apache Web server(A for reference) to receive all requests on Port-843 to be redirected to another Apache web server(B) and access a crossdomain.xml(located in /var/www/html) file there.
I have put the following entries in... (0 Replies)
Discussion started by: Hari_Ganesh
0 Replies
7. Web Development
I am attempting to control redirections on my site using the Apache vhosts config.
I have two-letter regions setup, such as /fr, /de, /es, which I am currently ignoring as you will see from my vhosts file below. However I also have a 301 permanent redirect setup to redirect /cm (and /fr/cm,... (3 Replies)
Discussion started by: crmpicco
3 Replies
8. Red Hat
Hi folks,
I am trying to configure Apache webserver and also a virtual host inside this webserver.
For Global server config: /var/www/html/index.html
For virtual host config: /var/www/virtual/index.html
Both client10 & www10 are pointing to 192.168.122.10 IP address.
BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies
9. Web Development
im use centos 6.8 & Apache/2.2.15
When I install xcache
I get the following error
PHP Warning: Module 'XCache' already loaded in Unknown on line 0
PHP Fatal error: XCache: create entries OOM in Unknown on line 0
PHP Fatal error: XCache: failed init variable cache in Unknown on line... (0 Replies)
Discussion started by: mnnn
0 Replies
10. Red Hat
Hi Folks,
I am running a website and that needs to be tightened with security in terms of hacking... Whereas, In my URL, when i click on certain links the entire link as contains some words like below:/control_panel
/controlpanel
/admin
/cms
Whereas, i need to block those words in apache... (1 Reply)
Discussion started by: gsiva
1 Replies
LEARN ABOUT DEBIAN
apache::singleton
Apache::Singleton(3pm) User Contributed Perl Documentation Apache::Singleton(3pm)
NAME
Apache::Singleton - Singleton class for mod_perl
VERSION
version 0.15
SYNOPSIS
package Printer;
# default:
# Request for mod_perl env
# Process for non-mod_perl env
use base qw(Apache::Singleton);
package Printer::PerRequest;
use base qw(Apache::Singleton::Request);
package Printer::PerProcess;
use base qw(Apache::Singleton::Process);
DESCRIPTION
Apache::Singleton works the same as Class::Singleton, but with various object lifetime (scope). See Class::Singleton first.
OBJECT LIFETIME
By inheriting one of the following sublasses of Apache::Singleton, you can change the scope of your object.
Request
use base qw(Apache::Singleton::Request);
One instance for one request. Apache::Singleton will remove instance on each request. Implemented using mod_perl "pnotes" API. In
mod_perl environment (where $ENV{MOD_PERL} is defined), this is the default scope, so inheriting from Apache::Singleton would do the
same effect.
NOTE: You need "PerlOptions +GlobalRequest" in your apache configuration in order to use the Request lifetime method.
Process
use base qw(Apache::Singleton::Process);
One instance for one httpd process. Implemented using package global. In non-mod_perl environment, this is the default scope, and you
may notice this is the same beaviour with Class::Singleton ;)
So you can use this module safely under non-mod_perl environment.
CREDITS
Original idea by Matt Sergeant <matt@sergeant.org> and Perrin Harkins <perrin@elem.com>.
Initial implementation and versions 0.01 to 0.07 by Tatsuhiko Miyagawa <miyagawa@bulknews.net>.
SEE ALSO
Apache::Singleton::Request, Apache::Singleton::Process, Class::Singleton
SOURCE
The development version is on github at http://github.com/mschout/apache-singleton <http://github.com/mschout/apache-singleton> and may be
cloned from git://github.com/mschout/apache-singleton.git <git://github.com/mschout/apache-singleton.git>
BUGS
Please report any bugs or feature requests to bug-apache-singleton@rt.cpan.org or through the web interface at:
http://rt.cpan.org/Public/Dist/Display.html?Name=Apache-Singleton
AUTHOR
Michael Schout <mschout@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 by Michael Schout.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-04-02 Apache::Singleton(3pm)