06-19-2009
I think you will need to enable routing on your Solaris 10 server so that requests going into your non-DMZ network get forwarded to your DMZ network address, unless you can get Apache to listen on both ports.
Take a look at:
Solaris Routing
and here on the forum at:
Solaris 10 as Router...
Presumably you will not want this server to act as a router for the rest of the network so you will probably want to only add a static route so enable ipv4_routing but not ipv4_forwarding?
HTH
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone. Okay here are a couple of my problems and hopefully you
guys can help me out.
Problem 1: i have 2 website that are being hosted on a webserver. The
webserver is running redhat 8x and running apache 1.3.20. To make it a
little clearer, lets say website A and website B. Both... (1 Reply)
Discussion started by: crazycelicagts
1 Replies
2. UNIX for Dummies Questions & Answers
I downloaded Apache 1.3.27.tar.gz into my SCO u/install directory.
However, to begin with, I couldn't untar the file using the " tar xvf apache-1.3.27.tar.gz" command, so I used winzip from a windows computer on our network. Winzip untarred the file and I transferred the files to the SCO... (2 Replies)
Discussion started by: cstovall
2 Replies
3. UNIX for Dummies Questions & Answers
I posted a problem with the forum on 11/18/02. Unfortunately, I
have been out of town. Today is the first chance I've had to try
the suggestions that were made.
Here is the output from the ls -l configure* command:
-rw-r--r-- 1root sys 58230 May 21 2002 configure
When I type " sh... (2 Replies)
Discussion started by: cstovall
2 Replies
4. Solaris
I have a Solaris 8 box and need to install Apache 2.0.55 on it. First thing I tried was compiling from source code. During the make phase, I got the following errors:
Then I tried downloading the binaries. I tried the one available from Apache's site and the one from sunfreeware.com, with... (3 Replies)
Discussion started by: GKnight
3 Replies
5. Solaris
I've been working on a project to replace one of the my group's primary NIS servers. It also runs mysql and apache, as it is the host for the our team's hardware tracking database and website. Its running apache 1.3, and for some odd reason, I can't get apache to start on system boot. The... (1 Reply)
Discussion started by: godspunk32
1 Replies
6. Solaris
Hi, is there a way in Solaris 8 to determine how many total NIC's say a Sun Sparc box has installed - plumbed or unplumbed - and find out its capable network speeds and MAC address?
I know ifconfig -a but that only shows the plumbed and used interfaces.
thx
cc (2 Replies)
Discussion started by: bigapple100
2 Replies
7. Web Development
When I upload a file 32M or larger to fails.
I can see the file being uploaded into the /tmp directory but when it gets to ~32M it dissapears.
This is from phpinfo:
upload_max_filesize 100M 100MB
post_max_size 100M 100MB
enable_dl On On
I dont get an error in the log saying im... (9 Replies)
Discussion started by: Ikon
9 Replies
8. Web Development
Hello guys
I have been running a LAMP stack for awhile now but have never really explored the server side end of things. What I am trying to do is have a python script on a website run a bash command. This will accomplish a system so someone can create an account for proxy access via a webpage.... (45 Replies)
Discussion started by: darkphaux
45 Replies
9. Web Development
Hi,
I just installed Apache 2.0.54 and when I try and start httpd I get
mohit@mohit-desktop:/sw/pkg/apache/bin$ ./httpd -k start
httpd: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13): make_sock: could not bind to address :80
no listening... (1 Reply)
Discussion started by: mojoman
1 Replies
10. Web Development
I am attempting to add virtual hosts to an apache web server, which has this current configuration:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
... (27 Replies)
Discussion started by: Corona688
27 Replies
LEARN ABOUT DEBIAN
apache::db
DB(3pm) User Contributed Perl Documentation DB(3pm)
NAME
Apache::DB - Run the interactive Perl debugger under mod_perl
SYNOPSIS
<Location /perl>
PerlFixupHandler +Apache::DB
SetHandler perl-script
PerlHandler +Apache::Registry
Options +ExecCGI
</Location>
DESCRIPTION
Perl ships with a very useful interactive debugger, however, it does not run "out-of-the-box" in the Apache/mod_perl environment.
Apache::DB makes a few adjustments so the two will cooperate.
FUNCTIONS
init
This function initializes the Perl debugger hooks without actually starting the interactive debugger. In order to debug a certain
piece of code, this function must be called before the code you wish debug is compiled. For example, if you want to insert debugging
symbols into code that is compiled at server startup, but do not care to debug until request time, call this function from a
PerlRequire'd file:
#where db.pl is simply:
# use Apache::DB ();
# Apache::DB->init;
PerlRequire conf/db.pl
#where modules are loaded
PerlRequire conf/init.pl
If you are using mod_perl 2.0 you will need to use the following as your db.pl:
use APR::Pool ();
use Apache::DB ();
Apache::DB->init();
handler
This function will start the interactive debugger. It will invoke Apache::DB::init if needed. Example configuration:
<Location /my-handler>
PerlFixupHandler Apache::DB
SetHandler perl-script
PerlHandler My::handler
</Location>
SELinux
Security-enhanced Linux (SELinux) is a mandatory access control system many linux distrobutions are implementing. This new security scheme
can assist you with protecting a server, but it doesn't come without its own set of issues. Debugging applications running on a box with
SELinux on it takes a couple of extra steps and unfortunately the instructions that follow have only been tested on RedHat/Fedora.
1) You need to edit/create the file "local.te" and add the following:
if (httpd_tty_comm) {
allow { httpd_t } admin_tty_type:chr_file { ioctl getattr }; }
2) Reload your security policy.
3) Run the command "setsebool httpd_tty_comm true".
You should be aware as you debug applications on a system with SELinux your code may very well be correct, but the system policy is denying
your actions.
CAVEATS
-X The server must be started with the "-X" to use Apache::DB.
filename/line info
The filename of Apache::Registry scripts is not displayed.
SEE ALSO
perldebug(1)
AUTHOR
Originally written by Doug MacEachern
Currently maintained by Frank Wiles <frank@wiles.org>
LICENSE
This module is distributed under the same terms as Perl itself.
perl v5.14.2 2008-04-27 DB(3pm)