|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
Can not access Tomcat applications In any case I installed Apache and Tomcat and I've linked: this means that when I go to the address http://my_server/ I go directly to the page of tomcat without having to specify port Now the problem is that I can not access the applications managed by tomcat and that I had before in apache no longer available Do you know what conf file works correctly, in my apps in Apache and Tomcat? |
#2
| |||
| |||
Re: Can not access Tomcat applications I would say httpd.conf ... Type a document root that refers to your application handled by Tomcat VirtualHost and possibly other ports that refer to other directory. (with alias etc) For instance, suppose you have a HTTP Server that listens to the 80 and 443 The 80 refers to the root server in PHP + MySQL and several virtualhost The 443 refers to the implementation in HTTPS on Tomcat with the addition of a URL rewrite to be visible on the field |
#3
| |||
| |||
Re: Can not access Tomcat applications Here is the code of file sites-enabled/000-default Code: <VirtualHost 192.168.1.2:80> ServerName 192.168.1.2 DocumentRoot /usr/share/tomcat5.5/webapps ServerAdmin webmaster@foobar.com ErrorLog /var/log/apache2/error.log CustomLog /var/log/apache2/foo.log combined Alias / "/usr/share/tomcat5.5/server/webapps" <Directory "/usr/share/tomcat5.5/server/webapps"> Options Indexes +FollowSymLinks </Directory> JkMount /* default #Alias /websvn "/usr/share/websvn" #<Directory "/usr/share/websvn"> # Options FollowSymLinks # order allow,deny # allow from all # AuthType Basic # AuthName "Subversion Repository" # Require valid-user # AuthUserFile /etc/apache2/dav_svn.passwd # <IfModule mod_php4.c> # php_flag magic_quotes_gpc Off # php_flag track_vars On # </IfModule> #</Directory> </VirtualHost> |
#4
| |||
| |||
Re: Can not access Tomcat applications mod_proxy or mod_ajp13 in Apache ? JkMount /* default That means that you are referencing all to the tomcat |
#5
| |||
| |||
Re: Can not access Tomcat applications Yet I have configured mod_jk. And for "JkMount /* default", that's what I noticed. I have played with JkMount and JkUnMount to balance traffic to the right server. Thank you for your help |
![]() |
|
Tags: apache, application, tomcat |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cannot access pre-installed applications in Nokia C2-01 | Azza_B_UK | Portable Devices | 4 | 17-07-2011 12:54 PM |
Can't access applications world overseas on my playbook | Caryas | Portable Devices | 6 | 20-05-2011 06:07 PM |
Cannot enable all users to access all applications loaded on Windows 7 PC | Maudy | Windows Software | 4 | 13-08-2010 03:12 PM |
Cannot access web applications on port 80 | Gunwant | Networking & Security | 9 | 18-05-2010 05:06 PM |
Applications cannot access internet | canoe | Networking & Security | 4 | 10-12-2008 12:25 PM |