Fedora Servers :: Run Tomcat Behind Apache Httpd?

Dec 19, 2009

I just did a clean install of FC12 x86_64 and want to configure tomcat to run behind apache httpd. What is the easiest way to accomplish this? I'm a newbie at server configuration so detailed instructions would be nice

View 4 Replies


ADVERTISEMENT

Fedora Servers :: Secure - Httpd Tomcat Mysql

Dec 19, 2009

I just installed FC12 x86_64. After a clean install I found that httpd, mysql, svn, svnadmin, etc are already installed. I still need to install and configure tomcat running as a worker behind httpd and configure everything. But my question is about security. What do I need to do to ensure that when I start httpd and mysql that they are secure? Are there default settings that I need to change? Are there security patches I need to apply?

System Config:
Fedora Core 12 x86_64
AMD Athlon II X2 250 3.0 GHz dual core
GIGABYTE GA-MA785GM-US2H
G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 1066 (PC2 8500) Dual Channel Kit Desktop Memory Model F2-8500CL5D-4GBPK

View 8 Replies View Related

OpenSUSE Network :: Apache And Tomcat Services - HTTPD Door

Jun 16, 2010

I have both apache and tomcat services running, both in their standard doors (tomcat 8080, httpd 80). I need to setup tomcat to run on door 80 instead of httpd. I changed httpd door with success to 8180. Now I want to change tomcat6 door to 80, and I did that by editing server.xml config file of tomcat. After restarting tomcat, the system tells me it's ok, but I can see that it's not running on 80, nor at any other door. A simple nmap search confirm that. What should I do to have tomcat running in door 80?

View 5 Replies View Related

Fedora Servers :: Apache Httpd Doesn't Start On 11

Sep 3, 2009

I have just installed Fedora 11 on a "fresh machine" and everything works ok, except for Apache httpd
the message seen in the error_log is the following: Name or service not known: mod_unique_id: unable to find IPv4 address of "myserver"

View 14 Replies View Related

Fedora Servers :: Apache Configuration And HTTPD Services

May 29, 2010

I have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??

View 6 Replies View Related

Fedora Servers :: Suexec Set Up In Apache, Snippits From Httpd.conf?

Jun 25, 2011

I'm having a problem with mod_suexec in Fedora 15.I have suexec set up in Apache, snippits from httpd.conf:

Code:
LoadModule suexec_module modules/mod_suexec.so
...

[code]....

View 3 Replies View Related

Server :: Single Wildcard Certificate For Apache Httpd Server And Tomcat?

Feb 10, 2010

I have a requirement of using a wildcard certificate for 5 subdomains running under apache httpd server and 1 subdomain under tomcat.Is there any possibility of using the single wildcard certificate both in tomcat and apache

View 3 Replies View Related

Ubuntu Servers :: How To Apache Tomcat LDAP Authentication?

Jul 18, 2010

I have tomcat installed with port forwarding to http port 80. I configure ldap authentication for apache2(/var/www). But I could not configure tomcat for ldap authentication.

View 1 Replies View Related

Ubuntu Servers :: Apache Processes Listed But Httpd Not Running?

Dec 5, 2010

I have written this script to monitor Apache2:

Code:
#!/bin/bash
#count lines that show apache2 but not the fgrep itself
let i=`ps aux | fgrep apache2 | fgrep -v grep | wc -l`
if [ "$i" -gt 0 ]
then
#log something

[Code]...

It has all been working fine until recently when Apache is becoming unresponsive. I manually ran ps to check and there were 3 processes. However when I ran apache2ctl graceful I got the message 'httpd not running, trying to start' Is there a better way to check if a daemon is up?

View 4 Replies View Related

Fedora :: Cannot Run Tomcat Apache 5.5 On 14?

Dec 19, 2010

i have changed the permissions of tomcat folder stiill firstly,i did this

[whacko@localhost local]$ /usr/local/tomcat/bin/startup.sh
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat

[code]...

View 14 Replies View Related

Fedora :: Configuring Apache For SSl And Tomcat 5.

Jan 21, 2009

I have a Apache web server and a separate tomcat 5 server. I can run the jsp-exaples just fine using HTTP. However using HTTPS fails. For some reason it appears HTTPS is not forwarding to the connector, I get 404 not found, returned.If I simply try https://apache_server_ip I successfully connect to the default Apache page.According to this page it should just work. Apache should do the ssl encryption/decryption and tomcat operate as normal.

View 1 Replies View Related

Red Hat / Fedora :: How To Let Apache Know Which Httpd.conf To Be Used

Jan 19, 2009

We have apache installed at a directory other than the default location. There are two httpd.conf files on the server, one at the apache installation directory, and the other one is the default one at /etc/httpd/conf. The apache ran very well with the customized httpd.conf before, but after I installed php 5, the server seems taking the default httpd.conf and doesn't display the html pages which are installed at our apache directory. How to let the server know not to use the default httpd.conf and use the customized one instead?

View 3 Replies View Related

General :: Httpd Vs Tomcat In Dynamic Content?

Jan 13, 2010

I'm developing some small application runs on tomcat 6This web application just query data from MySQLBut I'm concern about performanceHow can I check how many request It can serve as well ?I'm thinking about to change the application to runs on httpd (will write in PHP)Normally, how many request httpd can handle for simple database query ?

View 5 Replies View Related

Fedora Networking :: Config The Httpd Apache Server To Upload Files

Jan 6, 2011

my task is to store the data to a file at server sent via HTTP POST, i written suitable cgi script in C, but the PROBLEM is that i can't complete the task, I guess i require server permission to do so, how to configure server or how to get access right from server to store data to a file.

View 3 Replies View Related

Fedora Servers :: Starting Tomcat From Eclipse

May 10, 2010

I'd like to start tomcat from eclipse, however, I get several Exceptions preventing tomcat to start. I can however start tomcat from the console, provided I do this as root :

Code:
# su -
# service tomcat5 start
Starting tomcat5: [ OK ]
And I do get the page saying that I've setup Tomcat successfully when going to http://localhost:8080 in my browser.

View 2 Replies View Related

Fedora Servers :: How To Set Tomcat Environment Variables Permanently

Dec 24, 2009

I am new to Linux. I installed JDK and Apache Tomcat recently but the problem is every time I want to work with them, I have to set the environment variables. I want to run tomcat as a service so that I don't have to set those system variables every time.Can it be done in any way? I am using Tomcat 5.5 and my Kernel version is 2.6.21-1.3194.fc7.

View 3 Replies View Related

Fedora Servers :: Can't Get Httpd To Index

Feb 28, 2009

I am tyring to setup my webserver on Fedora 10 to do the following.

first, i want to require logins when people access my machine. This i have working through the .htaccess file.

Second, i want directories that do not have an index.html file to be auto indexed. This is where its not working for me. I get a 403.

the only change from the default setting in the httpd.conf file is AllowOverride AuthConfig

it would seem that the default settings for are

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny

[Code].....

IF i put an index.html file in sub/ i no longer get a 403, i just get that file.

View 6 Replies View Related

Fedora Servers :: HTTPD - How To Setup GUI

Apr 27, 2010

I have Fedora 12 x86_64 installed in my computer. I have also installed system-config-httpd, but when I go to System --> Administration --> Server Settings --> HTTP, nothing shows up.

View 4 Replies View Related

Fedora Servers :: Use Tomcat In 11 - Dynamic Web Project Based On Servlet

Feb 21, 2010

Tomcat6 is built in server with it but i dont know how to use it .I am doing a dynamic web project based on servlet and eclipse galileo is being used as IDE for it.

View 1 Replies View Related

Fedora Servers :: Httpd And Apache2 Conflict?

Jul 4, 2009

httpd have been install by default and I don't start it as services. I have install apache2 but don't want to start as service, I can't add it into the chkconfig. When I try to remove httpd, fedora also want to remove these software.

gnome-user-share i586 2.26.0-2.fc11 installed 809 k
httpd-manual i586 2.2.11-8 installed 3.5 M
mod_perl i586 2.0.4-8 installed 6.3 M

[code]....

php and webalizer I don't care as I want to install the new version, but is their any problem removing the other one? Also I want to pount the apache2 documentroot to var/www/httpd but when I do this and try to see the website I got a 403 error (not autorize)

View 1 Replies View Related

Fedora Servers :: HTTPD Does Not Start On Boot

Jun 24, 2010

On this system httpd does not start on boot. I can manually start it without errors with service httpd start.

Code:
chkconfig --list httpd
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Where do I look to see why it wont start?

View 9 Replies View Related

General :: Tomcat Behind An Apache

Jan 20, 2011

I am trying to set up an Apache frontend server followed by a Tomcat server. Tomcat needs to run as an https service. I will have two services, both accessible independently, if desired.This login module is a webapp, running inside Tomcat.

Question:
Do I configure the Tomcat on port 8443 (I want to run it as a non-root) and do nothing with Apache or do I run on the standard port 8080 and configure Apache?
If Tomcat, is it server.xml? (connector?)
If Apache, is it httpd.conf?

View 1 Replies View Related

Fedora Servers :: HTTPD Dual Nic Using Eth1 Instead Of Eth0

Mar 2, 2009

I've just setup Fedora 10 x64 on a Supermicro 7045 with dual nic; I setup a web site and ran into a strange problem; I can't see my website from outside my LAN; checking IP on Internet it sees my IP as coming for my dynamic IP (IP of router/switch) and not my static IP.

eth0: Static IP
eth1: Dynamic IP

These are standard Intel 82563EB Dual-Port Gigabit Ethernet Controller.

Is there a way to specify the order in which it sees the nic ports?

I'm wonder if I can mix Static and Dynamic IP's; on the outside they resolve to a static IP; the dynamic one shows up as my router/switch IP; but it allows me to access my DHCP computers; this isn't a web server; but a development machine for writing PHP apps.

Where 123.123.123.3 is my static IP address.

I should mention that nmap -v -p 80 123.123.123.3 shows an open port on 80

My VirtualHost is setup like:

View 11 Replies View Related

Fedora Servers :: Httpd Starts But Doesnt Work ?

Mar 18, 2009

I want to run a web server.

I've done

When i do [url] i get a blank page.

View 14 Replies View Related

Fedora Servers :: Service Httpd Restart - Broken In F11?

Jul 5, 2009

Has anyone noticed that when using NameVirtualHost's in apache that the service httpd restart command is broken?Also it seems system-config-bind has glitches too.

View 10 Replies View Related

Fedora Servers :: Add Pages To /var/www/httpd And Permissions Denied

Oct 28, 2009

I installed apache and all is well until I had to add pages to /var/www/httpd and permissions are dinied.

View 1 Replies View Related

Fedora Servers :: HTTPD Fails To Start On Boot

Aug 24, 2010

I'm completely stumped by a problem with httpd in Fedora 13. It fails to start on boot: I can see: Starting htpd: FAILED, in /var/log/boot.log, but I can't find anything else in messages, audit.log or anywhere else that gives me any clue why. The weird thing is that running:
run_init service httpd start
after boot _works_ and the server runs fine, but even when it's running OK,
service httpd status
reports
httpd dead but subsys locked

I'm guessing that the problem somehow relates to selinux, but I can't find anything in the audit logs that gives me a clue. How to turn on more logging so that I can get closer to the problem. I finally discovered the cause. This system was originally configured to use network services directly, without NetworkManager. It had been upgraded a number of times since installation. It seems that over time, if you have turned off NetworkManager, the defaults have changed. Used to be that the network services was 'enabled' by default (hence started at run time). Now, the default is 'disabled'. Httpd couldn't start because there was no network to start on. Enabling network services at boot time fixed this. I guess I should have noticed this. But one might think that httpd failing to start because of the lack of a network might at least give a warning message in the logs about the reason.

View 8 Replies View Related

Ubuntu :: Apache Tomcat Setup To Run On SSL

Feb 22, 2010

I want to setup tomcat and apache to run on SSL. I did set up apache to run with ssl and tomcat (wo ssl). Tomcat is on 8081 and apache is on standard HTTP/HTTPS ports. Now I installed JK module and I want to access "host-manager" application on tomcat with ssl, but when I try https://localhost/host-manager/ I get 503 error and when I try [URL]. I get 404 error. Here's my /etc/apache2/sites-available/default conf:


Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory> .....

Here is /etc/apache2/mods-enabled/jk.load:

Code:
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
and here is workers.properties:

Code:
worker.list=worker1
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13

View 1 Replies View Related

General :: Apache Tomcat Administration?

Jan 23, 2010

Anyone who can help me with good tutorials to learn Apache tomcat Administration? any ebook or material?

View 1 Replies View Related

General :: Installing Apache Tomcat 5.5.29

May 11, 2010

I succesfully extract it and run it. This code is shown

Problems: [url]

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved